Skip to content

Commit abc6e58

Browse files
committed
Reference langword null on navigation
1 parent 5270ed7 commit abc6e58

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

dotnet/src/webdriver/INavigation.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ public interface INavigation
6666
/// should the underlying page change while your test is executing the results of
6767
/// future calls against this interface will be against the freshly loaded page.
6868
/// </remarks>
69-
/// <exception cref="ArgumentNullException">If <paramref name="url"/> is null.</exception>
69+
/// <exception cref="ArgumentNullException">If <paramref name="url"/> is <see langword="null"/>.</exception>
7070
void GoToUrl(string url);
7171

7272
/// <summary>
7373
/// Navigate to a url as an asynchronous task.
7474
/// </summary>
7575
/// <param name="url">String of where you want the browser to go.</param>
7676
/// <returns>A task object representing the asynchronous operation.</returns>
77-
/// <exception cref="ArgumentNullException">If <paramref name="url"/> is null.</exception>
77+
/// <exception cref="ArgumentNullException">If <paramref name="url"/> is <see langword="null"/>.</exception>
7878
Task GoToUrlAsync(string url);
7979

8080
/// <summary>
@@ -90,15 +90,15 @@ public interface INavigation
9090
/// should the underlying page change while your test is executing the results of
9191
/// future calls against this interface will be against the freshly loaded page.
9292
/// </remarks>
93-
/// <exception cref="ArgumentNullException">If <paramref name="url"/> is null.</exception>
93+
/// <exception cref="ArgumentNullException">If <paramref name="url"/> is <see langword="null"/>.</exception>
9494
void GoToUrl(Uri url);
9595

9696
/// <summary>
9797
/// Navigate to a url as an asynchronous task.
9898
/// </summary>
9999
/// <param name="url">Uri object of where you want the browser to go.</param>
100100
/// <returns>A task object representing the asynchronous operation.</returns>
101-
/// <exception cref="ArgumentNullException">If <paramref name="url"/> is null.</exception>
101+
/// <exception cref="ArgumentNullException">If <paramref name="url"/> is <see langword="null"/>.</exception>
102102
Task GoToUrlAsync(Uri url);
103103

104104
/// <summary>

dotnet/src/webdriver/Navigator.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public async Task ForwardAsync()
8686
/// Navigate to a url.
8787
/// </summary>
8888
/// <param name="url">String of where you want the browser to go to</param>
89-
/// <exception cref="ArgumentNullException">If <paramref name="url"/> is null.</exception>
89+
/// <exception cref="ArgumentNullException">If <paramref name="url"/> is <see langword="null"/>.</exception>
9090
public void GoToUrl(string url)
9191
{
9292
Task.Run(async delegate
@@ -100,7 +100,7 @@ public void GoToUrl(string url)
100100
/// </summary>
101101
/// <param name="url">String of where you want the browser to go.</param>
102102
/// <returns>A task object representing the asynchronous operation.</returns>
103-
/// <exception cref="ArgumentNullException">If <paramref name="url"/> is null.</exception>
103+
/// <exception cref="ArgumentNullException">If <paramref name="url"/> is <see langword="null"/>.</exception>
104104
public async Task GoToUrlAsync(string url)
105105
{
106106
if (url == null)
@@ -119,7 +119,7 @@ public async Task GoToUrlAsync(string url)
119119
/// Navigate to a url.
120120
/// </summary>
121121
/// <param name="url">Uri object of where you want the browser to go.</param>
122-
/// <exception cref="ArgumentNullException">If <paramref name="url"/> is null.</exception>
122+
/// <exception cref="ArgumentNullException">If <paramref name="url"/> is <see langword="null"/>.</exception>
123123
public void GoToUrl(Uri url)
124124
{
125125
Task.Run(async delegate
@@ -133,7 +133,7 @@ public void GoToUrl(Uri url)
133133
/// </summary>
134134
/// <param name="url">Uri object of where you want the browser to go.</param>
135135
/// <returns>A task object representing the asynchronous operation.</returns>
136-
/// <exception cref="ArgumentNullException">If <paramref name="url"/> is null.</exception>
136+
/// <exception cref="ArgumentNullException">If <paramref name="url"/> is <see langword="null"/>.</exception>
137137
public async Task GoToUrlAsync(Uri url)
138138
{
139139
if (url == null)

0 commit comments

Comments
 (0)