Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vs-editor-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Impl/TextModel/StringRebuilder/StringRebuilderForCompressedChars.cs')
-rw-r--r--src/Text/Impl/TextModel/StringRebuilder/StringRebuilderForCompressedChars.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Impl/TextModel/StringRebuilder/StringRebuilderForCompressedChars.cs b/src/Text/Impl/TextModel/StringRebuilder/StringRebuilderForCompressedChars.cs
index ca80b09..59dd801 100644
--- a/src/Text/Impl/TextModel/StringRebuilder/StringRebuilderForCompressedChars.cs
+++ b/src/Text/Impl/TextModel/StringRebuilder/StringRebuilderForCompressedChars.cs
@@ -62,7 +62,7 @@ namespace Microsoft.VisualStudio.Text.Implementation
public override StringRebuilder GetSubText(Span span)
{
if (span.End > this.Length)
- throw new ArgumentOutOfRangeException("span");
+ throw new ArgumentOutOfRangeException(nameof(span));
if (span.Length == this.Length)
return this;