Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs878 public int OptionalInt32 { property in Conformance.TestAllTypes
1951 if (OptionalInt32 != other.OptionalInt32) return false; in Equals()
2065 if (OptionalInt32 != 0) hash ^= OptionalInt32.GetHashCode(); in GetHashCode()
2182 if (OptionalInt32 != 0) { in WriteTo()
2184 output.WriteInt32(OptionalInt32); in WriteTo()
2444 if (OptionalInt32 != 0) { in CalculateSize()
2445 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); in CalculateSize()
2665 if (other.OptionalInt32 != 0) { in MergeFrom()
2666 OptionalInt32 = other.OptionalInt32; in MergeFrom()
2937 OptionalInt32 = input.ReadInt32(); in MergeFrom()
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestProto3.cs2641 public int OptionalInt32 { property in Google.Protobuf.TestProtos.TestMutualRecursionB
2660 if (OptionalInt32 != other.OptionalInt32) return false; in Equals()
2667 if (OptionalInt32 != 0) hash ^= OptionalInt32.GetHashCode(); in GetHashCode()
2680 if (OptionalInt32 != 0) { in WriteTo()
2682 output.WriteInt32(OptionalInt32); in WriteTo()
2691 if (OptionalInt32 != 0) { in CalculateSize()
2692 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); in CalculateSize()
2707 if (other.OptionalInt32 != 0) { in MergeFrom()
2708 OptionalInt32 = other.OptionalInt32; in MergeFrom()
2727 OptionalInt32 = input.ReadInt32(); in MergeFrom()