Compilation.GetSemanticModel Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| GetSemanticModel(SyntaxTree, SemanticModelOptions) | |
| GetSemanticModel(SyntaxTree, Boolean) |
Obtient une nouvelle SemanticModel pour l’arborescence de syntaxe spécifiée. |
GetSemanticModel(SyntaxTree, SemanticModelOptions)
- Source:
- Compilation.cs
- 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
Paramètres
- syntaxTree
- SyntaxTree
- options
- SemanticModelOptions
Retours
S’applique à
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
- Source:
- Compilation.cs
Obtient une nouvelle SemanticModel pour l’arborescence de syntaxe spécifiée.
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
Paramètres
- syntaxTree
- SyntaxTree
Arborescence de syntaxe spécifiée.
- ignoreAccessibility
- Boolean
True si SémantiqueModel doit ignorer les règles d’accessibilité lors de la réponse à des questions sémantiques.