29 references to End
dotnet (2)
_generated\18\RunFileApiJsonSerializerContext.LinePositionSpan.g.cs (2)
80
Getter = static obj => ((global::Microsoft.CodeAnalysis.Text.LinePositionSpan)obj).
End
,
105
LinePositionSerializeHandler(writer, ((global::Microsoft.CodeAnalysis.Text.LinePositionSpan)value).
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\roslyn\src\Analyzers\Core\CodeFixes\Formatting\FormattingCodeFixProvider.cs (1)
78
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.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)
1760
Debug.Assert(newSpan.Span.
End
.Line - newSpan.Span.Start.Line == baseSpan.Span.
End
.Line - baseSpan.Span.Start.Line);
1761
Debug.Assert(region.OldSpan.Span.
End
.Line - region.OldSpan.Span.Start.Line == baseSpan.Span.
End
.Line - baseSpan.Span.Start.Line);
EditAndContinue\SourceFileSpan.cs (1)
62
=> Span.
End
;
EditAndContinue\Utilities\Extensions.cs (6)
21
=> new(new LinePosition(span.Start.Line + lineDelta, span.Start.Character), new LinePosition(span.
End
.Line + lineDelta, span.
End
.Character));
30
=> span.Start >= container.Start && span.
End
<= container.
End
;
36
=> new(span.Start.Line, span.Start.Character, span.
End
.Line, span.
End
.Character);
src\roslyn\src\Analyzers\Core\CodeFixes\Formatting\FormattingCodeFixProvider.cs (1)
78
text.Lines[diagnosticLinePositionSpan.
End
.Line].End);
Microsoft.CodeAnalysis.Workspaces (2)
Shared\Extensions\FileLinePositionSpanExtensions.cs (2)
44
var endLine = span.
End
.Line;
48
var endColumn = Math.Max(span.
End
.Character, 0);