This project has moved. For the latest updates, please go here.

Possible to "cast" a method parameter for Intellisense to "read" it?

Aug 28, 2014 at 9:18 PM
When passing a parameter to a method, inside the method body is it possible to tell Intellisense in some way that this is an instance of a particular class?

I know that this is a limitation of dynamic typing but I thought I would ask anyway.
Aug 28, 2014 at 9:55 PM
Yes - PTVS understands the common assert isinstance(x, T) pattern.
Aug 28, 2014 at 11:21 PM
Thankyou - that helps somewhat.