Base:
property
ContainingSymbol
Microsoft.CodeAnalysis.CSharp.Symbol.ContainingSymbol
8 references to ContainingSymbol
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Expressions.cs (2)
1927primaryCtor.ContainingSymbol is NamedTypeSymbol { IsRecord: false, IsRecordStruct: false } || 2038(object)containingMember.ContainingSymbol != primaryCtor.ContainingSymbol); // The member doesn't belong to our type, i.e. from nested type
Compilation\SyntaxTreeSemanticModel.cs (3)
2419Debug.Assert((object)declaredSymbol.GetSymbol() == (object)entryPoint.ContainingSymbol); 2455Debug.Assert((object)declaredSymbol.GetSymbol() == (object)ctor.ContainingSymbol); 2483Debug.Assert((object)declaredSymbol.GetSymbol() == (object)ctor.ContainingSymbol);
FlowAnalysis\NullableWalker.cs (1)
2090methodThisParameter?.ContainingSymbol.ContainingSymbol == (object)primaryConstructor.ContainingSymbol &&
Symbols\Source\SourceDelegateMethodSymbol.cs (2)
193return (SourceNamedTypeSymbol)ContainingSymbol; 206return OneOrMany.Create(((SourceNamedTypeSymbol)ContainingSymbol).GetAttributeDeclarations());