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
public value class Label : IEquatable<System::Reflection::Emit::Label>
[System.Serializable]
public struct Label
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct Label
public readonly struct Label : IEquatable<System.Reflection.Emit.Label>
[<System.Serializable>]
type Label = struct
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type Label = struct
type Label = struct
Public Structure Label
Public Structure Label
Implements IEquatable(Of 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).

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