c#9 Type targeted new expressions


Is support for type targeted new expressions coming soon?

Eg in R# 2020.2.4, the following code:

    MyType myInstance = new(); 

gives the error

    Cannot convert the initializer type '???' to target type 'MyNamespace.MyType'


1 comment
Comment actions Permalink

Hello, Alan Davis! Please try installing the latest [R# 2020.3 EAP10](https://www.jetbrains.com/resharper/nextversion/#section=windows).

Also this week we are going to release 2020.3. Please let me know if you have any questions.


Please sign in to leave a comment.