Repository: PowerShell/PowerShell
File: src/System.Management.Automation/engine/InitialSessionState.cs (C#)

Code before:
                    ScopedItemOptions.ReadOnly | ScopedItemOptions.AllScope),

                new SessionStateVariableEntry(
                    SpecialVariables.IsMacOS,
                    Platform.IsMacOS,
                    string.Empty,
                    ScopedItemOptions.ReadOnly | ScopedItemOptions.AllScope),

                new SessionStateVariableEntry(
                    SpecialVariables.IsWindows,
                    Platform.IsWindows,
                    string.Empty,
                    ScopedItemOptions.ReadOnly | ScopedItemOptions.AllScope),

                new SessionStateVariableEntry(
                    SpecialVariables.IsCoreCLR,
                    Platform.IsCoreCLR,
                    string.Empty,
                    ScopedItemOptions.ReadOnly | ScopedItemOptions.AllScope),
                #endregion
            };

            builtinVariables.Add(
                new SessionStateVariableEntry(
                    SpecialVariables.PSNativeCommandUseErrorActionPreference,
                    value: true,    // when this feature is changed to stable, this should default to `false`
                    RunspaceInit.PSNativeCommandUseErrorActionPreferenceDescription,
                    ScopedItemOptions.None,
                    new ArgumentTypeConverterAttribute(typeof(bool))));

            builtinVariables.Add(
                new SessionStateVariableEntry(
                    SpecialVariables.NativeArgumentPassing,
                    GetPassingStyle(),
                    RunspaceInit.NativeCommandArgumentPassingDescription,
                    ScopedItemOptions.None,
                    new ArgumentTypeConverterAttribute(typeof(NativeArgumentPassingStyle))));

            BuiltInVariables = builtinVariables.ToArray();
        }

        /// <summary>
        /// Assigns the default behavior for native argument passing.
        /// If the system is non-Windows, we will return Standard.
        /// Otherwise, we will return Windows.
        /// </summary>
        private static NativeArgumentPassingStyle GetPassingStyle()
        {
#if UNIX
            return NativeArgumentPassingStyle.Standard;
#else

Review comment (suggestion):
You missed this important comment :)

```suggestion
                    value: false,
```

Code after:
                    ScopedItemOptions.ReadOnly | ScopedItemOptions.AllScope),

                new SessionStateVariableEntry(
                    SpecialVariables.IsMacOS,
                    Platform.IsMacOS,
                    string.Empty,
                    ScopedItemOptions.ReadOnly | ScopedItemOptions.AllScope),

                new SessionStateVariableEntry(
                    SpecialVariables.IsWindows,
                    Platform.IsWindows,
                    string.Empty,
                    ScopedItemOptions.ReadOnly | ScopedItemOptions.AllScope),

                new SessionStateVariableEntry(
                    SpecialVariables.IsCoreCLR,
                    Platform.IsCoreCLR,
                    string.Empty,
                    ScopedItemOptions.ReadOnly | ScopedItemOptions.AllScope),
                #endregion
            };

            builtinVariables.Add(
                new SessionStateVariableEntry(
                    SpecialVariables.PSNativeCommandUseErrorActionPreference,
                    value: false,
                    RunspaceInit.PSNativeCommandUseErrorActionPreferenceDescription,
                    ScopedItemOptions.None,
                    new ArgumentTypeConverterAttribute(typeof(bool))));

            builtinVariables.Add(
                new SessionStateVariableEntry(
                    SpecialVariables.NativeArgumentPassing,
                    GetPassingStyle(),
                    RunspaceInit.NativeCommandArgumentPassingDescription,
                    ScopedItemOptions.None,
                    new ArgumentTypeConverterAttribute(typeof(NativeArgumentPassingStyle))));

            BuiltInVariables = builtinVariables.ToArray();
        }

        /// <summary>
        /// Assigns the default behavior for native argument passing.
        /// If the system is non-Windows, we will return Standard.
        /// Otherwise, we will return Windows.
        /// </summary>
        private static NativeArgumentPassingStyle GetPassingStyle()
        {
#if UNIX
            return NativeArgumentPassingStyle.Standard;
#else