Skip to content

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

Open
@lars-erik

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.

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