Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DCustomOptionsTest.cs106 AssertOption(-100, options.TryGetInt32, Int32Opt); in ScalarOptions()
111 AssertOption((int)TestEnumType.TestOptionEnumType2, options.TryGetInt32, EnumOpt); in ScalarOptions()
137 AssertOption(-56, messageOptions.TryGetInt32, MessageOpt1); in OptionLocations()
143 AssertOption(-99, oneofOptions.TryGetInt32, OneofOpt1); in OptionLocations()
149 AssertOption(123, enumValueOptions.TryGetInt32, EnumValueOpt1); in OptionLocations()
157 …AssertOption((int)UnitTest.Issues.TestProtos.MethodOpt1.Val2, methodOptions.TryGetInt32, CustomOpt… in OptionLocations()
165 AssertOption(int.MinValue, options.TryGetInt32, Int32Opt); in MinValues()
173 AssertOption(int.MinValue, options.TryGetInt32, SFixed32Opt); in MinValues()
182 AssertOption(int.MaxValue, options.TryGetInt32, Int32Opt); in MaxValues()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DCustomOptions.cs88 public bool TryGetInt32(int field, out int value) => TryGetPrimitiveValue(field, out value); in TryGetInt32() method in Google.Protobuf.Reflection.CustomOptions
123 public bool TryGetSFixed32(int field, out int value) => TryGetInt32(field, out value); in TryGetSFixed32()