SemanticModel.ParentModelCore 属性

定义

如果这是推理语义模型,则返回其父语义模型。 否则,返回 null。

protected:
 abstract property Microsoft::CodeAnalysis::SemanticModel ^ ParentModelCore { Microsoft::CodeAnalysis::SemanticModel ^ get(); };
protected abstract Microsoft.CodeAnalysis.SemanticModel ParentModelCore { get; }
protected abstract Microsoft.CodeAnalysis.SemanticModel? ParentModelCore { get; }
member this.ParentModelCore : Microsoft.CodeAnalysis.SemanticModel
Protected MustOverride ReadOnly Property ParentModelCore As SemanticModel

属性值

适用于