diff options
author | Michael Voorhees <michaelv@unity3d.com> | 2020-03-11 18:13:28 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2020-03-13 01:09:38 +0300 |
commit | 9e030cd22f14f4304c2ccd34b13aea0dae978257 (patch) | |
tree | cc1a92cb1f9585fecd3a0111a0446f76acfc8dc8 /test/Mono.Linker.Tests.Cases/Reflection/EventUsedViaReflection.cs | |
parent | f28d88f95244adf876613e69b8396aad71fc5487 (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.cs | 2 |
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 () { |