Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Conformance/
DConformance.cs897 case OneofFieldOneofCase.OneofNestedMessage: in TestAllTypes()
898 OneofNestedMessage = other.OneofNestedMessage.Clone(); in TestAllTypes()
1580 public global::Conformance.TestAllTypes.Types.NestedMessage OneofNestedMessage { property in Conformance.TestAllTypes
1581 …get { return oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage ? (global::Conformance.Test…
1584 …neofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldOneofCase.OneofNestedMessage;
2077 OneofNestedMessage = 112, enumerator
2169 if (!object.Equals(OneofNestedMessage, other.OneofNestedMessage)) return false; in Equals()
2284 …if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) hash ^= OneofNestedMessage.GetHashC… in GetHashCode()
2472 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { in WriteTo()
2474 output.WriteMessage(OneofNestedMessage); in WriteTo()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestProto3.cs309 case OneofFieldOneofCase.OneofNestedMessage: in TestAllTypes()
310 OneofNestedMessage = other.OneofNestedMessage.Clone(); in TestAllTypes()
815 public global::Google.Protobuf.TestProtos.TestAllTypes.Types.NestedMessage OneofNestedMessage { property in Google.Protobuf.TestProtos.TestAllTypes
816 …get { return oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage ? (global::Google.Protobuf.…
819 …neofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldOneofCase.OneofNestedMessage;
850 OneofNestedMessage = 112, enumerator
924 if (!object.Equals(OneofNestedMessage, other.OneofNestedMessage)) return false; in Equals()
979 …if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) hash ^= OneofNestedMessage.GetHashC… in GetHashCode()
1107 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { in WriteTo()
1109 output.WriteMessage(OneofNestedMessage); in WriteTo()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Reflection/
DFieldAccessTest.cs72 …Assert.AreEqual(message.OneofNestedMessage, fields[TestAllTypes.OneofNestedMessageFieldNumber].Acc… in GetValue()