Searched refs:ForNumber (Results 1 – 3 of 3) sorted by relevance
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | ValuePartial.cs | 53 public static Value ForNumber(double value) in ForNumber() method in Google.Protobuf.WellKnownTypes.Value
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | JsonParserTest.cs | 692 …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()
|
D | JsonFormatterTest.cs | 420 { "c", Value.ForNumber(10.5) }, in StructSample() 422 { "e", Value.ForList(Value.ForString("t1"), Value.ForNumber(5)) }, in StructSample()
|