.net - Can't suppress CA1709 in any way -


i want suppress ca1709: identifiers should cased correctly, on public class idd. example want use idd correct word. can't. tried @ code analysis dictionary:

<?xml version="1.0" encoding="utf-8"?> <dictionary>   <words>     <unrecognized>       <word></word>     </unrecognized>     <recognized>       <word>d</word>       <word>idd</word>     </recognized>         <deprecated>             <term preferredalternate=""></term>         </deprecated>         <compound>             <term compoundalternate="idd">idd</term>         </compound>     <discreteexceptions>       <term>idd</term>     </discreteexceptions>   </words>   <acronyms>     <casingexceptions>       <acronym>idd</acronym>       <acronym>id</acronym>       <acronym>d</acronym>     </casingexceptions>   </acronyms> </dictionary> 

but nothing helps me add work correct case. advise?

the problem here "dd", not full "idd", message of ca1709 violation should showing.

this can addressed quite adding "dd" dictionary recognized word if consider actual word:

<?xml version="1.0" encoding="utf-8" ?> <dictionary>     <words>         <recognized>             <word>dd</word>         </recognized>     </words> </dictionary> 

or adding acronym casing exception if not consider word still want use pascal casing:

<?xml version="1.0" encoding="utf-8" ?> <dictionary>     <acronyms>         <casingexceptions>             <acronym>dd</acronym>         </casingexceptions>     </acronyms> </dictionary> 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -