Antlr4.Codegen.Model.Decl.AltLabelStructDecl.Equals C# (CSharp) Method

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
        public override bool Equals(object obj)
        {
            if (obj == this)
                return true;
            if (!(obj is AltLabelStructDecl))
                return false;

            return name.Equals(((AltLabelStructDecl)obj).name);
        }
    }