Label Estrutura

Definição

Representa um rótulo no fluxo de instrução. 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

Id

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

Métodos

Equals(Label)

Indica se a instância atual é igual ao Label especificado.

Equals(Object)

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

GetHashCode()

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

Operadores

Equality(Label, Label)

Indica se duas estruturas Label são iguais.

Inequality(Label, Label)

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

Aplica-se a