StyleCop.ReSharper icon indicating copy to clipboard operation
StyleCop.ReSharper copied to clipboard

Generic Type Aliases removed

Open DanLatimer opened this issue 6 years ago • 0 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.

DanLatimer avatar Mar 16 '20 17:03 DanLatimer