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>2020-03-11 18:13:28 +0300
committerMarek Safar <marek.safar@gmail.com>2020-03-13 01:09:38 +0300
commit9e030cd22f14f4304c2ccd34b13aea0dae978257 (patch)
treecc1a92cb1f9585fecd3a0111a0446f76acfc8dc8 /test/Mono.Linker.Tests.Cases/Reflection/EventUsedViaReflection.cs
parentf28d88f95244adf876613e69b8396aad71fc5487 (diff)
Fixes to reflection tests when running on windows
Need to explicitly use roslyn in order for these tests to pass on windows. Otherwise they fail complaining about the nameof() usages in attributes.
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/Reflection/EventUsedViaReflection.cs')
-rw-r--r--test/Mono.Linker.Tests.Cases/Reflection/EventUsedViaReflection.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases/Reflection/EventUsedViaReflection.cs b/test/Mono.Linker.Tests.Cases/Reflection/EventUsedViaReflection.cs
index 6ff55dc48..d5ecafb8d 100644
--- a/test/Mono.Linker.Tests.Cases/Reflection/EventUsedViaReflection.cs
+++ b/test/Mono.Linker.Tests.Cases/Reflection/EventUsedViaReflection.cs
@@ -1,7 +1,9 @@
using System;
using Mono.Linker.Tests.Cases.Expectations.Assertions;
+using Mono.Linker.Tests.Cases.Expectations.Metadata;
namespace Mono.Linker.Tests.Cases.Reflection {
+ [SetupCSharpCompilerToUse ("csc")]
public class EventUsedViaReflection {
public static void Main ()
{