Home
last modified time | relevance | path

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

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DSingleFieldAccessor.cs51 private readonly Func<IMessage, bool> hasDelegate; field in Google.Protobuf.Reflection.SingleFieldAccessor
69 hasDelegate = message => GetValue(message) != null; in SingleFieldAccessor()
77hasDelegate = message => oneofAccessor.GetCaseFieldDescriptor(message) == descriptor; in SingleFieldAccessor()
95 hasDelegate = ReflectionUtil.CreateFuncIMessageBool(hasMethod); in SingleFieldAccessor()
107hasDelegate = message => { throw new InvalidOperationException("Presence is not implemented for th… in SingleFieldAccessor()
121 public override bool HasValue(IMessage message) => hasDelegate(message);