// Token: 0x0600055E RID: 1374 RVA: 0x0002E424 File Offset: 0x0002C624 private void addSolverButton_Click(object sender, EventArgs e) { this.method_0(null, null); int int_ = (CaptchaQueue.dictionary_1.Count <KeyValuePair <int, GClass0> >() + 3) / 4; this.method_9(int_); CaptchaQueue.smethod_1(null, null); }
// Token: 0x0600057A RID: 1402 RVA: 0x00030B0C File Offset: 0x0002ED0C void IAsyncStateMachine.MoveNext() { int num2; int num = num2; string result2; try { TaskAwaiter <Task> taskAwaiter; if (num != 0) { MainWindow.mainWindow_0.Invoke(new MethodInvoker(CaptchaQueue.Class126.class126_0.method_0)); @class = new Class131 { int_0 = (int)Convert.ToInt16(string_2), string_1 = string_0, uri_0 = new Uri(string_1) }; CaptchaQueue.concurrentDictionary_0[@class.string_0] = @class; CaptchaQueue.smethod_1(null, null); task = @class.taskCompletionSource_0.Task; taskAwaiter = Task.WhenAny(new Task[] { task, cancellationToken_0.smethod_23() }).GetAwaiter(); if (!taskAwaiter.IsCompleted) { num2 = 0; TaskAwaiter <Task> taskAwaiter2 = taskAwaiter; this.asyncTaskMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter <Task>, CaptchaQueue.Struct81>(ref taskAwaiter, ref this); return; } } else { TaskAwaiter <Task> taskAwaiter2; taskAwaiter = taskAwaiter2; taskAwaiter2 = default(TaskAwaiter <Task>); num2 = -1; } Task result = taskAwaiter.GetResult(); Class131 class2; CaptchaQueue.concurrentDictionary_0.TryRemove(@class.string_0, out class2); CaptchaQueue.smethod_5(@class.int_1); CaptchaQueue.smethod_1(null, null); result2 = ((task == result) ? task.Result : null); } catch (Exception exception) { num2 = -2; this.asyncTaskMethodBuilder_0.SetException(exception); return; } num2 = -2; this.asyncTaskMethodBuilder_0.SetResult(result2); }