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/Core/Def/BaseUtility/OrderAttribute.cs')
-rw-r--r--src/Core/Def/BaseUtility/OrderAttribute.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Core/Def/BaseUtility/OrderAttribute.cs b/src/Core/Def/BaseUtility/OrderAttribute.cs
index 3f3d86d..9e2293b 100644
--- a/src/Core/Def/BaseUtility/OrderAttribute.cs
+++ b/src/Core/Def/BaseUtility/OrderAttribute.cs
@@ -24,19 +24,19 @@ namespace Microsoft.VisualStudio.Utilities
{
get
{
- return before;
+ return this.before;
}
set
{
if (value == null)
{
- throw new ArgumentNullException("value");
+ throw new ArgumentNullException(nameof(value));
}
if (value.Length == 0)
{
- throw new ArgumentException("Before value must not be empty", "value");
+ throw new ArgumentException("Before value must not be empty", nameof(value));
}
- before = value;
+ this.before = value;
}
}
@@ -50,19 +50,19 @@ namespace Microsoft.VisualStudio.Utilities
{
get
{
- return after;
+ return this.after;
}
set
{
if (value == null)
{
- throw new ArgumentNullException("value");
+ throw new ArgumentNullException(nameof(value));
}
if (value.Length == 0)
{
- throw new ArgumentException("After value must not be empty", "value");
+ throw new ArgumentException("After value must not be empty", nameof(value));
}
- after = value;
+ this.after = value;
}
}
}