/// <summary> /// Inserts the elements of a collection into the list /// at the specified index. /// </summary> public static void InsertRange(SystemGenerics.List <T> list, int index, SystemGenerics.IEnumerable <T> collection) { (list as Mock)?.CheckDataRace(true); list.InsertRange(index, collection); }