Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestIssues.cs1188 public string PlainString { property in UnitTest.Issues.TestProtos.TestJsonFieldOrdering
1263 if (PlainString != other.PlainString) return false; in Equals()
1276 if (PlainString.Length != 0) hash ^= PlainString.GetHashCode(); in GetHashCode()
1289 if (PlainString.Length != 0) { in WriteTo()
1291 output.WriteString(PlainString); in WriteTo()
1326 if (PlainString.Length != 0) { in CalculateSize()
1327 size += 1 + pb::CodedOutputStream.ComputeStringSize(PlainString); in CalculateSize()
1345 if (other.PlainString.Length != 0) { in MergeFrom()
1346 PlainString = other.PlainString; in MergeFrom()
1376 PlainString = input.ReadString(); in MergeFrom()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs293 var message = new TestJsonFieldOrdering { PlainString = "p1", PlainInt32 = 2 }; in OutputIsInNumericFieldOrder_NoDefaults()
295 …new TestJsonFieldOrdering { O1Int32 = 5, O2String = "o2", PlainInt32 = 10, PlainString = "plain" }; in OutputIsInNumericFieldOrder_NoDefaults()
297 …= new TestJsonFieldOrdering { O1String = "", O2Int32 = 0, PlainInt32 = 10, PlainString = "plain" }; in OutputIsInNumericFieldOrder_NoDefaults()
307 …new TestJsonFieldOrdering { O1Int32 = 5, O2String = "o2", PlainInt32 = 10, PlainString = "plain" }; in OutputIsInNumericFieldOrder_WithDefaults()
309 …= new TestJsonFieldOrdering { O1String = "", O2Int32 = 0, PlainInt32 = 10, PlainString = "plain" }; in OutputIsInNumericFieldOrder_WithDefaults()