+++ /dev/null
-<linker>
- <assembly fullname="System.Linq.Expressions">
- <type fullname="System.Linq.Expressions.Interpreter.LightLambda">
- <!-- required by debugger -->
- <method name="get_DebugView" />
- </type>
- <!-- accessed via reflection -->
- <type fullname="System.Dynamic.UpdateDelegates" />
- <type fullname="System.Linq.Expressions.Interpreter.ActionCallInstruction*">
- <!-- instantiated via reflection -->
- <method name=".ctor" />
- </type>
- <type fullname="System.Linq.Expressions.Interpreter.FuncCallInstruction*">
- <!-- instantiated via reflection -->
- <method name=".ctor" />
- </type>
- </assembly>
-</linker>
\ No newline at end of file
using System.Dynamic;
using System.Dynamic.Utils;
using System.Reflection;
+using System.Runtime.CompilerServices;
using System.Threading;
namespace System.Linq.Expressions.Interpreter
#endif
#if FEATURE_DLG_INVOKE
+ [PreserveDependency(".ctor", "System.Linq.Expressions.Interpreter.ActionCallInstruction")]
+ [PreserveDependency(".ctor", "System.Linq.Expressions.Interpreter.ActionCallInstruction`1")]
+ [PreserveDependency(".ctor", "System.Linq.Expressions.Interpreter.ActionCallInstruction`2")]
+ [PreserveDependency(".ctor", "System.Linq.Expressions.Interpreter.ActionCallInstruction`3")]
+ [PreserveDependency(".ctor", "System.Linq.Expressions.Interpreter.ActionCallInstruction`4")]
+ [PreserveDependency(".ctor", "System.Linq.Expressions.Interpreter.FuncCallInstruction`1")]
+ [PreserveDependency(".ctor", "System.Linq.Expressions.Interpreter.FuncCallInstruction`2")]
+ [PreserveDependency(".ctor", "System.Linq.Expressions.Interpreter.FuncCallInstruction`3")]
+ [PreserveDependency(".ctor", "System.Linq.Expressions.Interpreter.FuncCallInstruction`4")]
+ [PreserveDependency(".ctor", "System.Linq.Expressions.Interpreter.FuncCallInstruction`5")]
private static Type GetHelperType(MethodInfo info, Type[] arrTypes)
{
Type t;
}
}
+#if FEATURE_COMPILE
+ // TODO https://github.com/mono/linker/issues/799: Consolidate these attributes when possible.
+ [PreserveDependency("NoMatch1`2", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatch2`3", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatch3`4", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatch4`5", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatch5`6", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatch6`7", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatch7`8", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatch8`9", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatch9`10", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatch10`11", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatchVoid1`1", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatchVoid2`2", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatchVoid3`3", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatchVoid4`4", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatchVoid5`5", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatchVoid6`6", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatchVoid7`7", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatchVoid8`8", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatchVoid9`9", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("NoMatchVoid10`10", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecute1`2", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecute2`3", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecute3`4", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecute4`5", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecute5`6", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecute6`7", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecute7`8", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecute8`9", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecute9`10", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecute10`11", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecuteVoid1`1", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecuteVoid2`2", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecuteVoid3`3", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecuteVoid4`4", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecuteVoid5`5", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecuteVoid6`6", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecuteVoid7`7", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecuteVoid8`8", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecuteVoid9`9", "System.Dynamic.UpdateDelegates")]
+ [PreserveDependency("UpdateAndExecuteVoid10`10", "System.Dynamic.UpdateDelegates")]
+#endif
internal T MakeUpdateDelegate()
{
#if !FEATURE_COMPILE