- Roslyn Cookbook
- Manish Vasani
- 193字
- 2021-07-15 17:07:40
How it works...
The ruleset file is essentially a grouping of a set of code-analysis rules that you can apply to a project to configure it's analysis. It is specified in an XML format and is based on an XML schema that ships with Visual Studio. It is also open sourced, and can be found at https://github.com/dotnet/roslyn/blob/version-2.0.0/src/Compilers/Core/Portable/RuleSet/RuleSetSchema.xsd. A ruleset can be specified for a project using the CodeAnalysisRuleset property in the project file. Each Rules node contains a collection of rule specifications with a common analyzer ID and namespace. Each Rule specification has the rule ID and the effective Action or the severity. The rule Action can take one of the following five values: None (suppressed), Hidden (non-visible in the IDE, primarily a code fix trigger), Info (informational message), Warning, and Error. These rule actions get converted into compilation options for the compiler and override the default severity of the diagnostic ID.
The Rule Set editor is a powerful graphical user interface to search, filter, and bulk-edit rule configurations.
- C++程序設(shè)計(jì)(第3版)
- Cocos2D-X權(quán)威指南(第2版)
- 數(shù)據(jù)庫原理及應(yīng)用(Access版)第3版
- Visual C++數(shù)字圖像模式識(shí)別技術(shù)詳解
- 零基礎(chǔ)學(xué)Java程序設(shè)計(jì)
- Python機(jī)器學(xué)習(xí)經(jīng)典實(shí)例
- 用Python實(shí)現(xiàn)深度學(xué)習(xí)框架
- 小程序開發(fā)原理與實(shí)戰(zhàn)
- Learn React with TypeScript 3
- R大數(shù)據(jù)分析實(shí)用指南
- Android程序設(shè)計(jì)基礎(chǔ)
- Kubernetes源碼剖析
- Qt5 C++ GUI Programming Cookbook
- Python趣味編程與精彩實(shí)例
- 例解Python:Python編程快速入門踐行指南