Home
last modified time | relevance | path

Searched refs:OneofString (Results 1 – 8 of 8) sorted by relevance

/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs111 Assert.AreEqual("", message.OneofString); in DefaultValues()
121 Assert.Throws<ArgumentNullException>(() => message.OneofString = null); in NullStringAndBytesRejected()
558 Assert.AreEqual("", message.OneofString); in OneofProperties()
564 message.OneofString = "sample"; in OneofProperties()
565 Assert.AreEqual("sample", message.OneofString); in OneofProperties()
569 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofString, message.OneofFieldCase); in OneofProperties()
573 Assert.AreEqual("", message.OneofString); in OneofProperties()
580 Assert.AreEqual("", message.OneofString); in OneofProperties()
588 Assert.AreEqual("", message.OneofString); in OneofProperties()
595 Assert.AreEqual("", message.OneofString); in OneofProperties()
[all …]
DSampleMessages.cs95 OneofString = "Oneof string" in CreateFullTestAllTypes()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs111 Assert.AreEqual("", message.OneofString); in DefaultValues()
121 Assert.Throws<ArgumentNullException>(() => message.OneofString = null); in NullStringAndBytesRejected()
558 Assert.AreEqual("", message.OneofString); in OneofProperties()
564 message.OneofString = "sample"; in OneofProperties()
565 Assert.AreEqual("sample", message.OneofString); in OneofProperties()
569 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofString, message.OneofFieldCase); in OneofProperties()
573 Assert.AreEqual("", message.OneofString); in OneofProperties()
580 Assert.AreEqual("", message.OneofString); in OneofProperties()
588 Assert.AreEqual("", message.OneofString); in OneofProperties()
595 Assert.AreEqual("", message.OneofString); in OneofProperties()
[all …]
DSampleMessages.cs95 OneofString = "Oneof string" in CreateFullTestAllTypes()
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DTestMessagesProto3.cs385 case OneofFieldOneofCase.OneofString: in TestAllTypesProto3()
386 OneofString = other.OneofString; in TestAllTypesProto3()
1103 public string OneofString { property in ProtobufTestMessages.Proto3.TestAllTypesProto3
1104 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString ? (string) oneofField_ : ""; }
1107 oneofFieldCase_ = OneofFieldOneofCase.OneofString;
1731 OneofString = 113, enumerator
1829 if (OneofString != other.OneofString) return false; in Equals()
1957 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) hash ^= OneofString.GetHashCode(); in GetHashCode()
2167 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) { in WriteTo()
2169 output.WriteString(OneofString); in WriteTo()
[all …]
DUnittestProto3.cs333 case OneofFieldOneofCase.OneofString: in TestAllTypes()
334 OneofString = other.OneofString; in TestAllTypes()
848 public string OneofString { property in Google.Protobuf.TestProtos.TestAllTypes
849 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString ? (string) oneofField_ : ""; }
852 oneofFieldCase_ = OneofFieldOneofCase.OneofString;
873 OneofString = 113, enumerator
947 if (OneofString != other.OneofString) return false; in Equals()
1002 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) hash ^= OneofString.GetHashCode(); in GetHashCode()
1136 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) { in WriteTo()
1138 output.WriteString(OneofString); in WriteTo()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DFieldAccessTest.cs71 …Assert.AreEqual(message.OneofString, fields[TestAllTypes.OneofStringFieldNumber].Accessor.GetValue… in GetValue()
191 message.OneofString = "foo"; in Oneof()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
DFieldAccessTest.cs71 …Assert.AreEqual(message.OneofString, fields[TestAllTypes.OneofStringFieldNumber].Accessor.GetValue… in GetValue()
191 message.OneofString = "foo"; in Oneof()