Table of Contents

Enum KnownTypeCode

Namespace
ICSharpCode.Decompiler.TypeSystem
Assembly
ICSharpCode.Decompiler.dll

Represents some well-known types.

public enum KnownTypeCode
Extension Methods

Fields

Array = 21

System.Array

Attribute = 22

System.Attribute

Boolean = 3

bool (System.Boolean)

Byte = 6

byte (System.Byte)

Char = 4

char (System.Char)

DBNull = 2

System.DBNull

DateTime = 16

System.DateTime

Decimal = 15

decimal (System.Decimal)

DefaultInterpolatedStringHandler = 52

System.Runtime.CompilerServices.DefaultInterpolatedStringHandler

Delegate = 25

System.Delegate

Double = 14

double (System.Double)

Enum = 24

System.Enum

Exception = 27

System.Exception

FormattableString = 51

System.FormattableString

IAsyncDisposable = 46

System.IAsyncDisposable

IAsyncEnumerableOfT = 57

System.Collections.Generic.IAsyncEnumerable{T}

IAsyncEnumeratorOfT = 58

System.Collections.Generic.IAsyncEnumerator{T}

ICollection = 34

System.Collections.Generic.ICollection

ICollectionOfT = 35

System.Collections.Generic.ICollection{T}

ICriticalNotifyCompletion = 48

System.Runtime.CompilerServices.ICriticalNotifyCompletion

IDisposable = 45

System.IDisposable

IEnumerable = 30

System.Collections.IEnumerable

IEnumerableOfT = 32

System.Collections.Generic.IEnumerable{T}

IEnumerator = 31

System.Collections.IEnumerator

IEnumeratorOfT = 33

System.Collections.Generic.IEnumerator{T}

IFormattable = 50

System.IFormattable

IList = 36

System.Collections.Generic.IList

IListOfT = 37

System.Collections.Generic.IList{T}

INotifyCompletion = 47

System.Runtime.CompilerServices.INotifyCompletion

IReadOnlyCollectionOfT = 38

System.Collections.Generic.IReadOnlyCollection{T}

IReadOnlyListOfT = 39

System.Collections.Generic.IReadOnlyList{T}

Index = 59

System.Index

Int16 = 7

short (System.Int16)

Int32 = 9

int (System.Int32)

Int64 = 11

long (System.Int64)

IntPtr = 28

System.IntPtr

MemoryOfT = 55

System.Memory{T}

MulticastDelegate = 26

System.MulticastDelegate

None = 0

Not one of the known types.

NullableOfT = 44

System.Nullable{T}

Object = 1

object (System.Object)

Range = 60

System.Range

ReadOnlySpanOfT = 54

System.ReadOnlySpan{T}

SByte = 5

sbyte (System.SByte)

Single = 13

float (System.Single)

SpanOfT = 53

System.Span{T}

String = 18

string (System.String)

Task = 40

System.Threading.Tasks.Task

TaskOfT = 41

System.Threading.Tasks.Task{T}

Type = 20

System.Type

TypedReference = 49

System.TypedReference

UInt16 = 8

ushort (System.UInt16)

UInt32 = 10

uint (System.UInt32)

UInt64 = 12

ulong (System.UInt64)

UIntPtr = 29

System.UIntPtr

Unsafe = 56

System.Runtime.CompilerServices.Unsafe

ValueTask = 42

System.Threading.Tasks.ValueTask

ValueTaskOfT = 43

System.Threading.Tasks.ValueTask{T}

ValueType = 23

System.ValueType

Void = 19

void (System.Void)