Skip to content

Commit 4fcdd83

Browse files
committed
Apply suppression to ExitDebugLoop() API
1 parent 32a7dea commit 4fcdd83

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/PowerShellEditorServices/Services/PowerShell/Debugging/PowerShellDebugContext.cs

+2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ public void EnterDebugLoop(CancellationToken loopCancellationToken)
116116
RaiseDebuggerStoppedEvent();
117117
}
118118

119+
119120
// This must be called BEFORE the debug PowerShell has been popped
121+
[System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1822:Mark members as static", Justification = "This method may acquire an implementation later, at which point it will need instance data")]
120122
public void ExitDebugLoop()
121123
{
122124
}

0 commit comments

Comments
 (0)