SourceSpan(string, object, int, int, int, int, int, int, string)
Initializes a new instance of the SourceSpan struct.
Declaration
public SourceSpan(string filePath, object syntaxTree, int start, int end, int startLine, int startColumn, int endLine, int endColumn, string text)Parameters
| Type | Name | Description |
|---|---|---|
| string | filePath | The path of the source file. |
| object | syntaxTree | The Roslyn syntax tree. |
| int | start | The start position in the file. |
| int | end | The end position in the file. |
| int | startLine | The start line (zero-based). |
| int | startColumn | The start column (zero-based). |
| int | endLine | The end line (zero-based). |
| int | endColumn | The end column (zero-based). |
| string | text | The text of the span. |