Files
Jan2021-Cpp2Il-Dump/Assembly-CSharp/BestHTTP/SignalRCore/Subscription.cs
T
2026-04-08 23:40:05 +02:00

57 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Threading;
using Cpp2IlInjected;
namespace BestHTTP.SignalRCore
{
// Token: 0x020012FE RID: 4862
[Token(Token = "0x20012FE")]
[StructLayout(3)]
internal sealed class Subscription
{
// Token: 0x060079B8 RID: 31160 RVA: 0x00194BAC File Offset: 0x00192DAC
[Token(Token = "0x60079B8")]
[Address(RVA = "0x6F4720", Offset = "0x6F3120", VA = "0x1806F4720")]
public void Add(Type[] paramTypes, Action<object[]> callback)
{
int num;
do
{
num = 0;
List<CallbackDescriptor> list = this.callbacks;
List<CallbackDescriptor> list2 = this.callbacks;
Monitor.Exit(list);
if (num != -1)
{
}
}
while (num != 0);
}
// Token: 0x060079B9 RID: 31161 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x60079B9")]
[Address(RVA = "0x6F4840", Offset = "0x6F3240", VA = "0x1806F4840")]
public void Remove(Action<object[]> callback)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060079BA RID: 31162 RVA: 0x00194BE0 File Offset: 0x00192DE0
[Token(Token = "0x60079BA")]
[Address(RVA = "0x6F49D0", Offset = "0x6F33D0", VA = "0x1806F49D0")]
public Subscription()
{
List<CallbackDescriptor> list = new List(1);
this.callbacks = list;
base..ctor();
}
// Token: 0x040057E0 RID: 22496
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40057E0")]
public List<CallbackDescriptor> callbacks;
}
}