Label 구조체

정의

명령 스트림의 레이블을 나타냅니다. LabelILGenerator 클래스와 함께 사용됩니다.

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
상속
특성
구현

설명

Label 클래스는 클래스에서 사용하는 레이블의 불투명 표현입니다 ILGenerator . 토큰은 IL 스트림에서 레이블이 발생하는 위치를 표시하는 데 사용됩니다. 레이블은 를 사용하여 DefineLabel()만들어지고 해당 위치는 를 사용하여 MarkLabel(Label)설정됩니다.

속성

Id

명령 스트림의 레이블을 나타냅니다. LabelILGenerator 클래스와 함께 사용됩니다.

메서드

Equals(Label)

현재 인스턴스와 지정된 Label이 같은지 여부를 나타냅니다.

Equals(Object)

지정된 개체가 Label의 인스턴스이며 해당 인스턴스와 같은지 검사합니다.

GetHashCode()

이 인스턴스의 해시 코드를 생성합니다.

연산자

Equality(Label, Label)

두 개의 Label 구조체가 같은지 여부를 나타냅니다.

Inequality(Label, Label)

두 개의 Label 구조체가 같지 않은지 여부를 나타냅니다.

적용 대상