Base:
property
ContainingSymbol
Microsoft.CodeAnalysis.CSharp.Symbol.ContainingSymbol
9 references to ContainingSymbol
Microsoft.CodeAnalysis.CSharp (9)
Symbols\Source\SourceMemberContainerSymbol.cs (9)
274
if (
ContainingSymbol
.Kind == SymbolKind.Namespace &&
275
ContainingSymbol
.ContainingAssembly.KeepLookingForDeclaredSpecialTypes)
278
var emittedName =
ContainingSymbol
.ToDisplayString(SymbolDisplayFormat.QualifiedNameOnlyFormat);
291
Symbol containingSymbol = this.
ContainingSymbol
;
445
switch (this.
ContainingSymbol
.Kind)
453
: ErrorCode.ERR_DuplicateNameInNS, declaration.Declarations[i].NameLocation, this.Name, this.
ContainingSymbol
);
462
diagnostics.Add(ErrorCode.ERR_DuplicateNameInClass, declaration.Declarations[i].NameLocation, this.
ContainingSymbol
, this.Name);
1016
return
ContainingSymbol
.IsDefinedInSourceTree(tree, definedWithinSpan, cancellationToken);
3311
if (this.
ContainingSymbol
is not NamespaceSymbol { IsGlobalNamespace: true }