54 references to End
Microsoft.CodeAnalysis (4)
Diagnostic\FileLinePositionSpan.cs (1)
85
public LinePosition EndLinePosition => Span.
End
;
Text\ChangedText.cs (2)
306
for (int i = lps.Start.Line + 1; i <= lps.
End
.Line; i++)
358
for (int i = lps.Start.Line + 1; i <= lps.
End
.Line; i++)
Text\TextLineCollection.cs (1)
73
return TextSpan.FromBounds(GetPosition(span.Start), GetPosition(span.
End
));
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
FormattingCodeFixHelper.cs (1)
25
text.Lines[diagnosticLinePositionSpan.
End
.Line].End);
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CommandLineDiagnosticFormatter.cs (2)
35
span.
End
.Line + 1,
36
span.
End
.Character + 1);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\LineSpanDirectiveTests.cs (1)
496
return TextSpan.FromBounds(getTextPosition(lines, span.Start), getTextPosition(lines, span.
End
));
Microsoft.CodeAnalysis.EditorFeatures.Text (2)
Shared\Extensions\ITextSnapshotExtensions.cs (2)
38
GetPosition(snapshot, span.
End
.Line, span.
End
.Character));
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
EditAndContinue\ActiveStatementsMapTests.cs (1)
43
Assert.Equal(new Range(s, e), ActiveStatementsMap.GetSpansStartingInSpan(span.Start, span.
End
, array, startPositionComparer: (x, y) => x.Start.CompareTo(y)));
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Peek\PeekHelpers.cs (2)
40
endLine: entityOfInterestSpan.
End
.Line,
41
endIndex: entityOfInterestSpan.
End
.Character,
Microsoft.CodeAnalysis.Features (20)
EditAndContinue\ActiveStatementsMap.cs (8)
217
mappedSection.Span.
End
,
253
var unmappedEndLine = mappedSpan.
End
.Line + lineDifference;
259
var unmappedEndColumn = (mappedSpan.
End
.Line == mappedSection.Start.Line)
260
? unmappedSection.Start.Character + mappedSpan.
End
.Character - mappedSection.Start.Character
261
: mappedSpan.
End
.Character;
268
if (lineSpan.Start.Line >= lines.Count || lineSpan.
End
.Line >= lines.Count)
275
var end = lines[lineSpan.
End
.Line].Start + lineSpan.
End
.Character;
EditAndContinue\EditSession.cs (4)
1264
Debug.Assert(newSpan.Span.
End
.Line - newSpan.Span.Start.Line == baseSpan.Span.
End
.Line - baseSpan.Span.Start.Line);
1265
Debug.Assert(region.OldSpan.Span.
End
.Line - region.OldSpan.Span.Start.Line == baseSpan.Span.
End
.Line - baseSpan.Span.Start.Line);
EditAndContinue\Extensions.cs (6)
16
=> new(new LinePosition(span.Start.Line + lineDelta, span.Start.Character), new LinePosition(span.
End
.Line + lineDelta, span.
End
.Character));
25
=> span.Start >= container.Start && span.
End
<= container.
End
;
31
=> new(span.Start.Line, span.Start.Character, span.
End
.Line, span.
End
.Character);
EditAndContinue\SourceFileSpan.cs (1)
68
=> Span.
End
;
FormattingCodeFixHelper.cs (1)
25
text.Lines[diagnosticLinePositionSpan.
End
.Line].End);
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
Extensions\ProtocolConversions.cs (2)
227
=> new LSP.Range { Start = LinePositionToPosition(linePositionSpan.Start), End = LinePositionToPosition(linePositionSpan.
End
) };
829
End = LinePositionToPosition(mappedSpanResult.LinePositionSpan.
End
)
Handler\FoldingRanges\FoldingRangesHandler.cs (3)
84
if (linePositionSpan.Start.Line == linePositionSpan.
End
.Line)
103
EndLine = linePositionSpan.
End
.Line,
104
EndCharacter = linePositionSpan.
End
.Character,
Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator (1)
Graph\Range.cs (1)
29
return new Range(start: ConvertLinePositionToPosition(linePositionSpan.Start), end: ConvertLinePositionToPosition(linePositionSpan.
End
), idFactory);
Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.UnitTests (1)
Utilities\TestLsifOutput.vb (1)
101
Dim positionEnd = Range.ConvertLinePositionToPosition(linePositionSpan.
End
)
Microsoft.CodeAnalysis.Workspaces (2)
Shared\Extensions\FileLinePositionSpanExtensions.cs (2)
45
var endLine = span.
End
.Line;
49
var endColumn = Math.Max(span.
End
.Character, 0);
Microsoft.VisualStudio.LanguageServices (10)
CallHierarchy\CallHierarchyDetail.cs (1)
40
_endColumn = location.GetLineSpan().Span.
End
.Character;
Diagnostics\VisualStudioVenusSpanMappingService.cs (5)
49
if (originalSpan.Start != originalLineInfo.StartLinePosition || originalSpan.
End
!= originalLineInfo.EndLinePosition)
51
originalLineInfo = new FileLinePositionSpan(originalLineInfo.Path, originalSpan.Start, originalSpan.
End
);
58
var endPos = textLines.GetPosition(originalSpan.
End
);
64
if (mappedSpan.Start != mappedLineInfo.StartLinePosition || mappedSpan.
End
!= mappedLineInfo.EndLinePosition)
66
mappedLineInfo = new FileLinePositionSpan(mappedLineInfo.Path, mappedSpan.Start, mappedSpan.
End
);
Progression\GraphBuilder.cs (2)
778
new Position(span.
End
.Line, span.
End
.Character));
Workspace\VisualStudioDocumentNavigationService.cs (2)
361
iEndIndex = mappedSpanResult.LinePositionSpan.
End
.Character,
362
iEndLine = mappedSpanResult.LinePositionSpan.
End
.Line
Microsoft.VisualStudio.LanguageServices.Xaml (2)
Implementation\LanguageServer\Handler\FoldingRanges\FoldingRangesHandler.cs (2)
74
EndLine = linePositionSpan.
End
.Line,
75
EndCharacter = linePositionSpan.
End
.Character,