1 implementation of SpecialType
Microsoft.CodeAnalysis.CSharp (1)
Symbols\TypeSymbol.cs (1)
2520SpecialType ITypeSymbolInternal.SpecialType => this.SpecialType;
13 references to SpecialType
Microsoft.CodeAnalysis (9)
MetadataReader\MetadataDecoder.cs (6)
487if (requireShortForm && typeSymbol.SpecialType.HasShortFormSignatureEncoding()) 1010if (type.SpecialType == SpecialType.System_Decimal) 1014else if (type.SpecialType == SpecialType.System_DateTime) 1040if (GetEnumUnderlyingType(type)?.SpecialType != specialType) 1373typeCode = underlyingType.SpecialType.ToSerializationType(); 1424var result = type.SpecialType.ToSerializationTypeOrInvalid();
Symbols\INamedTypeSymbolInternal.cs (1)
43switch (type.SpecialType)
Symbols\TypedConstant.cs (2)
143if (_type!.SpecialType == specialType || (_type.TypeKind == TypeKind.Enum && specialType == SpecialType.System_Enum)) 162switch (type.SpecialType)
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Source\SourceComplexParameterSymbol.cs (2)
979arg.TypeInternal.SpecialType; 1334if (constant.TypeInternal is not { SpecialType: SpecialType.System_String })
Symbols\TypedConstantExtensions.cs (1)
30if (constant.Kind == TypedConstantKind.Type || constant.TypeInternal!.SpecialType == SpecialType.System_Object)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
PDB\PdbHelpers.cs (1)
87return (type.SpecialType, symValue) switch