using System;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
namespace System.Threading
{
/// Represents a callback delegate that has been registered with a .
// Token: 0x02000302 RID: 770
[Token(Token = "0x2000302")]
public struct CancellationTokenRegistration : IEquatable, IDisposable
{
// Token: 0x06001C90 RID: 7312 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001C90")]
[Address(RVA = "0x1D63CF0", Offset = "0x1D62AF0", VA = "0x181D63CF0")]
internal CancellationTokenRegistration(CancellationCallbackInfo callbackInfo, SparselyPopulatedArrayAddInfo registrationInfo)
{
}
// Token: 0x06001C91 RID: 7313 RVA: 0x000129C0 File Offset: 0x00010BC0
[Token(Token = "0x6001C91")]
[Address(RVA = "0x291D5E0", Offset = "0x291C3E0", VA = "0x18291D5E0")]
[FriendAccessAllowed]
internal bool TryDeregister()
{
return default(bool);
}
/// Releases all resources used by the current instance of the class.
// Token: 0x06001C92 RID: 7314 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001C92")]
[Address(RVA = "0x291D1F0", Offset = "0x291BFF0", VA = "0x18291D1F0", Slot = "5")]
public void Dispose()
{
}
/// Determines whether the current instance is equal to the specified .
/// The other object to which to compare this instance.
/// True, if both this and are equal. False, otherwise.
/// Two instances are equal if they both refer to the output of a single call to the same Register method of a .
// Token: 0x06001C93 RID: 7315 RVA: 0x000129D8 File Offset: 0x00010BD8
[Token(Token = "0x6001C93")]
[Address(RVA = "0x291D3C0", Offset = "0x291C1C0", VA = "0x18291D3C0", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// Determines whether the current instance is equal to the specified .
/// The other to which to compare this instance.
/// True, if both this and are equal. False, otherwise.
/// Two instances are equal if they both refer to the output of a single call to the same Register method of a .
// Token: 0x06001C94 RID: 7316 RVA: 0x000129F0 File Offset: 0x00010BF0
[Token(Token = "0x6001C94")]
[Address(RVA = "0x291D4A0", Offset = "0x291C2A0", VA = "0x18291D4A0", Slot = "4")]
public bool Equals(CancellationTokenRegistration other)
{
return default(bool);
}
/// Serves as a hash function for a .
/// A hash code for the current instance.
// Token: 0x06001C95 RID: 7317 RVA: 0x00012A08 File Offset: 0x00010C08
[Token(Token = "0x6001C95")]
[Address(RVA = "0x291D530", Offset = "0x291C330", VA = "0x18291D530", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x04001054 RID: 4180
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4001054")]
private readonly CancellationCallbackInfo m_callbackInfo;
// Token: 0x04001055 RID: 4181
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x4001055")]
private readonly SparselyPopulatedArrayAddInfo m_registrationInfo;
}
}