3 implementations of TypeKind
Microsoft.CodeAnalysis.CSharp (3)
Symbols\ArrayTypeSymbol.cs (1)
297public override TypeKind TypeKind
Symbols\TypeParameterSymbol.cs (1)
196public sealed override TypeKind TypeKind
Symbols\TypeSymbol.cs (1)
2518TypeKind ITypeSymbolInternal.TypeKind => this.TypeKind;
16 references to TypeKind
Microsoft.CodeAnalysis (12)
Emit\EditAndContinue\DefinitionMap.cs (1)
602if (displayClass.TypeKind == TypeKind.Struct)
MetadataReader\MetadataDecoder.cs (7)
400Debug.Assert(!refersToNoPiaLocalType || generic.TypeKind == TypeKind.Error); 1022value = (type.IsReferenceType || type.TypeKind == TypeKind.Pointer || type.TypeKind == TypeKind.FunctionPointer) ? ConstantValue.Null : ConstantValue.Bad; 1549return (type.TypeKind == TypeKind.Enum) ? TypedConstantKind.Enum : TypedConstantKind.Primitive; 2144if (type.TypeKind == TypeKind.Error) 2149Debug.Assert(type.TypeKind == TypeKind.Array); 2155if (type.TypeKind == TypeKind.Error)
Symbols\INamedTypeSymbolInternal.cs (2)
36if (type.TypeKind == TypeKind.Enum) 73switch (type.TypeKind)
Symbols\TypedConstant.cs (2)
143if (_type!.SpecialType == specialType || (_type.TypeKind == TypeKind.Enum && specialType == SpecialType.System_Enum)) 180switch (type.TypeKind)
Microsoft.CodeAnalysis.CSharp (2)
Compiler\ClsComplianceChecker.cs (2)
605if (argument.TypeInternal.TypeKind == TypeKind.Array) 621if (argument.TypeInternal.TypeKind == TypeKind.Array)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
PDB\PdbHelpers.cs (1)
82if (type.TypeKind == TypeKind.Enum)
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\CompilationDifference.cs (1)
160$"{(displayTypeKind && container is INamedTypeSymbolInternal type ? (type.TypeKind == TypeKind.Struct ? "struct " : "class ") : "")}{container}: " +