44 references to End
Microsoft.CodeAnalysis (2)
Diagnostic\FileLinePositionSpan.cs (1)
85public LinePosition EndLinePosition => Span.End;
Text\TextLineCollection.cs (1)
78return TextSpan.FromBounds(GetPosition(span.Start), GetPosition(span.End));
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\Formatting\FormattingCodeFixProvider.cs (1)
72text.Lines[diagnosticLinePositionSpan.End.Line].End);
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CommandLineDiagnosticFormatter.cs (2)
35span.End.Line + 1, 36span.End.Character + 1);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\LineSpanDirectiveTests.cs (1)
493return TextSpan.FromBounds(getTextPosition(lines, span.Start), getTextPosition(lines, span.End));
Microsoft.CodeAnalysis.EditorFeatures.Text (2)
Shared\Extensions\ITextSnapshotExtensions.cs (2)
37GetPosition(snapshot, span.End.Line, span.End.Character));
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Peek\PeekHelpers.cs (2)
40endLine: entityOfInterestSpan.End.Line, 41endIndex: entityOfInterestSpan.End.Character,
Microsoft.CodeAnalysis.Features (14)
EditAndContinue\ActiveStatementsMap.cs (8)
223mappedSection.Span.End, 259var unmappedEndLine = mappedSpan.End.Line + lineDifference; 265var unmappedEndColumn = (mappedSpan.End.Line == mappedSection.Start.Line) 266? unmappedSection.Start.Character + mappedSpan.End.Character - mappedSection.Start.Character 267: mappedSpan.End.Character; 274if (lineSpan.Start.Line >= lines.Count || lineSpan.End.Line >= lines.Count) 281var 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)
42Assert.Equal(new Range(s, e), ActiveStatementsMap.GetSpansStartingInSpan(span.Start, span.End, array, startPositionComparer: (x, y) => x.Start.CompareTo(y))); 74Assert.Equal(new Range(s, e), ActiveStatementsMap.GetSpansStartingInSpan(span.Start, span.End, array, startPositionComparer: (x, y) => x.Start.CompareTo(y))); 87Assert.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)
114WriteLinePosition(span.End, writer);
Handler\FoldingRanges\FoldingRangesHandler.cs (3)
101if (linePositionSpan.Start.Line == linePositionSpan.End.Line) 121EndLine = linePositionSpan.End.Line, 122EndCharacter = linePositionSpan.End.Character,
Microsoft.CodeAnalysis.Workspaces (2)
Shared\Extensions\FileLinePositionSpanExtensions.cs (2)
45var endLine = span.End.Line; 49var endColumn = Math.Max(span.End.Character, 0);
Microsoft.VisualStudio.LanguageServices (10)
CallHierarchy\CallHierarchyDetail.cs (1)
33EndColumn = location.GetLineSpan().Span.End.Character;
Diagnostics\VisualStudioVenusSpanMappingService.cs (5)
49if (originalSpan.Start != originalLineInfo.StartLinePosition || originalSpan.End != originalLineInfo.EndLinePosition) 51originalLineInfo = new FileLinePositionSpan(originalLineInfo.Path, originalSpan.Start, originalSpan.End); 58var endPos = textLines.GetPosition(originalSpan.End); 64if (mappedSpan.Start != mappedLineInfo.StartLinePosition || mappedSpan.End != mappedLineInfo.EndLinePosition) 66mappedLineInfo = new FileLinePositionSpan(mappedLineInfo.Path, mappedSpan.Start, mappedSpan.End);
DocumentOutline\DocumentOutlineViewModel_Utilities.cs (2)
154return childRange.Start > parentRange.Start && childRange.End <= parentRange.End;
Progression\GraphBuilder.cs (2)
792new Position(span.End.Line, span.End.Character));