Ejemplo n.º 1
0
 public static int GetIndexOfFirstExceptionThrown <TException>()
 {
     return(ExceptionsThrown.FindIndex(e => e != null && e.GetType() == typeof(TException)));
 }
Ejemplo n.º 2
0
 public static int GetIndexOfFirstExceptionThrown()
 {
     return(ExceptionsThrown.FindIndex(e => e != null));
 }