Struct Label
- Namespace
- Concord
- Assembly
- Concord.Emit.dll
An opaque branch-target handle inside a transpiled method body. Mint new labels via the transpiler context.
public readonly struct Label : IEquatable<Label>
- Implements
- Inherited Members
Methods
Equals(Label)
Compares two labels for equality.
public bool Equals(Label other)
Parameters
otherLabelThe label to compare against.
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Operators
operator ==(Label, Label)
Compares two labels for equality.
public static bool operator ==(Label left, Label right)
Parameters
Returns
operator !=(Label, Label)
Compares two labels for inequality.
public static bool operator !=(Label left, Label right)