15 references to SpecialType
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Constraints.cs (2)
519switch (type.SpecialType) 532else if (type.SpecialType != SpecialType.System_Enum)
Binder\Binder_Conversions.cs (1)
656Debug.Assert(((NamedTypeSymbol)readOnlySpanType).TypeArgumentsWithAnnotationsNoUseSiteDiagnostics[0].SpecialType is SpecialType.System_Char);
Binder\Semantics\Conversions\ConversionsBase.cs (1)
3994return spanElementType.SpecialType is SpecialType.System_Char;
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
1393if (!returnType.HasType || returnType.SpecialType == SpecialType.System_Void) 1448if (!sourceReturnType.HasType || sourceReturnType.SpecialType == SpecialType.System_Void)
Compilation\CSharpCompilation.cs (1)
4422=> IsReadOnlySpanType(type) && ((NamedTypeSymbol)type).TypeArgumentsWithAnnotationsNoUseSiteDiagnostics[0].SpecialType == SpecialType.System_Byte;
Emitter\Model\TypeParameterSymbolAdapter.cs (1)
259switch (type.SpecialType)
Symbols\ConstraintsHelper.cs (1)
1627if (type.SpecialType == SpecialType.System_Object)
Symbols\Metadata\PE\PETypeParameterSymbol.cs (1)
545Debug.Assert(type.HasType && type.SpecialType == SpecialType.System_Object);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
141if (returnType.SpecialType == SpecialType.System_TypedReference &&
Symbols\TypeSymbolExtensions.cs (3)
1399&& arguments[0].SpecialType == SpecialType.System_Char; 1410&& arguments[0].SpecialType == SpecialType.System_Char; 1421&& arguments[0].SpecialType == SpecialType.System_Char;
Symbols\TypeWithAnnotations.cs (1)
1094var specialType = _underlying.SpecialType;