File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
dotnet/src/webdriver/DevTools/Json Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1- using System . ComponentModel ;
21using System . Text . Json ;
32
43#nullable enable
54
65namespace OpenQA . Selenium . DevTools . Json ;
76
8- [ EditorBrowsable ( EditorBrowsableState . Never ) ] // Generated code use only
97internal static class DevToolsJsonOptions
108{
119 public static JsonSerializerOptions DevToolsSerializerOptions { get ; } = new JsonSerializerOptions ( )
Original file line number Diff line number Diff line change @@ -25,7 +25,10 @@ internal sealed class StringConverter : JsonConverter<string>
2525 var bytes = reader . ValueSpan ;
2626 var sb = new StringBuilder ( bytes . Length ) ;
2727 foreach ( byte b in bytes )
28+ {
2829 sb . Append ( Convert . ToChar ( b ) ) ;
30+ }
31+
2932 return sb . ToString ( ) ;
3033 }
3134 }
You can’t perform that action at this time.
0 commit comments