public bool HasEntry(string name) { if (name == null) { throw new ArgumentNullException(nameof(name)); } return HasEntryCore(name); }