Lines Matching refs:OneofUint32
110 Assert.AreEqual(0, message.OneofUint32); in DefaultValues()
559 Assert.AreEqual(0, message.OneofUint32); in OneofProperties()
566 Assert.AreEqual(0, message.OneofUint32); in OneofProperties()
574 Assert.AreEqual(0, message.OneofUint32); in OneofProperties()
579 message.OneofUint32 = 20; in OneofProperties()
581 Assert.AreEqual(20, message.OneofUint32); in OneofProperties()
584 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofUint32, message.OneofFieldCase); in OneofProperties()
589 Assert.AreEqual(0, message.OneofUint32); in OneofProperties()
596 Assert.AreEqual(0, message.OneofUint32); in OneofProperties()
606 var message2 = new TestAllTypes { OneofUint32 = 0 }; in Oneof_DefaultValuesNotEqual()
608 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofUint32, message2.OneofFieldCase); in Oneof_DefaultValuesNotEqual()
617 message.OneofUint32 = 10; in OneofSerialization_NonDefaultValue()
623 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofUint32, message2.OneofFieldCase); in OneofSerialization_NonDefaultValue()
631 … message.OneofUint32 = 0; // This is the default value for UInt32; normally wouldn't be serialized in OneofSerialization_DefaultValue()
637 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofUint32, message2.OneofFieldCase); in OneofSerialization_DefaultValue()