Home
last modified time | relevance | path

Searched refs:SingleForeignEnum (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DFieldAccessTest.cs54 …Assert.AreEqual(message.SingleForeignEnum, fields[TestAllTypes.SingleForeignEnumFieldNumber].Acces… in GetValue()
107 SingleForeignEnum = 0, in Clear()
141 SingleForeignEnum = ForeignEnum.ForeignFoo, in SetValue_SingleFields()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DSampleMessages.cs57 SingleForeignEnum = ForeignEnum.ForeignBar, in CreateFullTestAllTypes()
DJsonFormatterTest.cs78 SingleForeignEnum = ForeignEnum.ForeignBar, in AllSingleFields()
170 var message = new TestAllTypes { SingleForeignEnum = (ForeignEnum) 100 }; in UnknownEnumValueNumeric_SingleField()
DGeneratedMessageTest.cs69 Assert.AreEqual(ForeignEnum.ForeignUnspecified, message.SingleForeignEnum); in DefaultValues()
148 SingleForeignEnum = ForeignEnum.ForeignBar, in RoundTrip_SingleValues()
DJsonParserTest.cs907 Assert.AreEqual(new TestAllTypes { SingleForeignEnum = expectedValue }, parsed); in EnumValid()
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestProto3.cs519 public global::Google.Protobuf.TestProtos.ForeignEnum SingleForeignEnum { property in Google.Protobuf.TestProtos.TestAllTypes
842 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()