dotnet / dotnet/docs

Provide Information about How To Obtain Entry-Block Reference

Open
#35,181 0 comments 0 reactions 0 assignees View on GitHub
:watch: Not Triaged dotnet-roslyn-api/svc microsoft.codeanalysis/subsvc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

This page does not state that the first block of the Blocks property is the entry block and provides no further hint on how to obtain the entry block. I gathered this information from the BasicBlockKind enum documentation, but it took some time and research.

---
#### Document Details

⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*

* ID: ddc992a9-1927-9fac-e209-c07a4f0f26cd
* Version Independent ID: 41aef72e-ac29-78d2-b957-b56d4e326edb
* Content: [ControlFlowGraph Class (Microsoft.CodeAnalysis.FlowAnalysis)](https://learn.microsoft.com/en-us/dotnet/api/microsoft.codeanalysis.flowanalysis.controlflowgraph?view=roslyn-dotnet-4.3.0)
* Content Source: [dotnet/xml/Microsoft.CodeAnalysis.FlowAnalysis/ControlFlowGraph.xml](https://github.com/dotnet/roslyn-api-docs/blob/live/dotnet/xml/Microsoft.CodeAnalysis.FlowAnalysis/ControlFlowGraph.xml)
* Product: **dotnet-roslyn-api**
* Technology: **microsoft.codeanalysis**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.