Minor update to function signatures for RISCV64 architecture (#43862)
[platform/upstream/dotnet/runtime.git] / src / mono / netcore / System.Private.CoreLib / src / System / Runtime / InteropServices / WindowsRuntime / WindowsRuntimeMarshal.cs
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3
4 namespace System.Runtime.InteropServices.WindowsRuntime
5 {
6     public static class WindowsRuntimeMarshal
7     {
8         public static void AddEventHandler<T>(Func<T, EventRegistrationToken> addMethod,
9                                               Action<EventRegistrationToken> removeMethod,
10                                               T handler) => throw new PlatformNotSupportedException();
11
12         public static void RemoveEventHandler<T>(Action<EventRegistrationToken> removeMethod, T handler) => throw new PlatformNotSupportedException();
13
14         public static void RemoveAllEventHandlers(Action<EventRegistrationToken> removeMethod) => throw new PlatformNotSupportedException();
15
16         public static object GetUniqueObjectForIUnknownWithoutUnboxing(IntPtr unknown) => throw new PlatformNotSupportedException();
17     }
18 }