From f03271665f4085b60ed41447f7ce3b0e0224be5d Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Thu, 30 Jul 2015 13:15:45 +0100 Subject: More freezing tidy-up; generated code in next commit. --- csharp/src/Google.Protobuf/Collections/RepeatedField.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'csharp/src/Google.Protobuf/Collections') diff --git a/csharp/src/Google.Protobuf/Collections/RepeatedField.cs b/csharp/src/Google.Protobuf/Collections/RepeatedField.cs index 60ab5ed8..3ce19c81 100644 --- a/csharp/src/Google.Protobuf/Collections/RepeatedField.cs +++ b/csharp/src/Google.Protobuf/Collections/RepeatedField.cs @@ -40,7 +40,7 @@ namespace Google.Protobuf.Collections { /// /// The contents of a repeated field: essentially, a collection with some extra - /// restrictions (no null values) and capabilities (deep cloning and freezing). + /// restrictions (no null values) and capabilities (deep cloning). /// /// The element type of the repeated field. public sealed class RepeatedField : IList, IList, IDeepCloneable>, IEquatable> @@ -65,7 +65,6 @@ namespace Google.Protobuf.Collections public RepeatedField Clone() { RepeatedField clone = new RepeatedField(); - // Clone is implicitly *not* frozen, even if this object is. if (array != EmptyArray) { clone.array = (T[])array.Clone(); -- cgit v1.2.3