VisualBasicExtensions.AnalyzeControlFlow 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AnalyzeControlFlow(SemanticModel, StatementSyntax) |
分析方法主體一部分內的控制流程。 |
AnalyzeControlFlow(SemanticModel, StatementSyntax, StatementSyntax) |
分析方法主體一部分內的控制流程。 |
AnalyzeControlFlow(SemanticModel, StatementSyntax)
分析方法主體一部分內的控制流程。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::CodeAnalysis::ControlFlowAnalysis ^ AnalyzeControlFlow(Microsoft::CodeAnalysis::SemanticModel ^ semanticModel, Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^ statement);
public static Microsoft.CodeAnalysis.ControlFlowAnalysis AnalyzeControlFlow (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax statement);
static member AnalyzeControlFlow : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.ControlFlowAnalysis
<Extension()>
Public Function AnalyzeControlFlow (semanticModel As SemanticModel, statement As StatementSyntax) As ControlFlowAnalysis
參數
- semanticModel
- SemanticModel
- statement
- StatementSyntax
傳回
適用於
AnalyzeControlFlow(SemanticModel, StatementSyntax, StatementSyntax)
分析方法主體一部分內的控制流程。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::CodeAnalysis::ControlFlowAnalysis ^ AnalyzeControlFlow(Microsoft::CodeAnalysis::SemanticModel ^ semanticModel, Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^ firstStatement, Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^ lastStatement);
public static Microsoft.CodeAnalysis.ControlFlowAnalysis AnalyzeControlFlow (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax firstStatement, Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax lastStatement);
static member AnalyzeControlFlow : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.ControlFlowAnalysis
<Extension()>
Public Function AnalyzeControlFlow (semanticModel As SemanticModel, firstStatement As StatementSyntax, lastStatement As StatementSyntax) As ControlFlowAnalysis
參數
- semanticModel
- SemanticModel
- firstStatement
- StatementSyntax
- lastStatement
- StatementSyntax