static bool Unset(ref NPropertyBag head, NProperty key) { var e = head.GetEntry(key); if (e == null) { return(false); // value not changed -> do nothing } head = head.Clone(); head.Remove(key); return(true); }
internal virtual void UnsetProp(NProperty key, bool silent = false) { _props.Remove(key); }