Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Lachlan Ennis 4c70e99af7
Enable CA1815 - Override equals and operator equals on value types (#10729)
* Enable CA1815 - Override equals and operator equals on value types

* use GlobalSuppressions and disable on test projects

* Fix build error

* Changes from review
2024-02-15 09:13:24 -08:00
Lachlan Ennis f8f5465a5e
Enable `IDE0008` / `IDE0090` analyzers (#10502)
* Fix IDE0008 - Use explicit type instead of 'var'

* Fix IDE0090 - 'new' expression can be simplified

* Fix CS0436 error

* Undo ComScope changes

* Fix IDE0008 - Use explicit type instead of 'var'

* Fix IDE0090 - 'new' expression can be simplified

* Revert "Fix CS0436 error"
2024-01-04 16:00:55 -08:00
Sam Harwell e61a9cb460
Enable the xUnit1004 refactoring (#10554) 2024-01-03 11:37:30 -08:00
Sam Harwell bb491c80d6
Use CodeAnalysis.test.globalconfig only for overrides (#8924)
All duplicate items have been removed, leaving only the unique
configuration for tests.
2023-04-03 09:37:34 -07:00
Lachlan Ennis b0e5f5b7c4
Enable `SA1131` and use analyzer refactor (#8336)
Enable SA1131 and use analyzer refactor
2022-12-06 14:35:05 -08:00
Lachlan Ennis 6015144935
Change CSIsNull to a warning (#8244)
* Change CSIsNull to a warning

* Add exclusion
2022-11-23 13:43:58 -08:00
Lachlan Ennis 5e5cf07296
Enabling analyzers that don't cause build failures and fix CA1853 (#7889) 2022-10-06 15:47:25 +11:00
Lachlan Ennis 536e37c10b
Enable CA1852/CA1812 Analyzers (#7881) 2022-10-05 17:27:14 +11:00
gpetrou 863c45cb77
Use Microsoft.CodeAnalysis.NetAnalyzers instead of Microsoft.CodeAnalysis.FxCopAnalyzers (#7035)
* Use Microsoft.CodeAnalysis.NetAnalyzers instead of Microsoft.CodeAnalysis.FxCopAnalyzers

* Enable and fix CA1840 warnings

* Enable and fix CA1845 warnings

* Enable and fix CA1846 warnings

* Enable and fix CA2251 warnings
2022-04-18 14:02:17 -07:00
gpetrou 2bb30de28b
Switch to using globalconfig instead of ruleset for analyzer configuration (#7000) 2022-04-14 23:57:31 -07:00