Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Stub generation leading to uncompilable code with a certain form of event handlers #7

@bcassell

Description

@bcassell

When I have events/delegates like the following:

public delegate void ColorsUpdatedHandler(string primaryColor, string secondaryColor, string tertiaryColor);

public interface IAppServices
{
    event ColorsUpdatedHandler ColorsUpdated;
    ...
}

the code generation is confused by the delegate declaration. It seems to be expecting something like, handler(object sender, EventArgs args), rather than the actual delegate declaration.

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