public static bool HasAsyncStateMachineVariable(this MethodDefinition self) { V_0 = self.get_Body().get_Variables().GetEnumerator(); try { while (V_0.MoveNext()) { V_1 = V_0.get_Current(); if (V_1.get_VariableType() == null) { stackVariable10 = null; } else { stackVariable10 = V_1.get_VariableType().Resolve(); } V_2 = stackVariable10; if (V_2 == null || !V_2.IsAsyncStateMachine()) { continue; } V_3 = true; goto Label1; } goto Label0; } finally { V_0.Dispose(); } Label1: return(V_3); Label0: return(false); }