diff options
Diffstat (limited to 'src/Text/Def/TextUI/Editor/TextViewRoleAttribute.cs')
-rw-r--r-- | src/Text/Def/TextUI/Editor/TextViewRoleAttribute.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Def/TextUI/Editor/TextViewRoleAttribute.cs b/src/Text/Def/TextUI/Editor/TextViewRoleAttribute.cs index e17c675..e630939 100644 --- a/src/Text/Def/TextUI/Editor/TextViewRoleAttribute.cs +++ b/src/Text/Def/TextUI/Editor/TextViewRoleAttribute.cs @@ -23,7 +23,7 @@ namespace Microsoft.VisualStudio.Text.Editor { if (string.IsNullOrEmpty(role)) { - throw new ArgumentNullException("role"); + throw new ArgumentNullException(nameof(role)); } this.roles = role; } @@ -36,4 +36,4 @@ namespace Microsoft.VisualStudio.Text.Editor get { return this.roles; } } } -}
\ No newline at end of file +} |