Base:
property
ContainingType
Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.ContainingType
13 references to ContainingType
Microsoft.CodeAnalysis.CSharp (13)
Symbols\Source\ImplicitNamedTypeSymbol.cs (1)
98
get { return
ContainingType
?.AreLocalsZeroed ?? ContainingModule.AreLocalsZeroed; }
Symbols\Source\SourceMemberContainerSymbol.cs (6)
247
var containingType = this.
ContainingType
;
250
diagnostics.Add(AccessCheck.GetProtectedMemberInSealedTypeError(
ContainingType
), Locations[0], this);
446
if (
ContainingType
!.Locations.Length == 1 ||
ContainingType
.IsPartial())
871
for (Symbol? container = this.
ContainingType
; !(container is null); container = container.ContainingType)
1787
if ((object?)
ContainingType
!= null)
Symbols\Source\SourceNamedTypeSymbol.cs (4)
111
return new SourceNamedTypeSymbol(
ContainingType
, declaration, BindingDiagnosticBag.Discarded, newData);
224
if (!ReferenceEquals(
ContainingType
, null))
226
var tpEnclosing =
ContainingType
.FindEnclosingTypeParameter(name);
1360
return data?.HasSkipLocalsInitAttribute != true && (
ContainingType
?.AreLocalsZeroed ?? ContainingModule.AreLocalsZeroed);
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (2)
43
if ((object)
ContainingType
!= null)
45
var tmp =
ContainingType
.BaseTypeNoUseSiteDiagnostics;