Home
last modified time | relevance | path

Searched refs:Oneofs (Results 1 – 11 of 11) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DMessageDescriptor.cs78 Oneofs = DescriptorUtil.ConvertAndMakeReadOnly( in MessageDescriptor()
84 foreach (var oneof in Oneofs) in MessageDescriptor()
95 RealOneofCount = Oneofs.Count - syntheticOneofCount; in MessageDescriptor()
254 public IList<OneofDescriptor> Oneofs { get; } property in Google.Protobuf.Reflection.MessageDescriptor
335 foreach (OneofDescriptor oneof in Oneofs) in CrossLink()
DFieldDescriptor.cs117 ContainingOneof = parent.Oneofs[proto.OneofIndex]; in FieldDescriptor()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs411 foreach (var oneof in proto3OptionalDescriptor.Oneofs) in SyntheticOneofReflection()
419 Assert.AreEqual(descriptor.Oneofs.Count, descriptor.RealOneofCount); in SyntheticOneofReflection()
420 foreach (var oneof in descriptor.Oneofs) in SyntheticOneofReflection()
429 Assert.AreEqual(descriptor.Oneofs.Count, descriptor.RealOneofCount); in SyntheticOneofReflection()
430 foreach (var oneof in descriptor.Oneofs) in SyntheticOneofReflection()
DCustomOptionsTest.cs140 var oneofDescriptor = TestMessageWithCustomOptions.Descriptor.Oneofs[0]; in OptionLocations()
216 Assert.NotNull(TestAllTypes.Descriptor.Oneofs[0].CustomOptions); in NoOptions()
DFieldAccessTest.cs264 Assert.AreEqual(1, descriptor.Oneofs.Count); in Oneof()
265 var oneof = descriptor.Oneofs[0]; in Oneof()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DProto3OptionalTest.cs148 Assert.AreEqual(1, descriptor.Oneofs.Count); in MixedFields()
150 Assert.True(descriptor.Oneofs[0].IsSynthetic); in MixedFields()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
DFieldAccessTest.cs186 Assert.AreEqual(1, descriptor.Oneofs.Count); in Oneof()
187 var oneof = descriptor.Oneofs[0]; in Oneof()
/third_party/protobuf/csharp/src/Google.Protobuf/
DJsonFormatter.cs617 … var specifiedField = message.Descriptor.Oneofs[0].Accessor.GetCaseFieldDescriptor(message); in WriteStructFieldValue()
/third_party/protobuf/docs/
Dfield_presence.md62 Oneofs | ✔️
100 Oneofs | N/A | ✔️
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DType.cs176 public pbc::RepeatedField<string> Oneofs { property in Google.Protobuf.WellKnownTypes.Type
/third_party/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc3014 TEST_F(SourceInfoTest, Oneofs) { in TEST_F() argument