Skip to content

Commit 92a08b3

Browse files
committed
StyleCop and FxCop changes for FirefoxOptions
1 parent c7b441c commit 92a08b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/webdriver/Firefox/FirefoxOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public void AddArguments(IEnumerable<string> argumentsToAdd)
168168

169169
foreach (string argument in argumentsToAdd)
170170
{
171-
if (!argument.StartsWith("--"))
171+
if (!argument.StartsWith("--", StringComparison.OrdinalIgnoreCase))
172172
{
173173
throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "All arguments must start with two dashes ('--'); argument '{0}' does not.", argument), "argumentsToAdd");
174174
}

0 commit comments

Comments
 (0)