public override string ToString() { return(Text == null ? Class.Name : Class.Name + ":" + DebugString.Format(Text)); }
private JsonException Error(string s, Exception e) { return(new JsonException(string.Format("The value '{0}' cannot be imported as {1}.", DebugString.Format(s), OutputType.FullName), e)); }