1 write to containingType
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceFieldSymbol.cs (1)
25
this.
containingType
= containingType;
9 references to containingType
Microsoft.CodeAnalysis.CSharp (9)
Symbols\Source\SourceEnumConstantSymbol.cs (1)
94
if (this.
containingType
.AnyMemberHasAttributes)
Symbols\Source\SourceFieldSymbol.cs (5)
57
diagnostics.Add(AccessCheck.GetProtectedMemberInSealedTypeError(
containingType
), ErrorLocation, this);
63
else if (
containingType
.IsStatic && !IsStatic)
67
else if (!IsStatic && !IsReadOnly &&
containingType
.IsReadOnly)
101
return
containingType
;
109
return this.
containingType
;
Symbols\Source\SourceMemberFieldSymbol.cs (3)
66
else if (type.IsRefLikeType && (this.IsStatic || !
containingType
.IsRefLikeType))
408
if (this.
containingType
.AnyMemberHasAttributes)
493
if (!
containingType
.IsRefLikeType)