Huo Yaoyuan
|
c6e299672a
|
CA1309: compare strings correctly.
|
2019-11-18 01:21:15 +08:00 |
|
Huo Yaoyuan
|
3fd1c79946
|
CA2201: throw correct exception type.
|
2019-11-18 01:21:11 +08:00 |
|
Huo Yaoyuan
|
14a5e5305a
|
CA1806: use discards for ignored returns.
|
2019-11-18 01:20:57 +08:00 |
|
Huo Yaoyuan
|
fe52be8735
|
CA1052: use static class.
|
2019-11-17 23:54:40 +08:00 |
|
Huo Yaoyuan
|
372a56783a
|
CA1041: provide message for [Obsolete].
|
2019-11-17 23:52:43 +08:00 |
|
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 |
|