Commit Graph

20 Commits

Author SHA1 Message Date
Dean Herbert
2289274553 Blacklist UriKind.RelativeOrAbsolute 2021-06-03 14:15:06 +09:00
Dean Herbert
36e8c2ef59 Re-enable ConfigureAwait analysis rule 2021-03-06 23:18:48 +09:00
smoogipoo
78b3d08b3c Add Enum.HasFlag to banned APIs 2021-02-25 14:21:43 +09:00
Huo Yaoyuan
b7b25ab0ec CA1715: use prefix for generic parameters. 2019-12-11 19:03:43 +08:00
Huo Yaoyuan
7a7f95583c Don't warn on CA1810. 2019-11-19 18:11:06 +08:00
Huo Yaoyuan
a3c87878cc Revert "CA1806: use discards for ignored returns", but keep the ReSharper config. 2019-11-19 17:56:12 +08:00
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