1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
4 namespace System.Runtime.InteropServices.WindowsRuntime
6 public struct EventRegistrationToken : IEquatable<EventRegistrationToken>
9 public EventRegistrationToken(ulong value) => throw new PlatformNotSupportedException();
12 public ulong Value => throw new PlatformNotSupportedException();
14 public static bool operator ==(EventRegistrationToken left, EventRegistrationToken right) =>
15 throw new PlatformNotSupportedException();
17 public static bool operator !=(EventRegistrationToken left, EventRegistrationToken right) =>
18 throw new PlatformNotSupportedException();
20 public override bool Equals(object? obj) => throw new PlatformNotSupportedException();
22 public override int GetHashCode() => throw new PlatformNotSupportedException();
24 public bool Equals(EventRegistrationToken other) => throw new PlatformNotSupportedException();