Name

Label

Synopsis

This class represents a label in the MSIL instruction stream. You can create a label with ILGenerator.DefineLabel(), and place it in the stream with ILGenerator.MarkLabel().

public struct Label {
// Public Instance Methods
   public override method bool Equals(object obj);              // overrides ValueType
   public override method int GetHashCode();                     // overrides ValueType
}

Hierarchy

System.ObjectSystem.ValueTypeLabel

Returned By

ILGenerator.{BeginExceptionBlock(), DefineLabel()}

Passed To

ILGenerator.{Emit(), MarkLabel()}

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.