共用方式為


GeneratorSyntaxContext.SemanticModel 屬性

定義

SemanticModel,可查詢以取得 的相關資訊 Node

public Microsoft.CodeAnalysis.SemanticModel SemanticModel { get; }
member this.SemanticModel : Microsoft.CodeAnalysis.SemanticModel
Public ReadOnly Property SemanticModel As SemanticModel

屬性值

適用於