Limited Object Initializer recognition
Hi,
I have the following code with a nice suggestion from ReSharper
Applying the suggestion will give the following code:
ReSharper should have know that the second part of the code could also be included in the Object Initialization. By manually moving the last 4 lines under the first line the code becomes:
Applying the suggestion now gives the following result:
Have a nice Day!
Please sign in to leave a comment.