@@ -175,9 +175,12 @@ public void FormatParameter(object parameterValue, string replacedValue, bool no
175175 new object [ ] { new TimeSpan ( 2 , 3 , 4 , 5 , 6 ) , "time '51:04:05.006000'" } ,
176176 new object [ ] { new TimeSpan ( - 2 , - 3 , - 4 , - 5 , - 6 ) , "time '-51:04:05.006000'" } ,
177177 new object [ ] { new Guid ( "00112233-4455-6677-8899-AABBCCDDEEFF" ) , "'00112233-4455-6677-8899-aabbccddeeff'" } ,
178- new object [ ] { new byte [ ] { 0x41 , 0x42 , 0x27 , 0x61 } , "_binary'AB\\ 'a'" } ,
179- new object [ ] { new MemoryStream ( new byte [ ] { 0x41 , 0x42 , 0x27 , 0x61 } ) , "_binary'AB\\ 'a'" } ,
180- new object [ ] { new MemoryStream ( new byte [ ] { 0 , 0x41 , 0x42 , 0x27 , 0x61 , 0x62 } , 1 , 4 , false , true ) , "_binary'AB\\ 'a'" } ,
178+ new object [ ] { new byte [ ] { 0x41 , 0x42 , 0x27 , 0x61 , 0x5c , 0x62 } , @"_binary'AB''a\\b'" } ,
179+ new object [ ] { new byte [ ] { 0x41 , 0x42 , 0x27 , 0x61 , 0x5c , 0x62 } , @"_binary'AB''a\b'" , true } ,
180+ new object [ ] { new MemoryStream ( new byte [ ] { 0x41 , 0x42 , 0x27 , 0x61 , 0x5c , 0x62 } ) , @"_binary'AB''a\\b'" } ,
181+ new object [ ] { new MemoryStream ( new byte [ ] { 0x41 , 0x42 , 0x27 , 0x61 , 0x5c , 0x62 } ) , @"_binary'AB''a\b'" , true } ,
182+ new object [ ] { new MemoryStream ( new byte [ ] { 0 , 0x41 , 0x42 , 0x27 , 0x61 , 0x5c , 0x62 , 0x63 } , 1 , 6 , false , true ) , @"_binary'AB''a\\b'" } ,
183+ new object [ ] { new MemoryStream ( new byte [ ] { 0 , 0x41 , 0x42 , 0x27 , 0x61 , 0x5c , 0x62 , 0x63 } , 1 , 6 , false , true ) , @"_binary'AB''a\b'" , true } ,
181184 new object [ ] { "\" AB\\ ab'" . AsMemory ( ) , @"'""AB\\ab'''" } ,
182185 new object [ ] { new StringBuilder ( "\" AB\\ ab'" ) , @"'""AB\\ab'''" } ,
183186 } ;
0 commit comments