mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Enable nullable: System.Management.Automation.Host.IHostSupportsInteractiveSession (#14170)
This commit is contained in:
1 parent
f91b620fde
commit
99e527bc0a
1 file changed
+2
-1
@@ -290,6 +290,7 @@ namespace System.Management.Automation.Host
|
||||
/// This interface needs to be implemented by PSHost objects that want to support the PushRunspace
|
||||
/// and PopRunspace functionality.
|
||||
/// </summary>
|
||||
#nullable enable
|
||||
public interface IHostSupportsInteractiveSession
|
||||
{
|
||||
/// <summary>
|
||||
@@ -317,6 +318,6 @@ namespace System.Management.Automation.Host
|
||||
/// Returns the current runspace associated with this host.
|
||||
/// </summary>
|
||||
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Runspace")]
|
||||
Runspace Runspace { get; }
|
||||
Runspace? Runspace { get; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user