-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
User StoryA single user-facing feature. Can be grouped under an epic.A single user-facing feature. Can be grouped under an epic.area-Meta
Milestone
Description
With the Roslyn Analyzers we built in .NET 5, 6 and 7, we've found that developers benefit from analyzers that verify correct usage of .NET Libraries APIs. We plan to put more effort on adding valuable analyzers in .NET 8, we will continue working with the community to foster contributions into our collection of analyzers and code fixers.
Community contributors: If you'd like to work on one of the issues marked as "up for grabs", please add a comment directly on that issue asking to get it assigned to you. Please check the getting started guide for reference about how to start and what's need to be done.
Analyzers Planned for .NET 8
Approved analyzers
Other analyzer proposals that need to be prepared for API review
- Add [CallerMustBeUnsafe] attribute to denote APIs which should be called in an unsafe block #31354
- Warn about ArrayPool.Return without clearArray specified when T is not a value type or has references #71698
- Roslyn analyzer/fixer: Simplify invocations that receive a start/offset and a count/length #35981
- Analyzer proposal: EventSource log argument guarding #45215
- NonCopyable structs attribute and analyzer #50389
- Analyzer: Validate literal arguments to StringSyntaxAttribute parameters/members #64009
- Add analyzer for StringBuilder[int] indexer #64545
- [Analyzer]: Regex analyzers #68962
- Warnings for
in/readonly ref#77625 - [Analyzer] Lift arrays of literals to static fields #78398
cremor, mnrrnom, iSeiryu, poulinjulien and tesar-techdanmoseley, Eli-Black-Work, JensKrumsieck, luispaulorsl, N0D4N and 6 moredanmoseley, Hellevar, martincostello, 0xfeeddeadbeef and Rekkonnect
Metadata
Metadata
Assignees
Labels
User StoryA single user-facing feature. Can be grouped under an epic.A single user-facing feature. Can be grouped under an epic.area-Meta