- Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
area-Interop-coreclrbreaking-changeIssue or PR that represents a breaking API or functional change over a prerelease.Issue or PR that represents a breaking API or functional change over a prerelease.
Milestone
Description
Currently both Mono and CoreCLR have logic to probe for functions ending in W (Unicode) or A (Ansi) when resolving P/Invoke targets.
This doesn't really make sense on non-Windows platforms where such a convention doesn't exist.
From discussion with @jkotas:
CoreCLR does the W/A probing today even on non-Windows. I do not think it makes any sense. I would be ok with doing a breaking change for CoreCLR to remove this probing on non-Windows to make more sensible cross-plat behavior.
AaronRobinsonMSFT
Metadata
Metadata
Assignees
Labels
area-Interop-coreclrbreaking-changeIssue or PR that represents a breaking API or functional change over a prerelease.Issue or PR that represents a breaking API or functional change over a prerelease.