diff options
author | Jeremy Koritzinsky <jkoritzinsky@gmail.com> | 2018-12-06 09:56:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-06 09:56:21 -0800 |
commit | 5955967d808d1d88ef927235276d3ca82b5d9363 (patch) | |
tree | 01eac29f273a440508969afecae331410aa6f63f /src/vm/classnames.h | |
parent | 045f470f71cfcedf3eb7ff248f25bf29619d9a88 (diff) | |
download | coreclr-5955967d808d1d88ef927235276d3ca82b5d9363.tar.gz coreclr-5955967d808d1d88ef927235276d3ca82b5d9363.tar.bz2 coreclr-5955967d808d1d88ef927235276d3ca82b5d9363.zip |
Port CustomMarshalers.dll to C# and .NET Core (#21343)
* Import CustomMarshalers from corefx PR.
* Add tests for marshalling IEnumerator and IEnumerable using the System.Runtime.InteropServices.CustomMarshalers.
* Verify that the marshaller is used in the managed -> native direction in the tests.
* Remove #if's
* PR Feedback.
* Move ComHelpers.h into interop common headers.
* Add some template machinery to ensure that we don't accidentally pass in an incorrect type into DoQueryInterface.
* Add VariantClear
* Make marshalers internal and root them in ILLinkTrim.xml
* Revert enable-if machinery.
* Add tests for the pass-through unwrapping done by the EnumeratorToEnumVariantMarshaler.
* Remove some of my helper code.
* Added todo about exposing EnumerableToDispatchMarshaler.
* PR Feedback.
* Removed the last placement new.
* Use the runtime hooks to enable us to not have to publically expose the custom marshalers.
* Remove out of date comments.
Diffstat (limited to 'src/vm/classnames.h')
-rw-r--r-- | src/vm/classnames.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vm/classnames.h b/src/vm/classnames.h index f7b0ce7596..cb71df362a 100644 --- a/src/vm/classnames.h +++ b/src/vm/classnames.h @@ -27,6 +27,7 @@ #ifdef FEATURE_COMINTEROP #define g_ECMAKeyToken "B77A5C561934E089" // The ECMA key used by some framework assemblies: mscorlib, system, etc. #define g_FXKeyToken "b03f5f7f11d50a3a" // The FX key used by other framework assemblies: System.Web, System.Drawing, etc. +#define g_CorelibAsmName "System.Private.CoreLib" #define g_SystemAsmName "System" #define g_SystemRuntimeAsmName "System.Runtime" #define g_DrawingAsmName "System.Drawing" |