다음을 통해 공유


Compilation.GetSemanticModel 메서드

정의

오버로드

GetSemanticModel(SyntaxTree, Boolean)

지정된 구문 트리에 대한 새 SemanticModel 구문을 가져옵니다.

GetSemanticModel(SyntaxTree, SemanticModelOptions)

GetSemanticModel(SyntaxTree, Boolean)

Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs

지정된 구문 트리에 대한 새 SemanticModel 구문을 가져옵니다.

public Microsoft.CodeAnalysis.SemanticModel GetSemanticModel (Microsoft.CodeAnalysis.SyntaxTree syntaxTree, bool ignoreAccessibility = false);
member this.GetSemanticModel : Microsoft.CodeAnalysis.SyntaxTree * bool -> Microsoft.CodeAnalysis.SemanticModel
Public Function GetSemanticModel (syntaxTree As SyntaxTree, Optional ignoreAccessibility As Boolean = false) As SemanticModel

매개 변수

syntaxTree
SyntaxTree

지정된 구문 트리입니다.

ignoreAccessibility
Boolean

True이면 의미 체계 질문에 대답할 때 SemanticModel에서 접근성 규칙을 무시해야 합니다.

반환

적용 대상

GetSemanticModel(SyntaxTree, SemanticModelOptions)

Source:
Compilation.cs
public Microsoft.CodeAnalysis.SemanticModel GetSemanticModel (Microsoft.CodeAnalysis.SyntaxTree syntaxTree, Microsoft.CodeAnalysis.SemanticModelOptions options);
member this.GetSemanticModel : Microsoft.CodeAnalysis.SyntaxTree * Microsoft.CodeAnalysis.SemanticModelOptions -> Microsoft.CodeAnalysis.SemanticModel
Public Function GetSemanticModel (syntaxTree As SyntaxTree, options As SemanticModelOptions) As SemanticModel

매개 변수

syntaxTree
SyntaxTree

반환

적용 대상