5 overrides of ExtendedSpecialType
Microsoft.CodeAnalysis.CSharp (5)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
398public override ExtendedSpecialType ExtendedSpecialType
Symbols\MissingMetadataTypeSymbol.cs (2)
308public override ExtendedSpecialType ExtendedSpecialType 437public override ExtendedSpecialType ExtendedSpecialType
Symbols\NativeIntegerTypeSymbol.cs (1)
51public override ExtendedSpecialType ExtendedSpecialType => _underlyingType.ExtendedSpecialType;
Symbols\Source\SourceMemberContainerSymbol.cs (1)
796public override ExtendedSpecialType ExtendedSpecialType
26 references to ExtendedSpecialType
Microsoft.CodeAnalysis.CSharp (16)
BoundTree\BoundAwaitableInfo.cs (1)
15Debug.Assert(RuntimeAsyncAwaitCall.Method.ContainingType.ExtendedSpecialType == InternalSpecialType.System_Runtime_CompilerServices_AsyncHelpers);
CodeGen\CodeGenerator.cs (2)
181Debug.Assert(((InternalSpecialType)returnType.OriginalDefinition.ExtendedSpecialType) is InternalSpecialType.System_Threading_Tasks_ValueTask_T or InternalSpecialType.System_Threading_Tasks_Task_T); 327&& ((InternalSpecialType)_method.ReturnType.ExtendedSpecialType) is InternalSpecialType.System_Threading_Tasks_Task or InternalSpecialType.System_Threading_Tasks_ValueTask));
Compilation\CSharpCompilation.cs (2)
334if (((InternalSpecialType)methodReturn.ExtendedSpecialType) is not ( 1715Debug.Assert(result.ExtendedSpecialType == specialType);
Lowering\LocalRewriter\LocalRewriter.cs (2)
648Debug.Assert(node.Type.ExtendedSpecialType == InternalSpecialType.System_Type || 660if (node.Type.ExtendedSpecialType == InternalSpecialType.System_Type)
Lowering\SyntheticBoundNodeFactory.cs (4)
1268Debug.Assert(systemType.ExtendedSpecialType == InternalSpecialType.System_Type || 1273if (systemType.ExtendedSpecialType == InternalSpecialType.System_Type) 1450Debug.Assert(systemReflectionMethodOrConstructorInfo.ExtendedSpecialType == InternalSpecialType.System_Reflection_MethodInfo || 1456if (systemReflectionMethodOrConstructorInfo.ExtendedSpecialType == InternalSpecialType.System_Reflection_MethodInfo)
Symbols\Compilation_WellKnownMembers.cs (1)
1240if ((int)type.OriginalDefinition.ExtendedSpecialType == typeId)
Symbols\MetadataOrSourceAssemblySymbol.cs (1)
82ExtendedSpecialType typeId = corType.ExtendedSpecialType;
Symbols\NativeIntegerTypeSymbol.cs (1)
51public override ExtendedSpecialType ExtendedSpecialType => _underlyingType.ExtendedSpecialType;
Symbols\TypeSymbol.cs (2)
501public SpecialType SpecialType => (SpecialType)ExtendedSpecialType; 2523ExtendedSpecialType ITypeSymbolInternal.ExtendedSpecialType => this.ExtendedSpecialType;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Symbols\CorLibrary\CorTypes.cs (9)
73Assert.Equal((ExtendedSpecialType)i, t.ExtendedSpecialType); 91Assert.Equal((ExtendedSpecialType)i, t.ExtendedSpecialType); 154Assert.Equal((ExtendedSpecialType)i, t.ExtendedSpecialType); 173Assert.Equal((ExtendedSpecialType)i, t.ExtendedSpecialType); 207Assert.Equal((ExtendedSpecialType)i, t.ExtendedSpecialType); 219Assert.Equal((ExtendedSpecialType)i, t.ExtendedSpecialType); 229Assert.Equal((ExtendedSpecialType)SpecialType.System_Object, system_object.ExtendedSpecialType); 304Assert.Equal(InternalSpecialType.System_Type, model.GetTypeInfo(node).Type.GetSymbol().ExtendedSpecialType); 369Assert.Equal((ExtendedSpecialType)0, model.GetTypeInfo(node).Type.GetSymbol().ExtendedSpecialType);
Symbols\Metadata\PE\LoadingFields.cs (1)
153Assert.Equal((ExtendedSpecialType)InternalSpecialType.System_ReadOnlySpan_T, readOnlySpanType.ExtendedSpecialType);