10 Commits
Author SHA1 Message Date
Marek Safar 6a889d2342 Enable CA1822 (Mark members as static) analyzer (#66333) 2022-03-25 12:06:33 +01:00
Marek Safar 47bcd1a8b0 Remove unused private parameters in SPC (#63015) 2022-02-12 18:44:41 +01:00
Stephen Toub 3ae87395f6 Initial roll out of !! (#64720)
* Bump version of C# compiler

This should be reverted when arcade brings in a new enough compiler.

* Fix a few new warnings from updating compiler

* Enable IDE0190 to employ parameter null checking

* Initial roll out of !!

* Fix more compiler warnings from upgrade, plus some test fixes / reverts

* Fix a few more tests

* Disable profiling test
2022-02-08 16:06:59 -05:00
Stephen Toub 0ac0071e45 Implement IEquatable<T> on value types overriding Equals (and enable CA1066/1077) (#63690) 2022-01-24 09:43:25 -05:00
Marek Safar 6de7147b92 Enable IDE0059 analyzer: Unnecessary assignment of a value (#63340) 2022-01-12 18:10:45 +01:00
Stephen Toub a3b186b990 Enable new analyzers in global configs (#60914)
* Enable new analyzers in global configs

* Address PR feedback
2021-11-14 07:07:47 -05:00
Stephen Toub e118d3fc71 Update Microsoft.CodeAnalysis.CSharp.CodeStyle version (#59783) 2021-10-03 10:14:02 -04:00
Stephen Toub b42803d0ee Add new analyzers to CodeAnalysis.globalconfig files (#59763) 2021-09-29 22:08:35 -04:00
Prashanth Govindarajan d2cef2fe4c Runtime changes for DetectPreviewFeaturesAnalyzer (#59062)
* Turn on DetectPreviewFeaturesAnalyzer and runtime changes

* Missed decimal

* Add comments and update S.Runtime.csproj

* sq

* sq
2021-09-15 11:54:05 -07:00
Stephen Toub 03601a7a81 Switch to using globalconfig instead of ruleset for analyzer configuration (#57144) 2021-08-10 16:15:57 -04:00