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

Require that methods marked with GeneratedDllImport are in types that are marked partial and any parents of their containing types are also marked partial. #1091

Conversation

jkoritzinsky
Copy link
Member

Fixes #1088

… are marked partial and any parents of their containing types are also marked partial.
@jkoritzinsky jkoritzinsky added the area-DllImportGenerator Source Generated stubs for P/Invokes in C# label May 7, 2021
@jkoritzinsky jkoritzinsky linked an issue May 7, 2021 that may be closed by this pull request
@jkoritzinsky jkoritzinsky merged commit 53af4b5 into dotnet:feature/DllImportGenerator May 21, 2021
@jkoritzinsky jkoritzinsky deleted the nested-partial-class-validation branch May 21, 2021 18:36
jkoritzinsky added a commit to jkoritzinsky/runtime that referenced this pull request Sep 20, 2021
… are marked partial and any parents of their containing types are also marked partial. (dotnet/runtimelab#1091)

Commit migrated from dotnet/runtimelab@53af4b5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-DllImportGenerator Source Generated stubs for P/Invokes in C#
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DllImportGenerator] warn on non-partial class's parents
3 participants