Skip to content

Commit 22a6f0b

Browse files
[dotnet] Address warnings with ActionSequence.inputDevice and use proper alternative (#14848)
1 parent ae6fe72 commit 22a6f0b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dotnet/src/webdriver/Interactions/ActionSequence.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public int Count
7272
/// Gets the input device for this Action sequence.
7373
/// </summary>
7474
[Obsolete("This property has been renamed to InputDevice and will be removed in a future version")]
75+
[CLSCompliant(false)]
7576
public InputDevice inputDevice => InputDevice;
7677

7778
/// <summary>

dotnet/src/webdriver/Interactions/Actions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ private InputDevice FindDeviceById(string name)
138138

139139
if (id == name)
140140
{
141-
return sequence.inputDevice;
141+
return sequence.InputDevice;
142142
}
143143
}
144144

0 commit comments

Comments
 (0)