1 write to containingType
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceFieldSymbol.cs (1)
26
this.
containingType
= containingType;
9 references to containingType
Microsoft.CodeAnalysis.CSharp (9)
Symbols\Source\SourceEnumConstantSymbol.cs (1)
91
if (this.
containingType
.AnyMemberHasAttributes)
Symbols\Source\SourceFieldSymbol.cs (5)
58
diagnostics.Add(AccessCheck.GetProtectedMemberInSealedTypeError(
containingType
), ErrorLocation, this);
64
else if (
containingType
.IsStatic && !IsStatic)
68
else if (!IsStatic && !IsReadOnly &&
containingType
.IsReadOnly)
102
return
containingType
;
110
return this.
containingType
;
Symbols\Source\SourceMemberFieldSymbol.cs (3)
66
else if (type.IsRefLikeOrAllowsRefLikeType() && (this.IsStatic || !
containingType
.IsRefLikeType))
413
if (this.
containingType
.AnyMemberHasAttributes)
497
if (!
containingType
.IsRefLikeType)