dotnet / dotnet/roslynator

Change RCS1010 behaviour for types with three characters or less.

Open
#82 1 comment 0 reactions 0 assignees View on GitHub
Analyzer Options Area-Analyzers Blocked Feature Request
Dominant language
C#
Stars
3.5k
Forks
294
Avg merge
2h 30m
Merged PRs (30d)
4

Description

Some types use less than three characters. One example is generics, where it's not uncommon to see ``, `` etc.

Roslynator currently suggests that code such as `T foo = bar as T;` should use `var` as a simplification.
My suggestion is to not display RCS1010 in such scenarios.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.