Compartilhar via


SpecialType Enumeração

Definição

Especifica as IDs de tipos de runtime especiais.

public enum class SpecialType
public enum SpecialType
type SpecialType = 
Public Enum SpecialType
Herança
SpecialType

Campos

Count 46

Contagem de tipos especiais. Essa não é uma contagem de membros de enumeração.

None 0

Indica um tipo não especial (valor padrão).

System_ArgIterator 37

Indica que o tipo é ArgIterator.

System_Array 23

Indica que o tipo é Array.

System_AsyncCallback 43

Indica que o tipo é AsyncCallback.

System_Boolean 7

Indica que o tipo é Boolean.

System_Byte 10

Indica que o tipo é Byte.

System_Char 8

Indica que o tipo é Char.

System_Collections_Generic_ICollection_T 27

Indica que o tipo é ICollection<T>.

System_Collections_Generic_IEnumerable_T 25

Indica que o tipo é IEnumerable<T>.

System_Collections_Generic_IEnumerator_T 29

Indica que o tipo é IEnumerator<T>.

System_Collections_Generic_IList_T 26

Indica que o tipo é IList<T>.

System_Collections_Generic_IReadOnlyCollection_T 31

Indica que o tipo é IReadOnlyCollection<T>.

System_Collections_Generic_IReadOnlyList_T 30

Indica que o tipo é IReadOnlyList<T>.

System_Collections_IEnumerable 24

Indica que o tipo é IEnumerable.

System_Collections_IEnumerator 28

Indica que o tipo é IEnumerator.

System_DateTime 33

Indica que o tipo é DateTime.

System_Decimal 17

Indica que o tipo é Decimal.

System_Delegate 4

Indica que o tipo é Delegate.

System_Double 19

Indica que o tipo é Double.

System_Enum 2

Indica que o tipo é Enum.

System_IAsyncResult 42

Indica que o tipo é IAsyncResult.

System_IDisposable 35

Indica que o tipo é IDisposable.

System_Int16 11

Indica que o tipo é Int16.

System_Int32 13

Indica que o tipo é Int32.

System_Int64 15

Indica que o tipo é Int64.

System_IntPtr 21

Indica que o tipo é IntPtr.

System_MulticastDelegate 3

Indica que o tipo é MulticastDelegate.

System_Nullable_T 32

Indica que o tipo é Nullable<T>.

System_Object 1

Indica que o tipo é Object.

System_Runtime_CompilerServices_InlineArrayAttribute 46

Um atributo que é colocado em um tipo de matriz embutida.

System_Runtime_CompilerServices_IsVolatile 34

Indica que o tipo é IsVolatile.

System_Runtime_CompilerServices_PreserveBaseOverridesAttribute 45

Um atributo que é colocado em cada método com um "methodimpl" também conhecido como ".override" em metadados.

System_Runtime_CompilerServices_RuntimeFeature 44

Indica que o tipo é System.Runtime.CompilerServices.RuntimeFeature.

System_RuntimeArgumentHandle 38

Indica que o tipo é RuntimeArgumentHandle.

System_RuntimeFieldHandle 39

Indica que o tipo é RuntimeFieldHandle.

System_RuntimeMethodHandle 40

Indica que o tipo é RuntimeMethodHandle.

System_RuntimeTypeHandle 41

Indica que o tipo é RuntimeTypeHandle.

System_SByte 9

Indica que o tipo é SByte.

System_Single 18

Indica que o tipo é Single.

System_String 20

Indica que o tipo é String.

System_TypedReference 36

Indica que o tipo é TypedReference.

System_UInt16 12

Indica que o tipo é UInt16.

System_UInt32 14

Indica que o tipo é UInt32.

System_UInt64 16

Indica que o tipo é UInt64.

System_UIntPtr 22

Indica que o tipo é UIntPtr.

System_ValueType 5

Indica que o tipo é ValueType.

System_Void 6

Indica que o tipo é Void.

Comentários

Somente os tipos mencionados explicitamente na especificação "Tipos de núcleo co-localizados" (https://github.com/dotnet/roslyn/blob/main/docs/compilers/Co-located%20core%20types.md) podem estar nessa enumeração. As seguintes coisas devem estar em sincronização: 1) Nomes de enumeração SpecialType 2) na matriz SpecialTypes.EmittedNames.

Aplica-se a