Return value of pure method is not used - fails to flag method with out parameter

I'm using R# 2017.1.1 
If I have a method 

[Pure]
int MyPureMethod()

it will correctly be flagged by the inspection as unused if the return value is not used. However if it is

[Pure]
int MyPureMethod(out int anotherResult)

Are all methods with out parameters excluded from this inspection? Is there any way I can work around this (short of combining the return+out result into a combined return value - which isn't an option)?



0
1 comment

Helo Anders!

 

Thank you for contacting us.

Corresponding feature request is reported here - https://youtrack.jetbrains.com/issue/RSRP-189190

You are welcome to comment or vote for it.

Thank you.

0

Please sign in to leave a comment.