Skip to content

Commit 6d488ba

Browse files
Update src/libraries/System.Private.CoreLib/src/System/Environment.Browser.cs
Co-authored-by: kasperk81 <[email protected]>
1 parent 553beb9 commit 6d488ba

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/libraries/System.Private.CoreLib/src/System/Environment.Browser.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,9 @@ private static OperatingSystem GetOSVersion()
3636
private static string? GetProcessPath() => null;
3737

3838
#if !MONO
39-
private static string[] GetCommandLineArgsNative()
40-
{
41-
// This is only used for delegate created from native host
42-
// Consider to use /proc/self/cmdline to get command line
43-
return Array.Empty<string>();
44-
}
39+
// This is only used for delegate created from native host
40+
// Consider to use /proc/self/cmdline to get command line
41+
private static string[] GetCommandLineArgsNative() => [];
4542
#endif
4643

4744
}

0 commit comments

Comments
 (0)