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

Report diagnostics for bad opt-in marshallers at MarshalUsing use-site if the marshaler is in a different compilation than the current compilation. #1300

Conversation

jkoritzinsky
Copy link
Member

Ensures that we still provide diagnostics for custom native type marshallers even if the marshaller lives in a different assembly.

…e if the marshaler is in a different compilation than the current compilation.
@jkoritzinsky jkoritzinsky added the area-DllImportGenerator Source Generated stubs for P/Invokes in C# label Jul 6, 2021
@jkoritzinsky jkoritzinsky merged commit d4b5fd0 into dotnet:feature/DllImportGenerator Jul 7, 2021
@jkoritzinsky jkoritzinsky deleted the diagnostic-location-tests branch July 7, 2021 18:54
jkoritzinsky added a commit to jkoritzinsky/runtime that referenced this pull request Sep 20, 2021
…e if the marshaler is in a different compilation than the current compilation. (dotnet/runtimelab#1300)

Commit migrated from dotnet/runtimelab@d4b5fd0
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.

2 participants