Searched refs:ContainingOneof (Results 1 – 5 of 5) sorted by relevance
59 public OneofDescriptor ContainingOneof { get; } property in Google.Protobuf.Reflection.FieldDescriptor65 …public OneofDescriptor RealContainingOneof => ContainingOneof?.IsSynthetic == false ? ContainingOn…85 : ContainingOneof != null ? true117 ContainingOneof = parent.Oneofs[proto.OneofIndex]; in FieldDescriptor()
155 if (field.ContainingOneof == this) in CrossLink()
275 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()
193 if (field.ContainingOneof != null) in Merge()199 if (!seenOneofs.Add(field.ContainingOneof)) in Merge()
223 Assert.AreSame(descriptor, field.ContainingOneof); in OneofDescriptor()