Skip to content

Commit 88f4a85

Browse files
committed
Seal the type explicitly
1 parent 31f4ee9 commit 88f4a85

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dotnet/src/webdriver/RelativeBy.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace OpenQA.Selenium
2929
/// <summary>
3030
/// Provides a mechanism for finding elements spatially relative to other elements.
3131
/// </summary>
32-
public class RelativeBy : By
32+
public sealed class RelativeBy : By
3333
{
3434
private readonly string wrappedAtom;
3535
private readonly object root;
@@ -70,7 +70,6 @@ public static RelativeBy WithLocator(By by)
7070
return new RelativeBy(by);
7171
}
7272

73-
7473
/// <summary>
7574
/// Finds the first element matching the criteria.
7675
/// </summary>

0 commit comments

Comments
 (0)