Home
last modified time | relevance | path

Searched refs:ForNumber (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DValuePartial.cs53 public static Value ForNumber(double value) in ForNumber() method in Google.Protobuf.WellKnownTypes.Value
/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs692 …Assert.AreEqual(Value.ForList(Value.ForNumber(1), Value.ForString("x")), Value.Parser.ParseJson("[… in StructValue_List()
698 …Assert.AreEqual(new ListValue { Values = { Value.ForNumber(1), Value.ForString("x") } }, ListValue… in ParseListValue()
705 …Value.ForStruct(new Struct { Fields = { { "x", Value.ForNumber(1) }, { "y", Value.ForString("z") }… in StructValue_Struct()
712 …Assert.AreEqual(new Struct { Fields = { { "x", Value.ForNumber(1) }, { "y", Value.ForString("z") }… in ParseStruct()
DJsonFormatterTest.cs420 { "c", Value.ForNumber(10.5) }, in StructSample()
422 { "e", Value.ForList(Value.ForString("t1"), Value.ForNumber(5)) }, in StructSample()