Searched refs:Oneofs (Results 1 - 10 of 10) sorted by relevance
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
H A D | MessageDescriptor.cs | 78 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 D | FieldDescriptor.cs | 117 ContainingOneof = parent.Oneofs[proto.OneofIndex]; in FieldDescriptor()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
H A D | DescriptorsTest.cs | 411 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 D | CustomOptionsTest.cs | 140 var oneofDescriptor = TestMessageWithCustomOptions.Descriptor.Oneofs[0]; in OptionLocations() 216 Assert.NotNull(TestAllTypes.Descriptor.Oneofs[0].CustomOptions); in NoOptions()
|
H A D | FieldAccessTest.cs | 264 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 D | Proto3OptionalTest.cs | 148 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 D | FieldAccessTest.cs | 186 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 D | JsonFormatter.cs | 617 var specifiedField = message.Descriptor.Oneofs[0].Accessor.GetCaseFieldDescriptor(message); in WriteStructFieldValue()
|
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
H A D | Type.cs | 66 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 D | parser_unittest.cc | 3014 TEST_F(SourceInfoTest, Oneofs) { in TEST_F()
|
Completed in 13 milliseconds