12 references to LinePositionSpan
Microsoft.CodeAnalysis (6)
Diagnostic\FileLinePositionSpan.cs (1)
51
: this(path, new
LinePositionSpan
(start, end))
Syntax\LineDirectiveMap.cs (4)
69
return new
LinePositionSpan
(translatePosition(entry, unmappedStartPos), translatePosition(entry, unmappedEndPos));
91
return new
LinePositionSpan
(translatePosition(entry, unmappedStartPos), translatePosition(entry, unmappedEndPos));
238
var unmapped = new
LinePositionSpan
(
259
var mappedSpan = new
LinePositionSpan
(
Text\TextLineCollection.cs (1)
57
return new
LinePositionSpan
(GetLinePosition(span.Start), GetLinePosition(span.End));
Microsoft.CodeAnalysis.CSharp (1)
Syntax\CSharpLineDirectiveMap.cs (1)
104
return new LineMappingEntry(unmappedLine, new
LinePositionSpan
(mappedStart, mappedEnd), characterOffset, mappedPathOpt);
Microsoft.CodeAnalysis.Features (3)
EditAndContinue\ActiveStatementsMap.cs (1)
263
return
new
(new(unmappedStartLine, unmappedStartColumn), new(unmappedEndLine, unmappedEndColumn));
EditAndContinue\Utilities\Extensions.cs (2)
21
=>
new
(new LinePosition(span.Start.Line + lineDelta, span.Start.Character), new LinePosition(span.End.Line + lineDelta, span.End.Character));
33
=>
new
(new(span.StartLine, span.StartColumn), new(span.EndLine, span.EndColumn));
Microsoft.CodeAnalysis.Razor.Compiler (1)
SourceGenerators\Diagnostics\RazorDiagnostics.cs (1)
117
var linePosition = new
LinePositionSpan
(
Microsoft.CodeAnalysis.Workspaces (1)
Shared\Extensions\FileLinePositionSpanExtensions.cs (1)
90
return new
LinePositionSpan
(start, end);