Skip to content

Stack Overflow when implementing same interface in generated and partial class#252

Description

@lars-erik

https://twitter.com/bleedo/status/1337385709477502979

I didn't have the mentioned 30 min to debug, but we just hit it on another project, so I remembered I should log the issue. 馃懠

Example:

DocType.generated.cs:

public partial class DocType : ISomeComposition
{
}

DocType.partial.cs:

public partial class DocType : ISomeComposition
{
}

I dunno when we accidentally implement the same composition, but it happens, and a the Stack Overflow should be preventable by validating read classes in some way.

Soz for lack of effort on this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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