Josef Pihrt

Results 213 comments of Josef Pihrt

That would mean to read and parse csproj file every time a refactoring is computed (every time before it is displayed in the context menu).

Hi, such rule can be definitely implemented but is it really useful to put named arguments everywhere?

Ok, I will ask more precisely: What is the real use case for this kind of a rule. I'm asking because I would like to avoid implementing a rule that...

@ryanbuening I think it would be possible to suppress the diagnostic if a class is derived from `ComponentBase`. Can you please create a new issue for it?

> What about when we don't have a razor file and are defining the component entirely in c#? In that case you have to suppress diagnostic or disable the analyzer.

Could you provide an example?

The purpose of this analyzer is to prevent boxing and the boxing will occur if the `ToString` call is missing. The compiler will convert the code to: ```cs string.Format("Test foo...

I agree that this feature is already available as a part of "code cleanup". It could be provided as a Roslynator analyzer but it would need to load options from...

You can also run this script to generate editorconfig with default values: https://github.com/JosefPihrt/Roslynator/blob/master/tools/generate_default_editorconfig.cmd