m
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Represents a callback delegate that has been registered with a <see cref="T:System.Threading.CancellationToken" />.</summary>
|
||||
// Token: 0x0200031C RID: 796
|
||||
[Token(Token = "0x200031C")]
|
||||
public struct CancellationTokenRegistration : IEquatable<CancellationTokenRegistration>, IDisposable
|
||||
{
|
||||
// Token: 0x06001E91 RID: 7825 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E91")]
|
||||
[Address(RVA = "0xF284C0", Offset = "0xF274C0", VA = "0x180F284C0")]
|
||||
internal CancellationTokenRegistration(CancellationCallbackInfo callbackInfo, SparselyPopulatedArrayAddInfo<CancellationCallbackInfo> registrationInfo)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E92 RID: 7826 RVA: 0x00014D60 File Offset: 0x00012F60
|
||||
[Token(Token = "0x6001E92")]
|
||||
[Address(RVA = "0xF28450", Offset = "0xF27450", VA = "0x180F28450")]
|
||||
[FriendAccessAllowed]
|
||||
internal bool TryDeregister()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by the current instance of the <see cref="T:System.Threading.CancellationTokenRegistration" /> class.</summary>
|
||||
// Token: 0x06001E93 RID: 7827 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E93")]
|
||||
[Address(RVA = "0xF28100", Offset = "0xF27100", VA = "0x180F28100", Slot = "5")]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the current <see cref="T:System.Threading.CancellationTokenRegistration" /> instance is equal to the specified <see cref="T:System.Threading.CancellationTokenRegistration" />.</summary>
|
||||
/// <param name="obj">The other object to which to compare this instance.</param>
|
||||
/// <returns>True, if both this and <paramref name="obj" /> are equal. False, otherwise.
|
||||
/// Two <see cref="T:System.Threading.CancellationTokenRegistration" /> instances are equal if they both refer to the output of a single call to the same Register method of a <see cref="T:System.Threading.CancellationToken" />.</returns>
|
||||
// Token: 0x06001E94 RID: 7828 RVA: 0x00014D78 File Offset: 0x00012F78
|
||||
[Token(Token = "0x6001E94")]
|
||||
[Address(RVA = "0xF28230", Offset = "0xF27230", VA = "0x180F28230", Slot = "0")]
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the current <see cref="T:System.Threading.CancellationTokenRegistration" /> instance is equal to the specified <see cref="T:System.Threading.CancellationTokenRegistration" />.</summary>
|
||||
/// <param name="other">The other <see cref="T:System.Threading.CancellationTokenRegistration" /> to which to compare this instance.</param>
|
||||
/// <returns>True, if both this and <paramref name="other" /> are equal. False, otherwise.
|
||||
/// Two <see cref="T:System.Threading.CancellationTokenRegistration" /> instances are equal if they both refer to the output of a single call to the same Register method of a <see cref="T:System.Threading.CancellationToken" />.</returns>
|
||||
// Token: 0x06001E95 RID: 7829 RVA: 0x00014D90 File Offset: 0x00012F90
|
||||
[Token(Token = "0x6001E95")]
|
||||
[Address(RVA = "0xF28310", Offset = "0xF27310", VA = "0x180F28310", Slot = "4")]
|
||||
public bool Equals(CancellationTokenRegistration other)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Serves as a hash function for a <see cref="T:System.Threading.CancellationTokenRegistration" />.</summary>
|
||||
/// <returns>A hash code for the current <see cref="T:System.Threading.CancellationTokenRegistration" /> instance.</returns>
|
||||
// Token: 0x06001E96 RID: 7830 RVA: 0x00014DA8 File Offset: 0x00012FA8
|
||||
[Token(Token = "0x6001E96")]
|
||||
[Address(RVA = "0xF283A0", Offset = "0xF273A0", VA = "0x180F283A0", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x0400110F RID: 4367
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400110F")]
|
||||
private readonly CancellationCallbackInfo m_callbackInfo;
|
||||
|
||||
// Token: 0x04001110 RID: 4368
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4001110")]
|
||||
private readonly SparselyPopulatedArrayAddInfo<CancellationCallbackInfo> m_registrationInfo;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user