Delen via


SemanticModel.ParentModel Property

Definition

If this is a speculative semantic model, then returns its parent semantic model. Otherwise, returns null.

public:
 property Microsoft::CodeAnalysis::SemanticModel ^ ParentModel { Microsoft::CodeAnalysis::SemanticModel ^ get(); };
public Microsoft.CodeAnalysis.SemanticModel ParentModel { get; }
public Microsoft.CodeAnalysis.SemanticModel? ParentModel { get; }
member this.ParentModel : Microsoft.CodeAnalysis.SemanticModel
Public ReadOnly Property ParentModel As SemanticModel

Property Value

Applies to