Commit Graph

9 Commits

Author SHA1 Message Date
Huo Yaoyuan
c6494225d2 CA2208: create Argument*Exception correctly.
They even don't have agreement on arguments order.
2019-11-17 23:44:35 +08:00
Huo Yaoyuan
d287819863 CA1827 is accidentally disabled. 2019-11-17 23:34:40 +08:00
Huo Yaoyuan
9b7acc8989 CA1820: use string.IsNullOrEmpty. 2019-11-17 23:32:13 +08:00
Huo Yaoyuan
8ceac307f2 CA1401: P/Invoke should not be public. 2019-11-17 23:30:36 +08:00
Huo Yaoyuan
34ec36c2f0 CA1825: use Array.Empty instead of new [0]. 2019-11-17 23:19:31 +08:00
Huo Yaoyuan
4d7a3d3a51 CA1810: don't use static constructor for reference type 2019-11-17 23:16:48 +08:00
Huo Yaoyuan
8060e0cc3a Turn on unrelated rules. 2019-11-17 22:54:04 +08:00
Huo Yaoyuan
33f6be166d Add FxCop with everything turned off. 2019-11-17 22:29:01 +08:00
Huo Yaoyuan
fd0b551a4a Run code analysis on every project. 2019-11-17 22:07:00 +08:00