• Jon Skeet's avatar
    Implement RepeatedField.AddRange (#1733) · 042993b3
    Jon Skeet authored
    * Improve exception throwing implementation in collections
    
    * Implement RepeatedField.AddRange.
    
    This fixes issue #1730.
    
    * Optimize AddRange for sequences implementing ICollection
    
    (Also fix a few more C# 6-isms.)
    
    * Remove the overload for Add(RepeatedField<T>)
    
    We now just perform the optimization within AddRange itself.
    
    This is a breaking change in terms of "drop in the DLL", but is
    source compatible, which should be fine.
    042993b3
MapField.cs 28.4 KB