Enable nullable for System.Management.Automation.Tracing.IMethodInvoker (#14157)

This commit is contained in:
Staffan Gustafsson
2021-04-16 13:25:15 -04:00
committed by GitHub
parent b2d2541d87
commit 1feed0671a
2 changed files with 4 additions and 1 deletions
@@ -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);
}
}