diff --git a/dotnet/test/common/CorrectEventFiringTest.cs b/dotnet/test/common/CorrectEventFiringTest.cs index a5fe3e4722fe1..0eee321e98a4f 100644 --- a/dotnet/test/common/CorrectEventFiringTest.cs +++ b/dotnet/test/common/CorrectEventFiringTest.cs @@ -333,9 +333,9 @@ public void SendingKeysToAFocusedElementShouldNotBlurThatElement() { System.Threading.Thread.Sleep(200); } - catch (Exception e) + catch (Exception) { - throw e; + throw; } } if (!focused) diff --git a/dotnet/test/common/UnexpectedAlertBehaviorTest.cs b/dotnet/test/common/UnexpectedAlertBehaviorTest.cs index c3f8f8bb1f535..a1cdfd10056e9 100644 --- a/dotnet/test/common/UnexpectedAlertBehaviorTest.cs +++ b/dotnet/test/common/UnexpectedAlertBehaviorTest.cs @@ -91,11 +91,11 @@ private Func ElementTextToBeEqual(IWebElement resultElement, string expect { return resultElement.Text == expectedAlertText; } - catch (UnhandledAlertException e) + catch (UnhandledAlertException) { if (!silentlyHandlePrompt) { - throw e; + throw; } } catch (NoSuchElementException) diff --git a/dotnet/test/support/Events/EventFiringWebDriverTest.cs b/dotnet/test/support/Events/EventFiringWebDriverTest.cs index f9b14a19813d6..2dfa8639b6b71 100644 --- a/dotnet/test/support/Events/EventFiringWebDriverTest.cs +++ b/dotnet/test/support/Events/EventFiringWebDriverTest.cs @@ -190,10 +190,10 @@ public void ShouldUnwrapElementArgsWhenCallingScripts() { testedDriver.ExecuteScript("foo", element); } - catch (Exception e) + catch (Exception) { // This is the error we're trying to fix - throw e; + throw; } } diff --git a/third_party/dotnet/devtools/src/generator/CodeGen/TemplatesManager.cs b/third_party/dotnet/devtools/src/generator/CodeGen/TemplatesManager.cs index aeb36f03c4451..6c8aa052290b2 100644 --- a/third_party/dotnet/devtools/src/generator/CodeGen/TemplatesManager.cs +++ b/third_party/dotnet/devtools/src/generator/CodeGen/TemplatesManager.cs @@ -31,9 +31,9 @@ public TemplatesManager(CodeGenerationSettings settings) } /// - /// Returns a generator singleton for the specified template path. + /// Returns a generator singleton for the specified template settings. /// - /// + /// The settings for a generator. /// public Func GetGeneratorForTemplate(CodeGenerationTemplateSettings templateSettings) {