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

Improve diagnostics messages for invalid custom native type marshalling and cyclical element info. #1306

Conversation

jkoritzinsky
Copy link
Member

Use custom resource messages to make the diagnostics more localizable.

Further improvements can come once #1299 is in, since it includes more diagnostics validation for the remaining cases.

@jkoritzinsky jkoritzinsky added the area-DllImportGenerator Source Generated stubs for P/Invokes in C# label Jul 7, 2021
Co-authored-by: Elinor Fung <elfung@microsoft.com>
@jkoritzinsky jkoritzinsky merged commit cd18bc4 into dotnet:feature/DllImportGenerator Jul 9, 2021
@jkoritzinsky jkoritzinsky deleted the better-invalid-marshalinfo-messages branch July 9, 2021 17:04
jkoritzinsky added a commit to jkoritzinsky/runtime that referenced this pull request Sep 20, 2021
…ng and cyclical element info. (dotnet/runtimelab#1306)

Co-authored-by: Elinor Fung <elfung@microsoft.com>

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