StyleCop / StyleCop.ReSharper

Official ReSharper extension for StyleCop
163 stars 29 forks source link

Generic Type Aliases removed #35

Open DanLatimer opened 4 years ago

DanLatimer commented 4 years ago

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.