Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lars-erik opened this issue Feb 24, 2021 · 0 comments

Comments

@lars-erik
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant