4 overrides of EnumUnderlyingType
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
679
public override NamedTypeSymbol
EnumUnderlyingType
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
101
public override NamedTypeSymbol
EnumUnderlyingType
Symbols\Source\SourceNamedTypeSymbol_Enum.cs (1)
24
public override NamedTypeSymbol
EnumUnderlyingType
Symbols\SubstitutedNamedTypeSymbol.cs (1)
407
public sealed override NamedTypeSymbol
EnumUnderlyingType
20 references to EnumUnderlyingType
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Conversions.cs (1)
3198
var underlyingType = ((NamedTypeSymbol)destination).
EnumUnderlyingType
;
Binder\Binder_Expressions.cs (3)
525
initializer = initializerBinder.GenerateConversionForAssignment(symbol.ContainingType.
EnumUnderlyingType
, initializer, diagnostics);
7260
specialType = type.
EnumUnderlyingType
.SpecialType;
8649
NamedTypeSymbol underlyingType = enumType.
EnumUnderlyingType
;
CodeGen\EmitConversion.cs (2)
293
fromType = ((NamedTypeSymbol)fromType).
EnumUnderlyingType
;
302
toType = ((NamedTypeSymbol)toType).
EnumUnderlyingType
;
CodeGen\EmitExpression.cs (4)
1020
elementType = ((NamedTypeSymbol)elementType).
EnumUnderlyingType
;
1436
type = ((NamedTypeSymbol)type).
EnumUnderlyingType
;
3217
elementType = ((NamedTypeSymbol)elementType).
EnumUnderlyingType
;
3315
type = ((NamedTypeSymbol)type).
EnumUnderlyingType
;
Compiler\ClsComplianceChecker.cs (1)
531
NamedTypeSymbol baseType = symbol.
EnumUnderlyingType
?? symbol.BaseTypeNoUseSiteDiagnostics; // null for interfaces
Symbols\NamedTypeSymbol.cs (1)
1706
=>
EnumUnderlyingType
;
Symbols\PublicModel\NamedTypeSymbol.cs (1)
119
return UnderlyingNamedTypeSymbol.
EnumUnderlyingType
.GetPublicSymbol();
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
105
var underlying = _underlyingType.
EnumUnderlyingType
;
Symbols\Source\SourceComplexParameterSymbol.cs (1)
981
((NamedTypeSymbol)arg.TypeInternal).
EnumUnderlyingType
.SpecialType :
Symbols\Source\SourceEnumConstantSymbol.cs (1)
156
var constantType = this.ContainingType.
EnumUnderlyingType
.SpecialType;
Symbols\Source\SourceMemberContainerSymbol.cs (1)
581
var discarded = this.
EnumUnderlyingType
;
Symbols\SubstitutedNamedTypeSymbol.cs (1)
411
return OriginalDefinition.
EnumUnderlyingType
;
Symbols\TypeSymbolExtensions.cs (2)
216
return (type is NamedTypeSymbol namedType) ? namedType.
EnumUnderlyingType
: null;
1523
return ((NamedTypeSymbol)type).
EnumUnderlyingType
.SpecialType.IsValidVolatileFieldType();