dotnet/roslyn

Unable to "global" suppress a naming violation in a delegate

Aperta

#29.742 aperta il 10 set 2018

 (0 commenti) (0 reazioni) (0 assegnatari)C# (4257 fork)batch import
Area-IDEBughelp wanted

Metriche repository

Star
 (20.414 stelle)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

Steps to Reproduce:

  1. Turn on naming rules that state that parameters need to start as "lower case" and turn it on as an errror
Friend Delegate Function CheckCommandStatusHandler(MenuCommand As DesignerMenuCommand) As Boolean

  1. Attempt to suppress the above error

Expected Behavior: ??

Actual Behavior:

<Assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification:="<Pending>", Scope:="namespace", Target:="~N:Microsoft.VisualStudio.Editors.AppDesDesignerFramework")>

Guida contributor