Home
last modified time | relevance | path

Searched refs:SingleForeignEnum (Results 1 - 10 of 10) sorted by relevance

/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
H A DFieldAccessTest.cs54 Assert.AreEqual(message.SingleForeignEnum, fields[TestAllTypes.SingleForeignEnumFieldNumber].Accessor.GetValue(message)); in GetValue()
107 SingleForeignEnum = 0, in Clear()
141 SingleForeignEnum = ForeignEnum.ForeignFoo, in SetValue_SingleFields()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DJsonFormatterTest.cs87 SingleForeignEnum = ForeignEnum.ForeignBar, in EnumAsInt()
110 SingleForeignEnum = ForeignEnum.ForeignBar, in AllSingleFields()
266 var message = new TestAllTypes { SingleForeignEnum = (ForeignEnum) 100 }; in UnknownEnumValueNumeric_SingleField()
H A DSampleMessages.cs60 SingleForeignEnum = ForeignEnum.ForeignBar, in CreateFullTestAllTypes()
H A DGeneratedMessageTest.cs70 Assert.AreEqual(ForeignEnum.ForeignUnspecified, message.SingleForeignEnum); in DefaultValues()
151 SingleForeignEnum = ForeignEnum.ForeignBar, in RoundTrip_SingleValues()
H A DJsonParserTest.cs928 Assert.AreEqual(new TestAllTypes { SingleForeignEnum = expectedValue }, parsed); in EnumValid()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
H A DSampleMessages.cs57 SingleForeignEnum = ForeignEnum.ForeignBar, in CreateFullTestAllTypes()
H A DGeneratedMessageTest.cs69 Assert.AreEqual(ForeignEnum.ForeignUnspecified, message.SingleForeignEnum); in DefaultValues()
148 SingleForeignEnum = ForeignEnum.ForeignBar, in RoundTrip_SingleValues()
H A DJsonParserTest.cs910 Assert.AreEqual(new TestAllTypes { SingleForeignEnum = expectedValue }, parsed); in EnumValid()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
H A DFieldAccessTest.cs58 Assert.AreEqual(message.SingleForeignEnum, fields[TestProtos.TestAllTypes.SingleForeignEnumFieldNumber].Accessor.GetValue(message)); in GetValue()
227 SingleForeignEnum = ForeignEnum.ForeignFoo, in SetValue_SingleFields()
298 SingleForeignEnum = 0, in Clear()
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
H A DUnittestProto3.cs162 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.TestAllTypes), global::Google.Protobuf.TestProtos.TestAllTypes.Parser, new[]{ "SingleInt32", "SingleInt64", "SingleUint32", "SingleUint64", "SingleSint32", "SingleSint64", "SingleFixed32", "SingleFixed64", "SingleSfixed32", "SingleSfixed64", "SingleFloat", "SingleDouble", "SingleBool", "SingleString", "SingleBytes", "SingleNestedMessage", "SingleForeignMessage", "SingleImportMessage", "SingleNestedEnum", "SingleForeignEnum", "SingleImportEnum", "SinglePublicImportMessage", "RepeatedInt32", "RepeatedInt64", "RepeatedUint32", "RepeatedUint64", "RepeatedSint32", "RepeatedSint64", "RepeatedFixed32", "RepeatedFixed64", "RepeatedSfixed32", "RepeatedSfixed64", "RepeatedFloat", "RepeatedDouble", "RepeatedBool", "RepeatedString", "RepeatedBytes", "RepeatedNestedMessage", "RepeatedForeignMessage", "RepeatedImportMessage", "RepeatedNestedEnum", "RepeatedForeignEnum", "RepeatedImportEnum", "RepeatedPublicImportMessage", "OneofUint32", "OneofNestedMessage", "OneofString", "OneofBytes" }, new[]{ "OneofField" }, new[]{ typeof(global::Google.Protobuf.TestProtos.TestAllTypes.Types.NestedEnum) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.TestAllTypes.Types.NestedMessage), global::Google.Protobuf.TestProtos.TestAllTypes.Types.NestedMessage.Parser, new[]{ "Bb" }, null, null, null, null)}), in UnittestProto3Reflection()
569 public global::Google.Protobuf.TestProtos.ForeignEnum SingleForeignEnum { property in Google.Protobuf.TestProtos.TestAllTypes
924 if (SingleForeignEnum != other.SingleForeignEnum) return false; in Equals()
979 if (SingleForeignEnum != global::Google.Protobuf.TestProtos.ForeignEnum.ForeignUnspecified) hash ^= SingleForeignEnum.GetHashCode(); in GetHashCode()
1101 if (SingleForeignEnum != global::Google.Protobuf.TestProtos.ForeignEnum.ForeignUnspecified) { in WriteTo()
1103 output.WriteEnum((int) SingleForeignEnum); in WriteTo()
1236 if (SingleForeignEnum != global::Google.Protobuf.TestProtos.ForeignEnum.ForeignUnspecified) { in IBufferMessage.InternalWriteTo()
1238 output.WriteEnum((int) SingleForeignEnum); in IBufferMessage.InternalWriteTo()
[all...]

Completed in 24 milliseconds