Searched refs:OneofString (Results 1 – 5 of 5) sorted by relevance
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | GeneratedMessageTest.cs | 111 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 …]
|
D | SampleMessages.cs | 95 OneofString = "Oneof string" in CreateFullTestAllTypes()
|
/external/protobuf/csharp/src/Google.Protobuf.Conformance/ |
D | Conformance.cs | 858 case OneofFieldOneofCase.OneofString: in TestAllTypes() 859 OneofString = other.OneofString; in TestAllTypes() 1483 public string OneofString { property in Conformance.TestAllTypes 1484 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString ? (string) oneofField_ : ""; } 1487 oneofFieldCase_ = OneofFieldOneofCase.OneofString; 1927 OneofString = 113, enumerator 2015 if (OneofString != other.OneofString) return false; in Equals() 2129 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) hash ^= OneofString.GetHashCode(); in GetHashCode() 2318 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) { in WriteTo() 2320 output.WriteString(OneofString); in WriteTo() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 71 …Assert.AreEqual(message.OneofString, fields[TestAllTypes.OneofStringFieldNumber].Accessor.GetValue… in GetValue() 191 message.OneofString = "foo"; in Oneof()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestProto3.cs | 309 case OneofFieldOneofCase.OneofString: in TestAllTypes() 310 OneofString = other.OneofString; in TestAllTypes() 775 public string OneofString { property in Google.Protobuf.TestProtos.TestAllTypes 776 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString ? (string) oneofField_ : ""; } 779 oneofFieldCase_ = OneofFieldOneofCase.OneofString; 799 OneofString = 113, enumerator 869 if (OneofString != other.OneofString) return false; in Equals() 923 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) hash ^= OneofString.GetHashCode(); in GetHashCode() 1052 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) { in WriteTo() 1054 output.WriteString(OneofString); in WriteTo() [all …]
|