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

**Product and Version Used**: Roslynator 2.1.0 (with Microsoft Visual Studio Community 2017 (15.9.11) ) **Steps to Reproduce**: In a Unity3D Project I create/open a file containing a class that inherits...

Feature Request
Area-Analyzers

**Product and Version Used**: Roslynator Analyzers (New as-of 2.1.0) **Before** ```csharp Person person = // ... call that obtains a Person that could be null DoSomething( person?.FirstName, //

Feature Request
Area-Analyzers

Consider: ``` object locker = new object(); void LockedAction() { lock (locker) { // ... do something requiring locking... } } ``` But any code can reassign the value of...

Feature Request
Area-Analyzers

Some of the refactorings in Roslynator repeat already existing ones. I can imagine how much effort it would be but I think Roslynator should be reviewed after each released VS...

Area-Refactorings

RCS1097 isn't flagged on ```address.ToString()```. Is this a false negative? ```csharp using System.Net; using System.Text; namespace RCS1097_False_Negative { static class Class { static void M(IPAddress[] ipaddressarray) { StringBuilder addressList =...

Feature Request
Area-Analyzers

Since the `string.Format` method allows for an arbitrary number of format arguments it also accepts 0. However in case one provides zero arguments this is likely a mistake: string.Format("some-text here")...

Feature Request
Area-Analyzers

Hello, Nice extensions. Is here any plan to support rename namespace by folder structure? Thanks

Feature Request
Blocked

In some case the `String.Compare` where the result is checked for equality to zero could be replaced with `String.Equals`. At least the variants that take `string, string`: ``` String.Compare(a, b)...

Feature Request
Area-Analyzers

Hello, I'm starting to move an old full framework code to .NET standard 2.0 I created a new project, added one class to this project, now i'm trying to add...

At times I move class files between folders, It would be great if I could update the namespace to reflect the directory structure the file is placed in. I would...

Feature Request
Area-Refactorings