Skip to content

Commit fef6ec6

Browse files
committed
Make methods always body-blocked
1 parent 56d3e03 commit fef6ec6

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

dotnet/src/webdriver/Interactions/PointerInputDevice.cs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,10 @@ public override Dictionary<string, object> ToDictionary()
448448
return toReturn;
449449
}
450450

451-
public override string ToString() => "Pointer down";
451+
public override string ToString()
452+
{
453+
return "Pointer down";
454+
}
452455
}
453456

454457
private class PointerUpInteraction : Interaction
@@ -481,7 +484,10 @@ public override Dictionary<string, object> ToDictionary()
481484
return toReturn;
482485
}
483486

484-
public override string ToString() => "Pointer up";
487+
public override string ToString()
488+
{
489+
return "Pointer up";
490+
}
485491
}
486492

487493
private class PointerCancelInteraction : Interaction
@@ -498,7 +504,10 @@ public override Dictionary<string, object> ToDictionary()
498504
return toReturn;
499505
}
500506

501-
public override string ToString() => "Pointer cancel";
507+
public override string ToString()
508+
{
509+
return "Pointer cancel";
510+
}
502511
}
503512

504513
private class PointerMoveInteraction : Interaction

0 commit comments

Comments
 (0)