public override bool Equals(object obj) { if (!(obj is SyntaxClass)) { return(false); } return(ClassAttribute.Equals(((SyntaxClass)obj).ClassAttribute, StringComparison.OrdinalIgnoreCase)); }