Base:
property
TypeKind
Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.TypeKind
20 references to TypeKind
Microsoft.CodeAnalysis.CSharp (12)
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1226
if (_containingType.
TypeKind
== TypeKind.Delegate)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (11)
118
if (this.
TypeKind
== TypeKind.Enum)
973
if (this.
TypeKind
== TypeKind.Enum)
1178
&& this.
TypeKind
== TypeKind.Enum)
1272
if (this.
TypeKind
== TypeKind.Enum)
1331
if (this.
TypeKind
== TypeKind.Struct)
1714
switch (this.
TypeKind
)
1893
if (this.
TypeKind
== TypeKind.Struct)
1949
var isOrdinaryEmbeddableStruct = (this.
TypeKind
== TypeKind.Struct) && (this.SpecialType == Microsoft.CodeAnalysis.SpecialType.None) && this.ContainingAssembly.IsLinked;
2091
else if (
TypeKind
== TypeKind.Class && SpecialType != SpecialType.System_Enum)
2250
if (this.
TypeKind
== TypeKind.Struct)
2278
if (this.
TypeKind
== TypeKind.Struct)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (8)
Emit\NoPiaEmbedTypes.cs (8)
1175
Assert.Equal(TypeKind.Interface, itest1.
TypeKind
);
1197
Assert.Equal(TypeKind.Struct, test2.
TypeKind
);
1259
Assert.Equal(TypeKind.Enum, test9.
TypeKind
);
1338
Assert.Equal(TypeKind.Delegate, test11.
TypeKind
);
1452
Assert.Equal(TypeKind.Interface, itest17.
TypeKind
);
1500
Assert.Equal(TypeKind.Interface, itest18.
TypeKind
);
1734
Assert.Equal(TypeKind.Interface, itest28.
TypeKind
);
1737
Assert.Equal(TypeKind.Interface, itest29.
TypeKind
);