Skip to content

Commit 9df36ed

Browse files
committed
Make boolean readonly
1 parent 3274c23 commit 9df36ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PowerShellEditorServices.Hosting/Commands/StartEditorServicesCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace Microsoft.PowerShell.EditorServices.Commands
3636
public sealed class StartEditorServicesCommand : PSCmdlet
3737
{
3838
// TODO: Remove this when we drop support for PS6.
39-
private static bool s_isWindows =
39+
private readonly static bool s_isWindows =
4040
#if CoreCLR
4141
RuntimeInformation.IsOSPlatform(OSPlatform.Windows);
4242
#else

0 commit comments

Comments
 (0)