Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET CLR InternalCall

Tags:

c#

.net

clr

Is there a way to host the .NET CLR runtime and register MethodImplOptions.InternalCall functions? (This is not a topic about P/Invoke)

like image 980
jameszhao00 Avatar asked Aug 23 '09 05:08

jameszhao00


1 Answers

SSCLI code (specifically clr\src\vm\ecall.cpp) suggests that there is no way to register InternalCall methods, because the crucial gECClasses table is hardcoded.

like image 154
Anton Tykhyy Avatar answered Sep 25 '22 17:09

Anton Tykhyy