Compilation.GetSemanticModel Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| GetSemanticModel(SyntaxTree, SemanticModelOptions) | |
| GetSemanticModel(SyntaxTree, Boolean) |
Ruft eine neue SemanticModel für die angegebene Syntaxstruktur ab. |
GetSemanticModel(SyntaxTree, SemanticModelOptions)
- Quelle:
- Compilation.cs
- Quelle:
- 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
Parameter
- syntaxTree
- SyntaxTree
- options
- SemanticModelOptions
Gibt zurück
Gilt für:
GetSemanticModel(SyntaxTree, Boolean)
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
- Quelle:
- Compilation.cs
Ruft eine neue SemanticModel für die angegebene Syntaxstruktur ab.
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
Parameter
- syntaxTree
- SyntaxTree
Die angegebene Syntaxstruktur.
- ignoreAccessibility
- Boolean
True, wenn das SemanticModel Barrierefreiheitsregeln ignorieren sollte, wenn semantische Fragen beantwortet werden.