Base:
property
ContainingSymbol
Microsoft.CodeAnalysis.CSharp.Symbol.ContainingSymbol
9 references to ContainingSymbol
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Expressions.cs (2)
2088primaryCtor.ContainingSymbol is NamedTypeSymbol { IsRecord: false, IsRecordStruct: false } || 2222(object)containingMember.ContainingSymbol != primaryCtor.ContainingSymbol); // The member doesn't belong to our type, i.e. from nested type
Compilation\SyntaxTreeSemanticModel.cs (3)
2423Debug.Assert((object)declaredSymbol.GetSymbol() == (object)entryPoint.ContainingSymbol); 2459Debug.Assert((object)declaredSymbol.GetSymbol() == (object)ctor.ContainingSymbol); 2487Debug.Assert((object)declaredSymbol.GetSymbol() == (object)ctor.ContainingSymbol);
FlowAnalysis\NullableWalker.cs (1)
2138methodThisParameter?.ContainingSymbol.ContainingSymbol == (object)primaryConstructor.ContainingSymbol &&
Symbols\Source\SourceDelegateMethodSymbol.cs (2)
183return (SourceNamedTypeSymbol)ContainingSymbol; 196return OneOrMany.Create(((SourceNamedTypeSymbol)ContainingSymbol).GetAttributeDeclarations());
Symbols\Source\SourceMemberMethodSymbol.cs (1)
566this.ContainingSymbol.ForceComplete(locationOpt: null, filter: null, cancellationToken: CancellationToken.None);