I do not think this is too pedantic, because the developer may have misunderstood what the keyword "ref" is suitable for. It should be used where absolutely necessary , indicating that the method will be guaranteed or, most likely, replace your link with something else - and not "just for fun."
Refresh
As for how to report this ... hmm, maybe maybe it depends on the motivation, why does he put ref on everything. If he thinks it will improve performance, run a small program using StopWatch.StartNew () and passing things into the method with and without ref . I have not tried, but I think that the difference in performance may lie in creating a new link, and this should be pretty darn little.
In addition, these functions should be used in the way they were intended, and express intention. When I see a method with ref or out parameters, I expect them to either completely change the passed instance, or the method will initialize the passed object accordingly. Not using these keywords for these purposes is just a way to confuse programmers, confusing method calls with unnecessary keywords and possibly setting up false expectations about the API used.
source share