Home
last modified time | relevance | path

Searched refs:Oneofs (Results 1 - 10 of 10) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A 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
257 /// The number of real "oneof" descriptors in this message type. Every element in <see cref="Oneofs"/>
335 foreach (OneofDescriptor oneof in Oneofs) in CrossLink()
H A DFieldDescriptor.cs117 ContainingOneof = parent.Oneofs[proto.OneofIndex]; in FieldDescriptor()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
H A 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()
H A DCustomOptionsTest.cs140 var oneofDescriptor = TestMessageWithCustomOptions.Descriptor.Oneofs[0]; in OptionLocations()
216 Assert.NotNull(TestAllTypes.Descriptor.Oneofs[0].CustomOptions); in NoOptions()
H A 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/
H A 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/
H A 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/
H A DJsonFormatter.cs617 var specifiedField = message.Descriptor.Oneofs[0].Accessor.GetCaseFieldDescriptor(message); in WriteStructFieldValue()
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
H A DType.cs66 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Type), global::Google.Protobuf.WellKnownTypes.Type.Parser, new[]{ "Name", "Fields", "Oneofs", "Options", "SourceContext", "Syntax" }, null, null, null, null), in TypeReflection()
176 public pbc::RepeatedField<string> Oneofs { property in Google.Protobuf.WellKnownTypes.Type
/third_party/protobuf/src/google/protobuf/compiler/
H A Dparser_unittest.cc3014 TEST_F(SourceInfoTest, Oneofs) { in TEST_F()

Completed in 13 milliseconds