Label
Represents a label in the instruction stream. Label is used in conjunction with the ILGenerator class.
namespace System.Reflection.Emit
{
public readonly struct Label
{
private readonly int _dummyPrimitive;
public override bool Equals(object obj)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration);
}
public bool Equals(Label obj)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration);
}
public override int GetHashCode()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration);
}
public static bool operator ==(Label a, Label b)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration);
}
public static bool operator !=(Label a, Label b)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration);
}
}
}