Merge pull request #3373 from marek-safar/net-4.6.2
[mono.git] / mcs / class / referencesource / System.Web / GlobalSuppressions4.cs
1 using System.Diagnostics.CodeAnalysis;
2
3 [module: SuppressMessage("Microsoft.Naming", "CA1703:ResourceStringsShouldBeSpelledCorrectly", Scope = "resource", Target = "System.Web.resources", MessageId = "aspnet", Justification = @"By design")]
4 [module: SuppressMessage("Microsoft.Naming", "CA1703:ResourceStringsShouldBeSpelledCorrectly", Scope = "resource", Target = "System.Web.resources", MessageId = "jquery", Justification = @"By design")]
5 [module: SuppressMessage("Microsoft.Naming", "CA1701:ResourceStringCompoundWordsShouldBeCasedCorrectly", Scope = "resource", Target = "System.Web.resources", MessageId = "whitespace", Justification = @"whitespace is appropriate to indicate space\tab etc.")]
6
7 [module: SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "System.Web.UI.ImageClickEventArgs.#X", Justification = @"Breaking change")]
8 [module: SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "System.Web.UI.ImageClickEventArgs.#XRaw", Justification = @"Though not a breaking change, better to keep it consistent with X.")]
9 [module: SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "System.Web.UI.ImageClickEventArgs.#Y", Justification = @"Breaking change")]
10 [module: SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "System.Web.UI.ImageClickEventArgs.#YRaw", Justification = @"Though not a breaking change, better to keep it consistent with Y.")]
11
12 [module: SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Scope = "member", Target = "System.Web.UI.Control.#BeginRenderTracing(System.IO.TextWriter,System.Object)", MessageId = "object", Justification = @"By design - okay.")]
13 [module: SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Scope = "member", Target = "System.Web.UI.Control.#EndRenderTracing(System.IO.TextWriter,System.Object)", MessageId = "object", Justification = @"By design - okay.")]
14 [module: SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Scope = "member", Target = "System.Web.UI.Control.#SetTraceData(System.Object,System.Object,System.Object)", MessageId = "object", Justification = @"By design - okay.")]
15 [module: SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Scope = "member", Target = "System.Web.UI.RenderTraceListener.#BeginRendering(System.IO.TextWriter,System.Object)", MessageId = "object", Justification = @"By design - okay.")]
16 [module: SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Scope = "member", Target = "System.Web.UI.RenderTraceListener.#EndRendering(System.IO.TextWriter,System.Object)", MessageId = "object", Justification = @"By design - okay.")]
17 [module: SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Scope = "member", Target = "System.Web.UI.RenderTraceListener.#SetTraceData(System.Object,System.Object,System.Object)", MessageId = "object", Justification = @"By design - okay.")]
18
19 #region CA2116 False Positives
20 // CA2116 is firing false positives due to DevDiv #342582 (http://vstfdevdiv:8080/DevDiv2/web/wi.aspx?id=342582).
21 // We should remove these suppressions when that bug is fixed.
22 [module: SuppressMessage("Microsoft.Security", "CA2116:AptcaMethodsShouldOnlyCallAptcaMethods", Scope = "member", Target = "System.Web.Configuration.RegexWorker.#.cctor()", Justification = "False positive.")]
23 [module: SuppressMessage("Microsoft.Security", "CA2116:AptcaMethodsShouldOnlyCallAptcaMethods", Scope = "member", Target = "System.Web.Handlers.AssemblyResourceLoader.#.cctor()", Justification = "False positive.")]
24 [module: SuppressMessage("Microsoft.Security", "CA2116:AptcaMethodsShouldOnlyCallAptcaMethods", Scope = "member", Target = "System.Web.UI.BaseParser.#.cctor()", Justification = "False positive.")]
25 [module: SuppressMessage("Microsoft.Security", "CA2116:AptcaMethodsShouldOnlyCallAptcaMethods", Scope = "member", Target = "System.Web.UI.ControlBuilder.#.cctor()", Justification = "False positive.")]
26 [module: SuppressMessage("Microsoft.Security", "CA2116:AptcaMethodsShouldOnlyCallAptcaMethods", Scope = "member", Target = "System.Web.UI.Page.#ExportWebPart(System.String)", Justification = "False positive.")]
27 [module: SuppressMessage("Microsoft.Security", "CA2116:AptcaMethodsShouldOnlyCallAptcaMethods", Scope = "member", Target = "System.Web.UI.SimpleWebHandlerParser.#.cctor()", Justification = "False positive.")]
28 #endregion