Class ListFixesToolArguments
The arguments of ListFixes: a document, and optionally a range of it.
public sealed record ListFixesToolArguments : IEquatable<ListFixesToolArguments>
- Inheritance
-
ListFixesToolArguments
- Implements
- Inherited Members
Remarks
With no Line, the fixes are those of every diagnostic of the document. With a line and a column, they are the fixes of what is at that position, or in the range up to EndLine and EndColumn: the diagnostics there, and the refactorings of the code there.
Properties
Column
public int? Column { get; init; }
Property Value
- int?
EndColumn
The column the range ends at, from 1; null for a range that ends where it starts when EndLine is null, or at the start of EndLine otherwise.
public int? EndColumn { get; init; }
Property Value
- int?
EndLine
public int? EndLine { get; init; }
Property Value
- int?
Line
The line the range starts on, from 1; null for the whole document.
public int? Line { get; init; }
Property Value
- int?
Path
The document: a path relative to the workspace root, or absolute.
public required string Path { get; init; }
Property Value
Range
The range the arguments say, 1-based; null for the whole document.
[JsonIgnore]
public TextRange? Range { get; }