- 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.
- Python數據可視化:基于Bokeh的可視化繪圖
- Learning RxJava
- INSTANT Sencha Touch
- React.js Essentials
- Mastering LibGDX Game Development
- Machine Learning in Java
- 小型編譯器設計實踐
- Unity&VR游戲美術設計實戰
- Fastdata Processing with Spark
- PHP項目開發全程實錄(第4版)
- Java RESTful Web Service實戰
- jQuery Mobile Web Development Essentials(Second Edition)
- Zend Framework 2 Cookbook
- 微信公眾平臺開發最佳實踐
- Visual FoxPro數據庫程序設計