Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Koritzinsky <jekoritz@microsoft.com>2021-03-27 04:53:10 +0300
committerGitHub <noreply@github.com>2021-03-27 04:53:10 +0300
commit01d724c1bd1ba9a21a307ee10f881be26f443dd8 (patch)
treefba29d035aff899bcbf9fa4b7ff3e9755a82ceb4 /src/coreclr/dlls
parentbb25166a1dc4610777d865e735e53783e846e91a (diff)
Add CoreCLR implementation of CallConvMemberFunction. (#47828)
* Add CoreCLR implementation of CallConvMemberFunction. * Add tests and make a few fixes to get them passing. * Fix Clang build * Fix argument ordering for calling a cdecl or stdcall instance method from managed. * Update src/coreclr/dlls/mscorrc/mscorrc.rc Co-authored-by: Jan Kotas <jkotas@microsoft.com> * Fix UnmanagedCallersOnly instance method calls for stdcall and cdecl. * Update issues.targets. * Fix formatting. * Add dummy param to validate param order. Rewrite traversal to second-to-last argument. * Merge implementations of call conv modopt name comparison. Use a macro-based implementation initially since it allows us to add new calling conventions by adding one line and the macro-ized code is relatively small. * Fix assignment alignment. * SAL and contracts. * Add assert * Fix UnmanagedCallersOnly parsing in the refactored parser. Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Diffstat (limited to 'src/coreclr/dlls')
-rw-r--r--src/coreclr/dlls/mscorrc/mscorrc.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coreclr/dlls/mscorrc/mscorrc.rc b/src/coreclr/dlls/mscorrc/mscorrc.rc
index e51040030dd..a2a7b0ebefe 100644
--- a/src/coreclr/dlls/mscorrc/mscorrc.rc
+++ b/src/coreclr/dlls/mscorrc/mscorrc.rc
@@ -413,7 +413,7 @@ BEGIN
IDS_INVALID_REDIM "Illegal attempt to replace or redimension a fixed or locked SafeArray."
- IDS_INVALID_PINVOKE_CALLCONV "Invalid unmanaged calling convention: must be one of stdcall, cdecl, or thiscall."
+ IDS_INVALID_PINVOKE_CALLCONV "Unsupported unmanaged calling convention."
IDS_CLASSLOAD_NSTRUCT_EXPLICIT_OFFSET "Could not load type '%1' from assembly '%2' because field '%3' was not given an explicit offset."
IDS_WRONGSIZEARRAY_IN_NSTRUCT "Type could not be marshaled because the length of an embedded array instance does not match the declared length in the layout."