CSharpEssentials icon indicating copy to clipboard operation
CSharpEssentials copied to clipboard

C# Essentials is a collection of Roslyn diagnostic analyzers, code fixes and refactorings that make it easy to work with C# 6 language features.

Results 21 CSharpEssentials issues
Sort by recently updated
recently updated
newest added

Hi, It would be great. Thanks.

expressions like the following are not converted properly - string.format("{0}", ((i > 0) ? "A" : "B"))

Do you have any plan to support Visual Studio 2017/VSIX v3? Some functionality in this analyzer was integrated into VS 2017, but some was not, e.g. CSE0003: "Consider using an...

-Add the analyzer and code fix classes -Add related unit tests -Modify readme.md to showcase the new feature The analyzer looks for cases like this: ``` c# if ( handle...

This is an enhancement request. # Overview It would be great to be able to very quickly being able to toggle (meaning adding or removing) the $ (dollar) in front...

I have a relatively old and relatively large codebase. I have disabled the CSE0003 warning because of the large amount of occurrences, but I change them manually whenever I edit...

I've got an ASP.NET Core project with some .cshtml files. CSE0002 is raised on the .cshtml file even though there is no code in the .cshtml file.

As mentioned on [Visual Studio Gallery](https://visualstudiogallery.msdn.microsoft.com/a4445ad0-f97c-41f9-a148-eae225dcc8a5#17785) datamembers properties cannot be turned into getter-only as this breaks deserialization. I encountered the issue while using `protobuf-net` and its `[ProtoContract]` attribute.

It doesn't appear to recognise String.Format as a refactoring in this case

![refactorbug1](https://cloud.githubusercontent.com/assets/1058562/11470122/a46f2290-975b-11e5-9ed7-300418f5cf4f.png) ![refactorbug2](https://cloud.githubusercontent.com/assets/1058562/11470123/a477adde-975b-11e5-829e-a423070e5f4b.png) Found in the [ASP.NET MVC](https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNet.Mvc.Core/Controllers/ControllerActionInvoker.cs#L114) codebase.

Bug