roslynator
roslynator copied to clipboard
Roslynator is a set of code analysis tools for C#, powered by Roslyn.
``` Warning (active) AD0001 Analyzer 'Roslynator.CSharp.Analysis.InvocationExpressionAnalyzer' threw an exception of type 'System.NullReferenceException' with message 'Object reference not set to an instance of an object.'. Exception occurred with following context: Compilation:...
Having a project without GenerateDocumentationFile property set to true and RCS0036 active shows an error. **Steps to reproduce** 1. Have the GenerateDocumentationFile missing or set to false in the csproj...
In version 4.12.11 I have RCS1169 turned off because it's similar to IDE0044. However I'm still getting the message. Config is: ``` dotnet_diagnostic.rcs1169.severity = none # same as IDE0044 ```
Hi, I thought parameters starting with `_` would be tolerated (i.e. would not raise an error) as of https://github.com/dotnet/roslynator/issues/244 / https://github.com/dotnet/roslynator/commit/0001c0c2063744809298ad824a3d351882c5c057 . There's even a test at the end of...
Hi I'm using `RCS1213` with `roslynator_suppress_unity_script_methods = true` and it works nicely, but it looks like `OnRectTransformDimensionsChange` is not part of the list of methods that are detected as Unity...
I have a project which is multi-targeted to .NET 4.7.2 and .NET 8. However, I am seeing Roslynator analyzer suggestions that are only valid for one of the target frameworks....
I have been trying to get `roslynator analyze Solution.sln` to work, and I'm just stuck with this error. any help would surely be appreciated. The Solution builds and finds the...
Analyzer documentation should note the reason it has been invoked: Performance / Convention / Reusability etc.