Label Estrutura

Definição

Representa um rótulo no fluxo de instruções. Label é usado em conjunto com a classe ILGenerator.

public value class Label : IEquatable<System::Reflection::Emit::Label>
public value class Label
public readonly struct Label : IEquatable<System.Reflection.Emit.Label>
public struct Label
[System.Serializable]
public struct Label
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct Label
type Label = struct
[<System.Serializable>]
type Label = struct
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type Label = struct
Public Structure Label
Implements IEquatable(Of Label)
Public Structure Label
Herança
Atributos
Implementações

Comentários

A classe Label é uma representação opaca de um rótulo usado pela ILGenerator classe. O token é usado para marcar onde os rótulos ocorrem no fluxo IL. Os rótulos são criados usando DefineLabel()e sua posição é definida usando MarkLabel(Label).

Propriedades

Nome Description
Id

Obtém a ID exclusiva do rótulo atribuída pelo ILGenerator.

Métodos

Nome Description
Equals(Label)

Indica se a instância atual é igual à especificada Label.

Equals(Object)

Verifica se o objeto fornecido é uma instância e Label é igual a essa instância.

GetHashCode()

Gera um código hash para essa instância.

Operadores

Nome Description
Equality(Label, Label)

Indica se duas Label estruturas são iguais.

Inequality(Label, Label)

Indica se duas Label estruturas não são iguais.

Aplica-se a