Skip to content

Instantly share code, notes, and snippets.

@rolfbjarne
Created August 24, 2016 12:23
Show Gist options
  • Select an option

  • Save rolfbjarne/26b77f5935a2df47647335b1348dfe9f to your computer and use it in GitHub Desktop.

Select an option

Save rolfbjarne/26b77f5935a2df47647335b1348dfe9f to your computer and use it in GitHub Desktop.
diff --git a/tools/linker/Descriptors/mscorlib.xml b/tools/linker/Descriptors/mscorlib.xml
index df6352c..72a3777 100644
--- a/tools/linker/Descriptors/mscorlib.xml
+++ b/tools/linker/Descriptors/mscorlib.xml
@@ -808,6 +808,7 @@
<!-- by convention (and see #34671) -->
<type fullname="Mono.Runtime" />
+ <type fullname="Mono.RuntimeStructs" preserve="fields" />
<!-- marshal.c (mono_marshal_get_native_wrapper) -->
<type fullname="Mono.RuntimeStructs/HandleStackMark" />
<!-- marshal.c (mono_marshal_get_native_wrapper) -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment