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