Searched refs:ForNumber (Results 1 – 4 of 4) sorted by relevance
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | ValuePartial.cs | 53 public static Value ForNumber(double value) in ForNumber() method in Google.Protobuf.WellKnownTypes.Value
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | JsonParserTest.cs | 695 …Assert.AreEqual(Value.ForList(Value.ForNumber(1), Value.ForString("x")), Value.Parser.ParseJson("[… in StructValue_List() 701 …Assert.AreEqual(new ListValue { Values = { Value.ForNumber(1), Value.ForString("x") } }, ListValue… in ParseListValue() 708 …Value.ForStruct(new Struct { Fields = { { "x", Value.ForNumber(1) }, { "y", Value.ForString("z") }… in StructValue_Struct() 715 …Assert.AreEqual(new Struct { Fields = { { "x", Value.ForNumber(1) }, { "y", Value.ForString("z") }… in ParseStruct()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | JsonParserTest.cs | 697 …Assert.AreEqual(Value.ForList(Value.ForNumber(1), Value.ForString("x")), Value.Parser.ParseJson("[… in StructValue_List() 719 …Assert.AreEqual(new ListValue { Values = { Value.ForNumber(1), Value.ForString("x") } }, ListValue… in ParseListValue() 726 …Value.ForStruct(new Struct { Fields = { { "x", Value.ForNumber(1) }, { "y", Value.ForString("z") }… in StructValue_Struct() 733 …Assert.AreEqual(new Struct { Fields = { { "x", Value.ForNumber(1) }, { "y", Value.ForString("z") }… in ParseStruct()
|
D | JsonFormatterTest.cs | 524 { "c", Value.ForNumber(10.5) }, in StructSample() 526 { "e", Value.ForList(Value.ForString("t1"), Value.ForNumber(5)) }, in StructSample()
|