12 references to TypeKind
Microsoft.CodeAnalysis (12)
Emit\EditAndContinue\DefinitionMap.cs (1)
602
if (displayClass.
TypeKind
== TypeKind.Struct)
MetadataReader\MetadataDecoder.cs (7)
400
Debug.Assert(!refersToNoPiaLocalType || generic.
TypeKind
== TypeKind.Error);
1022
value = (type.IsReferenceType || type.
TypeKind
== TypeKind.Pointer || type.
TypeKind
== TypeKind.FunctionPointer) ? ConstantValue.Null : ConstantValue.Bad;
1549
return (type.
TypeKind
== TypeKind.Enum) ? TypedConstantKind.Enum : TypedConstantKind.Primitive;
2144
if (type.
TypeKind
== TypeKind.Error)
2149
Debug.Assert(type.
TypeKind
== TypeKind.Array);
2155
if (type.
TypeKind
== TypeKind.Error)
Symbols\INamedTypeSymbolInternal.cs (2)
36
if (type.
TypeKind
== TypeKind.Enum)
73
switch (type.
TypeKind
)
Symbols\TypedConstant.cs (2)
143
if (_type!.SpecialType == specialType || (_type.
TypeKind
== TypeKind.Enum && specialType == SpecialType.System_Enum))
180
switch (type.
TypeKind
)