Base:
property
TypeKind
Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.TypeKind
16 references to TypeKind
Microsoft.CodeAnalysis.CSharp (15)
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1324if (_containingType.TypeKind == TypeKind.Delegate)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (14)
122if (this.TypeKind is TypeKind.Enum or TypeKind.Extension) 1227if (this.TypeKind == TypeKind.Enum) 1432&& this.TypeKind == TypeKind.Enum) 1526if (this.TypeKind == TypeKind.Enum) 1585if (this.TypeKind == TypeKind.Struct) 1988switch (this.TypeKind) 2192bool checkForExtensionGroup = this.IsStatic && this.ContainingType is null && this.TypeKind == TypeKind.Class && 2215type.TypeKind == TypeKind.Class && type.BaseTypeNoUseSiteDiagnostics.IsObjectType() && 2239marker.TypeKind == TypeKind.Class && marker.BaseTypeNoUseSiteDiagnostics.IsObjectType() && marker.Arity == 0 && 2279if (this.TypeKind == TypeKind.Struct) 2362var isOrdinaryEmbeddableStruct = (this.TypeKind == TypeKind.Struct) && (this.SpecialType == Microsoft.CodeAnalysis.SpecialType.None) && this.ContainingAssembly.IsLinked; 2526else if (TypeKind == TypeKind.Class && SpecialType != SpecialType.System_Enum) 2687if (this.TypeKind == TypeKind.Struct) 2736if (this.TypeKind == TypeKind.Struct)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
RefStructInterfacesTests.cs (1)
29336Assert.Equal(TypeKind.Interface, itest29.TypeKind);