// Token: 0x060007F0 RID: 2032 RVA: 0x01050168 File Offset: 0x0104E368 public static IEnumerable <string> smethod_0(this string string_0, int int_0) { Class30.Class31 @class = new Class30.Class31(-2); @class.string_2 = string_0; @class.int_3 = int_0; return(@class); }
// Token: 0x0600016C RID: 364 RVA: 0x0000FFE4 File Offset: 0x0000E1E4 public static void smethod_0(string string_0, int int_0, JObject jobject_0) { Class30.Class31 @class = new Class30.Class31(); @class.jobject_0 = jobject_0; @class.string_0 = string_0; if (Class30.concurrentDictionary_0.ContainsKey(@class.string_0)) { while (!Class30.concurrentDictionary_0[@class.string_0].ContainsKey("thread")) { Thread.Sleep(100); } object objA = true; if (Class30.Class33.callSite_0 == null) { Class30.Class33.callSite_0 = CallSite <Func <CallSite, object, Thread> > .Create(Binder.Convert(CSharpBinderFlags.ConvertExplicit, typeof(Thread), typeof(Class30))); } if (object.Equals(objA, Class30.Class33.callSite_0.Target(Class30.Class33.callSite_0, Class30.concurrentDictionary_0[@class.string_0]["thread"]).IsAlive)) { return; } } else { Class30.concurrentDictionary_0[@class.string_0] = new ConcurrentDictionary <string, object>(); } Class30.concurrentDictionary_0[@class.string_0]["tasks"] = new List <int>(); if (Class30.Class33.callSite_1 == null) { Class30.Class33.callSite_1 = CallSite <Func <CallSite, object, List <int> > > .Create(Binder.Convert(CSharpBinderFlags.ConvertExplicit, typeof(List <int>), typeof(Class30))); } Class30.Class33.callSite_1.Target(Class30.Class33.callSite_1, Class30.concurrentDictionary_0[@class.string_0]["tasks"]).Add(int_0); Class30.concurrentDictionary_0[@class.string_0]["requested"] = false; Thread thread = new Thread(new ThreadStart(@class.method_0)); Class30.concurrentDictionary_0[@class.string_0]["thread"] = thread; thread.Start(); }