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 152 roslynator issues
Sort by recently updated
recently updated
newest added

RCS1051a now excludes only single token statements. It would be nice to also exclude (including chained) property access and method calls. In general, everything that don't have a relational operator....

**Product and Version Used**: Roslynator.Commandline 0.1.0 **Steps to Reproduce**: Create an empty console project. Add `.editorconfig` with `csharp_prefer_braces = true:error`. Add line in the code violating this rule. Run roslynator...

**Product and Version Used**: rosylnator, 2019 **Steps to Reproduce**: string testString = "123 test"; testString.Replace("123", ""); output(testString); **Actual Behavior**: no warning that "Return value of pure method is not used"...

Feature Request
Area-Analyzers

**Product and Version Used**: VS2019 enterprise, 16.7.6 Roslynator version 3.0.1 **Steps to Reproduce**: often when I add a parameter to a constructor, press ALT-ENTER to get refactor suggestions : VS2019...

Bug
Area-Analyzers

I installed the VSCode extension after looking for something that would enforce a style for my project's code, but I have found the documentation to be lacking in terms of...

Documentation

The analyzer docs contain the same info you can find inside of visual studio, so clicking to see more details of any RCS number serves no practical purposes at the...

Documentation

Suppose we have an old code like this (belongs to .NET 1x): ```C# namespace SimpleParser { public class IanaEncodings { private static readonly Hashtable _map = new Hashtable(); static IanaEncodings()...

Feature Request

**Product and Version Used**: v3.0.0 from Visual Studio Marketplace **Steps to Reproduce**: Install Roslynator and use Visual Studio Code with environment variable `%OMNISHARPHOME%` set to any location besides `~/` **Actual...

Help Wanted
VS Code

Consider the following code sample: ```csharp public class A { public virtual void DoX() { } public virtual void DoY() { } } public class B : A { public...

**Steps to Reproduce**: ```csharp interface Foo { bool? Get(); } class Bar { void DoStuff(Foo foo) { var x = foo.Get().Value; } } ``` **Actual Behavior**: RCS1202 Avoid NullRef not...