diff options
Diffstat (limited to 'src/Text/Def/TextUI/Tags/ErrorTag.cs')
-rw-r--r-- | src/Text/Def/TextUI/Tags/ErrorTag.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Def/TextUI/Tags/ErrorTag.cs b/src/Text/Def/TextUI/Tags/ErrorTag.cs index 2867819..9b2b029 100644 --- a/src/Text/Def/TextUI/Tags/ErrorTag.cs +++ b/src/Text/Def/TextUI/Tags/ErrorTag.cs @@ -22,7 +22,7 @@ namespace Microsoft.VisualStudio.Text.Tagging public ErrorTag(string errorType, object toolTipContent) { if (errorType == null) - throw new ArgumentNullException("errorType"); + throw new ArgumentNullException(nameof(errorType)); ErrorType = errorType; ToolTipContent = toolTipContent; |