diff options
author | Fan Yang <52458914+fanyang-mono@users.noreply.github.com> | 2020-02-22 03:27:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-22 03:27:09 +0300 |
commit | 041fbe0900a397b7826693033d1ce34c56fabd82 (patch) | |
tree | 3007431e070271028cf990199016bbae86e7f090 /mcs | |
parent | 7707eda633358b3036a227add9c809cb40d19a67 (diff) |
Revert linker change of 5a65a97 (#18991)
This is needed because the required='false' field in
```
<type fullname="System.Reflection.Emit.TypeBuilder" required='false' preserve="fields" feature="sre">
<method name="SetCharSet" feature="sre" />
<!-- reflection.c mono_reflection_call_is_assignable_to () -->
<method name="IsAssignableTo" feature="sre" />
```
Fails to preserve the IsAssignableTo method.
Diffstat (limited to 'mcs')
-rw-r--r-- | mcs/class/corlib/LinkerDescriptor/mscorlib.xml | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/mcs/class/corlib/LinkerDescriptor/mscorlib.xml b/mcs/class/corlib/LinkerDescriptor/mscorlib.xml index e486ff9df7d..cc06dbfe9e8 100644 --- a/mcs/class/corlib/LinkerDescriptor/mscorlib.xml +++ b/mcs/class/corlib/LinkerDescriptor/mscorlib.xml @@ -630,28 +630,28 @@ <method signature="System.Void .ctor(System.String)" /> </type> - <type fullname="System.Reflection.Emit.AssemblyBuilder" preserve="fields" required="false" feature="sre" /> - <type fullname="System.Reflection.Emit.ConstructorBuilder" preserve="fields" required="false" feature="sre"/> - <type fullname="System.Reflection.Emit.DynamicMethod" preserve="fields" required="false" feature="sre" /> + <type fullname="System.Reflection.Emit.AssemblyBuilder" preserve="fields" feature="sre" /> + <type fullname="System.Reflection.Emit.ConstructorBuilder" preserve="fields" feature="sre"/> + <type fullname="System.Reflection.Emit.DynamicMethod" preserve="fields" feature="sre" /> <!-- mono_dynamic_image_register_token --> - <type fullname="System.Reflection.Emit.EnumBuilder" preserve="fields" required="false" feature="sre" /> - <type fullname="System.Reflection.Emit.EventBuilder" preserve="fields" required="false" feature="sre" /> - <type fullname="System.Reflection.Emit.FieldBuilder" preserve="fields" required="false" feature="sre" /> + <type fullname="System.Reflection.Emit.EnumBuilder" preserve="fields" feature="sre" /> + <type fullname="System.Reflection.Emit.EventBuilder" preserve="fields" feature="sre" /> + <type fullname="System.Reflection.Emit.FieldBuilder" preserve="fields" feature="sre" /> <type - fullname="System.Reflection.Emit.GenericTypeParameterBuilder" preserve="fields" required="false" feature="sre" /> + fullname="System.Reflection.Emit.GenericTypeParameterBuilder" preserve="fields" feature="sre" /> <type fullname="System.Reflection.Emit.ILExceptionBlock" preserve="fields" feature="sre" /> <type fullname="System.Reflection.Emit.ILExceptionInfo" preserve="fields" feature="sre" /> - <type fullname="System.Reflection.Emit.ILGenerator" preserve="fields" required="false" feature="sre" /> - <type fullname="System.Reflection.Emit.LocalBuilder" preserve="fields" required="false" feature="sre" /> - <type fullname="System.Reflection.Emit.MethodBuilder" preserve="fields" required="false" feature="sre" /> - <type fullname="System.Reflection.Emit.ModuleBuilder" preserve="fields" required="false" feature="sre"> - </type> - <type fullname="System.Reflection.Emit.MonoResource" preserve="fields" required="false" feature="sre" /> - <type fullname="System.Reflection.Emit.MonoWin32Resource" preserve="fields" required="false" feature="sre" /> - <type fullname="System.Reflection.Emit.ParameterBuilder" preserve="nothing" required="false" feature="sre" /> - <type fullname="System.Reflection.Emit.PropertyBuilder" preserve="nothing" required="false" feature="sre" /> - <type fullname="System.Reflection.Emit.SignatureHelper" preserve="nothing" required="false" feature="sre" /> - <type fullname="System.Reflection.Emit.TypeBuilder" preserve="fields" required="false" feature="sre"> + <type fullname="System.Reflection.Emit.ILGenerator" preserve="fields" feature="sre" /> + <type fullname="System.Reflection.Emit.LocalBuilder" preserve="fields" feature="sre" /> + <type fullname="System.Reflection.Emit.MethodBuilder" preserve="fields" feature="sre" /> + <type fullname="System.Reflection.Emit.ModuleBuilder" preserve="fields" feature="sre"> + </type> + <type fullname="System.Reflection.Emit.MonoResource" preserve="fields" feature="sre" /> + <type fullname="System.Reflection.Emit.MonoWin32Resource" preserve="fields" feature="sre" /> + <type fullname="System.Reflection.Emit.ParameterBuilder" preserve="nothing" feature="sre" /> + <type fullname="System.Reflection.Emit.PropertyBuilder" preserve="nothing" feature="sre" /> + <type fullname="System.Reflection.Emit.SignatureHelper" preserve="nothing" feature="sre" /> + <type fullname="System.Reflection.Emit.TypeBuilder" preserve="fields" feature="sre"> <method name="SetCharSet" feature="sre" /> <!-- reflection.c mono_reflection_call_is_assignable_to () --> <method name="IsAssignableTo" feature="sre" /> @@ -660,12 +660,12 @@ <method name="DefineCustom" feature="sre" /> <method name="DefineLPArrayInternal" feature="sre" /> </type> - <type fullname="System.Reflection.Emit.ArrayType" preserve="fields" required="false" feature="sre" /> - <type fullname="System.Reflection.Emit.ByRefType" preserve="fields" required="false" feature="sre" /> - <type fullname="System.Reflection.Emit.PointerType" preserve="fields" required="false" feature="sre" /> - <type fullname="System.Reflection.Emit.FieldOnTypeBuilderInst" preserve="fields" required="false" feature="sre" /> - <type fullname="System.Reflection.Emit.MethodOnTypeBuilderInst" preserve="fields" required="false" feature="sre" /> - <type fullname="System.Reflection.Emit.ConstructorOnTypeBuilderInst" preserve="fields" required="false" feature="sre" /> + <type fullname="System.Reflection.Emit.ArrayType" preserve="fields" feature="sre" /> + <type fullname="System.Reflection.Emit.ByRefType" preserve="fields" feature="sre" /> + <type fullname="System.Reflection.Emit.PointerType" preserve="fields" feature="sre" /> + <type fullname="System.Reflection.Emit.FieldOnTypeBuilderInst" preserve="fields" feature="sre" /> + <type fullname="System.Reflection.Emit.MethodOnTypeBuilderInst" preserve="fields" feature="sre" /> + <type fullname="System.Reflection.Emit.ConstructorOnTypeBuilderInst" preserve="fields" feature="sre" /> <!-- exception.c: mono_get_exception_runtime_wrapped () --> <type fullname="System.Runtime.CompilerServices.RuntimeWrappedException"> |