Mark, bug with importing namespaces

G

Guest

Guest
Archived from groups: rec.games.int-fiction (More info?)

Well, maybe this isn't really a "bug" per se. If I expand a template
that imports a specific namespace but the expansion is in a type
contained within that namespace, it gets added anyway. For example:

using System;

namespace DevExpress.CodeRush.Core
{
public class Test
{
public Test()
{
^
}
}
}

If I expand the "cr." template at the caret in the above code, a
"using DevExpress.CodeRush.Core;" statement will be added to the top
even though it is redundant.


----
Best Regards,
Dustin Campbell
Developer Express Inc.