diff options
author | Jackson Schuster <jschuster@microsoft.com> | 2021-12-03 22:18:10 +0300 |
---|---|---|
committer | Jackson Schuster <jschuster@microsoft.com> | 2021-12-10 01:39:54 +0300 |
commit | 149b0e3c6932dac45dc7253e179b7ee2f42cccea (patch) | |
tree | 800326ac0fc51d14aeff3bc87af4813889ac54b3 /test | |
parent | 921b07f5c71fd28358952423f119ddd3edd4aa05 (diff) |
COM Analyzer also checks containing type for RUC
Diffstat (limited to 'test')
-rw-r--r-- | test/Mono.Linker.Tests.Cases/Interop/PInvoke/Warnings/ComPInvokeWarning.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Mono.Linker.Tests.Cases/Interop/PInvoke/Warnings/ComPInvokeWarning.cs b/test/Mono.Linker.Tests.Cases/Interop/PInvoke/Warnings/ComPInvokeWarning.cs index a92e86945..6909d5967 100644 --- a/test/Mono.Linker.Tests.Cases/Interop/PInvoke/Warnings/ComPInvokeWarning.cs +++ b/test/Mono.Linker.Tests.Cases/Interop/PInvoke/Warnings/ComPInvokeWarning.cs @@ -178,8 +178,8 @@ namespace Mono.Linker.Tests.Cases.Interop.PInvoke.Warnings [RequiresUnreferencedCode ("test")] static void Call_CanSuppressWithRequiresUnreferencedCodeInLambda () { - var lambda = () => CanSuppressWithRequiresUnreferencedCode (null); - lambda (); + Action<int> lambda = (x) => CanSuppressWithRequiresUnreferencedCode (null); + lambda (0); } |