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