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/StringRebuilderForChars.cs')
-rw-r--r--src/Text/Impl/TextModel/StringRebuilder/StringRebuilderForChars.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Impl/TextModel/StringRebuilder/StringRebuilderForChars.cs b/src/Text/Impl/TextModel/StringRebuilder/StringRebuilderForChars.cs
index a4f4293..70e932a 100644
--- a/src/Text/Impl/TextModel/StringRebuilder/StringRebuilderForChars.cs
+++ b/src/Text/Impl/TextModel/StringRebuilder/StringRebuilderForChars.cs
@@ -71,7 +71,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 == 0)
return StringRebuilder.Empty;