Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestWellKnownTypes.cs204 EmptyField = other.emptyField_ != null ? other.EmptyField.Clone() : null; in TestWellKnownTypes()
259 public global::Google.Protobuf.WellKnownTypes.Empty EmptyField { property in Google.Protobuf.TestProtos.TestWellKnownTypes
442 if (!object.Equals(EmptyField, other.EmptyField)) return false; in Equals()
466 if (emptyField_ != null) hash ^= EmptyField.GetHashCode(); in GetHashCode()
504 output.WriteMessage(EmptyField); in WriteTo()
571 size += 1 + pb::CodedOutputStream.ComputeMessageSize(EmptyField); in CalculateSize()
647 EmptyField.MergeFrom(other.EmptyField); in MergeFrom()
957 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Empty> EmptyField { property in Google.Protobuf.TestProtos.RepeatedWellKnownTypes
1332 case OneofFieldOneofCase.EmptyField: in OneofWellKnownTypes()
1333 EmptyField = other.EmptyField.Clone(); in OneofWellKnownTypes()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs262 var message = new OneofWellKnownTypes { EmptyField = new Empty() }; in Oneof()
264 … Assert.AreEqual(OneofWellKnownTypes.OneofFieldOneofCase.EmptyField, message.OneofFieldCase); in Oneof()