Base:
property
ContainingType
Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.ContainingType
13 references to ContainingType
Microsoft.CodeAnalysis.CSharp (13)
Symbols\Source\ImplicitNamedTypeSymbol.cs (1)
98get { return ContainingType?.AreLocalsZeroed ?? ContainingModule.AreLocalsZeroed; }
Symbols\Source\SourceMemberContainerSymbol.cs (6)
262var containingType = this.ContainingType; 265diagnostics.Add(AccessCheck.GetProtectedMemberInSealedTypeError(ContainingType), GetFirstLocation(), this); 461if (ContainingType!.Locations.Length == 1 || ContainingType.IsPartial()) 895for (Symbol? container = this.ContainingType; !(container is null); container = container.ContainingType) 1886if ((object?)ContainingType != null)
Symbols\Source\SourceNamedTypeSymbol.cs (4)
104return new SourceNamedTypeSymbol(ContainingType, declaration, BindingDiagnosticBag.Discarded, newData); 217if (!ReferenceEquals(ContainingType, null)) 219var tpEnclosing = ContainingType.FindEnclosingTypeParameter(name); 1454return data?.HasSkipLocalsInitAttribute != true && (ContainingType?.AreLocalsZeroed ?? ContainingModule.AreLocalsZeroed);
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (2)
43if ((object)ContainingType != null && 46var tmp = ContainingType.BaseTypeNoUseSiteDiagnostics;