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/TextUI/Tags/ErrorTag.cs')
-rw-r--r--src/Text/Def/TextUI/Tags/ErrorTag.cs2
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;