/// <summary> /// Adds the elements of the specified collection to the end of the list. /// </summary> public static void AddRange(SystemGenerics.List <T> list, SystemGenerics.IEnumerable <T> collection) { (list as Mock)?.CheckDataRace(true); list.AddRange(collection); }