44 references to End
Microsoft.CodeAnalysis (2)
Diagnostic\FileLinePositionSpan.cs (1)
85
public LinePosition EndLinePosition => Span.
End
;
Text\TextLineCollection.cs (1)
78
return TextSpan.FromBounds(GetPosition(span.Start), GetPosition(span.
End
));
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\Formatting\FormattingCodeFixProvider.cs (1)
72
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)
493
return TextSpan.FromBounds(getTextPosition(lines, span.Start), getTextPosition(lines, span.
End
));
Microsoft.CodeAnalysis.EditorFeatures.Text (2)
Shared\Extensions\ITextSnapshotExtensions.cs (2)
37
GetPosition(snapshot, span.
End
.Line, span.
End
.Character));
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Peek\PeekHelpers.cs (2)
40
endLine: entityOfInterestSpan.
End
.Line,
41
endIndex: entityOfInterestSpan.
End
.Character,
Microsoft.CodeAnalysis.Features (14)
EditAndContinue\ActiveStatementsMap.cs (8)
223
mappedSection.Span.
End
,
259
var unmappedEndLine = mappedSpan.
End
.Line + lineDifference;
265
var unmappedEndColumn = (mappedSpan.
End
.Line == mappedSection.Start.Line)
266
? unmappedSection.Start.Character + mappedSpan.
End
.Character - mappedSection.Start.Character
267
: mappedSpan.
End
.Character;
274
if (lineSpan.Start.Line >= lines.Count || lineSpan.
End
.Line >= lines.Count)
281
var end = lines[lineSpan.
End
.Line].Start + lineSpan.
End
.Character;
EditAndContinue\Utilities\Extensions.cs (6)
19
=> new(new LinePosition(span.Start.Line + lineDelta, span.Start.Character), new LinePosition(span.
End
.Line + lineDelta, span.
End
.Character));
28
=> span.Start >= container.Start && span.
End
<= container.
End
;
34
=> new(span.Start.Line, span.Start.Character, span.
End
.Line, span.
End
.Character);
Microsoft.CodeAnalysis.Features.UnitTests (3)
EditAndContinue\ActiveStatementsMapTests.cs (3)
42
Assert.Equal(new Range(s, e), ActiveStatementsMap.GetSpansStartingInSpan(span.Start, span.
End
, array, startPositionComparer: (x, y) => x.Start.CompareTo(y)));
74
Assert.Equal(new Range(s, e), ActiveStatementsMap.GetSpansStartingInSpan(span.Start, span.
End
, array, startPositionComparer: (x, y) => x.Start.CompareTo(y)));
87
Assert.Equal(new Range(s, e), ActiveStatementsMap.GetSpansStartingInSpan(span.Start, span.
End
, array, startPositionComparer: (x, y) => x.Start.CompareTo(y)));
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
Extensions\ProtocolConversions.cs (1)
347
=> new LSP.Range { Start = LinePositionToPosition(linePositionSpan.Start), End = LinePositionToPosition(linePositionSpan.
End
) };
Handler\Diagnostics\DiagnosticsPullCache.cs (1)
114
WriteLinePosition(span.
End
, writer);
Handler\FoldingRanges\FoldingRangesHandler.cs (3)
101
if (linePositionSpan.Start.Line == linePositionSpan.
End
.Line)
121
EndLine = linePositionSpan.
End
.Line,
122
EndCharacter = linePositionSpan.
End
.Character,
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)
33
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
);
DocumentOutline\DocumentOutlineViewModel_Utilities.cs (2)
154
return childRange.Start > parentRange.Start && childRange.
End
<= parentRange.
End
;
Progression\GraphBuilder.cs (2)
792
new Position(span.
End
.Line, span.
End
.Character));