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