Class IrInstruction.RemoveProperty
Removes a named property.
public sealed record IrInstruction.RemoveProperty : IrInstruction, IEquatable<IrInstruction>, IEquatable<IrInstruction.RemoveProperty>
- Inheritance
-
IrInstruction.RemoveProperty
- Implements
- Inherited Members
Constructors
RemoveProperty(TextSpan, int, string)
Removes a named property.
public RemoveProperty(TextSpan Span, int Target, string Name)
Parameters
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Name
The property name.
public string Name { get; init; }
Property Value
Target
The target slot.
public int Target { get; init; }
Property Value
Methods
Deconstruct(out TextSpan, out int, out string)
public void Deconstruct(out TextSpan Span, out int Target, out string Name)
Parameters
Equals(IrInstruction?)
public override sealed bool Equals(IrInstruction? other)
Parameters
otherIrInstruction
Returns
Equals(RemoveProperty?)
public bool Equals(IrInstruction.RemoveProperty? other)
Parameters
otherIrInstruction.RemoveProperty
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 ==(RemoveProperty?, RemoveProperty?)
public static bool operator ==(IrInstruction.RemoveProperty? left, IrInstruction.RemoveProperty? right)
Parameters
leftIrInstruction.RemovePropertyrightIrInstruction.RemoveProperty
Returns
operator !=(RemoveProperty?, RemoveProperty?)
public static bool operator !=(IrInstruction.RemoveProperty? left, IrInstruction.RemoveProperty? right)
Parameters
leftIrInstruction.RemovePropertyrightIrInstruction.RemoveProperty