File tree Expand file tree Collapse file tree 3 files changed +3
-99
lines changed
dotnet/src/webdriver/BiDi
Communication/Json/Converters Expand file tree Collapse file tree 3 files changed +3
-99
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -71,12 +71,9 @@ public static LocalValue ConvertFrom(object? value)
7171 }
7272 }
7373
74- public abstract record PrimitiveProtocolLocalValue : LocalValue
75- {
76-
77- }
74+ public abstract record PrimitiveProtocolLocalValue : LocalValue ;
7875
79- public record Number ( [ property : JsonConverter ( typeof ( BiDiDoubleConverter ) ) ] double Value ) : PrimitiveProtocolLocalValue
76+ public record Number ( double Value ) : PrimitiveProtocolLocalValue
8077 {
8178 public static explicit operator Number ( double n ) => new Number ( n ) ;
8279 }
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ public static implicit operator string(RemoteValue remoteValue)
9292 throw new BiDiException ( "Cannot convert ....." ) ;
9393 }
9494
95- public record Number ( [ property : JsonConverter ( typeof ( BiDiDoubleConverter ) ) ] double Value ) : PrimitiveProtocolRemoteValue ;
95+ public record Number ( double Value ) : PrimitiveProtocolRemoteValue ;
9696
9797 public record Boolean ( bool Value ) : PrimitiveProtocolRemoteValue ;
9898
You can’t perform that action at this time.
0 commit comments