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:
authorMichael Voorhees <michaelv@unity3d.com>2019-10-14 16:44:21 +0300
committerMarek Safar <marek.safar@gmail.com>2019-10-15 20:08:07 +0300
commit5bc5b735bc59048d06b0e1309c5574213968a283 (patch)
tree916c5d5ae3abf7ae255876d4b259e52b026652bc /test/Mono.Linker.Tests.Cases/TypeForwarding/AttributeArgumentForwardedWithCopyAction.cs
parent7e2d641f595ac16243387625f8bf6f178829d446 (diff)
Test fixes
Fix two type forwarding tests. On .NET FW the built in compiler will drop the reference to the forwarder assembly when compiling the test assembly. Use roslyn to give consistent behavior across platforms
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/TypeForwarding/AttributeArgumentForwardedWithCopyAction.cs')
-rw-r--r--test/Mono.Linker.Tests.Cases/TypeForwarding/AttributeArgumentForwardedWithCopyAction.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases/TypeForwarding/AttributeArgumentForwardedWithCopyAction.cs b/test/Mono.Linker.Tests.Cases/TypeForwarding/AttributeArgumentForwardedWithCopyAction.cs
index 6ee82d650..6d211a151 100644
--- a/test/Mono.Linker.Tests.Cases/TypeForwarding/AttributeArgumentForwardedWithCopyAction.cs
+++ b/test/Mono.Linker.Tests.Cases/TypeForwarding/AttributeArgumentForwardedWithCopyAction.cs
@@ -5,6 +5,10 @@ using Mono.Linker.Tests.Cases.TypeForwarding.Dependencies;
namespace Mono.Linker.Tests.Cases.TypeForwarding
{
+ // On .NET FW the built in compiler will drop the reference to the forwarder assembly when compiling the test assembly.
+ // Use roslyn to give consistent behavior across platforms
+ [SetupCSharpCompilerToUse ("csc")]
+
// Actions:
// link - Forwarder.dll and Implementation.dll
// copy - this (test.dll) assembly