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