Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestIssues.cs1158 public int PlainInt32 { property in UnitTest.Issues.TestProtos.TestJsonFieldOrdering
1260 if (PlainInt32 != other.PlainInt32) return false; in Equals()
1273 if (PlainInt32 != 0) hash ^= PlainInt32.GetHashCode(); in GetHashCode()
1301 if (PlainInt32 != 0) { in WriteTo()
1303 output.WriteInt32(PlainInt32); in WriteTo()
1317 if (PlainInt32 != 0) { in CalculateSize()
1318 size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlainInt32); in CalculateSize()
1342 if (other.PlainInt32 != 0) { in MergeFrom()
1343 PlainInt32 = other.PlainInt32; in MergeFrom()
1388 PlainInt32 = input.ReadInt32(); in MergeFrom()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs293 var message = new TestJsonFieldOrdering { PlainString = "p1", PlainInt32 = 2 }; in OutputIsInNumericFieldOrder_NoDefaults()
295 …message = new TestJsonFieldOrdering { O1Int32 = 5, O2String = "o2", PlainInt32 = 10, PlainString =… in OutputIsInNumericFieldOrder_NoDefaults()
297 …message = new TestJsonFieldOrdering { O1String = "", O2Int32 = 0, PlainInt32 = 10, PlainString = "… in OutputIsInNumericFieldOrder_NoDefaults()
307 …message = new TestJsonFieldOrdering { O1Int32 = 5, O2String = "o2", PlainInt32 = 10, PlainString =… in OutputIsInNumericFieldOrder_WithDefaults()
309 …message = new TestJsonFieldOrdering { O1String = "", O2Int32 = 0, PlainInt32 = 10, PlainString = "… in OutputIsInNumericFieldOrder_WithDefaults()