Class IrInstruction.IsNull
Tests whether a value is null.
public sealed record IrInstruction.IsNull : IrInstruction, IEquatable<IrInstruction>, IEquatable<IrInstruction.IsNull>
- Inheritance
-
IrInstruction.IsNull
- Implements
- Inherited Members
Constructors
IsNull(TextSpan, int, int)
Tests whether a value is null.
public IsNull(TextSpan Span, int Destination, int Source)
Parameters
Properties
Destination
The destination slot.
public int Destination { get; init; }
Property Value
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Source
The source slot.
public int Source { get; init; }
Property Value
Methods
Deconstruct(out TextSpan, out int, out int)
public void Deconstruct(out TextSpan Span, out int Destination, out int Source)
Parameters
Equals(IrInstruction?)
public override sealed bool Equals(IrInstruction? other)
Parameters
otherIrInstruction
Returns
Equals(IsNull?)
public bool Equals(IrInstruction.IsNull? other)
Parameters
otherIrInstruction.IsNull
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(IsNull?, IsNull?)
public static bool operator ==(IrInstruction.IsNull? left, IrInstruction.IsNull? right)
Parameters
leftIrInstruction.IsNullrightIrInstruction.IsNull
Returns
operator !=(IsNull?, IsNull?)
public static bool operator !=(IrInstruction.IsNull? left, IrInstruction.IsNull? right)
Parameters
leftIrInstruction.IsNullrightIrInstruction.IsNull