roslynator icon indicating copy to clipboard operation
roslynator copied to clipboard

Roslynator is a set of code analysis tools for C#, powered by Roslyn.

Results 209 roslynator issues
Sort by recently updated
recently updated
newest added
trafficstars

Allow primary class constructor parameters to only be used to initialize fields/properties, and not inside methods. Since: - They cannot be made read-only. - It's not ideal for them to...

Feature Request
Area-Analyzers

**Product and Version Used**: 4.10.0 **Steps to Reproduce**: ``` csharp internal sealed class C { private readonly string? x; // RCS0012 private readonly string? y; public C(string x, string y)...

Feature Request
Analyzer Options
Area-Analyzers

**Product and Version Used**: 4.10.0 **Steps to Reproduce**: ``` init roslynator_object_creation_type_style = implicit_when_type_is_obvious roslynator_array_creation_type_style = implicit_when_type_is_obvious ``` ```csharp List strings = [ "1", "2", "3" ]; // RCS1250 var x...

## Summary At the beginning it seemed like a good idea to include analyzers in the IDE extensions. Analyzers were available in every project/solution without necessity reference in every project/solution....

Adds support for the following transformations: ``` OrderBy(...).FirstOrDefault() => MinBy(...) OrderByDescending(...).FirstOrDefault() => MaxBy(...) ``` Do not restrict Applying Demorgans laws to the cases when the inside of the All /...

If you use any of the Math functions like Math.Min() or Math.Cos() or Math.Abs() etc, and you are using floats for all the parameters, then you should probably be using...

Feature Request
Area-Analyzers
up-for-grabs

**Product and Version Used**: 4.3.0 **Steps to Reproduce**: See the list of available code actions on the call to `Square` in this snippet: ```csharp public static void Main() { var...

Feature Request
Area-Refactorings
up-for-grabs

Adds support for the following: ``` if(p){ return 1; } else if (q){ return 2; } ``` to ``` if(p){ return 1; } if(q){ return 2; } ```