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

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.

主站蜘蛛池模板: 西贡区| 全椒县| 海盐县| 西宁市| 武川县| 尤溪县| 大英县| 砚山县| 石阡县| 旅游| 黔南| 揭阳市| 平江县| 古田县| 永新县| 右玉县| 新安县| 大新县| 九江县| 文水县| 北京市| 类乌齐县| 葵青区| 尉氏县| 大同县| 周至县| 固镇县| 河间市| 宣汉县| 通化县| 雅江县| 石城县| 黔东| 宁海县| 寻甸| 宜兴市| 金昌市| 威宁| 孝义市| 济阳县| 新津县|