private int Bug(MB8 mb8, string V_2) { if (V_2 == null) { throw new ArgumentNullException("V_2"); } _state = 2; int loc0 = 0; foreach (Repro loc1 in _preExecutionDelegates) { if (loc1 != null) { loc0 = loc1.Use(mb8, V_2); } if (loc0 != 0) break; } if (loc0 == 1) { Use(mb8); // No retval } else if (loc0 == 2) { Use(mb8, 0, V_2); // Pop } return loc0; }
private int Bug(MB8 mb8, string V_2) { if (V_2 == null) { throw new ArgumentNullException("V_2"); } _state = 2; int loc0 = 0; foreach (Repro loc1 in _preExecutionDelegates) { if (loc1 != null) { loc0 = loc1.Use(mb8, V_2); } if (loc0 != 0) { break; } } if (loc0 == 1) { Use(mb8); // No retval } else if (loc0 == 2) { Use(mb8, 0, V_2); // Pop } return(loc0); }
private static void Method() { MB8 mb = MakeNewMB8(); for (int i = 0; i < 5; i += 3) { try { mb = MakeAndUseMB8(mb); } finally { Console.WriteLine(s_counter); } } }
private static MB8 MakeAndUseMB8(MB8 mb) { mb.foo = ++s_counter; return(mb); }
private void Use(MB8 mb8) { }
private int Use(MB8 mb8, int i, string s) { return(2); }
public virtual int Use(MB8 mb8, string s) { return(2); }
private int Use(MB8 mb8, int i, string s) { return 2; }
public virtual int Use(MB8 mb8, string s) { return 2; }
private static MB8 MakeAndUseMB8(MB8 mb) { mb.foo = ++s_counter; return mb; }