Home
last modified time | relevance | path

Searched refs:ContainingOneof (Results 1 – 5 of 5) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DFieldDescriptor.cs59 public OneofDescriptor ContainingOneof { get; } property in Google.Protobuf.Reflection.FieldDescriptor
65 …public OneofDescriptor RealContainingOneof => ContainingOneof?.IsSynthetic == false ? ContainingOn…
85 : ContainingOneof != null ? true
117 ContainingOneof = parent.Oneofs[proto.OneofIndex]; in FieldDescriptor()
DOneofDescriptor.cs155 if (field.ContainingOneof == this) in CrossLink()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs275 Assert.AreEqual("oneof_field", fieldInOneof.ContainingOneof.Name); in TestFieldDescriptor()
276 Assert.AreSame(fieldInOneof.ContainingOneof, fieldInOneof.RealContainingOneof); in TestFieldDescriptor()
340 Assert.AreSame(descriptor, field.ContainingOneof); in OneofDescriptor()
399 Assert.NotNull(field.ContainingOneof); in Proto3OptionalDescriptors()
400 Assert.IsTrue(field.ContainingOneof.IsSynthetic); in Proto3OptionalDescriptors()
/third_party/protobuf/csharp/src/Google.Protobuf/
DJsonParser.cs193 if (field.ContainingOneof != null) in Merge()
199 if (!seenOneofs.Add(field.ContainingOneof)) in Merge()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs223 Assert.AreSame(descriptor, field.ContainingOneof); in OneofDescriptor()