Base:
property
TypeKind
Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.TypeKind
16 references to TypeKind
Microsoft.CodeAnalysis.CSharp (15)
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1320if (_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) 1982switch (this.TypeKind) 2186bool checkForExtensionGroup = this.IsStatic && this.ContainingType is null && this.TypeKind == TypeKind.Class && 2209type.TypeKind == TypeKind.Class && type.BaseTypeNoUseSiteDiagnostics.IsObjectType() && 2230marker.TypeKind == TypeKind.Class && marker.BaseTypeNoUseSiteDiagnostics.IsObjectType() && marker.Arity == 0 && 2267if (this.TypeKind == TypeKind.Struct) 2350var isOrdinaryEmbeddableStruct = (this.TypeKind == TypeKind.Struct) && (this.SpecialType == Microsoft.CodeAnalysis.SpecialType.None) && this.ContainingAssembly.IsLinked; 2514else if (TypeKind == TypeKind.Class && SpecialType != SpecialType.System_Enum) 2675if (this.TypeKind == TypeKind.Struct) 2729if (this.TypeKind == TypeKind.Struct)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
RefStructInterfacesTests.cs (1)
28940Assert.Equal(TypeKind.Interface, itest29.TypeKind);