diff options
author | Jan Kotas <jkotas@microsoft.com> | 2018-03-05 21:21:12 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2018-03-06 02:28:43 +0300 |
commit | 4e0a3e661063c88a14e9599929bbbf4d635c5a20 (patch) | |
tree | 60ad113e70094233e2a4d7e34855a1d99d6a448f /src | |
parent | 01180c3c6880327277672db99d8326cfec0832a4 (diff) |
Port changes in non-shared CoreLib partition
Diffstat (limited to 'src')
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) |