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