官术网_书友最值得收藏!

How it works...

The analyzers node in solution explorer gives a visual representation of the analyzer items defined in the project file, which correspond to analyzer assemblies added manually to the project or added via analyzer NuGet package(s). The rules in the assembly come from each type in the assembly that implements the DiagnosticAnalyzer type and has a DiagnosticAnalyzerAttribute applied to it. The rule properties shown in the properties window come from instantiating the analyzer types and requesting them for it's SupportedDiagnostics.

Changing the rule severity in solution explorer and then persisting it for the project happens through an automatically generated ruleset file, which gets added to the project. Refer to the next recipe to get more details on ruleset-based analyzer configuration.

主站蜘蛛池模板: 和硕县| 合川市| 莎车县| 隆回县| 镇平县| 新源县| 怀远县| 洪江市| 弋阳县| 平潭县| 阜阳市| 邻水| 宿州市| 新蔡县| 黄平县| 贡嘎县| 望谟县| 大理市| 昌宁县| 兴化市| 康平县| 金沙县| 遂昌县| 习水县| 南康市| 大城县| 邛崃市| 盐城市| 华坪县| 通许县| 当雄县| 汝城县| 米易县| 玛曲县| 湾仔区| 民勤县| 搜索| 安西县| 塔城市| 江门市| 蛟河市|