public override string ToString() { if (NameToken != null && ValueToken != null) { return(String.Format(CultureInfo.CurrentCulture, "{0} = {1}", NameToken.ToString(), ValueToken.ToString())); } else if (NameToken != null) { return(NameToken.ToString()); } else if (ValueToken != null) { return(ValueToken.ToString()); } return("?"); }