TypeKind Enum

Definition

Enumeration for possible kinds of type symbols.

C#
public enum TypeKind
Inheritance
TypeKind

Fields

Name Value Description
Unknown 0

Type's kind is undefined.

Array 1

Type is an array type.

Class 2

Type is a class.

Delegate 3

Type is a delegate.

Dynamic 4

Type is dynamic.

Enum 5

Type is an enumeration.

Error 6

Type is an error type.

Interface 7

Type is an interface.

Module 8

Type is a module.

Pointer 9

Type is a pointer.

Struct 10

Type is a C# struct or VB Structure

Structure 10

Type is a C# struct or VB Structure

TypeParameter 11

Type is a type parameter.

Submission 12

Type is an interactive submission.

FunctionPointer 13

Type is a function pointer.

Applies to

Product Versions
Roslyn 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0, 3.10.0, 3.11.0, 4.0.1, 4.1.0, 4.12.2, 4.13.0