Searched refs:OneofString (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Conformance/ |
D | Conformance.cs | 900 case OneofFieldOneofCase.OneofString: in TestAllTypes() 901 OneofString = other.OneofString; in TestAllTypes() 1591 public string OneofString { property in Conformance.TestAllTypes 1592 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString ? (string) oneofField_ : ""; } 1595 oneofFieldCase_ = OneofFieldOneofCase.OneofString; 2078 OneofString = 113, enumerator 2170 if (OneofString != other.OneofString) return false; in Equals() 2285 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) hash ^= OneofString.GetHashCode(); in GetHashCode() 2476 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) { in WriteTo() 2478 output.WriteString(OneofString); in WriteTo() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestProto3.cs | 312 case OneofFieldOneofCase.OneofString: in TestAllTypes() 313 OneofString = other.OneofString; in TestAllTypes() 826 public string OneofString { property in Google.Protobuf.TestProtos.TestAllTypes 827 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString ? (string) oneofField_ : ""; } 830 oneofFieldCase_ = OneofFieldOneofCase.OneofString; 851 OneofString = 113, enumerator 925 if (OneofString != other.OneofString) return false; in Equals() 980 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) hash ^= OneofString.GetHashCode(); in GetHashCode() 1111 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) { in WriteTo() 1113 output.WriteString(OneofString); in WriteTo() [all …]
|