[324] Code reformatter bug with generic type definition types...

When reformatting the minimal code sample below, a generic type parameter
"T" is incorrectly added between the generic parenthesis of ICollection.
Note that this only happens to the first instance of <> found in the class
and only occurs if both the "optimize usings" and "shorten references"
options are specified.

using System;
using System.Collections.Generic;

public class TestClass
{
public Type TestProperty
{
get { return typeof (ICollection<>); }
}
}


Nato


1 comment
Comment actions Permalink

Hello,

We appreciate your feedback.

The corresponding JIRA request has been created, and you are welcome to monitor
its status at http://www.jetbrains.net/jira/browse/RSRP-34373.

Best regards,
- Development Team.


0

Please sign in to leave a comment.