invalid - Argument type _____ is not assignable to parameter type ____

I have an inheritance structure of:

A : B : C

I am supplying a typeof(A) to a method that accepts a parameter of typeof(C).

R# apparently is not respecting the inheritance chain and is only looking at the first ancestor.

R# 6.1 Windows 7 x64 12GB ram VS2010 Ultimate SP1.

Comment actions Permalink

Any feedback on this?

Andrey Serebryansky
Comment actions Permalink

Hello Chris
     I'm afraid I wasn't able to reproduce this behavior. Could you please attach a small repro solution? Thank you!

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

"Develop with pleasure!"


Please sign in to leave a comment.