What is [DllImport(“QCall”)]?
I asked some people in the .Net team about this. QCalls are calls to native methods within the CLR runtime. They behave like other [DllImport]s, but they’re faster because they make specific (undocumented) assumptions about what the native methods do, so they can skip various marshalling and GC and exception checks. InternalCall is different; it’s … Read more