2 implementations of TypeKind
Microsoft.CodeAnalysis.CSharp (2)
Symbols\TypeParameterSymbol.cs (1)
195public sealed override TypeKind TypeKind
Symbols\TypeSymbol.cs (1)
2453TypeKind ITypeSymbolInternal.TypeKind => this.TypeKind;
13 references to TypeKind
Microsoft.CodeAnalysis (9)
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; 1610return (type.TypeKind == TypeKind.Enum) ? TypedConstantKind.Enum : TypedConstantKind.Primitive; 2227if (type.TypeKind == TypeKind.Error) 2232Debug.Assert(type.TypeKind == TypeKind.Array); 2238if (type.TypeKind == TypeKind.Error)
Symbols\TypedConstant.cs (2)
141if (_type!.SpecialType == specialType || (_type.TypeKind == TypeKind.Enum && specialType == SpecialType.System_Enum)) 178switch (type.TypeKind)
Microsoft.CodeAnalysis.CSharp (2)
Compiler\ClsComplianceChecker.cs (2)
598if (argument.TypeInternal.TypeKind == TypeKind.Array) 614if (argument.TypeInternal.TypeKind == TypeKind.Array)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
PDB\PdbHelpers.cs (1)
82if (type.TypeKind == TypeKind.Enum)
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\TypeSymbol.vb (1)
570Private ReadOnly Property ITypeSymbol_TypeKind As TypeKind Implements ITypeSymbol.TypeKind, ITypeSymbolInternal.TypeKind