internal void method_0() { Card.Class0.Class1 @class = new Card.Class0.Class1(); @class.class0_0 = this; @class.asyncVoidMethodBuilder_0 = AsyncVoidMethodBuilder.Create(); @class.int_0 = -1; AsyncVoidMethodBuilder asyncVoidMethodBuilder_ = @class.asyncVoidMethodBuilder_0; asyncVoidMethodBuilder_.Start <Card.Class0.Class1>(ref @class); }
void IAsyncStateMachine.MoveNext() { int num = this.int_0; try { TaskAwaiter awaiter; if (num != 0) { awaiter = this.class0_0.card_0.method_3(this.class0_0.string_0).GetAwaiter(); if (!awaiter.IsCompleted) { this.int_0 = 0; this.taskAwaiter_0 = awaiter; Card.Class0.Class1 @class = this; this.asyncVoidMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter, Card.Class0.Class1>(ref awaiter, ref @class); return; } } else { awaiter = this.taskAwaiter_0; this.taskAwaiter_0 = default(TaskAwaiter); this.int_0 = -1; } awaiter.GetResult(); } catch (Exception exception) { this.int_0 = -2; this.asyncVoidMethodBuilder_0.SetException(exception); return; } this.int_0 = -2; this.asyncVoidMethodBuilder_0.SetResult(); }