Object initializer completion


I think R# should only show properties and fields in autocompletion list when using C# 3.0 object initializer syntax.

MyType obj = new MyType { // R# lists every possible thing

There can only be a property or field of MyType going on here, so the list should be restricted to them.
It is the only thing Visual Studio intellisense do better than ReSharper, and should in my opinion, be corrected, because it is useless the way it is at the moment with hundreds of things listed.

Thank you for reading me, I hope this will be fixed.

Julien Lebosquain

Edited by: MrJul on Apr 12, 2008 5:43 PM

Please sign in to leave a comment.