jbogard / MediatR

Simple, unambitious mediator implementation in .NET
Apache License 2.0
10.91k stars 1.16k forks source link

Applied the newer code analysis rules. #952

Closed jscarle closed 7 months ago

jscarle commented 11 months ago

Starting with .NET 5, there are new code analysis rules being shipped with each release of the .NET SDK.

Since they're mostly straightforward fixes, I addressed the following rules:

Due to the nature of the project, some rules wouldn't make sense, therefore I muted the following rules:

I also did a minor cleanup of small warnings. Each step was done as a separate commit to facilitate the code review.

github-actions[bot] commented 10 months ago

This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 14 days.

jscarle commented 10 months ago

@jbogard Can you take a look a this when you have a moment?

github-actions[bot] commented 9 months ago

This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 14 days.

jscarle commented 9 months ago

I can't seem to remove the stale tag.

jbogard commented 9 months ago

The Contracts project can't be changed. Or at least, these changes aren't critical enough for me to update a package I've said will never be changed 🤣

jscarle commented 9 months ago

@jbogard Sorry about that, it was an oversight on my end. I've removed any changes to the Contracts project.

github-actions[bot] commented 8 months ago

This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 14 days.

github-actions[bot] commented 7 months ago

This PR was closed because it has been stalled for 14 days with no activity.