/// <summary> /// Removes all the elements that match the conditions defined by the specified predicate. /// </summary> public static int RemoveAll(SystemGenerics.List <T> list, Predicate <T> match) { (list as Mock)?.CheckDataRace(true); return(list.RemoveAll(match)); }