You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LINQ statements always show the ReSharper warning "Too many chained references. This might be violating the law of Demeter)
Is there an easy way to avoid this warning, other than to "Disable with comment".
Another way would be to increase the value in the configuration. I can take another look at this and see if it is possible to know if the methods are chained via linq, but as already mentioned in the other issue, that could lead to other nasty side effects.
I changed the config value from 3 to 4 and the warning on the above example went away.
Am working on my other LINQ statements to try and get it down to 4. And it is actually is making my LINQ more readable and modular.
Thanks for this extension.
LINQ statements always show the ReSharper warning "Too many chained references. This might be violating the law of Demeter)
Is there an easy way to avoid this warning, other than to "Disable with comment".
This is a revisit of the issues mentioned below
hhariri#15
hhariri#20
#23
The text was updated successfully, but these errors were encountered: