Example #1
0
 public override string ToString()
 {
     return(Text == null ? Class.Name : Class.Name + ":" + DebugString.Format(Text));
 }
Example #2
0
 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));
 }