Home
last modified time | relevance | path

Searched refs:SingleBoolFieldNumber (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DFieldAccessTest.cs48 …Assert.AreEqual(message.SingleBool, fields[TestAllTypes.SingleBoolFieldNumber].Accessor.GetValue(m… in GetValue()
93 fields[TestAllTypes.SingleBoolFieldNumber].Accessor.Clear(message); in Clear()
127 fields[TestAllTypes.SingleBoolFieldNumber].Accessor.SetValue(message, false); in SetValue_SingleFields()
154 …Assert.Throws<InvalidCastException>(() => fields[TestAllTypes.SingleBoolFieldNumber].Accessor.SetV… in SetValue_SingleFields_WrongType()
178 …Assert.Throws<InvalidCastException>(() => fields[TestAllTypes.SingleBoolFieldNumber].Accessor.GetV… in GetValue_IncorrectType()
206 descriptor.Fields[TestAllTypes.SingleBoolFieldNumber], in FieldDescriptor_ByName()
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestProto3.cs447 public const int SingleBoolFieldNumber = 13; field in Google.Protobuf.TestProtos.TestAllTypes