From 3b8c83eff151aaf1e3d931b2dc9c98684211cde1 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Fri, 24 Jul 2015 20:27:35 -0700 Subject: expose original binary data for filedescriptor --- csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs') diff --git a/csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs b/csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs index 5b6dc0fb..e84a0727 100644 --- a/csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs +++ b/csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs @@ -82,6 +82,8 @@ namespace Google.Protobuf.Reflection { Assert.AreEqual(i, file.EnumTypes[i].Index); } + + Assert.AreEqual(10, file.SerializedData[0]); } [Test] -- cgit v1.2.3