diff options
author | Jon Skeet <skeet@pobox.com> | 2015-07-17 07:29:50 +0100 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2015-07-17 07:29:50 +0100 |
commit | 0f442a7533b1d06ce0092b28f10af481b99e1369 (patch) | |
tree | 4f9cb3ecb2d8ab4f9c138a06d645a3cc3dcdeef3 /csharp/src/ProtocolBuffers/Collections/RepeatedField.cs | |
parent | fa544f4835623be66d73e1d984121ab4a92e1650 (diff) | |
parent | 34878cb14eba4578d1d67d2dc93250729d492774 (diff) | |
download | protobuf-0f442a7533b1d06ce0092b28f10af481b99e1369.tar.gz protobuf-0f442a7533b1d06ce0092b28f10af481b99e1369.tar.bz2 protobuf-0f442a7533b1d06ce0092b28f10af481b99e1369.zip |
Merge pull request #611 from jskeet/csharp-wrappers
C# wrapper types
Diffstat (limited to 'csharp/src/ProtocolBuffers/Collections/RepeatedField.cs')
-rw-r--r-- | csharp/src/ProtocolBuffers/Collections/RepeatedField.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/csharp/src/ProtocolBuffers/Collections/RepeatedField.cs b/csharp/src/ProtocolBuffers/Collections/RepeatedField.cs index 8375ae0b..9bab41ea 100644 --- a/csharp/src/ProtocolBuffers/Collections/RepeatedField.cs +++ b/csharp/src/ProtocolBuffers/Collections/RepeatedField.cs @@ -123,7 +123,7 @@ namespace Google.Protobuf.Collections { int dataSize = CalculatePackedDataSize(codec); return CodedOutputStream.ComputeRawVarint32Size(tag) + - CodedOutputStream.ComputeRawVarint32Size((uint)dataSize) + + CodedOutputStream.ComputeLengthSize(dataSize) + dataSize; } else |