public override bool Equals(object obj) { if (obj == this) { return true; } EditorAttribute other = obj as EditorAttribute; return (other != null) && other.typeName == typeName && other.baseTypeName == baseTypeName; }