Searched refs:OneofBytes (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Conformance/ |
D | Conformance.cs | 903 case OneofFieldOneofCase.OneofBytes: in TestAllTypes() 904 OneofBytes = other.OneofBytes; in TestAllTypes() 1602 public pb::ByteString OneofBytes { property in Conformance.TestAllTypes 1603 …get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBytes ? (pb::ByteString) oneofField_ : pb… 1606 oneofFieldCase_ = OneofFieldOneofCase.OneofBytes; 2079 OneofBytes = 114, enumerator 2171 if (OneofBytes != other.OneofBytes) return false; in Equals() 2286 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) hash ^= OneofBytes.GetHashCode(); in GetHashCode() 2480 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) { in WriteTo() 2482 output.WriteBytes(OneofBytes); in WriteTo() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestProto3.cs | 315 case OneofFieldOneofCase.OneofBytes: in TestAllTypes() 316 OneofBytes = other.OneofBytes; in TestAllTypes() 837 public pb::ByteString OneofBytes { property in Google.Protobuf.TestProtos.TestAllTypes 838 …get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBytes ? (pb::ByteString) oneofField_ : pb… 841 oneofFieldCase_ = OneofFieldOneofCase.OneofBytes; 852 OneofBytes = 114, enumerator 926 if (OneofBytes != other.OneofBytes) return false; in Equals() 981 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) hash ^= OneofBytes.GetHashCode(); in GetHashCode() 1115 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) { in WriteTo() 1117 output.WriteBytes(OneofBytes); in WriteTo() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 70 …Assert.AreEqual(message.OneofBytes, fields[TestAllTypes.OneofBytesFieldNumber].Accessor.GetValue(m… in GetValue()
|