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/Def/TextData/Model/Projection/GraphBuffersChangedEventArgs.cs')
-rw-r--r--src/Text/Def/TextData/Model/Projection/GraphBuffersChangedEventArgs.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Def/TextData/Model/Projection/GraphBuffersChangedEventArgs.cs b/src/Text/Def/TextData/Model/Projection/GraphBuffersChangedEventArgs.cs
index 98d1ce5..b142651 100644
--- a/src/Text/Def/TextData/Model/Projection/GraphBuffersChangedEventArgs.cs
+++ b/src/Text/Def/TextData/Model/Projection/GraphBuffersChangedEventArgs.cs
@@ -26,11 +26,11 @@ namespace Microsoft.VisualStudio.Text.Projection
{
if (addedBuffers == null)
{
- throw new ArgumentNullException("addedBuffers");
+ throw new ArgumentNullException(nameof(addedBuffers));
}
if (removedBuffers == null)
{
- throw new ArgumentNullException("removedBuffers");
+ throw new ArgumentNullException(nameof(removedBuffers));
}
this.addedBuffers = new ReadOnlyCollection<ITextBuffer>(addedBuffers);
this.removedBuffers = new ReadOnlyCollection<ITextBuffer>(removedBuffers);