|
@@ -48,9 +48,6 @@ namespace Google.Protobuf.Collections
|
|
/// <typeparam name="TValue">Value type in the map. Must be a type supported by Protocol Buffers.</typeparam>
|
|
/// <typeparam name="TValue">Value type in the map. Must be a type supported by Protocol Buffers.</typeparam>
|
|
/// <remarks>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// <para>
|
|
- /// This implementation preserves insertion order for simplicity of testing
|
|
|
|
- /// code using maps fields. Overwriting an existing entry does not change the
|
|
|
|
- /// position of that entry within the map. Equality is not order-sensitive.
|
|
|
|
/// For string keys, the equality comparison is provided by <see cref="StringComparer.Ordinal" />.
|
|
/// For string keys, the equality comparison is provided by <see cref="StringComparer.Ordinal" />.
|
|
/// </para>
|
|
/// </para>
|
|
/// <para>
|
|
/// <para>
|
|
@@ -65,6 +62,10 @@ namespace Google.Protobuf.Collections
|
|
/// supported by Protocol Buffers (e.g. using a key type of <code>byte</code>) but nor does it guarantee
|
|
/// supported by Protocol Buffers (e.g. using a key type of <code>byte</code>) but nor does it guarantee
|
|
/// that all operations will work in such cases.
|
|
/// that all operations will work in such cases.
|
|
/// </para>
|
|
/// </para>
|
|
|
|
+ /// <para>
|
|
|
|
+ /// The order in which entries are returned when iterating over this object is undefined, and may change
|
|
|
|
+ /// in future versions.
|
|
|
|
+ /// </para>
|
|
/// </remarks>
|
|
/// </remarks>
|
|
public sealed class MapField<TKey, TValue> : IDeepCloneable<MapField<TKey, TValue>>, IDictionary<TKey, TValue>, IEquatable<MapField<TKey, TValue>>, IDictionary
|
|
public sealed class MapField<TKey, TValue> : IDeepCloneable<MapField<TKey, TValue>>, IDictionary<TKey, TValue>, IEquatable<MapField<TKey, TValue>>, IDictionary
|
|
{
|
|
{
|