共用方式為


SyntaxNodeAnalysisContext.ContainingSymbol Property

Definition

ISymbol for the declaration containing the syntax node.

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

Property Value

Applies to