Base:
property
TypeKind
Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.TypeKind
16 references to TypeKind
Microsoft.CodeAnalysis.CSharp (15)
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1316if (_containingType.TypeKind == TypeKind.Delegate)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (14)
122if (this.TypeKind is TypeKind.Enum or TypeKind.Extension) 1247if (this.TypeKind == TypeKind.Enum) 1452&& this.TypeKind == TypeKind.Enum) 1546if (this.TypeKind == TypeKind.Enum) 1605if (this.TypeKind == TypeKind.Struct) 2013switch (this.TypeKind) 2217bool checkForExtensionGroup = this.IsStatic && this.ContainingType is null && this.TypeKind == TypeKind.Class && 2240type.TypeKind == TypeKind.Class && type.BaseTypeNoUseSiteDiagnostics.IsObjectType() && 2264marker.TypeKind == TypeKind.Class && marker.BaseTypeNoUseSiteDiagnostics.IsObjectType() && marker.Arity == 0 && 2304if (this.TypeKind == TypeKind.Struct) 2387var isOrdinaryEmbeddableStruct = (this.TypeKind == TypeKind.Struct) && (this.SpecialType == Microsoft.CodeAnalysis.SpecialType.None) && this.ContainingAssembly.IsLinked; 2551else if (TypeKind == TypeKind.Class && SpecialType != SpecialType.System_Enum) 2712if (this.TypeKind == TypeKind.Struct) 2761if (this.TypeKind == TypeKind.Struct)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
RefStructInterfacesTests.cs (1)
29424Assert.Equal(TypeKind.Interface, itest29.TypeKind);