Skip to content

Commit 8a4beb0

Browse files
Remove unused SourceSpan.With method
1 parent 2f2d497 commit 8a4beb0

File tree

1 file changed

+0
-12
lines changed
  • src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language

1 file changed

+0
-12
lines changed

src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/SourceSpan.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -96,18 +96,6 @@ public override string ToString()
9696
FilePath);
9797
}
9898

99-
internal SourceSpan With(int length, int endCharacterIndex)
100-
{
101-
return new SourceSpan(
102-
FilePath,
103-
AbsoluteIndex,
104-
LineIndex,
105-
CharacterIndex,
106-
length,
107-
LineCount,
108-
endCharacterIndex);
109-
}
110-
11199
internal readonly SourceSpan GetZeroWidthEndSpan()
112100
{
113101
return new SourceSpan(FilePath, AbsoluteIndex + Length, LineIndex, characterIndex: EndCharacterIndex, length: 0, lineCount: 0, EndCharacterIndex);

0 commit comments

Comments
 (0)