Lines Matching refs:ToByteArray
67 emptyMessage.MergeFrom(message.ToByteArray()); in TestMergeCodedInput()
69 Assert.AreEqual(message.ToByteArray(), emptyMessage.ToByteArray()); in TestMergeCodedInput()
72 newMessage.MergeFrom(emptyMessage.ToByteArray()); in TestMergeCodedInput()
83 emptyMessage.MergeFrom(message.ToByteArray()); in TestMergeMessage()
87 Assert.AreEqual(message.ToByteArray(), otherEmptyMessage.ToByteArray()); in TestMergeMessage()
97 emptyMessage.MergeFrom(message.ToByteArray()); in TestEquals()
109 emptyMessage.MergeFrom(message.ToByteArray()); in TestHashCode()
120 Assert.AreEqual(emptyMessage.ToByteArray(), otherEmptyMessage.ToByteArray()); in TestClone()
123 emptyMessage.MergeFrom(message.ToByteArray()); in TestClone()
126 Assert.AreEqual(message.ToByteArray(), otherEmptyMessage.ToByteArray()); in TestClone()
134 byte[] data = message.ToByteArray(); in TestDiscardUnknownFields()