Home
last modified time | relevance | path

Searched refs:OneofNestedMessage (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs113 Assert.IsNull(message.OneofNestedMessage); in DefaultValues()
540 OneofNestedMessage = new TestAllTypes.Types.NestedMessage { Bb = 20 } in CloneOneofField()
548 original.OneofNestedMessage.Bb = 30; in CloneOneofField()
561 Assert.IsNull(message.OneofNestedMessage); in OneofProperties()
568 Assert.IsNull(message.OneofNestedMessage); in OneofProperties()
576 Assert.IsNull(message.OneofNestedMessage); in OneofProperties()
583 Assert.IsNull(message.OneofNestedMessage); in OneofProperties()
587 message.OneofNestedMessage = nestedMessage; in OneofProperties()
591 Assert.AreEqual(nestedMessage, message.OneofNestedMessage); in OneofProperties()
592 … Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofNestedMessage, message.OneofFieldCase); in OneofProperties()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs855 case OneofFieldOneofCase.OneofNestedMessage: in TestAllTypes()
856 OneofNestedMessage = other.OneofNestedMessage.Clone(); in TestAllTypes()
1473 public global::Conformance.TestAllTypes.Types.NestedMessage OneofNestedMessage { property in Conformance.TestAllTypes
1474 …get { return oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage ? (global::Conformance.Test…
1477 …neofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldOneofCase.OneofNestedMessage;
1926 OneofNestedMessage = 112, enumerator
2014 if (!object.Equals(OneofNestedMessage, other.OneofNestedMessage)) return false; in Equals()
2128 …if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) hash ^= OneofNestedMessage.GetHashC… in GetHashCode()
2314 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { in WriteTo()
2316 output.WriteMessage(OneofNestedMessage); in WriteTo()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestProto3.cs306 case OneofFieldOneofCase.OneofNestedMessage: in TestAllTypes()
307 OneofNestedMessage = other.OneofNestedMessage.Clone(); in TestAllTypes()
765 public global::Google.Protobuf.TestProtos.TestAllTypes.Types.NestedMessage OneofNestedMessage { property in Google.Protobuf.TestProtos.TestAllTypes
766 …get { return oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage ? (global::Google.Protobuf.…
769 …neofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldOneofCase.OneofNestedMessage;
798 OneofNestedMessage = 112, enumerator
868 if (!object.Equals(OneofNestedMessage, other.OneofNestedMessage)) return false; in Equals()
922 …if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) hash ^= OneofNestedMessage.GetHashC… in GetHashCode()
1048 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { in WriteTo()
1050 output.WriteMessage(OneofNestedMessage); in WriteTo()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DFieldAccessTest.cs72 …Assert.AreEqual(message.OneofNestedMessage, fields[TestAllTypes.OneofNestedMessageFieldNumber].Acc… in GetValue()