Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Boemer <sbomer@gmail.com>2021-09-20 21:04:01 +0300
committerGitHub <noreply@github.com>2021-09-20 21:04:01 +0300
commitff064425c74892ecba81036b82eb7863580579b3 (patch)
treebc7105c4cd0a121684c2f1c12047c8aa390d5ad9 /test/Mono.Linker.Tests.Cases/UnreachableBlock/ComplexConditions.cs
parent6f6ad0114e130ca1b38435ca2fff28f3f6f0d182 (diff)
Mark forwarders for all TypeReferences (#2276) (#2280)
* Build testcases against reference assemblies * Reproduce issue in testcase * Add TypeReferenceMarker * Update one more testcase * Don't mark forwarders in TypeReferenceMarker Leave the logic as before and mark them from MarkStep. * PR feedback - Use ref assemblies for ReferenceAttribute - Avoid adding to common references unless needed by test dependencies
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/UnreachableBlock/ComplexConditions.cs')
-rw-r--r--test/Mono.Linker.Tests.Cases/UnreachableBlock/ComplexConditions.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases/UnreachableBlock/ComplexConditions.cs b/test/Mono.Linker.Tests.Cases/UnreachableBlock/ComplexConditions.cs
index 2900168f8..476bb6641 100644
--- a/test/Mono.Linker.Tests.Cases/UnreachableBlock/ComplexConditions.cs
+++ b/test/Mono.Linker.Tests.Cases/UnreachableBlock/ComplexConditions.cs
@@ -5,6 +5,7 @@ using Mono.Linker.Tests.Cases.Expectations.Metadata;
namespace Mono.Linker.Tests.Cases.UnreachableBlock
{
+ [Reference ("System.Reflection.Emit.dll")]
[SetupCompileArgument ("/optimize-")] // Relying on debug csc behaviour
[SetupLinkerArgument ("--enable-opt", "ipconstprop")]
public class ComplexConditions