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/Projection/BufferGraphFactoryService.cs')
-rw-r--r--src/Text/Impl/TextModel/Projection/BufferGraphFactoryService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Impl/TextModel/Projection/BufferGraphFactoryService.cs b/src/Text/Impl/TextModel/Projection/BufferGraphFactoryService.cs
index 7c47c06..f4b1cc1 100644
--- a/src/Text/Impl/TextModel/Projection/BufferGraphFactoryService.cs
+++ b/src/Text/Impl/TextModel/Projection/BufferGraphFactoryService.cs
@@ -21,7 +21,7 @@ namespace Microsoft.VisualStudio.Text.Projection.Implementation
{
if (textBuffer == null)
{
- throw new ArgumentNullException("textBuffer");
+ throw new ArgumentNullException(nameof(textBuffer));
}
return textBuffer.Properties.GetOrCreateSingletonProperty<BufferGraph>(() => (new BufferGraph(textBuffer, GuardedOperations)));
}