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

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.

主站蜘蛛池模板: 清原| 庐江县| 大渡口区| 方正县| 土默特左旗| 阿拉善左旗| 金川县| 石柱| 临颍县| 高平市| 黄梅县| 嘉义县| 凌云县| 鄂伦春自治旗| 哈密市| 建湖县| 鹤峰县| 简阳市| 丰台区| 霍林郭勒市| 长汀县| 宝坻区| 宁南县| 礼泉县| 桂林市| 桃源县| 进贤县| 舟山市| 阿拉善右旗| 昌图县| 廊坊市| 昆明市| 宣恩县| 古交市| 扎囊县| 河南省| 兴安盟| 靖江市| 琼结县| 德清县| 金阳县|