Class IrSlotAttributes
Represents diagnostic attributes associated with an IR slot.
public sealed record IrSlotAttributes : IEquatable<IrSlotAttributes>
- Inheritance
-
IrSlotAttributes
- Implements
- Inherited Members
Constructors
IrSlotAttributes(string?, TextSpan?)
Represents diagnostic attributes associated with an IR slot.
public IrSlotAttributes(string? SourceName, TextSpan? DeclarationSpan)
Parameters
SourceNamestringThe source-level slot name, when available.
DeclarationSpanTextSpan?The source declaration span, when available.
Properties
DeclarationSpan
The source declaration span, when available.
public TextSpan? DeclarationSpan { get; init; }
Property Value
SourceName
The source-level slot name, when available.
public string? SourceName { get; init; }
Property Value
Methods
Deconstruct(out string?, out TextSpan?)
public void Deconstruct(out string? SourceName, out TextSpan? DeclarationSpan)
Parameters
Equals(IrSlotAttributes?)
public bool Equals(IrSlotAttributes? other)
Parameters
otherIrSlotAttributes
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(IrSlotAttributes?, IrSlotAttributes?)
public static bool operator ==(IrSlotAttributes? left, IrSlotAttributes? right)
Parameters
leftIrSlotAttributesrightIrSlotAttributes
Returns
operator !=(IrSlotAttributes?, IrSlotAttributes?)
public static bool operator !=(IrSlotAttributes? left, IrSlotAttributes? right)
Parameters
leftIrSlotAttributesrightIrSlotAttributes