Skip to content

Commit e8b5d84

Browse files
authored
Disable warning for the private contract field with PSES (#2935)
1 parent cdc164c commit e8b5d84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

PSReadLine/ReadLine.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ public partial class PSConsoleReadLine : IPSConsoleReadLineMockableMethods
4444

4545
// This is used by PowerShellEditorServices (the backend of the PowerShell VSCode extension)
4646
// so that it can call PSReadLine from a delegate and not hit nested pipeline issues.
47+
#pragma warning disable CS0649
4748
private static Action<CancellationToken> _handleIdleOverride;
49+
#pragma warning restore CS0649
4850

4951
private bool _delayedOneTimeInitCompleted;
5052

0 commit comments

Comments
 (0)