Home
last modified time | relevance | path

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

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DOneofDescriptor.cs63 IsSynthetic = firstFieldInOneof?.Proto3Optional ?? false; in OneofDescriptor()
96 public bool IsSynthetic { get; } property in Google.Protobuf.Reflection.OneofDescriptor
171 if (IsSynthetic) in CreateAccessor()
DMessageDescriptor.cs86 if (oneof.IsSynthetic) in MessageDescriptor()
DFieldDescriptor.cs65 …public OneofDescriptor RealContainingOneof => ContainingOneof?.IsSynthetic == false ? ContainingOn…
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs327 Assert.IsFalse(descriptor.IsSynthetic); in OneofDescriptor()
400 Assert.IsTrue(field.ContainingOneof.IsSynthetic); in Proto3OptionalDescriptors()
413 Assert.True(oneof.IsSynthetic); in SyntheticOneofReflection()
422 Assert.False(oneof.IsSynthetic); in SyntheticOneofReflection()
432 Assert.False(oneof.IsSynthetic); in SyntheticOneofReflection()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DProto3OptionalTest.cs150 Assert.True(descriptor.Oneofs[0].IsSynthetic); in MixedFields()