roslyn-analyzers icon indicating copy to clipboard operation
roslyn-analyzers copied to clipboard

Collection of useful Roslyn analyzers and code fixes.

Results 7 roslyn-analyzers issues
Sort by recently updated
recently updated
newest added

This doesn't trigger the analyzer: ```c# // AssignAll enable Foo r = new() { Id = , AddedDate = , ModifiedDate = }; // AssignAll disable ``` But this does:...

Magic comments like `// AssignAll enable` is a bit off-putting. It would be more natural and discoverable with: ```c# [AssignAll] public PersonDto ToDto(Person entity) { return new PersonDto { FullName...

enhancement
help wanted

Compile error if an enum value does not have a case-statement.

enhancement
help wanted

Relates to #2 . It would be helpful to get a compile error if a particular property is not accessed in an assert section of a unit test. This helps...

enhancement
help wanted

I tested the analyzer and realized that it does ignore inheritance. Given the following Code ``` public class Base { public int A { get; set; } } public class...

Hi, i wonder if it would be possible to add/adapt the analyzer to also check called Methods. For Example: ``` abstract class MapperBase { //AssignAllDeep enable public abstract TTarget Map(TSource...

Mostly to see if there are improvements in the structure.