How to exclude private members from StyleCop rule SA1600

后端 未结 1 1776
野性不改
野性不改 2021-02-06 23:11

Does anyone know how to change the StyleCop rule SA1600 that says elements must be documented so that it only applies to properties and not to private members?

Our ORM (

相关标签:
1条回答
  • 2021-02-07 00:14

    Right click on your project node in Visual Studio, select StyleCop Settings. On the Rules tab, select the Documentation Rules node. In the right-hand pane, select the Ignore privates checkbox, and\or unselect the Include fields box. Either of these will achieve the desired effect.

    0 讨论(0)
提交回复
热议问题