Searched refs:hasDelegate (Results 1 – 1 of 1) sorted by relevance
51 private readonly Func<IMessage, bool> hasDelegate; field in Google.Protobuf.Reflection.SingleFieldAccessor69 hasDelegate = message => GetValue(message) != null; in SingleFieldAccessor()77 … hasDelegate = message => oneofAccessor.GetCaseFieldDescriptor(message) == descriptor; in SingleFieldAccessor()95 hasDelegate = ReflectionUtil.CreateFuncIMessageBool(hasMethod); in SingleFieldAccessor()107 …hasDelegate = message => { throw new InvalidOperationException("Presence is not implemented for th… in SingleFieldAccessor()121 public override bool HasValue(IMessage message) => hasDelegate(message);