You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dotnet/src/support/GlobalSuppressions.cs
-12Lines changed: 0 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -27,11 +27,6 @@
27
27
// "In Project Suppression File".
28
28
// You do not need to add suppressions to this file manually.
29
29
[assembly:System.CLSCompliant(true)]
30
-
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design","CA1006:DoNotNestGenericTypesInMemberSignatures",Scope="member",Target="OpenQA.Selenium.Support.UI.ExpectedConditions.#VisibilityOfAllElementsLocatedBy(OpenQA.Selenium.By)",Justification="Nested generic types is appropriate for this type")]
31
-
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design","CA1006:DoNotNestGenericTypesInMemberSignatures",Scope="member",Target="OpenQA.Selenium.Support.UI.ExpectedConditions.#VisibilityOfAllElementsLocatedBy(System.Collections.ObjectModel.ReadOnlyCollection`1<OpenQA.Selenium.IWebElement>)",Justification="Nested generic types is appropriate for this type")]
32
-
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design","CA1006:DoNotNestGenericTypesInMemberSignatures",Scope="member",Target="OpenQA.Selenium.Support.UI.ExpectedConditions.#PresenceOfAllElementsLocatedBy(OpenQA.Selenium.By)",Justification="Nested generic types is appropriate for this type")]
33
-
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design","CA1011:ConsiderPassingBaseTypesAsParameters",Scope="member",Target="OpenQA.Selenium.Support.PageObjects.PageFactory.#InitElements`1(OpenQA.Selenium.IWebDriver)",Justification="Page Object pattern enforces IWebDriver in constructor for generic InitElements call.")]
34
-
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design","CA1011:ConsiderPassingBaseTypesAsParameters",Scope="member",Target="OpenQA.Selenium.Support.PageObjects.PageFactory.#InitElements`1(OpenQA.Selenium.IWebDriver,OpenQA.Selenium.Support.PageObjects.IElementLocatorFactory)",Justification="Page Object pattern enforces IWebDriver in constructor for generic InitElements call.")]
35
30
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design","CA1020:AvoidNamespacesWithFewTypes",Scope="namespace",Target="OpenQA.Selenium.Support.Extensions",Justification="This namespace will likely grow over time.")]
36
31
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design","CA1031:DoNotCatchGeneralExceptionTypes",Scope="member",Target="OpenQA.Selenium.Support.Events.EventFiringWebDriver.#Close()",Justification="Firing event on all execptions, so catching generic Exception is appropriate.")]
37
32
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design","CA1031:DoNotCatchGeneralExceptionTypes",Scope="member",Target="OpenQA.Selenium.Support.Events.EventFiringWebDriver.#CurrentWindowHandle",Justification="Firing event on all execptions, so catching generic Exception is appropriate.")]
@@ -73,16 +68,9 @@
73
68
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design","CA1031:DoNotCatchGeneralExceptionTypes",Scope="member",Target="OpenQA.Selenium.Support.Events.EventFiringWebDriver+EventFiringWebElement.#Text",Justification="Firing event on all execptions, so catching generic Exception is appropriate.")]
74
69
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design","CA1031:DoNotCatchGeneralExceptionTypes",Scope="member",Target="OpenQA.Selenium.Support.UI.DefaultWait`1.#Until`1(System.Func`2<!0,!!0>)",Justification="Analyzing and handling all exceptions that occur, so catching generic Exception is appropriate.")]
75
70
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design","CA1054:UriParametersShouldNotBeStrings",MessageId="1#",Scope="member",Target="OpenQA.Selenium.Support.Events.WebDriverNavigationEventArgs.#.ctor(OpenQA.Selenium.IWebDriver,System.String)",Justification="Using string to preserve user input.")]
76
-
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design","CA1054:UriParametersShouldNotBeStrings",MessageId="0#",Scope="member",Target="OpenQA.Selenium.Support.UI.ExpectedConditions.#UrlToBe(System.String)",Justification="Using string to preserve user input.")]
77
71
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design","CA1056:UriPropertiesShouldNotBeStrings",Scope="member",Target="OpenQA.Selenium.Support.Events.WebDriverNavigationEventArgs.#Url",Justification="Using string to preserve user input.")]
78
72
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design","CA1065:DoNotRaiseExceptionsInUnexpectedLocations",Scope="member",Target="OpenQA.Selenium.Support.UI.SelectElement.#SelectedOption",Justification="Exception should be thrown in this property.")]
79
73
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization","CA1308:NormalizeStringsToUppercase",Scope="member",Target="OpenQA.Selenium.Support.UI.SelectElement.#.ctor(OpenQA.Selenium.IWebElement)",Justification="WebDriver normalizes strings to lowercase.")]
80
-
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization","CA1308:NormalizeStringsToUppercase",Scope="member",Target="OpenQA.Selenium.Support.UI.ExpectedConditions.#UrlToBe(System.String)",Justification="WebDriver normalizes strings to lowercase.")]
81
-
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization","CA1308:NormalizeStringsToUppercase",Scope="member",Target="OpenQA.Selenium.Support.UI.ExpectedConditions.#UrlContains(System.String)",Justification="WebDriver normalizes strings to lowercase.")]
82
-
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming","CA1704:IdentifiersShouldBeSpelledCorrectly",MessageId="bys",Scope="member",Target="OpenQA.Selenium.Support.PageObjects.ByAll.#.ctor(OpenQA.Selenium.By[])",Justification="Parameter is correctly named")]
83
-
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming","CA1704:IdentifiersShouldBeSpelledCorrectly",MessageId="bys",Scope="member",Target="OpenQA.Selenium.Support.PageObjects.ByChained.#.ctor(OpenQA.Selenium.By[])",Justification="Parameter is correctly named")]
84
-
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming","CA1704:IdentifiersShouldBeSpelledCorrectly",MessageId="bys",Scope="member",Target="OpenQA.Selenium.Support.PageObjects.IElementLocator.#LocateElement(System.Collections.Generic.IEnumerable`1<OpenQA.Selenium.By>)",Justification="Parameter is correctly named")]
85
-
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming","CA1704:IdentifiersShouldBeSpelledCorrectly",MessageId="bys",Scope="member",Target="OpenQA.Selenium.Support.PageObjects.IElementLocator.#LocateElements(System.Collections.Generic.IEnumerable`1<OpenQA.Selenium.By>)",Justification="Parameter is correctly named")]
86
74
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance","CA1811:AvoidUncalledPrivateCode",Scope="member",Target="OpenQA.Selenium.Support.Events.EventFiringWebDriver+EventFiringWebElement.#ParentDriver",Justification="Method must be available for subclasses.")]
87
75
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming","CA2204:Literals should be spelled correctly",MessageId="IJavaScriptExecutor",Scope="member",Target="OpenQA.Selenium.Support.Extensions.WebDriverExtensions.#ExecuteJavaScript`1(OpenQA.Selenium.IWebDriver,System.String,System.Object[])",Justification="Interface name is correct")]
88
76
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming","CA2204:Literals should be spelled correctly",MessageId="IHasCapabilities",Scope="member",Target="OpenQA.Selenium.Support.Extensions.WebDriverExtensions.#TakeScreenshot(OpenQA.Selenium.IWebDriver)",Justification="Interface name is correct")]
0 commit comments