diff options
3 files changed, 2 insertions, 5 deletions
diff --git a/src/System.Private.CoreLib/src/Resources/Strings.resx b/src/System.Private.CoreLib/src/Resources/Strings.resx index 2eedd405c..76ceb5883 100644 --- a/src/System.Private.CoreLib/src/Resources/Strings.resx +++ b/src/System.Private.CoreLib/src/Resources/Strings.resx @@ -798,9 +798,6 @@ <data name="ArgumentNull_Waithandles" xml:space="preserve"> <value>The waitHandles parameter cannot be null.</value> </data> - <data name="ArgumentNull_WithParamName" xml:space="preserve"> - <value>Parameter '{0}' cannot be null.</value> - </data> <data name="ArgumentOutOfRange_AddValue" xml:space="preserve"> <value>Value to add was out of range.</value> </data> diff --git a/src/System.Private.CoreLib/src/System/Threading/EventWaitHandle.Windows.cs b/src/System.Private.CoreLib/src/System/Threading/EventWaitHandle.Windows.cs index 2800fc951..58bd76dae 100644 --- a/src/System.Private.CoreLib/src/System/Threading/EventWaitHandle.Windows.cs +++ b/src/System.Private.CoreLib/src/System/Threading/EventWaitHandle.Windows.cs @@ -63,7 +63,7 @@ namespace System.Threading { if (name == null) { - throw new ArgumentNullException(nameof(name), SR.ArgumentNull_WithParamName); + throw new ArgumentNullException(nameof(name)); } if (name.Length == 0) diff --git a/src/System.Private.CoreLib/src/System/Threading/Mutex.Windows.cs b/src/System.Private.CoreLib/src/System/Threading/Mutex.Windows.cs index ba5e86304..40b9ce758 100644 --- a/src/System.Private.CoreLib/src/System/Threading/Mutex.Windows.cs +++ b/src/System.Private.CoreLib/src/System/Threading/Mutex.Windows.cs @@ -45,7 +45,7 @@ namespace System.Threading { if (name == null) { - throw new ArgumentNullException(nameof(name), SR.ArgumentNull_WithParamName); + throw new ArgumentNullException(nameof(name)); } if (name.Length == 0) |