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