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()
80 SingleForeignEnum = ForeignEnum.ForeignBar, in AllSingleFields()172 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()
910 Assert.AreEqual(new TestAllTypes { SingleForeignEnum = expectedValue }, parsed); in EnumValid()
543 public global::Google.Protobuf.TestProtos.ForeignEnum SingleForeignEnum { property in Google.Protobuf.TestProtos.TestAllTypes898 if (SingleForeignEnum != other.SingleForeignEnum) return false; in Equals()953 if (SingleForeignEnum != 0) hash ^= SingleForeignEnum.GetHashCode(); in GetHashCode()1069 if (SingleForeignEnum != 0) { in WriteTo()1071 output.WriteEnum((int) SingleForeignEnum); in WriteTo()1181 if (SingleForeignEnum != 0) { in CalculateSize()1182 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) SingleForeignEnum); in CalculateSize()1298 if (other.SingleForeignEnum != 0) { in MergeFrom()1299 SingleForeignEnum = other.SingleForeignEnum; in MergeFrom()