diff options
author | Jon Skeet <jonskeet@google.com> | 2015-08-03 11:08:53 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-08-03 11:30:15 +0100 |
commit | 0e0e0c97e7d5a70b3307c2fcea8793983b6e0680 (patch) | |
tree | 00f2d3938d3efd08057024143a7afea36786a008 /csharp/src/Google.Protobuf.Test/WellKnownTypes/WrappersTest.cs | |
parent | bf1cc9217a486cf68c2705d4f307fddb73291004 (diff) | |
download | protobuf-0e0e0c97e7d5a70b3307c2fcea8793983b6e0680.tar.gz protobuf-0e0e0c97e7d5a70b3307c2fcea8793983b6e0680.tar.bz2 protobuf-0e0e0c97e7d5a70b3307c2fcea8793983b6e0680.zip |
Expose Coded*Stream constructors directly.
Diffstat (limited to 'csharp/src/Google.Protobuf.Test/WellKnownTypes/WrappersTest.cs')
-rw-r--r-- | csharp/src/Google.Protobuf.Test/WellKnownTypes/WrappersTest.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/csharp/src/Google.Protobuf.Test/WellKnownTypes/WrappersTest.cs b/csharp/src/Google.Protobuf.Test/WellKnownTypes/WrappersTest.cs index 670bc5f8..d2a07057 100644 --- a/csharp/src/Google.Protobuf.Test/WellKnownTypes/WrappersTest.cs +++ b/csharp/src/Google.Protobuf.Test/WellKnownTypes/WrappersTest.cs @@ -309,7 +309,7 @@ namespace Google.Protobuf.WellKnownTypes var valueTag = WireFormat.MakeTag(Int32Value.ValueFieldNumber, WireFormat.WireType.Varint); using (var stream = new MemoryStream()) { - var coded = CodedOutputStream.CreateInstance(stream); + var coded = new CodedOutputStream(stream); coded.WriteTag(wrapperTag); coded.WriteLength(2); // valueTag + a value 0, each one byte coded.WriteTag(valueTag); |