StyleCop / StyleCop.ReSharper

Official ReSharper extension for StyleCop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generic Type Aliases removed

DanLatimer opened this issue · comments

The StyleCop Resharper plugin is removing the generic types in my generic type alias. Even with all rules turned off, when I run the resharper "cleanup" with the only item in the cleanup tasks being the "fix stylecop violations" the cleanup removes the types on my generic alias:

namespace TG.Gateway.Tests.Translator.Victim
{
    using ExpectedActionsGenerator = Func<VictimScenario, InboundMessage, IReadOnlyCollection<VictimScenario.ExpectedCrossTrackeeAction>>;

is turned into

namespace TG.Gateway.Tests.Translator.Victim
{
    using ExpectedActionsGenerator = Func;

Which causes compilation errors.

If you could reproduce this issue or tell me how to disable this behaviour I'd be very appreciative.