Lines Matching defs:values
44 /// restrictions (no null values) and capabilities (deep cloning).
273 // Can't use codec.WriteTagAndValue, as that omits default values.
399 /// Adds all of the specified values into this collection.
401 /// <param name="values">The values to add to this collection.</param>
402 public void AddRange(IEnumerable<T> values)
404 ProtoPreconditions.CheckNotNull(values, nameof(values));
407 // we know the values are valid.
408 var otherRepeatedField = values as RepeatedField<T>;
419 var collection = values as ICollection;
437 throw new ArgumentException("Sequence contained null element", nameof(values));
451 foreach (T item in values)
458 /// Adds all of the specified values into this collection. This method is present to
463 /// <param name="values">The values to add to this collection.</param>
464 public void Add(IEnumerable<T> values)
466 AddRange(values);