diff options
Diffstat (limited to 'src/Text/Def/TextUI/Editor/TextViewLayoutChangedEventArgs.cs')
-rw-r--r-- | src/Text/Def/TextUI/Editor/TextViewLayoutChangedEventArgs.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Text/Def/TextUI/Editor/TextViewLayoutChangedEventArgs.cs b/src/Text/Def/TextUI/Editor/TextViewLayoutChangedEventArgs.cs index e26769c..9bb0376 100644 --- a/src/Text/Def/TextUI/Editor/TextViewLayoutChangedEventArgs.cs +++ b/src/Text/Def/TextUI/Editor/TextViewLayoutChangedEventArgs.cs @@ -63,13 +63,13 @@ namespace Microsoft.VisualStudio.Text.Editor IList<ITextViewLine> translatedLines) { if (oldState == null) - throw new ArgumentNullException("oldState"); + throw new ArgumentNullException(nameof(oldState)); if (newState == null) - throw new ArgumentNullException("newState"); + throw new ArgumentNullException(nameof(newState)); if (translatedLines == null) - throw new ArgumentNullException("translatedLines"); + throw new ArgumentNullException(nameof(translatedLines)); if (newOrReformattedLines == null) - throw new ArgumentNullException("newOrReformattedLines"); + throw new ArgumentNullException(nameof(newOrReformattedLines)); _oldViewState = oldState; _newViewState = newState; |