Base:
property
ContainingType
Microsoft.CodeAnalysis.CSharp.Symbol.ContainingType
13 references to ContainingType
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder_Expressions.cs (1)
525
initializer = initializerBinder.GenerateConversionForAssignment(symbol.
ContainingType
.EnumUnderlyingType, initializer, diagnostics);
Symbols\ConstantValueUtils.cs (1)
40
binder = new WithPrimaryConstructorParametersBinder(symbol.
ContainingType
, binder);
Symbols\Source\SourceEnumConstantSymbol.cs (2)
62
return TypeWithAnnotations.Create(this.
ContainingType
);
156
var constantType = this.
ContainingType
.EnumUnderlyingType.SpecialType;
Symbols\Source\SourceFieldSymbol.cs (1)
56
if (
ContainingType
.IsSealed && this.DeclaredAccessibility.HasProtected())
Symbols\Source\SourceFixedFieldSymbol.cs (2)
165
get { return _field.
ContainingType
; }
198
return _field.
ContainingType
.MarshallingCharSet;
Symbols\Source\SourceMemberFieldSymbol.cs (6)
49
if (type.HasFileLocalTypes() && !
ContainingType
.HasFileLocalTypes())
51
diagnostics.Add(ErrorCode.ERR_FileTypeDisallowedInSignature, this.ErrorLocation, type,
ContainingType
);
486
if (!
ContainingType
.IsScriptClass)
527
else if (this.IsConst && this.
ContainingType
.IsScriptClass)
563
if (
ContainingType
.TypeKind != TypeKind.Struct)
612
if (!
ContainingType
.IsScriptClass)