public override bool Equals(object other) { if (!(other is NameKey)) { return(false); } NameKey key = (NameKey)other; return(name == key.name && ns == key.ns); }
public override bool Equals([NotNullWhen(true)] object?other) { if (!(other is NameKey)) { return(false); } NameKey key = (NameKey)other; return(_name == key._name && _ns == key._ns); }
internal void Add(string name, string ns, object value) { NameKey key = new NameKey(name, ns); table.Add(key, value); }
internal void Add(string name, string ns, object value) { NameKey key = new NameKey(name, ns); _table.Add(key, value); }
public void Add(string name, string ns, object value) { NameKey key = new NameKey(name, ns); table.Add(key, value); }