using System; using System.Diagnostics; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Threading { /// Propagates notification that operations should be canceled. // Token: 0x0200031B RID: 795 [Token(Token = "0x200031B")] [DebuggerDisplay("IsCancellationRequested = {IsCancellationRequested}")] [ComVisible(false)] public struct CancellationToken { /// Returns an empty value. /// An empty cancellation token. // Token: 0x17000449 RID: 1097 // (get) Token: 0x06001E7C RID: 7804 RVA: 0x00014C28 File Offset: 0x00012E28 [Token(Token = "0x17000449")] public static CancellationToken None { [Token(Token = "0x6001E7C")] [Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0")] get { return default(CancellationToken); } } /// Gets whether cancellation has been requested for this token. /// /// if cancellation has been requested for this token; otherwise, . // Token: 0x1700044A RID: 1098 // (get) Token: 0x06001E7D RID: 7805 RVA: 0x00014C40 File Offset: 0x00012E40 [Token(Token = "0x1700044A")] public bool IsCancellationRequested { [Token(Token = "0x6001E7D")] [Address(RVA = "0xF2A380", Offset = "0xF29380", VA = "0x180F2A380")] get { return default(bool); } } /// Gets whether this token is capable of being in the canceled state. /// /// if this token is capable of being in the canceled state; otherwise, . // Token: 0x1700044B RID: 1099 // (get) Token: 0x06001E7E RID: 7806 RVA: 0x00014C58 File Offset: 0x00012E58 [Token(Token = "0x1700044B")] public bool CanBeCanceled { [Token(Token = "0x6001E7E")] [Address(RVA = "0xF2A350", Offset = "0xF29350", VA = "0x180F2A350")] get { return default(bool); } } // Token: 0x06001E7F RID: 7807 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001E7F")] [Address(RVA = "0x593200", Offset = "0x592200", VA = "0x180593200")] internal CancellationToken(CancellationTokenSource source) { } /// Initializes the . /// The canceled state for the token. // Token: 0x06001E80 RID: 7808 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001E80")] [Address(RVA = "0xF2A2E0", Offset = "0xF292E0", VA = "0x180F2A2E0")] public CancellationToken(bool canceled) { } // Token: 0x06001E81 RID: 7809 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001E81")] [Address(RVA = "0xF299E0", Offset = "0xF289E0", VA = "0x180F299E0")] private static void ActionToActionObjShunt(object obj) { } /// Registers a delegate that will be called when this is canceled. /// The delegate to be executed when the is canceled. /// The instance that can be used to unregister the callback. /// The associated has been disposed. /// /// is null. // Token: 0x06001E82 RID: 7810 RVA: 0x00014C70 File Offset: 0x00012E70 [Token(Token = "0x6001E82")] [Address(RVA = "0xF29D40", Offset = "0xF28D40", VA = "0x180F29D40")] public CancellationTokenRegistration Register(Action callback) { return default(CancellationTokenRegistration); } /// Registers a delegate that will be called when this is canceled. /// The delegate to be executed when the is canceled. /// The state to pass to the when the delegate is invoked. This may be null. /// The instance that can be used to unregister the callback. /// The associated has been disposed. /// /// is null. // Token: 0x06001E83 RID: 7811 RVA: 0x00014C88 File Offset: 0x00012E88 [Token(Token = "0x6001E83")] [Address(RVA = "0xF29E80", Offset = "0xF28E80", VA = "0x180F29E80")] public CancellationTokenRegistration Register(Action callback, object state) { return default(CancellationTokenRegistration); } /// Registers a delegate that will be called when this is canceled. /// The delegate to be executed when the is canceled. /// The state to pass to the when the delegate is invoked. This may be null. /// A Boolean value that indicates whether to capture the current and use it when invoking the . /// The instance that can be used to unregister the callback. /// The associated has been disposed. /// /// is null. // Token: 0x06001E84 RID: 7812 RVA: 0x00014CA0 File Offset: 0x00012EA0 [Token(Token = "0x6001E84")] [Address(RVA = "0xF29E30", Offset = "0xF28E30", VA = "0x180F29E30")] public CancellationTokenRegistration Register(Action callback, object state, bool useSynchronizationContext) { return default(CancellationTokenRegistration); } // Token: 0x06001E85 RID: 7813 RVA: 0x00014CB8 File Offset: 0x00012EB8 [Token(Token = "0x6001E85")] [Address(RVA = "0xF29D00", Offset = "0xF28D00", VA = "0x180F29D00")] internal CancellationTokenRegistration InternalRegisterWithoutEC(Action callback, object state) { return default(CancellationTokenRegistration); } // Token: 0x06001E86 RID: 7814 RVA: 0x00014CD0 File Offset: 0x00012ED0 [Token(Token = "0x6001E86")] [Address(RVA = "0xF29F50", Offset = "0xF28F50", VA = "0x180F29F50")] private CancellationTokenRegistration Register(Action callback, object state, bool useSynchronizationContext, bool useExecutionContext) { return default(CancellationTokenRegistration); } /// Determines whether the current instance is equal to the specified token. /// The other to compare with this instance. /// /// if the instances are equal; otherwise, . See the Remarks section for more information. // Token: 0x06001E87 RID: 7815 RVA: 0x00014CE8 File Offset: 0x00012EE8 [Token(Token = "0x6001E87")] [Address(RVA = "0xF29AC0", Offset = "0xF28AC0", VA = "0x180F29AC0")] public bool Equals(CancellationToken other) { return default(bool); } /// Determines whether the current instance is equal to the specified . /// The other object to compare with this instance. /// /// if is a and if the two instances are equal; otherwise, . See the Remarks section for more information. /// An associated has been disposed. // Token: 0x06001E88 RID: 7816 RVA: 0x00014D00 File Offset: 0x00012F00 [Token(Token = "0x6001E88")] [Address(RVA = "0xF29A30", Offset = "0xF28A30", VA = "0x180F29A30", Slot = "0")] public override bool Equals(object other) { return default(bool); } /// Serves as a hash function for a . /// A hash code for the current instance. // Token: 0x06001E89 RID: 7817 RVA: 0x00014D18 File Offset: 0x00012F18 [Token(Token = "0x6001E89")] [Address(RVA = "0xF29C30", Offset = "0xF28C30", VA = "0x180F29C30", Slot = "2")] public override int GetHashCode() { return 0; } /// Determines whether two instances are equal. /// The first instance. /// The second instance. /// /// if the instances are equal; otherwise, See the Remarks section for more information. /// An associated has been disposed. // Token: 0x06001E8A RID: 7818 RVA: 0x00014D30 File Offset: 0x00012F30 [Token(Token = "0x6001E8A")] [Address(RVA = "0xF2A3B0", Offset = "0xF293B0", VA = "0x180F2A3B0")] public static bool operator ==(CancellationToken left, CancellationToken right) { return default(bool); } /// Determines whether two instances are not equal. /// The first instance. /// The second instance. /// /// if the instances are not equal; otherwise, . /// An associated has been disposed. // Token: 0x06001E8B RID: 7819 RVA: 0x00014D48 File Offset: 0x00012F48 [Token(Token = "0x6001E8B")] [Address(RVA = "0xF2A3D0", Offset = "0xF293D0", VA = "0x180F2A3D0")] public static bool operator !=(CancellationToken left, CancellationToken right) { return default(bool); } /// Throws a if this token has had cancellation requested. /// The token has had cancellation requested. /// The associated has been disposed. // Token: 0x06001E8C RID: 7820 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001E8C")] [Address(RVA = "0xF2A0F0", Offset = "0xF290F0", VA = "0x180F2A0F0")] public void ThrowIfCancellationRequested() { } // Token: 0x06001E8D RID: 7821 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001E8D")] [Address(RVA = "0xF2A130", Offset = "0xF29130", VA = "0x180F2A130")] internal void ThrowIfSourceDisposed() { } // Token: 0x06001E8E RID: 7822 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001E8E")] [Address(RVA = "0xF2A200", Offset = "0xF29200", VA = "0x180F2A200")] private void ThrowOperationCanceledException() { } // Token: 0x06001E8F RID: 7823 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001E8F")] [Address(RVA = "0xF2A190", Offset = "0xF29190", VA = "0x180F2A190")] private static void ThrowObjectDisposedException() { } // Token: 0x0400110D RID: 4365 [global::Cpp2IlInjected.FieldOffset(Offset = "0x0")] [Token(Token = "0x400110D")] private CancellationTokenSource m_source; // Token: 0x0400110E RID: 4366 [Token(Token = "0x400110E")] private static readonly Action s_ActionToActionObjShunt; } }