Lines Matching refs:AddRange
82 list.AddRange(new[] { "foo", "bar" }.Select(x => x));
94 Assert.Catch<ArgumentException>(() => list.AddRange(new[] { "foo", null }.Select(x => x)));
103 Assert.Catch<ArgumentException>(() => list.AddRange(new[] { 20, (int?)null }.Select(x => x)));
110 list.AddRange(new List<int> { 20, 30 });
120 list.AddRange(new List<string> { "foo", "bar" });
130 list.AddRange(new List<int?> { 20, 30 });
143 Assert.Catch<ArgumentException>(() => list.AddRange(new List<string> { "foo", null }));
153 Assert.Catch<ArgumentException>(() => list.AddRange(new List<int?> { 20, null }));
160 list.AddRange(new List<int> { 4, 5, 6 });
168 list.AddRange(new RepeatedField<string> { "foo", "bar" });