Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit db47042

Browse files
committed
Merge pull request #2054 from Priya91/updateOSPlatform
Update string values in OSPlatform.
2 parents 578e4ff + 2f31aa9 commit db47042

File tree

1 file changed

+2
-2
lines changed
  • src/System.Runtime.InteropServices.RuntimeInformation/src

1 file changed

+2
-2
lines changed

src/System.Runtime.InteropServices.RuntimeInformation/src/OSPlatform.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public static OSPlatform OSX
4141

4242
private OSPlatform(string osPlatform)
4343
{
44-
if (osPlatform == null) throw new ArgumentNullException("name");
45-
if (osPlatform.Length == 0) throw new ArgumentException(SR.Argument_EmptyValue, "name");
44+
if (osPlatform == null) throw new ArgumentNullException("osPlatform");
45+
if (osPlatform.Length == 0) throw new ArgumentException(SR.Argument_EmptyValue, "osPlatform");
4646

4747
_osPlatform = osPlatform;
4848
}

0 commit comments

Comments
 (0)