@@ -16,7 +16,7 @@ public bool Length(JString target, JInteger length)
1616 if ( _length != length ) return FailWith ( new JsonSchemaException (
1717 new ErrorDetail ( SLEN01 , "Invalid string length" ) ,
1818 new ExpectedDetail ( Function , $ "length { length } ") ,
19- new ActualDetail ( target , $ "found { _length } for \" { target } \" ") ) ) ;
19+ new ActualDetail ( target , $ "found { _length } for { target } ") ) ) ;
2020 return true ;
2121 }
2222
@@ -26,7 +26,7 @@ public bool Length(JArray target, JInteger length)
2626 if ( _length != length ) return FailWith ( new JsonSchemaException (
2727 new ErrorDetail ( ALEN01 , "Invalid array length" ) ,
2828 new ExpectedDetail ( Function , $ "length { length } ") ,
29- new ActualDetail ( target , $ "found { _length } for { target . ToOutline ( ) } ") ) ) ;
29+ new ActualDetail ( target , $ "found { _length } for { target . GetOutline ( ) } ") ) ) ;
3030 return true ;
3131 }
3232
@@ -36,7 +36,7 @@ public bool Length(JObject target, JInteger length)
3636 if ( _length != length ) return FailWith ( new JsonSchemaException (
3737 new ErrorDetail ( OLEN01 , "Invalid object size or length" ) ,
3838 new ExpectedDetail ( Function , $ "length { length } ") ,
39- new ActualDetail ( target , $ "found { _length } for { target . ToOutline ( ) } ") ) ) ;
39+ new ActualDetail ( target , $ "found { _length } for { target . GetOutline ( ) } ") ) ) ;
4040 return true ;
4141 }
4242
@@ -45,12 +45,12 @@ public bool Length(JString target, JInteger minimum, JInteger maximum)
4545 var length = target . Value . Length ;
4646 if ( length < minimum )
4747 return FailWith ( new JsonSchemaException ( new ErrorDetail ( SLEN02 ,
48- $ "String \" { target . ToOutline ( ) } \" length is outside of range") ,
48+ $ "String { target . GetOutline ( ) } length is outside of range") ,
4949 new ExpectedDetail ( Function , $ "length in range [{ minimum } , { maximum } ]") ,
5050 new ActualDetail ( target , $ "found { length } that is less than { minimum } ") ) ) ;
5151 if ( length > maximum )
5252 return FailWith ( new JsonSchemaException ( new ErrorDetail ( SLEN03 ,
53- $ "String { target . ToOutline ( ) } length is outside of range") ,
53+ $ "String { target . GetOutline ( ) } length is outside of range") ,
5454 new ExpectedDetail ( Function , $ "length in range [{ minimum } , { maximum } ]") ,
5555 new ActualDetail ( target , $ "found { length } that is greater than { maximum } ") ) ) ;
5656 return true ;
@@ -61,7 +61,7 @@ public bool Length(JString target, JInteger minimum, JUndefined undefined)
6161 var length = target . Value . Length ;
6262 if ( length < minimum )
6363 return FailWith ( new JsonSchemaException ( new ErrorDetail ( SLEN04 ,
64- $ "String \" { target . ToOutline ( ) } \" length is outside of range") ,
64+ $ "String { target . GetOutline ( ) } length is outside of range") ,
6565 new ExpectedDetail ( Function , $ "length in range [{ minimum } , { undefined } ]") ,
6666 new ActualDetail ( target , $ "found { length } that is less than { minimum } ") ) ) ;
6767 return true ;
@@ -72,7 +72,7 @@ public bool Length(JString target, JUndefined undefined, JInteger maximum)
7272 var length = target . Value . Length ;
7373 if ( length > maximum )
7474 return FailWith ( new JsonSchemaException ( new ErrorDetail ( SLEN05 ,
75- $ "String \" { target . ToOutline ( ) } \" length is outside of range") ,
75+ $ "String { target . GetOutline ( ) } length is outside of range") ,
7676 new ExpectedDetail ( Function , $ "length in range [{ undefined } , { maximum } ]") ,
7777 new ActualDetail ( target , $ "found { length } that is greater than { maximum } ") ) ) ;
7878 return true ;
@@ -83,12 +83,12 @@ public bool Length(JArray target, JInteger minimum, JInteger maximum)
8383 var length = target . Elements . Count ;
8484 if ( length < minimum )
8585 return FailWith ( new JsonSchemaException ( new ErrorDetail ( ALEN02 ,
86- $ "Array { target . ToOutline ( ) } length is outside of range") ,
86+ $ "Array { target . GetOutline ( ) } length is outside of range") ,
8787 new ExpectedDetail ( Function , $ "length in range [{ minimum } , { maximum } ]") ,
8888 new ActualDetail ( target , $ "found { length } that is less than { minimum } ") ) ) ;
8989 if ( length > maximum )
9090 return FailWith ( new JsonSchemaException ( new ErrorDetail ( ALEN03 ,
91- $ "Array { target . ToOutline ( ) } length is outside of range") ,
91+ $ "Array { target . GetOutline ( ) } length is outside of range") ,
9292 new ExpectedDetail ( Function , $ "length in range [{ minimum } , { maximum } ]") ,
9393 new ActualDetail ( target , $ "found { length } that is greater than { maximum } ") ) ) ;
9494 return true ;
@@ -99,7 +99,7 @@ public bool Length(JArray target, JInteger minimum, JUndefined undefined)
9999 var length = target . Elements . Count ;
100100 if ( length < minimum )
101101 return FailWith ( new JsonSchemaException ( new ErrorDetail ( ALEN04 ,
102- $ "Array { target . ToOutline ( ) } length is outside of range") ,
102+ $ "Array { target . GetOutline ( ) } length is outside of range") ,
103103 new ExpectedDetail ( Function , $ "length in range [{ minimum } , { undefined } ]") ,
104104 new ActualDetail ( target , $ "found { length } that is less than { minimum } ") ) ) ;
105105 return true ;
@@ -110,7 +110,7 @@ public bool Length(JArray target, JUndefined undefined, JInteger maximum)
110110 var length = target . Elements . Count ;
111111 if ( length > maximum )
112112 return FailWith ( new JsonSchemaException ( new ErrorDetail ( ALEN05 ,
113- $ "Array { target . ToOutline ( ) } length is outside of range") ,
113+ $ "Array { target . GetOutline ( ) } length is outside of range") ,
114114 new ExpectedDetail ( Function , $ "length in range [{ undefined } , { maximum } ]") ,
115115 new ActualDetail ( target , $ "found { length } that is greater than { maximum } ") ) ) ;
116116 return true ;
@@ -121,12 +121,12 @@ public bool Length(JObject target, JInteger minimum, JInteger maximum)
121121 var length = target . Properties . Count ;
122122 if ( length < minimum )
123123 return FailWith ( new JsonSchemaException ( new ErrorDetail ( OLEN02 ,
124- $ "Object { target . ToOutline ( ) } size or length is outside of range") ,
124+ $ "Object { target . GetOutline ( ) } size or length is outside of range") ,
125125 new ExpectedDetail ( Function , $ "length in range [{ minimum } , { maximum } ]") ,
126126 new ActualDetail ( target , $ "found { length } that is less than { minimum } ") ) ) ;
127127 if ( length > maximum )
128128 return FailWith ( new JsonSchemaException ( new ErrorDetail ( OLEN03 ,
129- $ "Object { target . ToOutline ( ) } size or length is outside of range") ,
129+ $ "Object { target . GetOutline ( ) } size or length is outside of range") ,
130130 new ExpectedDetail ( Function , $ "length in range [{ minimum } , { maximum } ]") ,
131131 new ActualDetail ( target , $ "found { length } that is greater than { maximum } ") ) ) ;
132132 return true ;
@@ -137,7 +137,7 @@ public bool Length(JObject target, JInteger minimum, JUndefined undefined)
137137 var length = target . Properties . Count ;
138138 if ( length < minimum )
139139 return FailWith ( new JsonSchemaException ( new ErrorDetail ( OLEN04 ,
140- $ "Object { target . ToOutline ( ) } size or length is outside of range") ,
140+ $ "Object { target . GetOutline ( ) } size or length is outside of range") ,
141141 new ExpectedDetail ( Function , $ "length in range [{ minimum } , { undefined } ]") ,
142142 new ActualDetail ( target , $ "found { length } that is less than { minimum } ") ) ) ;
143143 return true ;
@@ -148,7 +148,7 @@ public bool Length(JObject target, JUndefined undefined, JInteger maximum)
148148 var length = target . Properties . Count ;
149149 if ( length > maximum )
150150 return FailWith ( new JsonSchemaException ( new ErrorDetail ( OLEN05 ,
151- $ "Object { target . ToOutline ( ) } size or length is outside of range") ,
151+ $ "Object { target . GetOutline ( ) } size or length is outside of range") ,
152152 new ExpectedDetail ( Function , $ "length in range [{ undefined } , { maximum } ]") ,
153153 new ActualDetail ( target , $ "found { length } that is greater than { maximum } ") ) ) ;
154154 return true ;
0 commit comments