1 implementation of SpecialType
Microsoft.CodeAnalysis.CSharp (1)
Symbols\TypeSymbol.cs (1)
2455SpecialType ITypeSymbolInternal.SpecialType => this.SpecialType;
15 references to SpecialType
Microsoft.CodeAnalysis (8)
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) 1375typeCode = underlyingEnumType.SpecialType.ToSerializationType(); 1452typeCode = underlyingType.SpecialType.ToSerializationType();
Symbols\TypedConstant.cs (2)
141if (_type!.SpecialType == specialType || (_type.TypeKind == TypeKind.Enum && specialType == SpecialType.System_Enum)) 160switch (type.SpecialType)
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Source\SourceComplexParameterSymbol.cs (2)
964arg.TypeInternal.SpecialType; 1325if (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
Microsoft.CodeAnalysis.VisualBasic (3)
Symbols\Source\SourceParameterSymbol.vb (1)
423arg.TypeInternal.SpecialType)
Symbols\TypedConstant.vb (1)
37If constant.Kind = TypedConstantKind.Type OrElse constant.TypeInternal.SpecialType = SpecialType.System_Object Then
Symbols\TypeSymbol.vb (1)
276Public Overridable ReadOnly Property SpecialType As SpecialType Implements ITypeSymbol.SpecialType, ITypeSymbolInternal.SpecialType