public override bool Equals()

in TeamCity.CSharpInteractive/ScriptCommand.cs [21:28]


    public override bool Equals(object? obj)
    {
        if (ReferenceEquals(null, obj)) return false;
        if (ReferenceEquals(this, obj)) return true;
        if (obj.GetType() != GetType()) return false;
        var other = (ScriptCommand)obj;
        return Name == other.Name && Script == other.Script;
    }