Searched refs:SingleForeignEnum (Results 1 – 6 of 6) sorted by relevance
54 …Assert.AreEqual(message.SingleForeignEnum, fields[TestAllTypes.SingleForeignEnumFieldNumber].Acces… in GetValue()107 SingleForeignEnum = 0, in Clear()141 SingleForeignEnum = ForeignEnum.ForeignFoo, in SetValue_SingleFields()
57 SingleForeignEnum = ForeignEnum.ForeignBar, in CreateFullTestAllTypes()
78 SingleForeignEnum = ForeignEnum.ForeignBar, in AllSingleFields()170 var message = new TestAllTypes { SingleForeignEnum = (ForeignEnum) 100 }; in UnknownEnumValueNumeric_SingleField()
69 Assert.AreEqual(ForeignEnum.ForeignUnspecified, message.SingleForeignEnum); in DefaultValues()148 SingleForeignEnum = ForeignEnum.ForeignBar, in RoundTrip_SingleValues()
907 Assert.AreEqual(new TestAllTypes { SingleForeignEnum = expectedValue }, parsed); in EnumValid()
519 public global::Google.Protobuf.TestProtos.ForeignEnum SingleForeignEnum { property in Google.Protobuf.TestProtos.TestAllTypes842 if (SingleForeignEnum != other.SingleForeignEnum) return false; in Equals()896 if (SingleForeignEnum != 0) hash ^= SingleForeignEnum.GetHashCode(); in GetHashCode()1010 if (SingleForeignEnum != 0) { in WriteTo()1012 output.WriteEnum((int) SingleForeignEnum); in WriteTo()1121 if (SingleForeignEnum != 0) { in CalculateSize()1122 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) SingleForeignEnum); in CalculateSize()1237 if (other.SingleForeignEnum != 0) { in MergeFrom()1238 SingleForeignEnum = other.SingleForeignEnum; in MergeFrom()