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