Searched refs:OneofBytes (Results 1 – 4 of 4) sorted by relevance
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | GeneratedMessageTest.cs | 112 Assert.AreEqual(ByteString.Empty, message.OneofBytes); in DefaultValues() 123 Assert.Throws<ArgumentNullException>(() => message.OneofBytes = null); in NullStringAndBytesRejected() 560 Assert.AreEqual(ByteString.Empty, message.OneofBytes); in OneofProperties() 567 Assert.AreEqual(ByteString.Empty, message.OneofBytes); in OneofProperties() 572 message.OneofBytes = bytes; in OneofProperties() 575 Assert.AreEqual(bytes, message.OneofBytes); in OneofProperties() 577 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofBytes, message.OneofFieldCase); in OneofProperties() 582 Assert.AreEqual(ByteString.Empty, message.OneofBytes); in OneofProperties() 590 Assert.AreEqual(ByteString.Empty, message.OneofBytes); in OneofProperties() 597 Assert.AreEqual(ByteString.Empty, message.OneofBytes); in OneofProperties()
|
/external/protobuf/csharp/src/Google.Protobuf.Conformance/ |
D | Conformance.cs | 861 case OneofFieldOneofCase.OneofBytes: in TestAllTypes() 862 OneofBytes = other.OneofBytes; in TestAllTypes() 1493 public pb::ByteString OneofBytes { property in Conformance.TestAllTypes 1494 …get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBytes ? (pb::ByteString) oneofField_ : pb… 1497 oneofFieldCase_ = OneofFieldOneofCase.OneofBytes; 1928 OneofBytes = 114, enumerator 2016 if (OneofBytes != other.OneofBytes) return false; in Equals() 2130 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) hash ^= OneofBytes.GetHashCode(); in GetHashCode() 2322 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) { in WriteTo() 2324 output.WriteBytes(OneofBytes); in WriteTo() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestProto3.cs | 312 case OneofFieldOneofCase.OneofBytes: in TestAllTypes() 313 OneofBytes = other.OneofBytes; in TestAllTypes() 785 public pb::ByteString OneofBytes { property in Google.Protobuf.TestProtos.TestAllTypes 786 …get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBytes ? (pb::ByteString) oneofField_ : pb… 789 oneofFieldCase_ = OneofFieldOneofCase.OneofBytes; 800 OneofBytes = 114, enumerator 870 if (OneofBytes != other.OneofBytes) return false; in Equals() 924 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) hash ^= OneofBytes.GetHashCode(); in GetHashCode() 1056 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) { in WriteTo() 1058 output.WriteBytes(OneofBytes); in WriteTo() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 70 …Assert.AreEqual(message.OneofBytes, fields[TestAllTypes.OneofBytesFieldNumber].Accessor.GetValue(m… in GetValue()
|