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

Aug 28, 2014 at 10: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.
Coordinator
Aug 28, 2014 at 10:55 PM
Yes - PTVS understands the common assert isinstance(x, T) pattern.
Aug 29, 2014 at 12:21 AM
Thankyou - that helps somewhat.