Skip to content

Generic Type Aliases removed #35

@DanLatimer

Description

@DanLatimer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions