8 votesJon Smit shared this idea ·
3,388 votesJon Smit commented
I used to support this idea, but after seeing code in another language that was difficult to edit because it had this, I no longer support this idea. A solution most of the time is to pass in a extra argument for construction the object T, for example "public void DoSomething<T>(Func<string, int, T> Constructor)".
We are currently evaluating whether we can include this feature in a future version of Visual Studio – thank you for your feedback!
Program Manager, Visual Studio Editor Team
111 votesJon Smit commented
Automation should always be optional with fine grained control over its optionality.