mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Enable nullable for System.Management.Automation.Tracing.IMethodInvoker (#14157)
This commit is contained in:
@@ -1715,6 +1715,7 @@ namespace System.Management.Automation
|
||||
NullModuleSpecification,
|
||||
}
|
||||
|
||||
#nullable enable
|
||||
/// <summary>
|
||||
/// Used by Modules/Snapins to provide a hook to the engine for startup initialization
|
||||
/// w.r.t compiled assembly loading.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#nullable enable
|
||||
|
||||
#if !UNIX
|
||||
|
||||
namespace System.Management.Automation.Tracing
|
||||
@@ -11,7 +13,7 @@ namespace System.Management.Automation.Tracing
|
||||
{
|
||||
Delegate Invoker { get; }
|
||||
|
||||
object[] CreateInvokerArgs(Delegate methodToInvoke, object[] methodToInvokeArgs);
|
||||
object[] CreateInvokerArgs(Delegate methodToInvoke, object?[]? methodToInvokeArgs);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user