Skip to content

Commit a25a281

Browse files
StringComparison.Ordinal
Co-Authored-By: TylerLeonhardt <tylerl0706@gmail.com>
1 parent 485b606 commit a25a281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PowerShellEditorServices.Protocol/MessageProtocol/Channel/NamedPipeServerListener.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public override void Start()
6161
try
6262
{
6363
// If we're running in Windows PowerShell, we use the constructor via Reflection
64-
if (RuntimeInformation.FrameworkDescription.StartsWith(".NET Framework"))
64+
if (RuntimeInformation.FrameworkDescription.StartsWith(".NET Framework", StringComparison.Ordinal))
6565
{
6666
PipeSecurity pipeSecurity = new PipeSecurity();
6767

0 commit comments

Comments
 (0)