Jakub Jareš
5e82d232be
Convert to auto property ( #10365 )
...
* Convert to auto property
* Another field
* revert
* suppress
2024-10-03 16:54:38 +02:00
Medeni Baykal
751b22dff2
Added net7 support. ( #3944 )
...
* Added net7 support.
* Rework nullability
* Remove unused directives
* Add pragma for directive used only under certain conditions
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
2022-08-25 11:40:30 +02:00
Amaury Levé
a31e406e7a
Enable some design rules that could be interesting ( #3875 )
...
* CA1000: Do not declare static members on generic types
* CA1051: Do not declare visible instance fields
* CA1010: Collections should implement generic interface
* CA1047: Do not declare protected members in sealed types
* CA1050: Declare types in namespaces
* CA1061: Do not hide base class methods
* CA1069: Enums should not have duplicate values
* CA1070: Do not declare event fields as virtual
* IDE0064: Make struct fields writable
2022-07-21 15:04:11 +02:00
Amaury Levé
cd1ad20fd5
CA1051: Do not declare visible instance fields ( #3859 )
2022-07-20 09:28:46 +00:00
Amaury Levé
4e75ec7288
CA1001: Types that own disposable fields should be disposable ( #3860 )
...
Co-authored-by: Marco Rossignoli <marco.rossignoli@gmail.com>
2022-07-19 15:54:16 +00:00
Amaury Levé
cc00a3f2ae
CA1018: Mark attributes with AttributeUsageAttribute ( #3865 )
2022-07-19 14:10:11 +00:00
Amaury Levé
d8bb4bf3df
IDE0060: Remove unused parameter ( #3854 )
2022-07-18 15:43:20 +02:00
Amaury Levé
c0e94c75b0
Enforce use of correct dispose pattern ( #3852 )
2022-07-15 16:31:47 +00:00
Amaury Levé
1eb80c2949
CA1822: Mark members as static ( #3853 )
2022-07-15 11:22:17 +02:00
Amaury Levé
b2e2126f1a
Enable culture analyzer and fix issues ( #3678 )
2022-07-11 11:48:29 +02:00
Amaury Levé
bda2fdaae5
Enable CA1824 - Mark assemblies with NeutralResourcesLanguageAttribute ( #3833 )
2022-06-30 08:59:02 +00:00
Amaury Levé
ff16d342e8
Enable nullables on all public API files ( #3808 )
2022-06-29 13:43:46 +02:00
Amaury Levé
12ed796fab
Improve how to retrieve process ID ( #3794 )
2022-06-22 10:52:17 +02:00
Amaury Levé
57b39a97a2
Revert usage of bang bang annotation ( #3691 )
2022-05-30 19:00:36 +02:00
Amaury Levé
cd2b63ed91
Move unshipped API to shipped ( #3584 )
2022-04-22 20:34:22 +02:00
Amaury Levé
900c8dcd60
IDE0055: Bump back to warning ( #3587 )
...
* IDE0055: Bump back to warning
* Apply suggestions from code review
2022-04-22 10:50:08 +02:00
Amaury Levé
7f3107eb89
Add reason about why tests are obsolete ( #3439 )
...
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
2022-03-04 13:55:52 +01:00
Amaury Levé
358b8b0121
CA1840: Use 'Environment.CurrentManagedThreadId' ( #3440 )
...
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
2022-03-04 10:18:46 +00:00
Amaury Levé
1539d8b6c2
Move usings outside namespace ( #3398 )
...
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
2022-02-23 09:51:54 +01:00
Amaury Levé
e72aa40663
Use !! null check ( #3341 )
...
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
Co-authored-by: nohwnd <me@jakubjares.com>
2022-02-14 09:17:55 +00:00
Amaury Levé
9e69e60a20
Enable more rules ( #3345 )
...
Enable more rules
2022-02-12 17:49:19 +00:00
Amaury Levé
40a46e3979
Enable pattern code style ( #3358 )
...
Enable pattern code style
2022-02-12 16:52:05 +00:00
Amaury Levé
2032c7b892
Enable even more rules ( #3356 )
...
Enable even more rules
2022-02-12 15:56:50 +00:00
Amaury Levé
cf2bd925e3
Run dotnet format whitespace ( #3307 )
...
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
2022-02-04 10:20:29 +00:00
Amaury Levé
0ed82db238
Enable some rules with no impact on public API ( #3299 )
...
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
2022-01-31 18:36:45 +01:00
Amaury Levé
361bf62c0b
Apply modern code styles ( #3264 )
...
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
Co-authored-by: nohwnd <me@jakubjares.com>
2022-01-28 11:05:28 +01:00