public override string ToString() { return(GetType().Name + ";Accepts:" + AcceptedCharacters + #pragma warning disable 618 // Ignore obsolete warning for EditorHints ((EditorHints == EditorHints.None) ? string.Empty : (";Hints: " + EditorHints.ToString()))); #pragma warning restore 618 // Ignore obsolete warning for EditorHints }
public override string ToString() { return(GetType().Name + ";Accepts:" + AcceptedCharacters + ( (EditorHints == EditorHints.None) ? String.Empty : (";Hints: " + EditorHints.ToString()) )); }