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 / EventRegistrationToken.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 struct EventRegistrationToken : IEquatable<EventRegistrationToken>
7     {
8         [CLSCompliant(false)]
9         public EventRegistrationToken(ulong value) => throw new PlatformNotSupportedException();
10
11         [CLSCompliant(false)]
12         public ulong Value => throw new PlatformNotSupportedException();
13
14         public static bool operator ==(EventRegistrationToken left, EventRegistrationToken right) =>
15             throw new PlatformNotSupportedException();
16
17         public static bool operator !=(EventRegistrationToken left, EventRegistrationToken right) =>
18             throw new PlatformNotSupportedException();
19
20         public override bool Equals(object? obj) => throw new PlatformNotSupportedException();
21
22         public override int GetHashCode() => throw new PlatformNotSupportedException();
23
24         public bool Equals(EventRegistrationToken other) => throw new PlatformNotSupportedException();
25     }
26 }