Meziantou.Analyzer
Meziantou.Analyzer copied to clipboard
A Roslyn analyzer to enforce some good practices in C#.
Bumps [Microsoft.CodeAnalysis.CSharp.Workspaces](https://github.com/dotnet/roslyn) from 3.8.0 to 4.3.0-3.final. Release notes Sourced from Microsoft.CodeAnalysis.CSharp.Workspaces's releases. .NET 7.0 Preview 5 Release .NET 7.0 Preview 2 Release .NET 7.0 Preview 1 Release .NET 6.0.1 Release...
It would be very useful for library authors to have a generalized version of MA0002, that would warn on anything missing the `IComparer` or `IEqualityComparer`. In a generic context, writing...
````c# sb.Append(string.Join(',', new [] { "a", "b" })); ```` Should be: ````c# sb.AppendJoin(',', new [] { "a", "b" }); ````
This PR adds an analyzer for detecting usages of the async/await pattern where the `Task` could be returned directly instead of awaiting it. I'm opening as draft, since I had...
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [Meziantou.Analyzer](https://togithub.com/meziantou/Meziantou.Analyzer) | nuget | patch | `1.0.730` -> `1.0.733` | |...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [Microsoft.CodeAnalysis.Analyzers](https://togithub.com/dotnet/roslyn-analyzers) | `3.3.3` -> `3.3.4` | [](https://docs.renovatebot.com/merge-confidence/)...
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. ## Open These updates have all been created already. Click a checkbox below to...
**Context** Rule identifier: _MA0076_ Target Framework: _.NET 6.0_ Language version: _10.0_ **Describe the bug** MA0076 will tell you to use `FormattableString.Invariant` but this interfears with MA0111 which tells you to...
Hi, I made an analyzer which detects instances of a `Task` which can be returned directly: https://github.com/CollinAlpert/ReturnTaskDirectlyAnalyzer I'd love more people to use it and was wondering if you'd be...