Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/System.Management.Automation/engine/ICommandRuntime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ public interface ICommandRuntime
/// execute an instance of a Cmdlet. ICommandRuntime2 extends the ICommandRuntime interface
/// by adding support for the informational data stream.
/// </summary>
#nullable enable
public interface ICommandRuntime2 : ICommandRuntime
{
/// <summary>
Expand Down Expand Up @@ -614,6 +615,6 @@ public interface ICommandRuntime2 : ICommandRuntime
/// performed, and the Cmdlet should move on to the next target resource.
/// </returns>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1045:DoNotPassTypesByReference")]
bool ShouldContinue(string query, string caption, bool hasSecurityImpact, ref bool yesToAll, ref bool noToAll);
bool ShouldContinue(string? query, string? caption, bool hasSecurityImpact, ref bool yesToAll, ref bool noToAll);
}
}