aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf.Test/CodedOutputStreamTest.cs
diff options
context:
space:
mode:
authorJon Skeet <jonskeet@google.com>2015-08-10 18:32:18 +0100
committerJon Skeet <jonskeet@google.com>2015-08-10 19:18:18 +0100
commitf2732c7af13110a72ded2667684f52a86a23de2f (patch)
tree12913bcac967ab51b807dd5316e6b205296ac4ee /csharp/src/Google.Protobuf.Test/CodedOutputStreamTest.cs
parent29fe8d223e5f857c4b2949424c95a74c9f6901f0 (diff)
downloadprotobuf-f2732c7af13110a72ded2667684f52a86a23de2f.tar.gz
protobuf-f2732c7af13110a72ded2667684f52a86a23de2f.tar.bz2
protobuf-f2732c7af13110a72ded2667684f52a86a23de2f.zip
More TODOs done.
- Removed a TODO without change in DescriptorPool.LookupSymbol - the TODOs were around performance, and this is only used during descriptor initialization - Make the CodedInputStream limits read-only, adding a static factory method for the rare cases when this is useful - Extracted IDeepCloneable into its own file.
Diffstat (limited to 'csharp/src/Google.Protobuf.Test/CodedOutputStreamTest.cs')
-rw-r--r--csharp/src/Google.Protobuf.Test/CodedOutputStreamTest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/csharp/src/Google.Protobuf.Test/CodedOutputStreamTest.cs b/csharp/src/Google.Protobuf.Test/CodedOutputStreamTest.cs
index c1bf7bd6..3297fe87 100644
--- a/csharp/src/Google.Protobuf.Test/CodedOutputStreamTest.cs
+++ b/csharp/src/Google.Protobuf.Test/CodedOutputStreamTest.cs
@@ -334,7 +334,7 @@ namespace Google.Protobuf
}
// Now test Input stream:
{
- CodedInputStream cin = new CodedInputStream(new MemoryStream(bytes), new byte[50]);
+ CodedInputStream cin = new CodedInputStream(new MemoryStream(bytes), new byte[50], 0, 0);
Assert.AreEqual(0, cin.Position);
// Field 1:
uint tag = cin.ReadTag();