Meziantou.Analyzer icon indicating copy to clipboard operation
Meziantou.Analyzer copied to clipboard

A Roslyn analyzer to enforce some good practices in C#.

Results 24 Meziantou.Analyzer issues
Sort by recently updated
recently updated
newest added

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...

dependencies
.NET

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...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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` | |...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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` | [![age](https://developer.mend.io/api/mc/badges/age/nuget/Microsoft.CodeAnalysis.Analyzers/3.3.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

stale

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...

stale

**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...

enhancement
help wanted

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...