Skip to content

Conversation

AdmiralSnyder
Copy link
Contributor

Updated documentation to recommend using LibraryImportAttribute.

Summary

Describe your changes here.

Fixes #Issue_Number (if available)

Updated documentation to recommend using LibraryImportAttribute.
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Sep 5, 2025
@AdmiralSnyder AdmiralSnyder deleted the patch-2 branch September 5, 2025 11:13
@AdmiralSnyder AdmiralSnyder restored the patch-2 branch September 5, 2025 11:14
@AdmiralSnyder
Copy link
Contributor Author

sorry, i was confused, because i thought i had just edited the docs for the ctor, so i closed the PR. but then I reconsidered. i think the link to LibraryImport should also be in the constructor's page (probably further up), since that's the one people find when they hit F1 in VS. and then i noticed that this is indeed the docs file for all things.

So the link to LibraryImport should also be put at each ctor, imo.

@AdmiralSnyder AdmiralSnyder reopened this Sep 5, 2025
@jkoritzinsky
Copy link
Member

Thank you!

@jkoritzinsky jkoritzinsky merged commit 9654822 into dotnet:main Sep 5, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Runtime.InteropServices community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants