Class IrInstruction.HasProperty
Tests whether an object contains a property.
public sealed record IrInstruction.HasProperty : IrInstruction, IEquatable<IrInstruction>, IEquatable<IrInstruction.HasProperty>
- Inheritance
-
IrInstruction.HasProperty
- Implements
- Inherited Members
Constructors
HasProperty(TextSpan, int, int, int)
Tests whether an object contains a property.
public HasProperty(TextSpan Span, int Destination, int Target, int Key)
Parameters
SpanTextSpanThe source span.
DestinationintThe destination slot.
TargetintThe object slot.
KeyintThe property-name slot.
Properties
Destination
The destination slot.
public int Destination { get; init; }
Property Value
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Key
The property-name slot.
public int Key { get; init; }
Property Value
Target
The object slot.
public int Target { get; init; }
Property Value
Methods
Deconstruct(out TextSpan, out int, out int, out int)
public void Deconstruct(out TextSpan Span, out int Destination, out int Target, out int Key)
Parameters
Equals(IrInstruction?)
public override sealed bool Equals(IrInstruction? other)
Parameters
otherIrInstruction
Returns
Equals(HasProperty?)
public bool Equals(IrInstruction.HasProperty? other)
Parameters
otherIrInstruction.HasProperty
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 ==(HasProperty?, HasProperty?)
public static bool operator ==(IrInstruction.HasProperty? left, IrInstruction.HasProperty? right)
Parameters
leftIrInstruction.HasPropertyrightIrInstruction.HasProperty
Returns
operator !=(HasProperty?, HasProperty?)
public static bool operator !=(IrInstruction.HasProperty? left, IrInstruction.HasProperty? right)
Parameters
leftIrInstruction.HasPropertyrightIrInstruction.HasProperty