How do I remove a unused generic type in a method?

"T2 arg2" is a unused parameter, and i remove it.

public void Method1<T1,T2,TOut>(T1 arg1, T2 arg2, TOut arg3) {}

but "T2" still in signature.

public void Method1<T1,T2,TOut>(T1 arg1, TOut arg3) {}

Is this possible, or am I missing something obvious?

Thank you!

1 comment
Comment actions Permalink
Official comment

Hello,

 

Here's a similar issue reported - https://youtrack.jetbrains.com/issue/RSRP-15856/.

You are welcome to comment or vote for it.

Thank you.

Please sign in to leave a comment.