diff --git a/src/tests/Common/CLRTest.Execute.Bash.targets b/src/tests/Common/CLRTest.Execute.Bash.targets index 89e893539e69da..dbe3a058c8a213 100644 --- a/src/tests/Common/CLRTest.Execute.Bash.targets +++ b/src/tests/Common/CLRTest.Execute.Bash.targets @@ -126,7 +126,7 @@ fi diff --git a/src/tests/Common/CLRTest.Execute.Batch.targets b/src/tests/Common/CLRTest.Execute.Batch.targets index 7ae089a0ae72ed..74325b97fb9f87 100644 --- a/src/tests/Common/CLRTest.Execute.Batch.targets +++ b/src/tests/Common/CLRTest.Execute.Batch.targets @@ -136,7 +136,7 @@ IF NOT "%CrossGen2SynthesizePgo"=="" ( diff --git a/src/tests/Directory.Merged.props b/src/tests/Directory.Merged.props index 6bd9586b895731..a0a84e7b29537e 100644 --- a/src/tests/Directory.Merged.props +++ b/src/tests/Directory.Merged.props @@ -28,6 +28,6 @@ Directory.Build.targets is typically too late as SDK .targets files will have already been processed and may have used the value. --> - $(MSBuildProjectName.Replace('_il_d', '').Replace('_il_r', '')) + $(MSBuildProjectName.Replace('_il_do', '').Replace('_il_d', '').Replace('_il_ro', '').Replace('_il_r', '')) diff --git a/src/tests/JIT/Regression/CLR-x86-JIT/V1-M09/b16102/b16102.cs b/src/tests/JIT/Regression/CLR-x86-JIT/V1-M09/b16102/b16102.cs index d46a396a8a3ce5..fbcd8090fa8d55 100644 --- a/src/tests/JIT/Regression/CLR-x86-JIT/V1-M09/b16102/b16102.cs +++ b/src/tests/JIT/Regression/CLR-x86-JIT/V1-M09/b16102/b16102.cs @@ -3,15 +3,13 @@ using System; -using Xunit; namespace N { - public class X + internal class X { - [Fact] - public static void TestEntryPoint() + public static void Main(String[] args) { } } diff --git a/src/tests/JIT/Regression/CLR-x86-JIT/V1-M09/b16102/b16102.csproj b/src/tests/JIT/Regression/CLR-x86-JIT/V1-M09/b16102/b16102.csproj index 0842e4378d663d..27a209663bfffa 100644 --- a/src/tests/JIT/Regression/CLR-x86-JIT/V1-M09/b16102/b16102.csproj +++ b/src/tests/JIT/Regression/CLR-x86-JIT/V1-M09/b16102/b16102.csproj @@ -1,6 +1,11 @@ 1 + + + true + false diff --git a/src/tests/JIT/jit64/Directory.Build.props b/src/tests/JIT/jit64/Directory.Build.props new file mode 100644 index 00000000000000..689ebf8db31e1a --- /dev/null +++ b/src/tests/JIT/jit64/Directory.Build.props @@ -0,0 +1,10 @@ + + + + + + + true + false + + diff --git a/src/tests/JIT/jit64/ebvts/cs/generics/generics/repro52.cs b/src/tests/JIT/jit64/ebvts/cs/generics/generics/repro52.cs index fe26189b799326..eac4251c7c1544 100644 --- a/src/tests/JIT/jit64/ebvts/cs/generics/generics/repro52.cs +++ b/src/tests/JIT/jit64/ebvts/cs/generics/generics/repro52.cs @@ -1,6 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +using Xunit; internal class MCell { private T _t; @@ -29,9 +30,10 @@ internal class MPair : MCell public MPair(R r, S s) : base(r) { _s = s; } } -internal class M +public class M { - public static int Main() + [Fact] + public static int TestEntryPoint() { MCell c = new MCell(1); MPair p = c.GetMPair("2"); diff --git a/src/tests/JIT/jit64/ebvts/cs/generics/generics/repro52.csproj b/src/tests/JIT/jit64/ebvts/cs/generics/generics/repro52.csproj index cab0a418443f47..221b99c432a708 100644 --- a/src/tests/JIT/jit64/ebvts/cs/generics/generics/repro52.csproj +++ b/src/tests/JIT/jit64/ebvts/cs/generics/generics/repro52.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset1.cs b/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset1.cs index ea58e3efb7b0d4..59b3884f66b5cc 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset1.cs +++ b/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset1.cs @@ -2,8 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; -class Program +public class Program { private static TestUtil.TestLog testLog; @@ -24,7 +25,7 @@ static Program() testLog = new TestUtil.TestLog(expectedOut); } - public static void Test(int count) + internal static void Test(int count) { try { @@ -54,7 +55,8 @@ public static void Test(int count) } } - static int Main() + [Fact] + public static int TestEntryPoint() { // start recording testLog.StartRecording(); diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset1.csproj b/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset1.csproj index 81ebaed8c56fd9..7b0e0dc00bbf55 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset1.csproj +++ b/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset1_o.csproj b/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset1_o.csproj index 2abef8da589078..b402c1721af911 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset1_o.csproj +++ b/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset1_o.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset2.cs b/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset2.cs index 7413b946342d99..a6fe1d7d6f118a 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset2.cs +++ b/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset2.cs @@ -2,8 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; -class Program +public class Program { private static TestUtil.TestLog testLog; @@ -24,7 +25,7 @@ static Program() testLog = new TestUtil.TestLog(expectedOut); } - public static void Test(int count) + internal static void Test(int count) { try { @@ -53,7 +54,8 @@ public static void Test(int count) } } - static int Main() + [Fact] + public static int TestEntryPoint() { // start recording testLog.StartRecording(); diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset2.csproj b/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset2.csproj index d5eba66acbfefa..89da882b61d862 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset2.csproj +++ b/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset2_o.csproj b/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset2_o.csproj index f52038eeb4d599..2b94e33db9d5e3 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset2_o.csproj +++ b/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset2_o.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset3.cs b/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset3.cs index 8c7002f8ae7ade..76b5ee99603745 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset3.cs +++ b/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset3.cs @@ -2,8 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; -class Program +public class Program { private static TestUtil.TestLog testLog; @@ -29,7 +30,7 @@ static Program() testLog = new TestUtil.TestLog(expectedOut); } - public static void Test(int count) + internal static void Test(int count) { try { @@ -76,7 +77,8 @@ public static void Test(int count) } } - static int Main() + [Fact] + public static int TestEntryPoint() { // start recording testLog.StartRecording(); diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset3.csproj b/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset3.csproj index 354fb3bec09f24..289f3e4eb56086 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset3.csproj +++ b/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset3.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset3_o.csproj b/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset3_o.csproj index 0c988b857a05a3..fbe4e9dfe426b7 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset3_o.csproj +++ b/src/tests/JIT/jit64/eh/FinallyExec/nestedTryRegionsWithSameOffset3_o.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitincatch.il b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitincatch.il index 1bf95156761b15..7224eea4859f9c 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitincatch.il +++ b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitincatch.il @@ -8,14 +8,18 @@ .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) .ver 4:0:0:0 } +.assembly extern xunit.core {} .assembly extern mscorlib {} .assembly extern eh_common {} -.assembly test {} -.module nonlocalexitincatch.exe +.assembly 'nonlocalexitincatch' {} +.class public auto ansi nonlocalexitincatch { .method public static int32 Main() { + .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( + 01 00 00 00 + ) .entrypoint .maxstack 2 .locals init ( @@ -61,6 +65,7 @@ ret } +} .method public static void Run() diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitincatch.ilproj b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitincatch.ilproj index 0205c4188ecbe1..7d126d8ebaa2db 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitincatch.ilproj +++ b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitincatch.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinfinally.il b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinfinally.il index d446846d89974a..6f265c44b362f9 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinfinally.il +++ b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinfinally.il @@ -8,14 +8,18 @@ .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) .ver 4:0:0:0 } +.assembly extern xunit.core {} .assembly extern mscorlib {} .assembly extern eh_common {} -.assembly test {} -.module nonlocalexitinfinally.exe +.assembly 'nonlocalexitinfinally' {} +.class public auto ansi nonlocalexitinfinally { .method public static int32 Main() { + .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( + 01 00 00 00 + ) .entrypoint .maxstack 2 .locals init ( @@ -61,6 +65,7 @@ ret } +} .method public static void Run() diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinfinally.ilproj b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinfinally.ilproj index 13c507b0746e48..e3c87327b0b460 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinfinally.ilproj +++ b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinfinally.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinhandler.il b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinhandler.il index 0eb70159c13eab..cc2454d5d4ddfb 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinhandler.il +++ b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinhandler.il @@ -8,14 +8,18 @@ .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) .ver 4:0:0:0 } +.assembly extern xunit.core {} .assembly extern mscorlib {} .assembly extern eh_common {} -.assembly test {} -.module nonlocalexitinhandler.exe +.assembly 'nonlocalexitinhandler' {} +.class public auto ansi nonlocalexitinhandler { .method public static int32 Main() { + .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( + 01 00 00 00 + ) .entrypoint .maxstack 2 .locals init ( @@ -64,6 +68,7 @@ ret } +} .method public static void Run() diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinhandler.ilproj b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinhandler.ilproj index 20c9dc98a6dea5..f8b85e4d228fa7 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinhandler.ilproj +++ b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinhandler.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinroot.il b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinroot.il index 3226227fd3a170..991cc42b56fae9 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinroot.il +++ b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinroot.il @@ -8,14 +8,18 @@ .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) .ver 4:0:0:0 } +.assembly extern xunit.core {} .assembly extern mscorlib {} .assembly extern eh_common {} -.assembly test {} -.module nonlocalexitinroot.exe +.assembly 'nonlocalexitinroot' {} +.class public auto ansi nonlocalexitinroot { .method public static int32 Main() { + .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( + 01 00 00 00 + ) .entrypoint .maxstack 2 .locals init ( @@ -55,6 +59,7 @@ ret } +} .method public static void Run() diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinroot.ilproj b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinroot.ilproj index 0bbd4157df6af1..b2ea1f3aeb2048 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinroot.ilproj +++ b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitinroot.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitintry.il b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitintry.il index 0604aae8d230df..016f047b999c33 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitintry.il +++ b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitintry.il @@ -8,14 +8,18 @@ .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) .ver 4:0:0:0 } +.assembly extern xunit.core {} .assembly extern mscorlib {} .assembly extern eh_common {} -.assembly test {} -.module nonlocalexitintry.exe +.assembly 'nonlocalexitintry' {} +.class public auto ansi nonlocalexitintry { .method public static int32 Main() { + .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( + 01 00 00 00 + ) .entrypoint .maxstack 2 .locals init ( @@ -61,6 +65,7 @@ ret } +} .method public static void Run() diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitintry.ilproj b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitintry.ilproj index 7af83ce878a374..7e6d51a809fe42 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitintry.ilproj +++ b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalexitintry.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalgotoinatryblockinahandler.cs b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalgotoinatryblockinahandler.cs index b1f597138b9e3b..e3698288cde187 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalgotoinatryblockinahandler.cs +++ b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalgotoinatryblockinahandler.cs @@ -7,8 +7,9 @@ // LEAVE with an OPGOTO to the beginning of the cascading CATCHRET chain to unwind the stack... using System; +using Xunit; -class simple +public class simple { private static TestUtil.TestLog testLog; @@ -26,7 +27,8 @@ static simple() // Create and initialize test log object testLog = new TestUtil.TestLog(expectedOut); } - public static int Main() + [Fact] + public static int TestEntryPoint() { //Start recording testLog.StartRecording(); diff --git a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalgotoinatryblockinahandler.csproj b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalgotoinatryblockinahandler.csproj index ce7e56c3e9bd01..8b669192922dc7 100644 --- a/src/tests/JIT/jit64/eh/FinallyExec/nonlocalgotoinatryblockinahandler.csproj +++ b/src/tests/JIT/jit64/eh/FinallyExec/nonlocalgotoinatryblockinahandler.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/eh/Leaves/nonlocalexitfromnestedcatch.cs b/src/tests/JIT/jit64/eh/Leaves/nonlocalexitfromnestedcatch.cs index eabd2ffe545c79..64d8d22bd97fd4 100644 --- a/src/tests/JIT/jit64/eh/Leaves/nonlocalexitfromnestedcatch.cs +++ b/src/tests/JIT/jit64/eh/Leaves/nonlocalexitfromnestedcatch.cs @@ -4,8 +4,9 @@ // Non local exit from a catch handler nested inside another catch handler using System; +using Xunit; -class test +public class test { private static TestUtil.TestLog testLog; @@ -26,7 +27,8 @@ static test() // Create and initialize test log object testLog = new TestUtil.TestLog(expectedOut); } - public static int Main() + [Fact] + public static int TestEntryPoint() { //Start recording testLog.StartRecording(); diff --git a/src/tests/JIT/jit64/eh/Leaves/nonlocalexitfromnestedcatch.csproj b/src/tests/JIT/jit64/eh/Leaves/nonlocalexitfromnestedcatch.csproj index 23bd18f0211489..706bdec58308b3 100644 --- a/src/tests/JIT/jit64/eh/Leaves/nonlocalexitfromnestedcatch.csproj +++ b/src/tests/JIT/jit64/eh/Leaves/nonlocalexitfromnestedcatch.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/eh/basics/loopEH.cs b/src/tests/JIT/jit64/eh/basics/loopEH.cs index 12ead3e0efeb7b..a7ab36a689aa80 100644 --- a/src/tests/JIT/jit64/eh/basics/loopEH.cs +++ b/src/tests/JIT/jit64/eh/basics/loopEH.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; using System.Text; +using Xunit; -internal class Program +public class Program { - private static int Main() + [Fact] + public static int TestEntryPoint() { return Test(null, null, null, 0, 1); } diff --git a/src/tests/JIT/jit64/eh/basics/loopEH.csproj b/src/tests/JIT/jit64/eh/basics/loopEH.csproj index 870efffc434e86..fb9a8e3016e6a7 100644 --- a/src/tests/JIT/jit64/eh/basics/loopEH.csproj +++ b/src/tests/JIT/jit64/eh/basics/loopEH.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter1.il b/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter1.il index b362ae0f79f20f..e370099ee6d072 100644 --- a/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter1.il +++ b/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter1.il @@ -8,14 +8,18 @@ .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) .ver 4:0:0:0 } +.assembly extern xunit.core {} .assembly extern mscorlib {} -.assembly test {} -.module test.exe +.assembly 'throwinfinallyintryfilter1' {} .assembly extern eh_common {} +.class public auto ansi throwinfinallyintryfilter1 { .method public static int32 Main() { + .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( + 01 00 00 00 + ) .entrypoint .maxstack 2 .locals init ( @@ -78,6 +82,7 @@ ret } +} .method public static void func(int32 i) diff --git a/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter1.ilproj b/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter1.ilproj index 429b7e5a039ab4..0963e12ad2e41f 100644 --- a/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter1.ilproj +++ b/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter1.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter2.il b/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter2.il index 2b321f329b3088..0e23543a18e138 100644 --- a/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter2.il +++ b/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter2.il @@ -8,14 +8,18 @@ .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) .ver 4:0:0:0 } +.assembly extern xunit.core {} .assembly extern mscorlib {} -.assembly test {} +.assembly 'throwinfinallyintryfilter2' {} .assembly extern eh_common {} -.module test.exe +.class public auto ansi throwinfinallyintryfilter2 { .method public static int32 Main() { + .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( + 01 00 00 00 + ) .entrypoint .maxstack 2 .locals init ( @@ -78,6 +82,7 @@ ret } +} .method public static void func(int32 i) diff --git a/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter2.ilproj b/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter2.ilproj index f16ac198867922..e8b608b208fd80 100644 --- a/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter2.ilproj +++ b/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter2.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter3.il b/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter3.il index 6121cad3247107..13aa0841f60817 100644 --- a/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter3.il +++ b/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter3.il @@ -8,14 +8,18 @@ .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) .ver 4:0:0:0 } +.assembly extern xunit.core {} .assembly extern mscorlib {} -.assembly test {} +.assembly 'throwinfinallyintryfilter3' {} .assembly extern eh_common {} -.module test.exe +.class public auto ansi throwinfinallyintryfilter3 { .method public static int32 Main() { + .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( + 01 00 00 00 + ) .entrypoint .maxstack 2 .locals init ( @@ -87,6 +91,7 @@ ret } +} .method public static void func(int32 i) diff --git a/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter3.ilproj b/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter3.ilproj index 93a7d72cef9dd9..0f929f5dd98959 100644 --- a/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter3.ilproj +++ b/src/tests/JIT/jit64/eh/basics/throwinfinallyintryfilter3.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/eh/basics/throwisfirstinstruction.il b/src/tests/JIT/jit64/eh/basics/throwisfirstinstruction.il index 949d0aa0fe2128..6136f7d0de69e9 100644 --- a/src/tests/JIT/jit64/eh/basics/throwisfirstinstruction.il +++ b/src/tests/JIT/jit64/eh/basics/throwisfirstinstruction.il @@ -12,7 +12,7 @@ .assembly extern eh_common {} .assembly 'throwisfirstinstruction' {} -.class private auto ansi beforefieldinit test +.class public auto ansi beforefieldinit test extends [mscorlib]System.Object { .field private static class [eh_common]TestUtil.TestLog testLog diff --git a/src/tests/JIT/jit64/eh/basics/throwisfirstinstruction.ilproj b/src/tests/JIT/jit64/eh/basics/throwisfirstinstruction.ilproj index 36bb3298067988..373cf57c2b48c1 100644 --- a/src/tests/JIT/jit64/eh/basics/throwisfirstinstruction.ilproj +++ b/src/tests/JIT/jit64/eh/basics/throwisfirstinstruction.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/148343.cs b/src/tests/JIT/jit64/gc/misc/148343.cs index d5d62381d2aa99..a8e3f9279cd31e 100644 --- a/src/tests/JIT/jit64/gc/misc/148343.cs +++ b/src/tests/JIT/jit64/gc/misc/148343.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; public class T { @@ -27,7 +28,8 @@ public static bool test(ref Object[] arr, ref Object o, int index) } static Object[] o = new Object[5]; - public static int Main() + [Fact] + public static int TestEntryPoint() { o[1] = "1"; o[2] = "2"; diff --git a/src/tests/JIT/jit64/gc/misc/148343.csproj b/src/tests/JIT/jit64/gc/misc/148343.csproj index 6e03e2ec7f35c9..6381f6c0526431 100644 --- a/src/tests/JIT/jit64/gc/misc/148343.csproj +++ b/src/tests/JIT/jit64/gc/misc/148343.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/9_and_alloca2.cs b/src/tests/JIT/jit64/gc/misc/9_and_alloca2.cs index 80ec7871d75c4b..80a870e0670599 100644 --- a/src/tests/JIT/jit64/gc/misc/9_and_alloca2.cs +++ b/src/tests/JIT/jit64/gc/misc/9_and_alloca2.cs @@ -3,10 +3,12 @@ // using System; +using Xunit; -class T +public class T { - public static int Main() + [Fact] + public static int TestEntryPoint() { string s1 = "a"; string s2 = "b"; @@ -24,7 +26,7 @@ public static int Main() return 100; } - public static void foo(string s1, string s2, string s3, string s4, string s5, string s6, string s7, string s8, string s9, string s10, string s11) + internal static void foo(string s1, string s2, string s3, string s4, string s5, string s6, string s7, string s8, string s9, string s10, string s11) { Console.WriteLine(s8); Console.WriteLine(s9); diff --git a/src/tests/JIT/jit64/gc/misc/9_and_alloca2.csproj b/src/tests/JIT/jit64/gc/misc/9_and_alloca2.csproj index 3bde6b36b6951e..f63a530012f954 100644 --- a/src/tests/JIT/jit64/gc/misc/9_and_alloca2.csproj +++ b/src/tests/JIT/jit64/gc/misc/9_and_alloca2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/9param.cs b/src/tests/JIT/jit64/gc/misc/9param.cs index 1362330f45a033..b5c926a71a0523 100644 --- a/src/tests/JIT/jit64/gc/misc/9param.cs +++ b/src/tests/JIT/jit64/gc/misc/9param.cs @@ -3,10 +3,12 @@ // using System; +using Xunit; -class T +public class T { - public static int Main() + [Fact] + public static int TestEntryPoint() { string s1 = "Hello World"; @@ -15,7 +17,7 @@ public static int Main() return 100; } - public static void foo(int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, string s9) + internal static void foo(int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, string s9) { Console.WriteLine(s9); } diff --git a/src/tests/JIT/jit64/gc/misc/9param.csproj b/src/tests/JIT/jit64/gc/misc/9param.csproj index ba23a23c471349..ce18dce2cd3c68 100644 --- a/src/tests/JIT/jit64/gc/misc/9param.csproj +++ b/src/tests/JIT/jit64/gc/misc/9param.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/alloca3.cs b/src/tests/JIT/jit64/gc/misc/alloca3.cs index e472705b780ba3..34dfc76d565795 100644 --- a/src/tests/JIT/jit64/gc/misc/alloca3.cs +++ b/src/tests/JIT/jit64/gc/misc/alloca3.cs @@ -2,12 +2,14 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; -internal class Test_alloca3 +public class Test_alloca3 { private static int s_x = 25; - public static unsafe int Main() + [Fact] + public static unsafe int TestEntryPoint() { int* px = stackalloc int[s_x]; diff --git a/src/tests/JIT/jit64/gc/misc/alloca3.csproj b/src/tests/JIT/jit64/gc/misc/alloca3.csproj index 2af3d9d274f89d..f33211168387d7 100644 --- a/src/tests/JIT/jit64/gc/misc/alloca3.csproj +++ b/src/tests/JIT/jit64/gc/misc/alloca3.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/eh1.cs b/src/tests/JIT/jit64/gc/misc/eh1.cs index 2bac4789f19629..ad84290bc975b3 100644 --- a/src/tests/JIT/jit64/gc/misc/eh1.cs +++ b/src/tests/JIT/jit64/gc/misc/eh1.cs @@ -3,10 +3,12 @@ // using System; +using Xunit; -class T +public class T { - public static int Main() + [Fact] + public static int TestEntryPoint() { try { diff --git a/src/tests/JIT/jit64/gc/misc/eh1.csproj b/src/tests/JIT/jit64/gc/misc/eh1.csproj index a59fa59d7a0423..f9a709cc162e31 100644 --- a/src/tests/JIT/jit64/gc/misc/eh1.csproj +++ b/src/tests/JIT/jit64/gc/misc/eh1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/fgtest1.cs b/src/tests/JIT/jit64/gc/misc/fgtest1.cs index 3aede1c19c7558..00d47b609c6820 100644 --- a/src/tests/JIT/jit64/gc/misc/fgtest1.cs +++ b/src/tests/JIT/jit64/gc/misc/fgtest1.cs @@ -3,12 +3,14 @@ // using System; +using Xunit; -class T +public class T { public static int x = 4; - public static int Main() + [Fact] + public static int TestEntryPoint() { int exitcode = -1; try diff --git a/src/tests/JIT/jit64/gc/misc/fgtest1.csproj b/src/tests/JIT/jit64/gc/misc/fgtest1.csproj index 62d0e0258e1be8..8b2acff7dabbd3 100644 --- a/src/tests/JIT/jit64/gc/misc/fgtest1.csproj +++ b/src/tests/JIT/jit64/gc/misc/fgtest1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/fgtest2.cs b/src/tests/JIT/jit64/gc/misc/fgtest2.cs index 804cf1438027e5..8fa3894ee6a7b1 100644 --- a/src/tests/JIT/jit64/gc/misc/fgtest2.cs +++ b/src/tests/JIT/jit64/gc/misc/fgtest2.cs @@ -3,12 +3,14 @@ // using System; +using Xunit; -class T +public class T { public static int x = 4; - public static int Main() + [Fact] + public static int TestEntryPoint() { int exitcode = 94; diff --git a/src/tests/JIT/jit64/gc/misc/fgtest2.csproj b/src/tests/JIT/jit64/gc/misc/fgtest2.csproj index 01d5eecf4b31d4..be864690a81202 100644 --- a/src/tests/JIT/jit64/gc/misc/fgtest2.csproj +++ b/src/tests/JIT/jit64/gc/misc/fgtest2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/funclet.cs b/src/tests/JIT/jit64/gc/misc/funclet.cs index 1b10f36cc50abf..48cb444e7287f0 100644 --- a/src/tests/JIT/jit64/gc/misc/funclet.cs +++ b/src/tests/JIT/jit64/gc/misc/funclet.cs @@ -2,12 +2,14 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; // The main purpose of this test is make sure that an object ref passed on the stack // out of a funclet works properly. The varargs is a bit extraneous. -class test +public class test { - public static int Main() + [Fact] + public static int TestEntryPoint() { try { @@ -34,7 +36,7 @@ public static int Main() return 100; } - public static void VarArgFunction(__arglist) + internal static void VarArgFunction(__arglist) { System.Console.WriteLine("inside call"); } diff --git a/src/tests/JIT/jit64/gc/misc/funclet.csproj b/src/tests/JIT/jit64/gc/misc/funclet.csproj index d13f85957ed903..2ab9db2b73a74a 100644 --- a/src/tests/JIT/jit64/gc/misc/funclet.csproj +++ b/src/tests/JIT/jit64/gc/misc/funclet.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/gc/misc/gc-pinned-code-motion.cs b/src/tests/JIT/jit64/gc/misc/gc-pinned-code-motion.cs index 9bbe873ad319a1..0f00b45e7125ec 100644 --- a/src/tests/JIT/jit64/gc/misc/gc-pinned-code-motion.cs +++ b/src/tests/JIT/jit64/gc/misc/gc-pinned-code-motion.cs @@ -1,14 +1,16 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +using Xunit; //this is regression test for 307867 //this failed due to inlining under gcstress -internal class TEST +public class TEST { // prevent induction variable from being optimized away private volatile static int s_numLeft; - public static unsafe int Main() + [Fact] + public static unsafe int TestEntryPoint() { string value = "Hello, World!"; char[] dest = new char[value.Length]; diff --git a/src/tests/JIT/jit64/gc/misc/gc-pinned-code-motion.csproj b/src/tests/JIT/jit64/gc/misc/gc-pinned-code-motion.csproj index 0721b947ce1bdb..48e4bf310650c2 100644 --- a/src/tests/JIT/jit64/gc/misc/gc-pinned-code-motion.csproj +++ b/src/tests/JIT/jit64/gc/misc/gc-pinned-code-motion.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/gcparaminreg.cs b/src/tests/JIT/jit64/gc/misc/gcparaminreg.cs index cf3c03d18d1e7b..b8f887cb30f915 100644 --- a/src/tests/JIT/jit64/gc/misc/gcparaminreg.cs +++ b/src/tests/JIT/jit64/gc/misc/gcparaminreg.cs @@ -8,10 +8,12 @@ // actually process the address of the local, rather than the local. using System; +using Xunit; -class test +public class test { - public static int Main() + [Fact] + public static int TestEntryPoint() { int i = 0; i += ParamInReg(); diff --git a/src/tests/JIT/jit64/gc/misc/gcparaminreg.csproj b/src/tests/JIT/jit64/gc/misc/gcparaminreg.csproj index d8118e5f99dcba..7d5dcad9ecf005 100644 --- a/src/tests/JIT/jit64/gc/misc/gcparaminreg.csproj +++ b/src/tests/JIT/jit64/gc/misc/gcparaminreg.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/ret_struct_test1.cs b/src/tests/JIT/jit64/gc/misc/ret_struct_test1.cs index f81a299a1956de..fe1b0f609cbe69 100644 --- a/src/tests/JIT/jit64/gc/misc/ret_struct_test1.cs +++ b/src/tests/JIT/jit64/gc/misc/ret_struct_test1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct MyValueClass { @@ -12,9 +13,10 @@ struct MyValueClass public string S4; }; -class T +public class T { - public static int Main() + [Fact] + public static int TestEntryPoint() { MyValueClass mvc = foo(); @@ -29,7 +31,7 @@ public static int Main() return 100; } - public static MyValueClass foo() + private static MyValueClass foo() { MyValueClass mvcRetVal = new MyValueClass(); diff --git a/src/tests/JIT/jit64/gc/misc/ret_struct_test1.csproj b/src/tests/JIT/jit64/gc/misc/ret_struct_test1.csproj index 66bddac320848e..6053339a3ccff1 100644 --- a/src/tests/JIT/jit64/gc/misc/ret_struct_test1.csproj +++ b/src/tests/JIT/jit64/gc/misc/ret_struct_test1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/ret_struct_test4.cs b/src/tests/JIT/jit64/gc/misc/ret_struct_test4.cs index e72ba963b9a0ec..5aa9b84662b480 100644 --- a/src/tests/JIT/jit64/gc/misc/ret_struct_test4.cs +++ b/src/tests/JIT/jit64/gc/misc/ret_struct_test4.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct MyValueClass { @@ -14,9 +15,10 @@ struct MyValueClass public int i6; }; -class T +public class T { - public static int Main() + [Fact] + public static int TestEntryPoint() { MyValueClass mvc = foo(); @@ -37,7 +39,7 @@ public static int Main() return 100; } - public static MyValueClass foo() + private static MyValueClass foo() { MyValueClass mvcRetVal = new MyValueClass(); diff --git a/src/tests/JIT/jit64/gc/misc/ret_struct_test4.csproj b/src/tests/JIT/jit64/gc/misc/ret_struct_test4.csproj index f22448b7ad86eb..919d4676d908cf 100644 --- a/src/tests/JIT/jit64/gc/misc/ret_struct_test4.csproj +++ b/src/tests/JIT/jit64/gc/misc/ret_struct_test4.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/simple1.cs b/src/tests/JIT/jit64/gc/misc/simple1.cs index 8875c7555efa2a..ddabefa90d2065 100644 --- a/src/tests/JIT/jit64/gc/misc/simple1.cs +++ b/src/tests/JIT/jit64/gc/misc/simple1.cs @@ -3,15 +3,17 @@ // using System; +using Xunit; struct S { public Object O; } -class test +public class test { - public static int Main() + [Fact] + public static int TestEntryPoint() { S s = new S(); @@ -28,7 +30,7 @@ public static int Main() } - public static S foo(S s) + private static S foo(S s) { Console.WriteLine(s.O); diff --git a/src/tests/JIT/jit64/gc/misc/simple1.csproj b/src/tests/JIT/jit64/gc/misc/simple1.csproj index 3dde3511bfd4fe..67ee8ffc3ac16c 100644 --- a/src/tests/JIT/jit64/gc/misc/simple1.csproj +++ b/src/tests/JIT/jit64/gc/misc/simple1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct1.cs b/src/tests/JIT/jit64/gc/misc/struct1.cs index 06fd701de73cd8..2042c53325e0a7 100644 --- a/src/tests/JIT/jit64/gc/misc/struct1.cs +++ b/src/tests/JIT/jit64/gc/misc/struct1.cs @@ -3,22 +3,24 @@ // using System; +using Xunit; struct S { public String str; } -class Test_struct1 +public class Test_struct1 { - public static void c(S s1) + private static void c(S s1) { GC.Collect(); Console.WriteLine(s1.str); GC.Collect(); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM; diff --git a/src/tests/JIT/jit64/gc/misc/struct1.csproj b/src/tests/JIT/jit64/gc/misc/struct1.csproj index e2b31f5905059d..d1ac52ebc7c69c 100644 --- a/src/tests/JIT/jit64/gc/misc/struct1.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct1_2.cs b/src/tests/JIT/jit64/gc/misc/struct1_2.cs index f778c98aad9580..5d6e64a621d801 100644 --- a/src/tests/JIT/jit64/gc/misc/struct1_2.cs +++ b/src/tests/JIT/jit64/gc/misc/struct1_2.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct S { @@ -12,14 +13,15 @@ struct S public String str; } -class Test_struct1_2 +public class Test_struct1_2 { - public static void c(S s1) + private static void c(S s1) { Console.WriteLine(s1.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM; diff --git a/src/tests/JIT/jit64/gc/misc/struct1_2.csproj b/src/tests/JIT/jit64/gc/misc/struct1_2.csproj index 6c73cc5c8df58f..facbf49ef24ae0 100644 --- a/src/tests/JIT/jit64/gc/misc/struct1_2.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct1_2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct1_4.cs b/src/tests/JIT/jit64/gc/misc/struct1_4.cs index ef022273410826..3d5b1c31502974 100644 --- a/src/tests/JIT/jit64/gc/misc/struct1_4.cs +++ b/src/tests/JIT/jit64/gc/misc/struct1_4.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -81,14 +82,15 @@ public S(String s) } } -class Test_struct1_4 +public class Test_struct1_4 { - public static void c(S s1) + private static void c(S s1) { Console.WriteLine(s1.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/struct1_4.csproj b/src/tests/JIT/jit64/gc/misc/struct1_4.csproj index b8d906581e6405..185b65bccb9347 100644 --- a/src/tests/JIT/jit64/gc/misc/struct1_4.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct1_4.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct1_5.cs b/src/tests/JIT/jit64/gc/misc/struct1_5.cs index 671ec09ff185ad..405ccfbe513671 100644 --- a/src/tests/JIT/jit64/gc/misc/struct1_5.cs +++ b/src/tests/JIT/jit64/gc/misc/struct1_5.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,14 +86,15 @@ public S(String s) } } -class Test_struct1_5 +public class Test_struct1_5 { - public static void c(S s1) + private static void c(S s1) { Console.WriteLine(s1.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/struct1_5.csproj b/src/tests/JIT/jit64/gc/misc/struct1_5.csproj index b53f1801a3809f..40d4be7cc0ce35 100644 --- a/src/tests/JIT/jit64/gc/misc/struct1_5.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct1_5.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct2.cs b/src/tests/JIT/jit64/gc/misc/struct2.cs index c4d8c4bf565d9e..fafda598c3a1f6 100644 --- a/src/tests/JIT/jit64/gc/misc/struct2.cs +++ b/src/tests/JIT/jit64/gc/misc/struct2.cs @@ -3,20 +3,22 @@ // using System; +using Xunit; struct S { public String str; } -class Test_struct2 +public class Test_struct2 { - public static void c(S s1, S s2) + private static void c(S s1, S s2) { Console.WriteLine(s1.str + s2.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM, sM2; diff --git a/src/tests/JIT/jit64/gc/misc/struct2.csproj b/src/tests/JIT/jit64/gc/misc/struct2.csproj index 6675ce9fe66277..a26e4e82f6fdc1 100644 --- a/src/tests/JIT/jit64/gc/misc/struct2.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct2_2.cs b/src/tests/JIT/jit64/gc/misc/struct2_2.cs index b8bdc7d0be04d2..0d1516f653f023 100644 --- a/src/tests/JIT/jit64/gc/misc/struct2_2.cs +++ b/src/tests/JIT/jit64/gc/misc/struct2_2.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct S { @@ -12,14 +13,15 @@ struct S public String str; } -class Test_struct2_2 +public class Test_struct2_2 { - public static void c(S s1, S s2) + private static void c(S s1, S s2) { Console.WriteLine(s1.str + s2.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM, sM2; diff --git a/src/tests/JIT/jit64/gc/misc/struct2_2.csproj b/src/tests/JIT/jit64/gc/misc/struct2_2.csproj index e2e5beefdfbf80..552157faab5755 100644 --- a/src/tests/JIT/jit64/gc/misc/struct2_2.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct2_2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct2_4.cs b/src/tests/JIT/jit64/gc/misc/struct2_4.cs index 1b9e348af15c2a..0c79c7a30bf23f 100644 --- a/src/tests/JIT/jit64/gc/misc/struct2_4.cs +++ b/src/tests/JIT/jit64/gc/misc/struct2_4.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -81,14 +82,15 @@ public S(String s) } } -class Test_struct2_4 +public class Test_struct2_4 { - public static void c(S s1, S s2) + private static void c(S s1, S s2) { Console.WriteLine(s1.str + s2.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/struct2_4.csproj b/src/tests/JIT/jit64/gc/misc/struct2_4.csproj index d12c8c08028e0f..eba5fc51854d1d 100644 --- a/src/tests/JIT/jit64/gc/misc/struct2_4.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct2_4.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct2_5.cs b/src/tests/JIT/jit64/gc/misc/struct2_5.cs index 28324826b7c2e3..d2f935b23ce7be 100644 --- a/src/tests/JIT/jit64/gc/misc/struct2_5.cs +++ b/src/tests/JIT/jit64/gc/misc/struct2_5.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,14 +86,15 @@ public S(String s) } } -class Test_struct2_5 +public class Test_struct2_5 { - public static void c(S s1, S s2) + private static void c(S s1, S s2) { Console.WriteLine(s1.str + s2.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/struct2_5.csproj b/src/tests/JIT/jit64/gc/misc/struct2_5.csproj index cc1adf143f79e4..095ab93c896a06 100644 --- a/src/tests/JIT/jit64/gc/misc/struct2_5.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct2_5.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct2_5_2.cs b/src/tests/JIT/jit64/gc/misc/struct2_5_2.cs index 6a84ec284ab4af..cc313c561b50aa 100644 --- a/src/tests/JIT/jit64/gc/misc/struct2_5_2.cs +++ b/src/tests/JIT/jit64/gc/misc/struct2_5_2.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -130,19 +131,20 @@ public T(long l) } } -class Test_struct2_5_2 +public class Test_struct2_5_2 { - public static void c(S s1, S s2) + private static void c(S s1, S s2) { Console.WriteLine(s1.str + s2.str); } - public static void d(T t1, T t2) + private static void d(T t1, T t2) { Console.WriteLine(t1.l1 + t2.l1); } - public static int Main() + [Fact] + public static int TestEntryPoint() { T t = new T(0); S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/struct2_5_2.csproj b/src/tests/JIT/jit64/gc/misc/struct2_5_2.csproj index 62c34143845e48..b095a5bc00487c 100644 --- a/src/tests/JIT/jit64/gc/misc/struct2_5_2.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct2_5_2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct3.cs b/src/tests/JIT/jit64/gc/misc/struct3.cs index 0a6ca852ed4416..6e215a04c2469d 100644 --- a/src/tests/JIT/jit64/gc/misc/struct3.cs +++ b/src/tests/JIT/jit64/gc/misc/struct3.cs @@ -3,20 +3,22 @@ // using System; +using Xunit; struct S { public String str; } -class Test_struct3 +public class Test_struct3 { - public static void c(S s1, S s2, S s3) + private static void c(S s1, S s2, S s3) { Console.WriteLine(s1.str + s2.str + s3.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM; diff --git a/src/tests/JIT/jit64/gc/misc/struct3.csproj b/src/tests/JIT/jit64/gc/misc/struct3.csproj index b7e78666697912..49d09fed3ce017 100644 --- a/src/tests/JIT/jit64/gc/misc/struct3.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct3.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct3_2.cs b/src/tests/JIT/jit64/gc/misc/struct3_2.cs index 45380fce24f301..f3a75ebe9f71e7 100644 --- a/src/tests/JIT/jit64/gc/misc/struct3_2.cs +++ b/src/tests/JIT/jit64/gc/misc/struct3_2.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct S { @@ -12,14 +13,15 @@ struct S public String str; } -class Test_struct3_2 +public class Test_struct3_2 { - public static void c(S s1, S s2, S s3) + private static void c(S s1, S s2, S s3) { Console.WriteLine(s1.str + s2.str + s3.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM; diff --git a/src/tests/JIT/jit64/gc/misc/struct3_2.csproj b/src/tests/JIT/jit64/gc/misc/struct3_2.csproj index 200829879f898a..a2b090dd454be9 100644 --- a/src/tests/JIT/jit64/gc/misc/struct3_2.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct3_2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct3_4.cs b/src/tests/JIT/jit64/gc/misc/struct3_4.cs index c8552b0c7283ce..ffcafbb58f598f 100644 --- a/src/tests/JIT/jit64/gc/misc/struct3_4.cs +++ b/src/tests/JIT/jit64/gc/misc/struct3_4.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -81,14 +82,15 @@ public S(String s) } } -class Test_struct3_4 +public class Test_struct3_4 { - public static void c(S s1, S s2, S s3) + private static void c(S s1, S s2, S s3) { Console.WriteLine(s1.str + s2.str + s3.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/struct3_4.csproj b/src/tests/JIT/jit64/gc/misc/struct3_4.csproj index 3ed4ffce8d0aac..e675f62ff79bf9 100644 --- a/src/tests/JIT/jit64/gc/misc/struct3_4.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct3_4.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct3_5.cs b/src/tests/JIT/jit64/gc/misc/struct3_5.cs index 9bc22a7b87c1e0..a9745d61003ae1 100644 --- a/src/tests/JIT/jit64/gc/misc/struct3_5.cs +++ b/src/tests/JIT/jit64/gc/misc/struct3_5.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,14 +86,15 @@ public S(String s) } } -class Test_struct3_5 +public class Test_struct3_5 { - public static void c(S s1, S s2, S s3) + private static void c(S s1, S s2, S s3) { Console.WriteLine(s1.str + s2.str + s3.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/struct3_5.csproj b/src/tests/JIT/jit64/gc/misc/struct3_5.csproj index 1b022844d422f4..f477811140a306 100644 --- a/src/tests/JIT/jit64/gc/misc/struct3_5.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct3_5.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct4.cs b/src/tests/JIT/jit64/gc/misc/struct4.cs index 26cee5e7e30b0b..c7491a8b0ccf21 100644 --- a/src/tests/JIT/jit64/gc/misc/struct4.cs +++ b/src/tests/JIT/jit64/gc/misc/struct4.cs @@ -3,20 +3,22 @@ // using System; +using Xunit; struct S { public String str; } -class Test_struct4 +public class Test_struct4 { - public static void c(S s1, S s2, S s3) + private static void c(S s1, S s2, S s3) { Console.WriteLine(s1.str + s2.str + s3.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM, sM2, sM3; diff --git a/src/tests/JIT/jit64/gc/misc/struct4.csproj b/src/tests/JIT/jit64/gc/misc/struct4.csproj index c90655abf1a989..82b773cb86af10 100644 --- a/src/tests/JIT/jit64/gc/misc/struct4.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct4.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct4_2.cs b/src/tests/JIT/jit64/gc/misc/struct4_2.cs index f0616abe873d06..57852b47e385da 100644 --- a/src/tests/JIT/jit64/gc/misc/struct4_2.cs +++ b/src/tests/JIT/jit64/gc/misc/struct4_2.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct S { @@ -12,14 +13,15 @@ struct S public String str; } -class Test_struct4_2 +public class Test_struct4_2 { - public static void c(S s1, S s2, S s3) + private static void c(S s1, S s2, S s3) { Console.WriteLine(s1.str + s2.str + s3.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM, sM2, sM3; diff --git a/src/tests/JIT/jit64/gc/misc/struct4_2.csproj b/src/tests/JIT/jit64/gc/misc/struct4_2.csproj index ddfb54af990b09..96db162b80ac42 100644 --- a/src/tests/JIT/jit64/gc/misc/struct4_2.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct4_2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct4_4.cs b/src/tests/JIT/jit64/gc/misc/struct4_4.cs index f929ec2077654f..8df1a99a620561 100644 --- a/src/tests/JIT/jit64/gc/misc/struct4_4.cs +++ b/src/tests/JIT/jit64/gc/misc/struct4_4.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -81,14 +82,15 @@ public S(String s) } } -class Test_struct4_4 +public class Test_struct4_4 { - public static void c(S s1, S s2, S s3) + private static void c(S s1, S s2, S s3) { Console.WriteLine(s1.str + s2.str + s3.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/struct4_4.csproj b/src/tests/JIT/jit64/gc/misc/struct4_4.csproj index bf7a844ea28b8d..78a4b69bb5dc78 100644 --- a/src/tests/JIT/jit64/gc/misc/struct4_4.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct4_4.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct4_5.cs b/src/tests/JIT/jit64/gc/misc/struct4_5.cs index ee0f8d32f62367..96c016fcbc1d49 100644 --- a/src/tests/JIT/jit64/gc/misc/struct4_5.cs +++ b/src/tests/JIT/jit64/gc/misc/struct4_5.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,14 +86,15 @@ public S(String s) } } -class Test_struct4_5 +public class Test_struct4_5 { - public static void c(S s1, S s2, S s3) + private static void c(S s1, S s2, S s3) { Console.WriteLine(s1.str + s2.str + s3.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/struct4_5.csproj b/src/tests/JIT/jit64/gc/misc/struct4_5.csproj index 15ecf7b8f12c3d..6de9b91fd406f7 100644 --- a/src/tests/JIT/jit64/gc/misc/struct4_5.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct4_5.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct5.cs b/src/tests/JIT/jit64/gc/misc/struct5.cs index 2cabea838bff2f..f12ce8f7c39d94 100644 --- a/src/tests/JIT/jit64/gc/misc/struct5.cs +++ b/src/tests/JIT/jit64/gc/misc/struct5.cs @@ -3,20 +3,22 @@ // using System; +using Xunit; struct S { public String str; } -class Test_struct5 +public class Test_struct5 { - public static void c(S s1, S s2, S s3, S s4) + private static void c(S s1, S s2, S s3, S s4) { Console.WriteLine(s1.str + s2.str + s3.str + s4.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM, sM2, sM3, sM4; diff --git a/src/tests/JIT/jit64/gc/misc/struct5.csproj b/src/tests/JIT/jit64/gc/misc/struct5.csproj index 350c721adc91c3..a091e768dadeb5 100644 --- a/src/tests/JIT/jit64/gc/misc/struct5.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct5.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct5_2.cs b/src/tests/JIT/jit64/gc/misc/struct5_2.cs index 122ffaa363ac7b..2c6811a82cc5d3 100644 --- a/src/tests/JIT/jit64/gc/misc/struct5_2.cs +++ b/src/tests/JIT/jit64/gc/misc/struct5_2.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct S { @@ -12,14 +13,15 @@ struct S public String str; } -class Test_struct5_2 +public class Test_struct5_2 { - public static void c(S s1, S s2, S s3, S s4) + private static void c(S s1, S s2, S s3, S s4) { Console.WriteLine(s1.str + s2.str + s3.str + s4.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM, sM2, sM3, sM4; diff --git a/src/tests/JIT/jit64/gc/misc/struct5_2.csproj b/src/tests/JIT/jit64/gc/misc/struct5_2.csproj index d308a85cb3b02d..6f9f0a6512161c 100644 --- a/src/tests/JIT/jit64/gc/misc/struct5_2.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct5_2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct5_4.cs b/src/tests/JIT/jit64/gc/misc/struct5_4.cs index 86528660c41552..d9f9b032ac35b4 100644 --- a/src/tests/JIT/jit64/gc/misc/struct5_4.cs +++ b/src/tests/JIT/jit64/gc/misc/struct5_4.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -81,14 +82,15 @@ public S(String s) } } -class Test_struct5_4 +public class Test_struct5_4 { - public static void c(S s1, S s2, S s3, S s4) + private static void c(S s1, S s2, S s3, S s4) { Console.WriteLine(s1.str + s2.str + s3.str + s4.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/struct5_4.csproj b/src/tests/JIT/jit64/gc/misc/struct5_4.csproj index a720b0a5fd0f69..b781debe4def44 100644 --- a/src/tests/JIT/jit64/gc/misc/struct5_4.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct5_4.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct5_5.cs b/src/tests/JIT/jit64/gc/misc/struct5_5.cs index 0de33c5a3d9306..a76234f76a8c9f 100644 --- a/src/tests/JIT/jit64/gc/misc/struct5_5.cs +++ b/src/tests/JIT/jit64/gc/misc/struct5_5.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,14 +86,15 @@ public S(String s) } } -class Test_struct5_5 +public class Test_struct5_5 { - public static void c(S s1, S s2, S s3, S s4) + private static void c(S s1, S s2, S s3, S s4) { Console.WriteLine(s1.str + s2.str + s3.str + s4.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/struct5_5.csproj b/src/tests/JIT/jit64/gc/misc/struct5_5.csproj index 3b358973919d3f..e2c54aae29322b 100644 --- a/src/tests/JIT/jit64/gc/misc/struct5_5.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct5_5.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct6.cs b/src/tests/JIT/jit64/gc/misc/struct6.cs index 6a1551e7fa57b0..b2cfbf1e8b9d1b 100644 --- a/src/tests/JIT/jit64/gc/misc/struct6.cs +++ b/src/tests/JIT/jit64/gc/misc/struct6.cs @@ -3,20 +3,22 @@ // using System; +using Xunit; struct S { public String str; } -class Test_struct6 +public class Test_struct6 { - public static void c(S s1, S s2, S s3, S s4, S s5) + private static void c(S s1, S s2, S s3, S s4, S s5) { Console.WriteLine(s1.str + s2.str + s3.str + s4.str + s5.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM1, sM2, sM3, sM4, sM5; diff --git a/src/tests/JIT/jit64/gc/misc/struct6.csproj b/src/tests/JIT/jit64/gc/misc/struct6.csproj index 508492fba11bfe..0040d3b4a2ef37 100644 --- a/src/tests/JIT/jit64/gc/misc/struct6.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct6.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct6_2.cs b/src/tests/JIT/jit64/gc/misc/struct6_2.cs index 6ff2aa53045a0b..e07f0f4cd01995 100644 --- a/src/tests/JIT/jit64/gc/misc/struct6_2.cs +++ b/src/tests/JIT/jit64/gc/misc/struct6_2.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct S { @@ -12,14 +13,15 @@ struct S public String str; } -class Test_struct6_2 +public class Test_struct6_2 { - public static void c(S s1, S s2, S s3, S s4, S s5) + private static void c(S s1, S s2, S s3, S s4, S s5) { Console.WriteLine(s1.str + s2.str + s3.str + s4.str + s5.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM1, sM2, sM3, sM4, sM5; diff --git a/src/tests/JIT/jit64/gc/misc/struct6_2.csproj b/src/tests/JIT/jit64/gc/misc/struct6_2.csproj index b3b90a27ec8a5a..bf07a5d952e5f2 100644 --- a/src/tests/JIT/jit64/gc/misc/struct6_2.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct6_2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct6_4.cs b/src/tests/JIT/jit64/gc/misc/struct6_4.cs index a9f37f72ad6af3..e5192e1839e5d1 100644 --- a/src/tests/JIT/jit64/gc/misc/struct6_4.cs +++ b/src/tests/JIT/jit64/gc/misc/struct6_4.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -81,14 +82,15 @@ public S(String s) } } -class Test_struct6_4 +public class Test_struct6_4 { - public static void c(S s1, S s2, S s3, S s4, S s5) + private static void c(S s1, S s2, S s3, S s4, S s5) { Console.WriteLine(s1.str + s2.str + s3.str + s4.str + s5.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/struct6_4.csproj b/src/tests/JIT/jit64/gc/misc/struct6_4.csproj index 5204f5f0145296..5387cddbaf9e1e 100644 --- a/src/tests/JIT/jit64/gc/misc/struct6_4.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct6_4.csproj @@ -1,7 +1,4 @@ - - Exe - Full False diff --git a/src/tests/JIT/jit64/gc/misc/struct6_5.cs b/src/tests/JIT/jit64/gc/misc/struct6_5.cs index 201e509d6c4d12..0e87c5cbd064e4 100644 --- a/src/tests/JIT/jit64/gc/misc/struct6_5.cs +++ b/src/tests/JIT/jit64/gc/misc/struct6_5.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -131,14 +132,15 @@ public S(String s) } } -class Test_struct6_5 +public class Test_struct6_5 { - public static void c(S s1, S s2, S s3, S s4, S s5) + private static void c(S s1, S s2, S s3, S s4, S s5) { Console.WriteLine(s1.str + s2.str + s3.str + s4.str + s5.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/struct6_5.csproj b/src/tests/JIT/jit64/gc/misc/struct6_5.csproj index 37847b2965dc41..3af08315dde5e3 100644 --- a/src/tests/JIT/jit64/gc/misc/struct6_5.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct6_5.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct7_1.cs b/src/tests/JIT/jit64/gc/misc/struct7_1.cs index e59df7ce295b57..1bf405a9e2e364 100644 --- a/src/tests/JIT/jit64/gc/misc/struct7_1.cs +++ b/src/tests/JIT/jit64/gc/misc/struct7_1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -106,14 +107,15 @@ public S(String s) } } -class Test_struct7_1 +public class Test_struct7_1 { - public static void c(S s1, S s2, S s3, S s4, S s5) + private static void c(S s1, S s2, S s3, S s4, S s5) { Console.WriteLine(s1.str + s2.str + s3.str + s4.str + s5.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/struct7_1.csproj b/src/tests/JIT/jit64/gc/misc/struct7_1.csproj index 2c9dd53b2c51ad..cda6dea35fa0c6 100644 --- a/src/tests/JIT/jit64/gc/misc/struct7_1.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct7_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct8.cs b/src/tests/JIT/jit64/gc/misc/struct8.cs index 238daace465743..ae6ba5a4dbd21e 100644 --- a/src/tests/JIT/jit64/gc/misc/struct8.cs +++ b/src/tests/JIT/jit64/gc/misc/struct8.cs @@ -3,15 +3,16 @@ // using System; +using Xunit; struct S { public String str; } -class Test_struct8 +public class Test_struct8 { - public static void c(ref S s1, ref int i) + private static void c(ref S s1, ref int i) { if (i < 10) { @@ -21,7 +22,8 @@ public static void c(ref S s1, ref int i) Console.WriteLine(s1.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM; int i = 0; diff --git a/src/tests/JIT/jit64/gc/misc/struct8.csproj b/src/tests/JIT/jit64/gc/misc/struct8.csproj index 4d3175c0099d4a..4afd0031d315ef 100644 --- a/src/tests/JIT/jit64/gc/misc/struct8.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct8.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct9.cs b/src/tests/JIT/jit64/gc/misc/struct9.cs index 803195402b3eeb..b82155b9e5288e 100644 --- a/src/tests/JIT/jit64/gc/misc/struct9.cs +++ b/src/tests/JIT/jit64/gc/misc/struct9.cs @@ -3,15 +3,16 @@ // using System; +using Xunit; struct S { public String str; } -class Test_struct9 +public class Test_struct9 { - public static void c(ref S s1, ref int i) + private static void c(ref S s1, ref int i) { if (i < 10) { @@ -25,7 +26,8 @@ public static void c(ref S s1, ref int i) Console.WriteLine(s1.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM; int i = 0; diff --git a/src/tests/JIT/jit64/gc/misc/struct9.csproj b/src/tests/JIT/jit64/gc/misc/struct9.csproj index 37752dc1665ead..443702a0671002 100644 --- a/src/tests/JIT/jit64/gc/misc/struct9.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct9.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/struct9_2.cs b/src/tests/JIT/jit64/gc/misc/struct9_2.cs index 7d8462146d0c61..496c62475148be 100644 --- a/src/tests/JIT/jit64/gc/misc/struct9_2.cs +++ b/src/tests/JIT/jit64/gc/misc/struct9_2.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,9 +86,9 @@ public S(String s) } } -class Test_struct9_2 +public class Test_struct9_2 { - public static void c(ref S s1, ref int i) + private static void c(ref S s1, ref int i) { if (i < 10) { @@ -101,7 +102,8 @@ public static void c(ref S s1, ref int i) Console.WriteLine(s1.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); int i = 0; diff --git a/src/tests/JIT/jit64/gc/misc/struct9_2.csproj b/src/tests/JIT/jit64/gc/misc/struct9_2.csproj index e0d402fb7d3a0c..531dd54f30a33e 100644 --- a/src/tests/JIT/jit64/gc/misc/struct9_2.csproj +++ b/src/tests/JIT/jit64/gc/misc/struct9_2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structfp1_1.cs b/src/tests/JIT/jit64/gc/misc/structfp1_1.cs index 56ae1135823229..e124e0fb04c05b 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp1_1.cs +++ b/src/tests/JIT/jit64/gc/misc/structfp1_1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,14 +86,15 @@ public S(String s) } } -class Test_structfp1_1 +public class Test_structfp1_1 { - public static void c(S s1, float f) + private static void c(S s1, float f) { Console.WriteLine(s1.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/structfp1_1.csproj b/src/tests/JIT/jit64/gc/misc/structfp1_1.csproj index d6d526cc51a518..049e65911bb006 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp1_1.csproj +++ b/src/tests/JIT/jit64/gc/misc/structfp1_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structfp1_2.cs b/src/tests/JIT/jit64/gc/misc/structfp1_2.cs index b5f370a44ea153..40d4125613c15e 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp1_2.cs +++ b/src/tests/JIT/jit64/gc/misc/structfp1_2.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,14 +86,15 @@ public S(String s) } } -class Test_structfp1_2 +public class Test_structfp1_2 { - public static void c(float f1, S s1, float f2) + private static void c(float f1, S s1, float f2) { Console.WriteLine(s1.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/structfp1_2.csproj b/src/tests/JIT/jit64/gc/misc/structfp1_2.csproj index 88a2d71a9b9849..26c9d60cbbc81f 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp1_2.csproj +++ b/src/tests/JIT/jit64/gc/misc/structfp1_2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structfp1_3.cs b/src/tests/JIT/jit64/gc/misc/structfp1_3.cs index 6b4d25848d6099..6a9696ba4f9d68 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp1_3.cs +++ b/src/tests/JIT/jit64/gc/misc/structfp1_3.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,14 +86,15 @@ public S(String s) } } -class Test_structfp1_3 +public class Test_structfp1_3 { - public static void c(float f1, float f2, float f3, float f4, S s1) + private static void c(float f1, float f2, float f3, float f4, S s1) { Console.WriteLine(s1.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/structfp1_3.csproj b/src/tests/JIT/jit64/gc/misc/structfp1_3.csproj index 6b3050c99bb117..ff2c76aa32762a 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp1_3.csproj +++ b/src/tests/JIT/jit64/gc/misc/structfp1_3.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structfp1_4.cs b/src/tests/JIT/jit64/gc/misc/structfp1_4.cs index c9efa4576d6d22..bd4fa3269d86f5 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp1_4.cs +++ b/src/tests/JIT/jit64/gc/misc/structfp1_4.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,14 +86,15 @@ public S(String s) } } -class Test_structfp1_4 +public class Test_structfp1_4 { - public static void c(float f1, float f2, float f3, float f4, float f5, S s1) + private static void c(float f1, float f2, float f3, float f4, float f5, S s1) { Console.WriteLine(s1.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/structfp1_4.csproj b/src/tests/JIT/jit64/gc/misc/structfp1_4.csproj index 1c39d5835571da..e46220d8941229 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp1_4.csproj +++ b/src/tests/JIT/jit64/gc/misc/structfp1_4.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structfp1_5.cs b/src/tests/JIT/jit64/gc/misc/structfp1_5.cs index 69fd7b04e53a2c..4b52fa0525c4b5 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp1_5.cs +++ b/src/tests/JIT/jit64/gc/misc/structfp1_5.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,14 +86,15 @@ public S(String s) } } -class Test_structfp1_5 +public class Test_structfp1_5 { - public static void c(float a1, int a2, float a3, float a4, float a5, S s1) + private static void c(float a1, int a2, float a3, float a4, float a5, S s1) { Console.WriteLine(s1.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/structfp1_5.csproj b/src/tests/JIT/jit64/gc/misc/structfp1_5.csproj index 95ae957f0a4bf5..c8ef7c961de591 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp1_5.csproj +++ b/src/tests/JIT/jit64/gc/misc/structfp1_5.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structfp1_6.cs b/src/tests/JIT/jit64/gc/misc/structfp1_6.cs index 6af8350142909c..9d0ec18e32b874 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp1_6.cs +++ b/src/tests/JIT/jit64/gc/misc/structfp1_6.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,14 +86,15 @@ public S(String s) } } -class Test_structfp1_6 +public class Test_structfp1_6 { - public static void c(float a1, S s1, float a3, float a4, float a5) + private static void c(float a1, S s1, float a3, float a4, float a5) { Console.WriteLine(s1.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/structfp1_6.csproj b/src/tests/JIT/jit64/gc/misc/structfp1_6.csproj index 986a10a489cd12..a72cb70668a4cb 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp1_6.csproj +++ b/src/tests/JIT/jit64/gc/misc/structfp1_6.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structfp2_1.cs b/src/tests/JIT/jit64/gc/misc/structfp2_1.cs index 08779e2ad4311f..e771d70f1ff4f1 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp2_1.cs +++ b/src/tests/JIT/jit64/gc/misc/structfp2_1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,14 +86,15 @@ public S(String s) } } -class Test_structfp2_1 +public class Test_structfp2_1 { - public static void c(S s1, float f, S s2) + private static void c(S s1, float f, S s2) { Console.WriteLine(s1.str + s2.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structfp2_1.csproj b/src/tests/JIT/jit64/gc/misc/structfp2_1.csproj index 8f4e07a3698919..2b675acb1a3ef3 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp2_1.csproj +++ b/src/tests/JIT/jit64/gc/misc/structfp2_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structfp2_2.cs b/src/tests/JIT/jit64/gc/misc/structfp2_2.cs index ca7597b23c5bf7..40be97ffe6f093 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp2_2.cs +++ b/src/tests/JIT/jit64/gc/misc/structfp2_2.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,14 +86,15 @@ public S(String s) } } -class Test_structfp2_2 +public class Test_structfp2_2 { - public static void c(float a1, float a2, float a3, S s1, S s2) + private static void c(float a1, float a2, float a3, S s1, S s2) { Console.WriteLine(s1.str + s2.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structfp2_2.csproj b/src/tests/JIT/jit64/gc/misc/structfp2_2.csproj index 96018315b9fc9e..047b59d38eefda 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp2_2.csproj +++ b/src/tests/JIT/jit64/gc/misc/structfp2_2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structfp2_3.cs b/src/tests/JIT/jit64/gc/misc/structfp2_3.cs index 324f97f51e0026..506cde85062ec4 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp2_3.cs +++ b/src/tests/JIT/jit64/gc/misc/structfp2_3.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,14 +86,15 @@ public S(String s) } } -class Test_structfp2_3 +public class Test_structfp2_3 { - public static void c(float a1, short a2, long a3, double a4, S s1, S s2) + private static void c(float a1, short a2, long a3, double a4, S s1, S s2) { Console.WriteLine(s1.str + s2.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structfp2_3.csproj b/src/tests/JIT/jit64/gc/misc/structfp2_3.csproj index 1ba27a8d3f2f65..41c1fb1168e389 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp2_3.csproj +++ b/src/tests/JIT/jit64/gc/misc/structfp2_3.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structfp2_4.cs b/src/tests/JIT/jit64/gc/misc/structfp2_4.cs index e3306f584d6689..556da270733eab 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp2_4.cs +++ b/src/tests/JIT/jit64/gc/misc/structfp2_4.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,14 +86,15 @@ public S(String s) } } -class Test_structfp2_4 +public class Test_structfp2_4 { - public static void c(double a1, double a2, float a3, double a4, S s1, S s2) + private static void c(double a1, double a2, float a3, double a4, S s1, S s2) { Console.WriteLine(s1.str + s2.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structfp2_4.csproj b/src/tests/JIT/jit64/gc/misc/structfp2_4.csproj index 0e7a74619c7850..78dfc55f79f5b4 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp2_4.csproj +++ b/src/tests/JIT/jit64/gc/misc/structfp2_4.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structfp3_1.cs b/src/tests/JIT/jit64/gc/misc/structfp3_1.cs index 04559f68fc0713..5081b197216d71 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp3_1.cs +++ b/src/tests/JIT/jit64/gc/misc/structfp3_1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,14 +86,15 @@ public S(String s) } -class Test_structfp3_1 +public class Test_structfp3_1 { - public static void c(S s1, float a1, S s2, double a2, S s3) + private static void c(S s1, float a1, S s2, double a2, S s3) { Console.WriteLine(s1.str + s2.str + s3.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/structfp3_1.csproj b/src/tests/JIT/jit64/gc/misc/structfp3_1.csproj index 3d648f95e3a07f..83b93eb0fed060 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp3_1.csproj +++ b/src/tests/JIT/jit64/gc/misc/structfp3_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structfp4_1.cs b/src/tests/JIT/jit64/gc/misc/structfp4_1.cs index 575d07aa979b20..e69fbf6bcfdaf9 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp4_1.cs +++ b/src/tests/JIT/jit64/gc/misc/structfp4_1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -86,14 +87,15 @@ public S(String s) } -class Test_structfp4_1 +public class Test_structfp4_1 { - public static void c(float a1, double a2, int a3, S s1, S s2, S s3) + private static void c(float a1, double a2, int a3, S s1, S s2, S s3) { Console.WriteLine(s1.str + s2.str + s3.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structfp4_1.csproj b/src/tests/JIT/jit64/gc/misc/structfp4_1.csproj index 79878567f72477..8ed9d74c2b5570 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp4_1.csproj +++ b/src/tests/JIT/jit64/gc/misc/structfp4_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structfp5_1.cs b/src/tests/JIT/jit64/gc/misc/structfp5_1.cs index 6316d0bf9a5d10..d66dbc6aeb444b 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp5_1.cs +++ b/src/tests/JIT/jit64/gc/misc/structfp5_1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -86,14 +87,15 @@ public S(String s) } -class Test_structfp5_1 +public class Test_structfp5_1 { - public static void c(int a1, float a2, double a3, S s1, S s2, S s3, S s4, double a4) + private static void c(int a1, float a2, double a3, S s1, S s2, S s3, S s4, double a4) { Console.WriteLine(s1.str + s2.str + s3.str + s4.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structfp5_1.csproj b/src/tests/JIT/jit64/gc/misc/structfp5_1.csproj index 04967e2be84273..c768fa08d97e3a 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp5_1.csproj +++ b/src/tests/JIT/jit64/gc/misc/structfp5_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structfp6_1.cs b/src/tests/JIT/jit64/gc/misc/structfp6_1.cs index 361f584655802d..6d89a337e1f441 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp6_1.cs +++ b/src/tests/JIT/jit64/gc/misc/structfp6_1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -87,14 +88,15 @@ public S(String s) } -class Test_structfp6_1 +public class Test_structfp6_1 { - public static void c(S s1, float a1, S s2, double a2, S s3, S s4, S s5) + private static void c(S s1, float a1, S s2, double a2, S s3, S s4, S s5) { Console.WriteLine(s1.str + s2.str + s3.str + s4.str + s5.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structfp6_1.csproj b/src/tests/JIT/jit64/gc/misc/structfp6_1.csproj index ee673302dd9047..331c2e5101f980 100644 --- a/src/tests/JIT/jit64/gc/misc/structfp6_1.csproj +++ b/src/tests/JIT/jit64/gc/misc/structfp6_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structfpseh5_1.cs b/src/tests/JIT/jit64/gc/misc/structfpseh5_1.cs index defcf3c02d7c99..b5bf43fb252810 100644 --- a/src/tests/JIT/jit64/gc/misc/structfpseh5_1.cs +++ b/src/tests/JIT/jit64/gc/misc/structfpseh5_1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,9 +86,9 @@ public S(String s) } } -class Test_structfpseh5_1 +public class Test_structfpseh5_1 { - public static unsafe void c(int a1, float a2, double a3, S s1, S s2, S s3, S s4, double a4) + private static unsafe void c(int a1, float a2, double a3, S s1, S s2, S s3, S s4, double a4) { int* t = stackalloc int[1]; @@ -101,7 +102,8 @@ public static unsafe void c(int a1, float a2, double a3, S s1, S s2, S s3, S s4, } } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structfpseh5_1.csproj b/src/tests/JIT/jit64/gc/misc/structfpseh5_1.csproj index bf35da56452ecf..c5946c5c85b476 100644 --- a/src/tests/JIT/jit64/gc/misc/structfpseh5_1.csproj +++ b/src/tests/JIT/jit64/gc/misc/structfpseh5_1.csproj @@ -1,6 +1,5 @@ - Exe true 1 diff --git a/src/tests/JIT/jit64/gc/misc/structfpseh6_1.cs b/src/tests/JIT/jit64/gc/misc/structfpseh6_1.cs index bbd893d8ce9bbf..fd33fb8759fc79 100644 --- a/src/tests/JIT/jit64/gc/misc/structfpseh6_1.cs +++ b/src/tests/JIT/jit64/gc/misc/structfpseh6_1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -86,9 +87,9 @@ public S(String s) } } -class Test_structfpseh6_1 +public class Test_structfpseh6_1 { - public static unsafe void c(S s1, float a1, S s2, double a2, S s3, S s4, S s5) + private static unsafe void c(S s1, float a1, S s2, double a2, S s3, S s4, S s5) { int* t = stackalloc int[1]; try @@ -101,7 +102,8 @@ public static unsafe void c(S s1, float a1, S s2, double a2, S s3, S s4, S s5) } } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structfpseh6_1.csproj b/src/tests/JIT/jit64/gc/misc/structfpseh6_1.csproj index 08ca92f95fb0b8..c7fa537000ebd1 100644 --- a/src/tests/JIT/jit64/gc/misc/structfpseh6_1.csproj +++ b/src/tests/JIT/jit64/gc/misc/structfpseh6_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structref1_1.cs b/src/tests/JIT/jit64/gc/misc/structref1_1.cs index 16ac6ced062a70..ed0a0311ba4841 100644 --- a/src/tests/JIT/jit64/gc/misc/structref1_1.cs +++ b/src/tests/JIT/jit64/gc/misc/structref1_1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -84,14 +85,15 @@ public S(String s){ } } -class Test_structref1_1 +public class Test_structref1_1 { - public static void c(ref S s1) + private static void c(ref S s1) { Console.WriteLine(s1.str); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/structref1_1.csproj b/src/tests/JIT/jit64/gc/misc/structref1_1.csproj index d93203aadc31a8..b7a54d5f5b06b7 100644 --- a/src/tests/JIT/jit64/gc/misc/structref1_1.csproj +++ b/src/tests/JIT/jit64/gc/misc/structref1_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structret1_1.cs b/src/tests/JIT/jit64/gc/misc/structret1_1.cs index 7a83530039edb4..fd64853856e074 100644 --- a/src/tests/JIT/jit64/gc/misc/structret1_1.cs +++ b/src/tests/JIT/jit64/gc/misc/structret1_1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,14 +86,15 @@ public S(String s) } } -class Test_structret1_1 +public class Test_structret1_1 { - public static S c(S s1) + private static S c(S s1) { return (s1); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/structret1_1.csproj b/src/tests/JIT/jit64/gc/misc/structret1_1.csproj index b23f936d2ec0ab..386bec0f80d11a 100644 --- a/src/tests/JIT/jit64/gc/misc/structret1_1.csproj +++ b/src/tests/JIT/jit64/gc/misc/structret1_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structret1_2.cs b/src/tests/JIT/jit64/gc/misc/structret1_2.cs index 28574543a60672..fce51deadd951c 100644 --- a/src/tests/JIT/jit64/gc/misc/structret1_2.cs +++ b/src/tests/JIT/jit64/gc/misc/structret1_2.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,16 +86,17 @@ public S(String s) } } -class Test_structret1_2 +public class Test_structret1_2 { - public static S c(S s1) + private static S c(S s1) { S r; r = s1; return (r); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/structret1_2.csproj b/src/tests/JIT/jit64/gc/misc/structret1_2.csproj index 9cae36161161a8..fbf1b510169a24 100644 --- a/src/tests/JIT/jit64/gc/misc/structret1_2.csproj +++ b/src/tests/JIT/jit64/gc/misc/structret1_2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structret1_3.cs b/src/tests/JIT/jit64/gc/misc/structret1_3.cs index 0b351883d0e0db..72beb84e9eb5b1 100644 --- a/src/tests/JIT/jit64/gc/misc/structret1_3.cs +++ b/src/tests/JIT/jit64/gc/misc/structret1_3.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,9 +86,9 @@ public S(String s) } } -class Test_structret1_3 +public class Test_structret1_3 { - public static S c(S s1) + private static S c(S s1) { S r; r = s1; @@ -95,7 +96,8 @@ public static S c(S s1) return (r); } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/structret1_3.csproj b/src/tests/JIT/jit64/gc/misc/structret1_3.csproj index 54b9dae2b9f656..2349df810def6f 100644 --- a/src/tests/JIT/jit64/gc/misc/structret1_3.csproj +++ b/src/tests/JIT/jit64/gc/misc/structret1_3.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structret2_1.cs b/src/tests/JIT/jit64/gc/misc/structret2_1.cs index 047bf9917f7983..74e122474c6517 100644 --- a/src/tests/JIT/jit64/gc/misc/structret2_1.cs +++ b/src/tests/JIT/jit64/gc/misc/structret2_1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -86,15 +87,16 @@ public S(String s) } } -class Test_structret2_1 +public class Test_structret2_1 { - public static S c(S s1, S s2) + private static S c(S s1, S s2) { s1.str = (s1.str + s2.str); return s1; } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structret2_1.csproj b/src/tests/JIT/jit64/gc/misc/structret2_1.csproj index f0b12213abe12b..3c80f27ad9597a 100644 --- a/src/tests/JIT/jit64/gc/misc/structret2_1.csproj +++ b/src/tests/JIT/jit64/gc/misc/structret2_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structret2_2.cs b/src/tests/JIT/jit64/gc/misc/structret2_2.cs index 47974591273f99..e4afe984d7604b 100644 --- a/src/tests/JIT/jit64/gc/misc/structret2_2.cs +++ b/src/tests/JIT/jit64/gc/misc/structret2_2.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -86,9 +87,9 @@ public S(String s) } } -class Test_structret2_2 +public class Test_structret2_2 { - public static S c(S s1, S s2) + private static S c(S s1, S s2) { S r; s1.str = (s1.str + s2.str); @@ -96,7 +97,8 @@ public static S c(S s1, S s2) return r; } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structret2_2.csproj b/src/tests/JIT/jit64/gc/misc/structret2_2.csproj index 352c02bbccbf1b..5430229f1c63b5 100644 --- a/src/tests/JIT/jit64/gc/misc/structret2_2.csproj +++ b/src/tests/JIT/jit64/gc/misc/structret2_2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structret2_3.cs b/src/tests/JIT/jit64/gc/misc/structret2_3.cs index 0eb860f2bcdded..f201422b30c364 100644 --- a/src/tests/JIT/jit64/gc/misc/structret2_3.cs +++ b/src/tests/JIT/jit64/gc/misc/structret2_3.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -86,9 +87,9 @@ public S(String s) } -class Test_structret2_3 +public class Test_structret2_3 { - public static S c(S s1, S s2) + private static S c(S s1, S s2) { S r; r = s1; @@ -96,7 +97,8 @@ public static S c(S s1, S s2) return r; } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structret2_3.csproj b/src/tests/JIT/jit64/gc/misc/structret2_3.csproj index 238ae703697c93..634739d6051a1c 100644 --- a/src/tests/JIT/jit64/gc/misc/structret2_3.csproj +++ b/src/tests/JIT/jit64/gc/misc/structret2_3.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structret3_1.cs b/src/tests/JIT/jit64/gc/misc/structret3_1.cs index c1a1c7075f08d6..f167c6d4245735 100644 --- a/src/tests/JIT/jit64/gc/misc/structret3_1.cs +++ b/src/tests/JIT/jit64/gc/misc/structret3_1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,15 +86,16 @@ public S(String s) } } -class Test_structret3_1 +public class Test_structret3_1 { - public static S c(S s1, S s2, S s3) + private static S c(S s1, S s2, S s3) { s1.str = (s1.str + s2.str + s3.str); return s1; } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/structret3_1.csproj b/src/tests/JIT/jit64/gc/misc/structret3_1.csproj index 05fc0ed0b088fc..e99bce4d15ca52 100644 --- a/src/tests/JIT/jit64/gc/misc/structret3_1.csproj +++ b/src/tests/JIT/jit64/gc/misc/structret3_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structret3_2.cs b/src/tests/JIT/jit64/gc/misc/structret3_2.cs index 1bcd8bcc378115..7161361ba99987 100644 --- a/src/tests/JIT/jit64/gc/misc/structret3_2.cs +++ b/src/tests/JIT/jit64/gc/misc/structret3_2.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,9 +86,9 @@ public S(String s) } } -class Test_structret3_2 +public class Test_structret3_2 { - public static S c(S s1, S s2, S s3) + private static S c(S s1, S s2, S s3) { S r; s1.str = (s1.str + s2.str + s3.str); @@ -95,7 +96,8 @@ public static S c(S s1, S s2, S s3) return r; } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/structret3_2.csproj b/src/tests/JIT/jit64/gc/misc/structret3_2.csproj index 8a5d938042e931..aa9053f5005386 100644 --- a/src/tests/JIT/jit64/gc/misc/structret3_2.csproj +++ b/src/tests/JIT/jit64/gc/misc/structret3_2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structret3_3.cs b/src/tests/JIT/jit64/gc/misc/structret3_3.cs index 0ea2b849736c5d..be3e96df2c1d51 100644 --- a/src/tests/JIT/jit64/gc/misc/structret3_3.cs +++ b/src/tests/JIT/jit64/gc/misc/structret3_3.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -84,9 +85,9 @@ public S(String s) } } -class Test_structret3_3 +public class Test_structret3_3 { - public static S c(S s1, S s2, S s3) + private static S c(S s1, S s2, S s3) { S r; r = s1; @@ -94,7 +95,8 @@ public static S c(S s1, S s2, S s3) return r; } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/structret3_3.csproj b/src/tests/JIT/jit64/gc/misc/structret3_3.csproj index 89017af4846c80..b0fecf0af02c95 100644 --- a/src/tests/JIT/jit64/gc/misc/structret3_3.csproj +++ b/src/tests/JIT/jit64/gc/misc/structret3_3.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structret4_1.cs b/src/tests/JIT/jit64/gc/misc/structret4_1.cs index e5d608b3ab51c7..cc5da57fb169a3 100644 --- a/src/tests/JIT/jit64/gc/misc/structret4_1.cs +++ b/src/tests/JIT/jit64/gc/misc/structret4_1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,15 +86,16 @@ public S(String s) } } -class Test_structret4_1 +public class Test_structret4_1 { - public static S c(S s1, S s2, S s3) + private static S c(S s1, S s2, S s3) { s1.str = (s1.str + s2.str + s3.str); return s1; } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structret4_1.csproj b/src/tests/JIT/jit64/gc/misc/structret4_1.csproj index 39327b208c270e..ccce9811a6f739 100644 --- a/src/tests/JIT/jit64/gc/misc/structret4_1.csproj +++ b/src/tests/JIT/jit64/gc/misc/structret4_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structret4_2.cs b/src/tests/JIT/jit64/gc/misc/structret4_2.cs index 9c639a665bd06e..906f0bbf868495 100644 --- a/src/tests/JIT/jit64/gc/misc/structret4_2.cs +++ b/src/tests/JIT/jit64/gc/misc/structret4_2.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,9 +86,9 @@ public S(String s) } } -class Test_structret4_2 +public class Test_structret4_2 { - public static S c(S s1, S s2, S s3) + private static S c(S s1, S s2, S s3) { S r; s1.str = (s1.str + s2.str + s3.str); @@ -95,7 +96,8 @@ public static S c(S s1, S s2, S s3) return r; } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structret4_2.csproj b/src/tests/JIT/jit64/gc/misc/structret4_2.csproj index ea4a48bdac4579..c593606a17b5c7 100644 --- a/src/tests/JIT/jit64/gc/misc/structret4_2.csproj +++ b/src/tests/JIT/jit64/gc/misc/structret4_2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structret4_3.cs b/src/tests/JIT/jit64/gc/misc/structret4_3.cs index 35adfab5fcc125..a635db981ea392 100644 --- a/src/tests/JIT/jit64/gc/misc/structret4_3.cs +++ b/src/tests/JIT/jit64/gc/misc/structret4_3.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,9 +86,9 @@ public S(String s) } } -class Test_structret4_3 +public class Test_structret4_3 { - public static S c(S s1, S s2, S s3) + private static S c(S s1, S s2, S s3) { S r; r = s1; @@ -95,7 +96,8 @@ public static S c(S s1, S s2, S s3) return r; } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structret4_3.csproj b/src/tests/JIT/jit64/gc/misc/structret4_3.csproj index 5236ce565deeef..582e53e3eb6712 100644 --- a/src/tests/JIT/jit64/gc/misc/structret4_3.csproj +++ b/src/tests/JIT/jit64/gc/misc/structret4_3.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structret5_1.cs b/src/tests/JIT/jit64/gc/misc/structret5_1.cs index 54b873b96ba4d4..37ff26a2f6f88b 100644 --- a/src/tests/JIT/jit64/gc/misc/structret5_1.cs +++ b/src/tests/JIT/jit64/gc/misc/structret5_1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,15 +86,16 @@ public S(String s) } } -class Test_structret5_1 +public class Test_structret5_1 { - public static S c(S s1, S s2, S s3, S s4) + private static S c(S s1, S s2, S s3, S s4) { s1.str = s1.str + s2.str + s3.str + s4.str; return s1; } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structret5_1.csproj b/src/tests/JIT/jit64/gc/misc/structret5_1.csproj index 77822c69002725..97219764516b26 100644 --- a/src/tests/JIT/jit64/gc/misc/structret5_1.csproj +++ b/src/tests/JIT/jit64/gc/misc/structret5_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structret5_2.cs b/src/tests/JIT/jit64/gc/misc/structret5_2.cs index dea745f17b4ccd..4cea5e3306f68a 100644 --- a/src/tests/JIT/jit64/gc/misc/structret5_2.cs +++ b/src/tests/JIT/jit64/gc/misc/structret5_2.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,9 +86,9 @@ public S(String s) } } -class Test_structret5_2 +public class Test_structret5_2 { - public static S c(S s1, S s2, S s3, S s4) + private static S c(S s1, S s2, S s3, S s4) { S r; s1.str = s1.str + s2.str + s3.str + s4.str; @@ -95,7 +96,8 @@ public static S c(S s1, S s2, S s3, S s4) return r; } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structret5_2.csproj b/src/tests/JIT/jit64/gc/misc/structret5_2.csproj index 9d6a2594353296..207d410101c76e 100644 --- a/src/tests/JIT/jit64/gc/misc/structret5_2.csproj +++ b/src/tests/JIT/jit64/gc/misc/structret5_2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structret5_3.cs b/src/tests/JIT/jit64/gc/misc/structret5_3.cs index d7774fa8cd9fbe..bb98f91a465475 100644 --- a/src/tests/JIT/jit64/gc/misc/structret5_3.cs +++ b/src/tests/JIT/jit64/gc/misc/structret5_3.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,9 +86,9 @@ public S(String s) } } -class Test_structret5_3 +public class Test_structret5_3 { - public static S c(S s1, S s2, S s3, S s4) + private static S c(S s1, S s2, S s3, S s4) { S r; r = s1; @@ -95,7 +96,8 @@ public static S c(S s1, S s2, S s3, S s4) return r; } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structret5_3.csproj b/src/tests/JIT/jit64/gc/misc/structret5_3.csproj index a5aee9cce7cfca..8275941336d89c 100644 --- a/src/tests/JIT/jit64/gc/misc/structret5_3.csproj +++ b/src/tests/JIT/jit64/gc/misc/structret5_3.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structret6_1.cs b/src/tests/JIT/jit64/gc/misc/structret6_1.cs index 39f44a78e3d715..f95dd01a9fcc28 100644 --- a/src/tests/JIT/jit64/gc/misc/structret6_1.cs +++ b/src/tests/JIT/jit64/gc/misc/structret6_1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -86,15 +87,16 @@ public S(String s) } } -class Test_structret6_1 +public class Test_structret6_1 { - public static S c(S s1, S s2, S s3, S s4, S s5) + private static S c(S s1, S s2, S s3, S s4, S s5) { s1.str = s1.str + s2.str + s3.str + s4.str + s5.str; return s1; } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structret6_1.csproj b/src/tests/JIT/jit64/gc/misc/structret6_1.csproj index 497a2b0455a6be..c2965ba09e5c46 100644 --- a/src/tests/JIT/jit64/gc/misc/structret6_1.csproj +++ b/src/tests/JIT/jit64/gc/misc/structret6_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structret6_2.cs b/src/tests/JIT/jit64/gc/misc/structret6_2.cs index a41694a3dcc59c..d80245b59dc8c6 100644 --- a/src/tests/JIT/jit64/gc/misc/structret6_2.cs +++ b/src/tests/JIT/jit64/gc/misc/structret6_2.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,9 +86,9 @@ public S(String s) } } -class Test_structret6_2 +public class Test_structret6_2 { - public static S c(S s1, S s2, S s3, S s4, S s5) + private static S c(S s1, S s2, S s3, S s4, S s5) { S r; s1.str = s1.str + s2.str + s3.str + s4.str + s5.str; @@ -95,7 +96,8 @@ public static S c(S s1, S s2, S s3, S s4, S s5) return r; } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structret6_2.csproj b/src/tests/JIT/jit64/gc/misc/structret6_2.csproj index dc651c9614b758..fc86c9aefb9c23 100644 --- a/src/tests/JIT/jit64/gc/misc/structret6_2.csproj +++ b/src/tests/JIT/jit64/gc/misc/structret6_2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structret6_3.cs b/src/tests/JIT/jit64/gc/misc/structret6_3.cs index 7a7221401f8406..533a091402b7ea 100644 --- a/src/tests/JIT/jit64/gc/misc/structret6_3.cs +++ b/src/tests/JIT/jit64/gc/misc/structret6_3.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -86,9 +87,9 @@ public S(String s) } } -class Test_structret6_3 +public class Test_structret6_3 { - public static S c(S s1, S s2, S s3, S s4, S s5) + private static S c(S s1, S s2, S s3, S s4, S s5) { S r; r = s1; @@ -96,7 +97,8 @@ public static S c(S s1, S s2, S s3, S s4, S s5) return r; } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); S sM2 = new S("test2"); diff --git a/src/tests/JIT/jit64/gc/misc/structret6_3.csproj b/src/tests/JIT/jit64/gc/misc/structret6_3.csproj index e18ee089dc24f0..7c08be426f5927 100644 --- a/src/tests/JIT/jit64/gc/misc/structret6_3.csproj +++ b/src/tests/JIT/jit64/gc/misc/structret6_3.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/structva1_1.cs b/src/tests/JIT/jit64/gc/misc/structva1_1.cs index f746bf30d86978..bc5dcbf4bb342c 100644 --- a/src/tests/JIT/jit64/gc/misc/structva1_1.cs +++ b/src/tests/JIT/jit64/gc/misc/structva1_1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct Pad { @@ -85,9 +86,9 @@ public S(String s) } } -class Test_structva1_1 +public class Test_structva1_1 { - public static void c(params object[] pp) + private static void c(params object[] pp) { for (int i = 0; i < pp.GetLength(0); i++) { @@ -95,7 +96,8 @@ public static void c(params object[] pp) } } - public static int Main() + [Fact] + public static int TestEntryPoint() { S sM = new S("test"); diff --git a/src/tests/JIT/jit64/gc/misc/structva1_1.csproj b/src/tests/JIT/jit64/gc/misc/structva1_1.csproj index 5a8fdb12890b09..2af9ddd6be04ff 100644 --- a/src/tests/JIT/jit64/gc/misc/structva1_1.csproj +++ b/src/tests/JIT/jit64/gc/misc/structva1_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/test1.cs b/src/tests/JIT/jit64/gc/misc/test1.cs index ac140cb2939920..fb35d9564a9038 100644 --- a/src/tests/JIT/jit64/gc/misc/test1.cs +++ b/src/tests/JIT/jit64/gc/misc/test1.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct S { @@ -24,15 +25,9 @@ public C() } } -class Test_test1 +public class Test_test1 { - public static int Main() - { - test1(); - test2(); - return (100); - } - + [Fact] public static void test1() { C c = new C(); @@ -40,6 +35,7 @@ public static void test1() foo(c.s1); } + [Fact] public static void test2() { C c = new C(); @@ -48,7 +44,7 @@ public static void test2() foo(s); } - public static void foo(S s) + private static void foo(S s) { Console.WriteLine(s.O1); Console.WriteLine(s.O2); diff --git a/src/tests/JIT/jit64/gc/misc/test1.csproj b/src/tests/JIT/jit64/gc/misc/test1_misc.csproj similarity index 89% rename from src/tests/JIT/jit64/gc/misc/test1.csproj rename to src/tests/JIT/jit64/gc/misc/test1_misc.csproj index 4162a7e21dbda9..2c61b708a51322 100644 --- a/src/tests/JIT/jit64/gc/misc/test1.csproj +++ b/src/tests/JIT/jit64/gc/misc/test1_misc.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/test2.cs b/src/tests/JIT/jit64/gc/misc/test2.cs index d8ec3027a90f20..c62c9bc56db0cc 100644 --- a/src/tests/JIT/jit64/gc/misc/test2.cs +++ b/src/tests/JIT/jit64/gc/misc/test2.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct S { @@ -28,15 +29,9 @@ public C() } } -class Test_test2 +public class Test_test2 { - public static int Main() - { - test1(); - test2(); - return (100); - } - + [Fact] public static void test1() { C c = new C(); @@ -44,6 +39,7 @@ public static void test1() foo(c.s1); } + [Fact] public static void test2() { C c = new C(); @@ -52,7 +48,7 @@ public static void test2() foo(s); } - public static void foo(S s) + private static void foo(S s) { Console.WriteLine(s.O1); Console.WriteLine(s.O2); diff --git a/src/tests/JIT/jit64/gc/misc/test2.csproj b/src/tests/JIT/jit64/gc/misc/test2_misc.csproj similarity index 89% rename from src/tests/JIT/jit64/gc/misc/test2.csproj rename to src/tests/JIT/jit64/gc/misc/test2_misc.csproj index f3eeaac4f4b3dd..9bf6b8b3c1f832 100644 --- a/src/tests/JIT/jit64/gc/misc/test2.csproj +++ b/src/tests/JIT/jit64/gc/misc/test2_misc.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/test3.cs b/src/tests/JIT/jit64/gc/misc/test3.cs index 47432d35b81ec3..89901892c76e05 100644 --- a/src/tests/JIT/jit64/gc/misc/test3.cs +++ b/src/tests/JIT/jit64/gc/misc/test3.cs @@ -3,6 +3,7 @@ // using System; +using Xunit; struct S { @@ -19,9 +20,10 @@ struct S public Object O11; } -class Test_test3 +public class Test_test3 { - public static int Main() + [Fact] + public static int TestEntryPoint() { S s = new S(); @@ -41,7 +43,7 @@ public static int Main() return (100); } - public static void test(S s) + private static void test(S s) { Console.WriteLine(s.O1); Console.WriteLine(s.O2); diff --git a/src/tests/JIT/jit64/gc/misc/test3.csproj b/src/tests/JIT/jit64/gc/misc/test3.csproj index aa1c6b56faf28a..3202fe597f3ee3 100644 --- a/src/tests/JIT/jit64/gc/misc/test3.csproj +++ b/src/tests/JIT/jit64/gc/misc/test3.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/test_noalloca.cs b/src/tests/JIT/jit64/gc/misc/test_noalloca.cs index f237c4412d66f3..d596b7115d8fa0 100644 --- a/src/tests/JIT/jit64/gc/misc/test_noalloca.cs +++ b/src/tests/JIT/jit64/gc/misc/test_noalloca.cs @@ -3,14 +3,16 @@ // using System; +using Xunit; -class Test_test_noalloca +public class Test_test_noalloca { #pragma warning disable 0414 static int x = 25; #pragma warning restore 0414 - public static int Main() + [Fact] + public static int TestEntryPoint() { String s1 = "a"; String s2 = "b"; @@ -31,7 +33,7 @@ public static int Main() return (100); } - public static void foo(String s1, String s2, String s3, String s4, String s5, String s6, String s7, String s8, String s9, String s10) + internal static void foo(String s1, String s2, String s3, String s4, String s5, String s6, String s7, String s8, String s9, String s10) { Console.WriteLine(s10); } diff --git a/src/tests/JIT/jit64/gc/misc/test_noalloca.csproj b/src/tests/JIT/jit64/gc/misc/test_noalloca.csproj index 03ce50cdbb47df..88dc54e28c50fa 100644 --- a/src/tests/JIT/jit64/gc/misc/test_noalloca.csproj +++ b/src/tests/JIT/jit64/gc/misc/test_noalloca.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/misc/vbil.cs b/src/tests/JIT/jit64/gc/misc/vbil.cs index 724bb9fa31d66d..378d300ff576a1 100644 --- a/src/tests/JIT/jit64/gc/misc/vbil.cs +++ b/src/tests/JIT/jit64/gc/misc/vbil.cs @@ -2,17 +2,19 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; class C { public int x = 5; public int y = 7; } -class T +public class T { public static bool GLOBAL = true; - public static int Main() + [Fact] + public static int TestEntryPoint() { C c = new C(); diff --git a/src/tests/JIT/jit64/gc/misc/vbil.csproj b/src/tests/JIT/jit64/gc/misc/vbil.csproj index 636f3e325e9275..ca1238c0fecf38 100644 --- a/src/tests/JIT/jit64/gc/misc/vbil.csproj +++ b/src/tests/JIT/jit64/gc/misc/vbil.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/gc/regress/vswhidbey/143837.cs b/src/tests/JIT/jit64/gc/regress/vswhidbey/143837.cs index 07d4f13c84ff82..b2d613f90f04ca 100644 --- a/src/tests/JIT/jit64/gc/regress/vswhidbey/143837.cs +++ b/src/tests/JIT/jit64/gc/regress/vswhidbey/143837.cs @@ -3,13 +3,15 @@ // using System; +using Xunit; public class Test_143837 { public static TestClass static_TestClass; public static DerivedClass static_DerivedClass; - public static int Main() + [Fact] + public static int TestEntryPoint() { if (Test1() != 100) return 1; diff --git a/src/tests/JIT/jit64/gc/regress/vswhidbey/143837.csproj b/src/tests/JIT/jit64/gc/regress/vswhidbey/143837.csproj index f3d9c93f5c64dc..75174b019d00ef 100644 --- a/src/tests/JIT/jit64/gc/regress/vswhidbey/143837.csproj +++ b/src/tests/JIT/jit64/gc/regress/vswhidbey/143837.csproj @@ -1,7 +1,4 @@ - - Exe - Full False diff --git a/src/tests/JIT/jit64/gc/regress/vswhidbey/339415.cs b/src/tests/JIT/jit64/gc/regress/vswhidbey/339415.cs index ca8b6213881457..f04bede853f63c 100644 --- a/src/tests/JIT/jit64/gc/regress/vswhidbey/339415.cs +++ b/src/tests/JIT/jit64/gc/regress/vswhidbey/339415.cs @@ -2,15 +2,17 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; // Basically, the problem is FP relative stack reporting + GC pointer passed on the stack. GC offsets // are normally reported relative to PSP which is valid during prolog. When there is EH we report // stack offsets relative to FP. This is causing problems. This is likely due to the fact that we // haven't yet set up the frame pointer register. -class TEST +public class TEST { - public static int Main() + [Fact] + public static int TestEntryPoint() { object o = "test"; diff --git a/src/tests/JIT/jit64/gc/regress/vswhidbey/339415.csproj b/src/tests/JIT/jit64/gc/regress/vswhidbey/339415.csproj index 3fb87bd0e73d43..ec0fa053fb39a3 100644 --- a/src/tests/JIT/jit64/gc/regress/vswhidbey/339415.csproj +++ b/src/tests/JIT/jit64/gc/regress/vswhidbey/339415.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/hfa/main/dll/hfa_nested_f64_interop_cpp.csproj b/src/tests/JIT/jit64/hfa/main/dll/hfa_nested_f64_interop_cpp.csproj index c470c81db6a691..d82380d9f192b8 100644 --- a/src/tests/JIT/jit64/hfa/main/dll/hfa_nested_f64_interop_cpp.csproj +++ b/src/tests/JIT/jit64/hfa/main/dll/hfa_nested_f64_interop_cpp.csproj @@ -1,5 +1,7 @@ + + true Library BuildOnly false diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_nd0A_d.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_nd0A_d.csproj index 8d24dbdf510e5e..144281b7875e25 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_nd0A_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_nd0A_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_nd0A_r.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_nd0A_r.csproj index 2dc35782c00fb8..59283283f66451 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_nd0A_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_nd0A_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_nd1A_d.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_nd1A_d.csproj index 7a503ed98f2431..8b1500bee41bd6 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_nd1A_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_nd1A_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_nd1A_r.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_nd1A_r.csproj index 71791560ba65b8..6937ea9846c446 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_nd1A_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_nd1A_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_nd2A_d.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_nd2A_d.csproj index 41ae82058ff83a..f6446a53f58d6e 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_nd2A_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_nd2A_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_nd2A_r.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_nd2A_r.csproj index f93723c700d59a..1623da04f2371e 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_nd2A_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_nd2A_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_nf0A_d.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_nf0A_d.csproj index 89e8b854a3dc00..8651e5abb23628 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_nf0A_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_nf0A_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_nf0A_r.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_nf0A_r.csproj index d3d6ecb8a1ef66..05fe26037aedcd 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_nf0A_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_nf0A_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_nf1A_d.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_nf1A_d.csproj index 7ca74cecbff0fe..376fac88591a56 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_nf1A_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_nf1A_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_nf1A_r.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_nf1A_r.csproj index b052cf34429ad2..3a5893f6b336a4 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_nf1A_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_nf1A_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_nf2A_d.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_nf2A_d.csproj index 4f01abdad769e9..bdc39b8eed92d1 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_nf2A_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_nf2A_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_nf2A_r.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_nf2A_r.csproj index 30bd95a2e3b309..1760d3f7cda870 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_nf2A_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_nf2A_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_sd0A_d.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_sd0A_d.csproj index 289f8ac319f5f2..36e3ae5e205fe5 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_sd0A_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_sd0A_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_sd0A_r.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_sd0A_r.csproj index afcf87f602afc8..7b409dab0296dd 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_sd0A_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_sd0A_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_sd1A_d.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_sd1A_d.csproj index c8aa1b5895416e..21bdad87843d1e 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_sd1A_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_sd1A_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_sd1A_r.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_sd1A_r.csproj index 65f5827c039545..3a46ef05347e07 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_sd1A_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_sd1A_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_sd2A_d.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_sd2A_d.csproj index f4732e0813c9fe..c6033cb9704649 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_sd2A_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_sd2A_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_sd2A_r.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_sd2A_r.csproj index 7cd93d0a91f24a..84e865a88838db 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_sd2A_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_sd2A_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_sf0A_d.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_sf0A_d.csproj index 8e2a0b1286c10b..74b537d8b26394 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_sf0A_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_sf0A_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_sf0A_r.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_sf0A_r.csproj index 3cec49a1b32ea2..881ce73bf9436c 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_sf0A_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_sf0A_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_sf1A_d.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_sf1A_d.csproj index 9cb9c98a27c176..6057799056c1c8 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_sf1A_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_sf1A_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_sf1A_r.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_sf1A_r.csproj index e04a6eaaa1e5de..52473178f8fd20 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_sf1A_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_sf1A_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_sf2A_d.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_sf2A_d.csproj index 2d15bd389ba8a1..5d58fc8c40c787 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_sf2A_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_sf2A_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_sf2A_r.csproj b/src/tests/JIT/jit64/hfa/main/testA/hfa_sf2A_r.csproj index 155a6ed583ac7e..1936c66fad2364 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_sf2A_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_sf2A_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testA/hfa_testA.cs b/src/tests/JIT/jit64/hfa/main/testA/hfa_testA.cs index 8a4cdb84701160..1a65c414624542 100644 --- a/src/tests/JIT/jit64/hfa/main/testA/hfa_testA.cs +++ b/src/tests/JIT/jit64/hfa/main/testA/hfa_testA.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; namespace HFATest { @@ -17,7 +18,8 @@ public class TestCase const float CONST_FLOAT32 = (float)77.0; const double CONST_FLOAT64 = (double)77.0; - static int Main() + [Fact] + public static int TestEntryPoint() { HFA01 hfa01; diff --git a/src/tests/JIT/jit64/hfa/main/testB/hfa_nd0B_d.csproj b/src/tests/JIT/jit64/hfa/main/testB/hfa_nd0B_d.csproj index ca2de07eb81078..b7014d2d55a77c 100644 --- a/src/tests/JIT/jit64/hfa/main/testB/hfa_nd0B_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testB/hfa_nd0B_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testB/hfa_nd0B_r.csproj b/src/tests/JIT/jit64/hfa/main/testB/hfa_nd0B_r.csproj index d839f41d431d96..dd86636852166f 100644 --- a/src/tests/JIT/jit64/hfa/main/testB/hfa_nd0B_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testB/hfa_nd0B_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testB/hfa_nd2B_d.csproj b/src/tests/JIT/jit64/hfa/main/testB/hfa_nd2B_d.csproj index 8ed1df245a285b..58a0024122da47 100644 --- a/src/tests/JIT/jit64/hfa/main/testB/hfa_nd2B_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testB/hfa_nd2B_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testB/hfa_nd2B_r.csproj b/src/tests/JIT/jit64/hfa/main/testB/hfa_nd2B_r.csproj index 70079b09699f76..4c801ae1c82cd6 100644 --- a/src/tests/JIT/jit64/hfa/main/testB/hfa_nd2B_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testB/hfa_nd2B_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testB/hfa_nf0B_d.csproj b/src/tests/JIT/jit64/hfa/main/testB/hfa_nf0B_d.csproj index 614c07956ddc81..87dea2be99c91e 100644 --- a/src/tests/JIT/jit64/hfa/main/testB/hfa_nf0B_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testB/hfa_nf0B_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testB/hfa_nf0B_r.csproj b/src/tests/JIT/jit64/hfa/main/testB/hfa_nf0B_r.csproj index 5fc50df61d0835..c7a3766513dde8 100644 --- a/src/tests/JIT/jit64/hfa/main/testB/hfa_nf0B_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testB/hfa_nf0B_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testB/hfa_nf2B_d.csproj b/src/tests/JIT/jit64/hfa/main/testB/hfa_nf2B_d.csproj index 646a666feea1cc..c6bc2ee5807729 100644 --- a/src/tests/JIT/jit64/hfa/main/testB/hfa_nf2B_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testB/hfa_nf2B_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testB/hfa_nf2B_r.csproj b/src/tests/JIT/jit64/hfa/main/testB/hfa_nf2B_r.csproj index abc1b723372fd5..6ef20ef810fd3f 100644 --- a/src/tests/JIT/jit64/hfa/main/testB/hfa_nf2B_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testB/hfa_nf2B_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testB/hfa_sd0B_d.csproj b/src/tests/JIT/jit64/hfa/main/testB/hfa_sd0B_d.csproj index 6613bbc0f68bab..2944fb62db9b65 100644 --- a/src/tests/JIT/jit64/hfa/main/testB/hfa_sd0B_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testB/hfa_sd0B_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testB/hfa_sd0B_r.csproj b/src/tests/JIT/jit64/hfa/main/testB/hfa_sd0B_r.csproj index 26387fc5bda62a..26489292994b24 100644 --- a/src/tests/JIT/jit64/hfa/main/testB/hfa_sd0B_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testB/hfa_sd0B_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testB/hfa_sd2B_d.csproj b/src/tests/JIT/jit64/hfa/main/testB/hfa_sd2B_d.csproj index 61fa7a2db8ed1b..5880bc518be6bc 100644 --- a/src/tests/JIT/jit64/hfa/main/testB/hfa_sd2B_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testB/hfa_sd2B_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testB/hfa_sd2B_r.csproj b/src/tests/JIT/jit64/hfa/main/testB/hfa_sd2B_r.csproj index 80e1cbb862392c..3ade2557c34404 100644 --- a/src/tests/JIT/jit64/hfa/main/testB/hfa_sd2B_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testB/hfa_sd2B_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testB/hfa_sf0B_d.csproj b/src/tests/JIT/jit64/hfa/main/testB/hfa_sf0B_d.csproj index c04d0fbd3be7ce..ab8d8362eed0fb 100644 --- a/src/tests/JIT/jit64/hfa/main/testB/hfa_sf0B_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testB/hfa_sf0B_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testB/hfa_sf0B_r.csproj b/src/tests/JIT/jit64/hfa/main/testB/hfa_sf0B_r.csproj index 23cd4a5908b3e0..37b53b18061bed 100644 --- a/src/tests/JIT/jit64/hfa/main/testB/hfa_sf0B_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testB/hfa_sf0B_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testB/hfa_sf2B_d.csproj b/src/tests/JIT/jit64/hfa/main/testB/hfa_sf2B_d.csproj index c9c05ee736e30d..08537b15adf6d9 100644 --- a/src/tests/JIT/jit64/hfa/main/testB/hfa_sf2B_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testB/hfa_sf2B_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testB/hfa_sf2B_r.csproj b/src/tests/JIT/jit64/hfa/main/testB/hfa_sf2B_r.csproj index 88761f67dea22d..29c506b2790ed0 100644 --- a/src/tests/JIT/jit64/hfa/main/testB/hfa_sf2B_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testB/hfa_sf2B_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testB/hfa_testB.cs b/src/tests/JIT/jit64/hfa/main/testB/hfa_testB.cs index cb2cc2023b38e6..f7bee9a3c8ebbe 100644 --- a/src/tests/JIT/jit64/hfa/main/testB/hfa_testB.cs +++ b/src/tests/JIT/jit64/hfa/main/testB/hfa_testB.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; namespace HFATest { @@ -17,7 +18,8 @@ public class TestCase const float CONST_FLOAT32 = (float)-128.0; const double CONST_FLOAT64 = (double)-128.0; - static int Main() + [Fact] + public static int TestEntryPoint() { HFA01 hfa01; diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_nd0C_d.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_nd0C_d.csproj index fe7b8390339c89..5b35cddcbd1b7f 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_nd0C_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_nd0C_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_nd0C_r.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_nd0C_r.csproj index de8c7b53b0d573..b746c42d03f058 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_nd0C_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_nd0C_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_nd1C_d.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_nd1C_d.csproj index 44a12835077665..2f0bf8a33c4ee0 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_nd1C_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_nd1C_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_nd1C_r.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_nd1C_r.csproj index 206b553669a825..7c13fd93eee3f7 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_nd1C_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_nd1C_r.csproj @@ -1,6 +1,7 @@ - Exe + + true diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_nd2C_d.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_nd2C_d.csproj index 95e990067a6cf5..f229cf11b9e52f 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_nd2C_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_nd2C_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_nd2C_r.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_nd2C_r.csproj index 23886a02c2c4b7..f4688126ad5a2a 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_nd2C_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_nd2C_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_nf0C_d.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_nf0C_d.csproj index 25cdd37bee2b69..ab9e02a15a32f7 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_nf0C_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_nf0C_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_nf0C_r.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_nf0C_r.csproj index ee66699b9b2e85..78db6548a48a30 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_nf0C_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_nf0C_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_nf1C_d.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_nf1C_d.csproj index adca605faa6864..76ea59e3367dd6 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_nf1C_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_nf1C_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_nf1C_r.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_nf1C_r.csproj index 8550fc801304a1..c1ac53c6a2a91d 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_nf1C_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_nf1C_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_nf2C_d.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_nf2C_d.csproj index 33d51a8f4e4eea..0a4b1bb9ef81db 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_nf2C_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_nf2C_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_nf2C_r.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_nf2C_r.csproj index 7fb1136188ba5e..f3ef987c7d7cf0 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_nf2C_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_nf2C_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_sd0C_d.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_sd0C_d.csproj index 87aa54552dc493..12f349c76d0c31 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_sd0C_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_sd0C_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_sd0C_r.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_sd0C_r.csproj index ff65421d5563ba..b2436fd19f2dce 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_sd0C_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_sd0C_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_sd1C_d.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_sd1C_d.csproj index 8adc3ffacc2c57..4fab292dad1f8f 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_sd1C_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_sd1C_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_sd1C_r.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_sd1C_r.csproj index 2b2f8adca91c9c..0ef9745f42f1c0 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_sd1C_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_sd1C_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_sd2C_d.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_sd2C_d.csproj index d85374ed29c16e..f59fe94898832c 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_sd2C_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_sd2C_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_sd2C_r.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_sd2C_r.csproj index b626d7d21329a6..e3e328cd7371c2 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_sd2C_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_sd2C_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_sf0C_d.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_sf0C_d.csproj index c3eaa8e0035a8d..e16007034ccdd1 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_sf0C_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_sf0C_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_sf0C_r.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_sf0C_r.csproj index 39df709d33c2bb..9defb84da15992 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_sf0C_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_sf0C_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_sf1C_d.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_sf1C_d.csproj index 07cdaf900162b5..39faf9a40c6c0e 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_sf1C_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_sf1C_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_sf1C_r.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_sf1C_r.csproj index 9c0dddb8e466f8..1d759d6c64a7f1 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_sf1C_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_sf1C_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_sf2C_d.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_sf2C_d.csproj index 7efcff8dc819ca..45b47e04deb0b0 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_sf2C_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_sf2C_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_sf2C_r.csproj b/src/tests/JIT/jit64/hfa/main/testC/hfa_sf2C_r.csproj index 9afe9ec5f00aba..41a82f7852d95d 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_sf2C_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_sf2C_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testC/hfa_testC.cs b/src/tests/JIT/jit64/hfa/main/testC/hfa_testC.cs index 3c41c78802b926..ce30f22c8b0909 100644 --- a/src/tests/JIT/jit64/hfa/main/testC/hfa_testC.cs +++ b/src/tests/JIT/jit64/hfa/main/testC/hfa_testC.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; namespace HFATest { @@ -17,7 +18,8 @@ public class TestCase const double CONST_FLOAT64 = (double)77.0; #pragma warning restore 0414 - static int Main() + [Fact] + public static int TestEntryPoint() { HFA01 hfa01; diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_nd0E_d.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_nd0E_d.csproj index f2f311f9e56976..6649b58ad6573a 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_nd0E_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_nd0E_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_nd0E_r.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_nd0E_r.csproj index 286fb3bbf8f845..773e14e2351ce0 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_nd0E_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_nd0E_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_nd1E_d.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_nd1E_d.csproj index 4be890bfa9571a..50e7f3350334c4 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_nd1E_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_nd1E_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_nd1E_r.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_nd1E_r.csproj index 72de2149a0c58c..122edeb93386d1 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_nd1E_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_nd1E_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_nd2E_d.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_nd2E_d.csproj index e204ef4de7c2a5..f225a846db1e60 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_nd2E_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_nd2E_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_nd2E_r.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_nd2E_r.csproj index ed5b96be95786b..609b3debadd64a 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_nd2E_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_nd2E_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_nf0E_d.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_nf0E_d.csproj index 93628edd5b8ada..75b3829d2f55dc 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_nf0E_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_nf0E_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_nf0E_r.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_nf0E_r.csproj index c3711bfd40dcc4..1797059ceb61eb 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_nf0E_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_nf0E_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_nf1E_d.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_nf1E_d.csproj index 6db214e8dab0ac..25d5a609adf8e0 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_nf1E_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_nf1E_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_nf1E_r.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_nf1E_r.csproj index 1847eb56b2dd0f..de482963feb9b0 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_nf1E_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_nf1E_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_nf2E_d.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_nf2E_d.csproj index 7b4618095f8e87..a0727f248a6577 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_nf2E_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_nf2E_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_nf2E_r.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_nf2E_r.csproj index 3370cfc27d21dd..b7feb453e131fa 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_nf2E_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_nf2E_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_sd0E_d.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_sd0E_d.csproj index c582f09defe9c1..b37107a2230d36 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_sd0E_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_sd0E_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_sd0E_r.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_sd0E_r.csproj index 53638ee350696f..b381d0fdc0d498 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_sd0E_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_sd0E_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_sd1E_d.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_sd1E_d.csproj index de372db65f5fa3..5d9ae737edaa96 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_sd1E_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_sd1E_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_sd1E_r.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_sd1E_r.csproj index ebce7e82dde4b4..ba796caf8ea072 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_sd1E_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_sd1E_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_sd2E_d.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_sd2E_d.csproj index 112c6f605ce6e9..cebf000e1f8ded 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_sd2E_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_sd2E_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_sd2E_r.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_sd2E_r.csproj index ab6030c9dfed8a..0e538325406872 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_sd2E_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_sd2E_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_sf0E_d.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_sf0E_d.csproj index e904af3d1418b0..4579f26a8b3b31 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_sf0E_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_sf0E_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_sf0E_r.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_sf0E_r.csproj index c98b44b10b9192..0a71ab99798569 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_sf0E_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_sf0E_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_sf1E_d.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_sf1E_d.csproj index a7919e32c98a72..b0c69e2b4f5104 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_sf1E_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_sf1E_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_sf1E_r.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_sf1E_r.csproj index d3735034b4e908..9515e62f30c00c 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_sf1E_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_sf1E_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_sf2E_d.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_sf2E_d.csproj index 0882ef2e8fa0d1..4709e657f0beca 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_sf2E_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_sf2E_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_sf2E_r.csproj b/src/tests/JIT/jit64/hfa/main/testE/hfa_sf2E_r.csproj index 20ba103a6585dc..8830166d0fbf7f 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_sf2E_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_sf2E_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testE/hfa_testE.cs b/src/tests/JIT/jit64/hfa/main/testE/hfa_testE.cs index e9e84767f90366..f7fca77a1bbe7d 100644 --- a/src/tests/JIT/jit64/hfa/main/testE/hfa_testE.cs +++ b/src/tests/JIT/jit64/hfa/main/testE/hfa_testE.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; namespace HFATest { @@ -17,7 +18,8 @@ public class TestCase const double CONST_FLOAT64 = (double)77.0; #pragma warning restore 0414 - static int Main() + [Fact] + public static int TestEntryPoint() { HFA01 hfa01; diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_nd0G_d.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_nd0G_d.csproj index 393661beec3338..dd28b44c9bda91 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_nd0G_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_nd0G_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_nd0G_r.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_nd0G_r.csproj index 9b24b7d8059440..2274ac7a563ab8 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_nd0G_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_nd0G_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_nd1G_d.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_nd1G_d.csproj index 132304d8bb1ec5..880da0d0b39ad1 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_nd1G_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_nd1G_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_nd1G_r.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_nd1G_r.csproj index 36174ac6c8eb79..da8252509ce4f5 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_nd1G_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_nd1G_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_nd2G_d.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_nd2G_d.csproj index d43d0ddd3d3071..d2accffa7d1200 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_nd2G_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_nd2G_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_nd2G_r.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_nd2G_r.csproj index 3751d89161459e..c0713710cb07a4 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_nd2G_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_nd2G_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_nf0G_d.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_nf0G_d.csproj index b92d3287a8889f..c6d315db21e7aa 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_nf0G_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_nf0G_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_nf0G_r.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_nf0G_r.csproj index 8c001d38f5b0d9..99de5e20f0a2db 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_nf0G_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_nf0G_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_nf1G_d.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_nf1G_d.csproj index 21c8480f7f64f4..9a22a6c926b157 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_nf1G_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_nf1G_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_nf1G_r.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_nf1G_r.csproj index 8e3b829a7d3b90..4d9ffeaaa94bf7 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_nf1G_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_nf1G_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_nf2G_d.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_nf2G_d.csproj index 790bec59430818..34236426629244 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_nf2G_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_nf2G_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_nf2G_r.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_nf2G_r.csproj index 1ce79f9c4d75f8..ceb7184cdb34fa 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_nf2G_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_nf2G_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_sd0G_d.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_sd0G_d.csproj index edbb5a1e4be8e6..b74bf000226902 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_sd0G_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_sd0G_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_sd0G_r.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_sd0G_r.csproj index 4dca39fce30e93..1ea7b2e00b07bd 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_sd0G_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_sd0G_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_sd1G_d.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_sd1G_d.csproj index 501f58a03d2363..054a3a6b220238 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_sd1G_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_sd1G_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_sd1G_r.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_sd1G_r.csproj index 4e1e08bce1e7b2..c2f2b19a4a48b3 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_sd1G_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_sd1G_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_sd2G_d.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_sd2G_d.csproj index 158170a88c0b09..4704fed6e0b94e 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_sd2G_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_sd2G_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_sd2G_r.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_sd2G_r.csproj index 31b8c30d71aaf5..ae2c725f0a7c1a 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_sd2G_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_sd2G_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_sf0G_d.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_sf0G_d.csproj index 588e1d8af21f97..99a0a2fb66bbe2 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_sf0G_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_sf0G_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_sf0G_r.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_sf0G_r.csproj index f690c45f7fba27..fc95305670f0a6 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_sf0G_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_sf0G_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_sf1G_d.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_sf1G_d.csproj index d7c035967876ab..1ba27cf2ee6f21 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_sf1G_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_sf1G_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_sf1G_r.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_sf1G_r.csproj index f88c464b6d38b4..8646e56995949c 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_sf1G_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_sf1G_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_sf2G_d.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_sf2G_d.csproj index 8caf78248c4d5e..dc0cc3db6e74f5 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_sf2G_d.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_sf2G_d.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_sf2G_r.csproj b/src/tests/JIT/jit64/hfa/main/testG/hfa_sf2G_r.csproj index e42ef7370c7191..a39899f4dee017 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_sf2G_r.csproj +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_sf2G_r.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/hfa/main/testG/hfa_testG.cs b/src/tests/JIT/jit64/hfa/main/testG/hfa_testG.cs index f8c769207a0e0e..8e9758a07f707a 100644 --- a/src/tests/JIT/jit64/hfa/main/testG/hfa_testG.cs +++ b/src/tests/JIT/jit64/hfa/main/testG/hfa_testG.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; namespace HFATest { @@ -15,7 +16,8 @@ public class TestCase const float CONST_FLOAT32 = (float)12874.00; const double CONST_FLOAT64 = (double)-57168.00; - static int Main() + [Fact] + public static int TestEntryPoint() { HFA01 hfa01; diff --git a/src/tests/JIT/jit64/jit64_d.csproj b/src/tests/JIT/jit64/jit64_d.csproj new file mode 100644 index 00000000000000..10468f5e194df5 --- /dev/null +++ b/src/tests/JIT/jit64/jit64_d.csproj @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/tests/JIT/jit64/jit64_do.csproj b/src/tests/JIT/jit64/jit64_do.csproj new file mode 100644 index 00000000000000..94b1f9e899c78c --- /dev/null +++ b/src/tests/JIT/jit64/jit64_do.csproj @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/tests/JIT/jit64/jit64_others.csproj b/src/tests/JIT/jit64/jit64_others.csproj new file mode 100644 index 00000000000000..19296391f28ee0 --- /dev/null +++ b/src/tests/JIT/jit64/jit64_others.csproj @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/tests/JIT/jit64/jit64_r.csproj b/src/tests/JIT/jit64/jit64_r.csproj new file mode 100644 index 00000000000000..036161a191b996 --- /dev/null +++ b/src/tests/JIT/jit64/jit64_r.csproj @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/src/tests/JIT/jit64/jit64_ro.csproj b/src/tests/JIT/jit64/jit64_ro.csproj new file mode 100644 index 00000000000000..2d0399b4354a63 --- /dev/null +++ b/src/tests/JIT/jit64/jit64_ro.csproj @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/tests/JIT/jit64/localloc/call/call05_dynamic.il b/src/tests/JIT/jit64/localloc/call/call05_dynamic.il index 6b4fb63cbf68a1..ae19b49ac59cd2 100644 --- a/src/tests/JIT/jit64/localloc/call/call05_dynamic.il +++ b/src/tests/JIT/jit64/localloc/call/call05_dynamic.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'call05_dynamic'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/call/call05_dynamic.ilproj b/src/tests/JIT/jit64/localloc/call/call05_dynamic.ilproj index a87f33bc33d738..a8540d6f5c6224 100644 --- a/src/tests/JIT/jit64/localloc/call/call05_dynamic.ilproj +++ b/src/tests/JIT/jit64/localloc/call/call05_dynamic.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/localloc/call/call05_large.il b/src/tests/JIT/jit64/localloc/call/call05_large.il index 6a60e5f03026c8..4414f6a91377bc 100644 --- a/src/tests/JIT/jit64/localloc/call/call05_large.il +++ b/src/tests/JIT/jit64/localloc/call/call05_large.il @@ -11,7 +11,7 @@ .assembly extern localloc_common{} .assembly 'call05_large'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/call/call05_large.ilproj b/src/tests/JIT/jit64/localloc/call/call05_large.ilproj index 016265d613c50d..cc998b68f90dbb 100644 --- a/src/tests/JIT/jit64/localloc/call/call05_large.ilproj +++ b/src/tests/JIT/jit64/localloc/call/call05_large.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/localloc/call/call05_small.il b/src/tests/JIT/jit64/localloc/call/call05_small.il index b8217e4cbd5e5a..b973a565fd1563 100644 --- a/src/tests/JIT/jit64/localloc/call/call05_small.il +++ b/src/tests/JIT/jit64/localloc/call/call05_small.il @@ -11,7 +11,7 @@ .assembly extern localloc_common{} .assembly 'call05_small'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/call/call05_small.ilproj b/src/tests/JIT/jit64/localloc/call/call05_small.ilproj index 3322668227bca2..083cf3973f4e1a 100644 --- a/src/tests/JIT/jit64/localloc/call/call05_small.ilproj +++ b/src/tests/JIT/jit64/localloc/call/call05_small.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/localloc/call/call07_dynamic.il b/src/tests/JIT/jit64/localloc/call/call07_dynamic.il index 136047b6a455cf..43ae7b9fe84224 100644 --- a/src/tests/JIT/jit64/localloc/call/call07_dynamic.il +++ b/src/tests/JIT/jit64/localloc/call/call07_dynamic.il @@ -10,7 +10,7 @@ .assembly extern localloc_common{} .assembly 'call07_dynamic'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/call/call07_dynamic.ilproj b/src/tests/JIT/jit64/localloc/call/call07_dynamic.ilproj index ec1ed25880e4f8..51bcd8438a453c 100644 --- a/src/tests/JIT/jit64/localloc/call/call07_dynamic.ilproj +++ b/src/tests/JIT/jit64/localloc/call/call07_dynamic.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/call/call07_small.il b/src/tests/JIT/jit64/localloc/call/call07_small.il index 6df0c5a0dd369b..f22ffccdb92eee 100644 --- a/src/tests/JIT/jit64/localloc/call/call07_small.il +++ b/src/tests/JIT/jit64/localloc/call/call07_small.il @@ -10,7 +10,7 @@ .assembly extern localloc_common{} .assembly 'call07_small'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/call/call07_small.ilproj b/src/tests/JIT/jit64/localloc/call/call07_small.ilproj index 8c6f65d7552b5d..41c8366496c4a4 100644 --- a/src/tests/JIT/jit64/localloc/call/call07_small.ilproj +++ b/src/tests/JIT/jit64/localloc/call/call07_small.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/eh/eh01.cs b/src/tests/JIT/jit64/localloc/eh/eh01.cs index 987d673ca5341d..60eabd015ccc18 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh01.cs +++ b/src/tests/JIT/jit64/localloc/eh/eh01.cs @@ -7,10 +7,12 @@ using System; using LocallocTesting; +using Xunit; -internal class LocallocTest +public class LocallocTest { - public static unsafe int Main() + [Fact] + public static unsafe int TestEntryPoint() { ulong local1 = Global.INITIAL_VALUE; ulong local2 = local1 + 1; diff --git a/src/tests/JIT/jit64/localloc/eh/eh01_dynamic.csproj b/src/tests/JIT/jit64/localloc/eh/eh01_dynamic.csproj index c13f2ebf28be30..e3f874b4bf5ee4 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh01_dynamic.csproj +++ b/src/tests/JIT/jit64/localloc/eh/eh01_dynamic.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/eh/eh01_large.csproj b/src/tests/JIT/jit64/localloc/eh/eh01_large.csproj index 0047cacf67ea44..96d948d47815a4 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh01_large.csproj +++ b/src/tests/JIT/jit64/localloc/eh/eh01_large.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/eh/eh01_small.csproj b/src/tests/JIT/jit64/localloc/eh/eh01_small.csproj index 1c8b1f4e321fe4..283332f4555086 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh01_small.csproj +++ b/src/tests/JIT/jit64/localloc/eh/eh01_small.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/eh/eh02.cs b/src/tests/JIT/jit64/localloc/eh/eh02.cs index 37d14148149a28..54d8155eb1fa53 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh02.cs +++ b/src/tests/JIT/jit64/localloc/eh/eh02.cs @@ -7,10 +7,12 @@ using System; using LocallocTesting; +using Xunit; -internal class LocallocTest +public class LocallocTest { - public static unsafe int Main() + [Fact] + public static unsafe int TestEntryPoint() { bool testPassed = true; ulong local1 = Global.INITIAL_VALUE; diff --git a/src/tests/JIT/jit64/localloc/eh/eh02_dynamic.csproj b/src/tests/JIT/jit64/localloc/eh/eh02_dynamic.csproj index 100f3a2956203d..3b518cd8287245 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh02_dynamic.csproj +++ b/src/tests/JIT/jit64/localloc/eh/eh02_dynamic.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/eh/eh02_large.csproj b/src/tests/JIT/jit64/localloc/eh/eh02_large.csproj index 0cd835c20c6a1b..1f76d8808ad509 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh02_large.csproj +++ b/src/tests/JIT/jit64/localloc/eh/eh02_large.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/eh/eh02_small.csproj b/src/tests/JIT/jit64/localloc/eh/eh02_small.csproj index c2e763005c3784..ffe9df5c6dd022 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh02_small.csproj +++ b/src/tests/JIT/jit64/localloc/eh/eh02_small.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/eh/eh03_dynamic.il b/src/tests/JIT/jit64/localloc/eh/eh03_dynamic.il index c4a99c50776d51..42e6b9a3049a4e 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh03_dynamic.il +++ b/src/tests/JIT/jit64/localloc/eh/eh03_dynamic.il @@ -12,7 +12,7 @@ .assembly extern localloc_common {} .assembly 'eh03_dynamic'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/eh/eh03_dynamic.ilproj b/src/tests/JIT/jit64/localloc/eh/eh03_dynamic.ilproj index 51820ffdca5708..7f1af028482ca4 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh03_dynamic.ilproj +++ b/src/tests/JIT/jit64/localloc/eh/eh03_dynamic.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/localloc/eh/eh03_large.il b/src/tests/JIT/jit64/localloc/eh/eh03_large.il index f2593651290673..4ceb9c3c10226b 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh03_large.il +++ b/src/tests/JIT/jit64/localloc/eh/eh03_large.il @@ -12,7 +12,7 @@ .assembly extern localloc_common {} .assembly 'eh03_large'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/eh/eh03_large.ilproj b/src/tests/JIT/jit64/localloc/eh/eh03_large.ilproj index e6d2aaff07308b..ecb42552f2342f 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh03_large.ilproj +++ b/src/tests/JIT/jit64/localloc/eh/eh03_large.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/localloc/eh/eh03_small.il b/src/tests/JIT/jit64/localloc/eh/eh03_small.il index ebc6f454918d9a..79fa9bec8a9dcc 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh03_small.il +++ b/src/tests/JIT/jit64/localloc/eh/eh03_small.il @@ -12,7 +12,7 @@ .assembly extern localloc_common {} .assembly 'eh03_small'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/eh/eh03_small.ilproj b/src/tests/JIT/jit64/localloc/eh/eh03_small.ilproj index e740b2003d47a5..60dce07de4c8e9 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh03_small.ilproj +++ b/src/tests/JIT/jit64/localloc/eh/eh03_small.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/localloc/eh/eh04_dynamic.il b/src/tests/JIT/jit64/localloc/eh/eh04_dynamic.il index f77c2a784204de..da2407ff1ef31f 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh04_dynamic.il +++ b/src/tests/JIT/jit64/localloc/eh/eh04_dynamic.il @@ -11,7 +11,7 @@ .assembly extern localloc_common{} .assembly 'eh04_dynamic'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/eh/eh04_dynamic.ilproj b/src/tests/JIT/jit64/localloc/eh/eh04_dynamic.ilproj index a9903c64ca8943..f2aa0f571f8350 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh04_dynamic.ilproj +++ b/src/tests/JIT/jit64/localloc/eh/eh04_dynamic.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/eh/eh04_large.il b/src/tests/JIT/jit64/localloc/eh/eh04_large.il index d1f336d1dd860a..e8de056fc7d270 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh04_large.il +++ b/src/tests/JIT/jit64/localloc/eh/eh04_large.il @@ -11,7 +11,7 @@ .assembly extern localloc_common{} .assembly 'eh04_large'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/eh/eh04_large.ilproj b/src/tests/JIT/jit64/localloc/eh/eh04_large.ilproj index d85937541c7a95..04bfecc9895520 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh04_large.ilproj +++ b/src/tests/JIT/jit64/localloc/eh/eh04_large.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/eh/eh04_small.il b/src/tests/JIT/jit64/localloc/eh/eh04_small.il index 50465d262c76da..a577bc80aa5ebe 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh04_small.il +++ b/src/tests/JIT/jit64/localloc/eh/eh04_small.il @@ -11,7 +11,7 @@ .assembly extern localloc_common{} .assembly 'eh04_small'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/eh/eh04_small.ilproj b/src/tests/JIT/jit64/localloc/eh/eh04_small.ilproj index fcf3c327ddfc26..525f1752ca580c 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh04_small.ilproj +++ b/src/tests/JIT/jit64/localloc/eh/eh04_small.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/localloc/eh/eh05.cs b/src/tests/JIT/jit64/localloc/eh/eh05.cs index 2a3b13f094669b..551578d1f547a6 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh05.cs +++ b/src/tests/JIT/jit64/localloc/eh/eh05.cs @@ -8,8 +8,9 @@ using System; using LocallocTesting; using System.Runtime.CompilerServices; +using Xunit; -internal class LocallocTest +public class LocallocTest { // Create a non-inlined call that will be made from Main with some arguments, // so fixed-out-args platforms will need to move the outgoing argument space @@ -20,7 +21,8 @@ public static int FunctionWithLotsOfArguments(int a, int b, int c, int d, int e, return a + b + c + d + e + f + g + h + j + k + l + m; } - public static unsafe int Main() + [Fact] + public static unsafe int TestEntryPoint() { ulong local1 = Global.INITIAL_VALUE; ulong local2 = local1 + 1; diff --git a/src/tests/JIT/jit64/localloc/eh/eh05_dynamic.csproj b/src/tests/JIT/jit64/localloc/eh/eh05_dynamic.csproj index e28d8f8654dee9..e2f2c9eaeb0d6c 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh05_dynamic.csproj +++ b/src/tests/JIT/jit64/localloc/eh/eh05_dynamic.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/eh/eh05_large.csproj b/src/tests/JIT/jit64/localloc/eh/eh05_large.csproj index 5ee9afad1c1f28..96d2c451ab849b 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh05_large.csproj +++ b/src/tests/JIT/jit64/localloc/eh/eh05_large.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/eh/eh05_small.csproj b/src/tests/JIT/jit64/localloc/eh/eh05_small.csproj index 852fb8bf994677..17c529de72980a 100644 --- a/src/tests/JIT/jit64/localloc/eh/eh05_small.csproj +++ b/src/tests/JIT/jit64/localloc/eh/eh05_small.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh05_dynamic.il b/src/tests/JIT/jit64/localloc/ehverify/eh05_dynamic.il index b611d3d2c9ea20..0a162e8a2ddd54 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh05_dynamic.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh05_dynamic.il @@ -10,9 +10,9 @@ .assembly extern mscorlib{} .assembly extern localloc_common{} -.assembly 'eh05_dynamic'{} +.assembly 'eh05_dynamic_il'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .method private hidebysig static void func() cil managed diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh05_dynamic.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh05_dynamic_il.ilproj similarity index 92% rename from src/tests/JIT/jit64/localloc/ehverify/eh05_dynamic.ilproj rename to src/tests/JIT/jit64/localloc/ehverify/eh05_dynamic_il.ilproj index 73876f22c2d30d..594b288892b06f 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh05_dynamic.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh05_dynamic_il.ilproj @@ -1,6 +1,5 @@ - Exe true diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh05_large.il b/src/tests/JIT/jit64/localloc/ehverify/eh05_large.il index eb9043ec0dc293..7c371524043195 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh05_large.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh05_large.il @@ -8,9 +8,9 @@ .assembly extern xunit.core {} .assembly extern mscorlib{} .assembly extern localloc_common{} -.assembly 'eh05_large'{} +.assembly 'eh05_large_il'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .method private hidebysig static void func() cil managed diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh05_large.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh05_large_il.ilproj similarity index 75% rename from src/tests/JIT/jit64/localloc/ehverify/eh05_large.ilproj rename to src/tests/JIT/jit64/localloc/ehverify/eh05_large_il.ilproj index e4ec69f04f9c9c..50fa2ad560efba 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh05_large.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh05_large_il.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh05_small.il b/src/tests/JIT/jit64/localloc/ehverify/eh05_small.il index 79a02d630c61f6..d898b33397de04 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh05_small.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh05_small.il @@ -8,9 +8,9 @@ .assembly extern xunit.core {} .assembly extern mscorlib{} .assembly extern localloc_common{} -.assembly 'eh05_small'{} +.assembly 'eh05_small_il'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .method private hidebysig static void func() cil managed diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh05_small.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh05_small_il.ilproj similarity index 75% rename from src/tests/JIT/jit64/localloc/ehverify/eh05_small.ilproj rename to src/tests/JIT/jit64/localloc/ehverify/eh05_small_il.ilproj index 6d6f20397be886..b3919e1d8a73d0 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh05_small.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh05_small_il.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh06_dynamic.il b/src/tests/JIT/jit64/localloc/ehverify/eh06_dynamic.il index f63f6ce2a34fb5..752a282d56e106 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh06_dynamic.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh06_dynamic.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'eh06_dynamic'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .method private hidebysig static void func() cil managed diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh06_dynamic.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh06_dynamic.ilproj index 84ce4573b85b5b..e113a712d1f144 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh06_dynamic.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh06_dynamic.ilproj @@ -1,6 +1,5 @@ - Exe true diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh06_large.il b/src/tests/JIT/jit64/localloc/ehverify/eh06_large.il index 04a2606025ca11..9d510a10c2fff0 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh06_large.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh06_large.il @@ -10,7 +10,7 @@ .assembly extern localloc_common{} .assembly 'eh06_large'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .method private hidebysig static void func() cil managed diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh06_large.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh06_large.ilproj index 7c417269ce92d1..58fb006ef394ba 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh06_large.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh06_large.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh06_small.il b/src/tests/JIT/jit64/localloc/ehverify/eh06_small.il index b6f2fbe40f2c63..2a21140e880e65 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh06_small.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh06_small.il @@ -10,7 +10,7 @@ .assembly extern localloc_common{} .assembly 'eh06_small'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .method private hidebysig static void func() cil managed diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh06_small.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh06_small.ilproj index 6bb57d9656a356..47102d24839f73 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh06_small.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh06_small.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh07_dynamic.il b/src/tests/JIT/jit64/localloc/ehverify/eh07_dynamic.il index 9aca0786929896..da9b0fd153c25f 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh07_dynamic.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh07_dynamic.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'eh07_dynamic'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .method private hidebysig static void func() cil managed diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh07_dynamic.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh07_dynamic.ilproj index d404761d93687c..331bd9841eaded 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh07_dynamic.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh07_dynamic.ilproj @@ -1,6 +1,5 @@ - Exe true diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh07_large.il b/src/tests/JIT/jit64/localloc/ehverify/eh07_large.il index 84698772b91220..5169f7cfd65df5 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh07_large.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh07_large.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'eh07_large'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .method private hidebysig static void func() cil managed diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh07_large.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh07_large.ilproj index d8e88df212c2d4..2a3b5878145706 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh07_large.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh07_large.ilproj @@ -1,6 +1,5 @@ - Exe true true diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh07_small.il b/src/tests/JIT/jit64/localloc/ehverify/eh07_small.il index 9898e7869c1008..21bd05416b597d 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh07_small.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh07_small.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'eh07_small'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .method private hidebysig static void func() cil managed diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh07_small.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh07_small.ilproj index 32b4c8de7e94c4..3d6502c661ce36 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh07_small.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh07_small.ilproj @@ -1,6 +1,5 @@ - Exe true diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh08_dynamic.il b/src/tests/JIT/jit64/localloc/ehverify/eh08_dynamic.il index 022f8f92312c94..4d56a3568a4e86 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh08_dynamic.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh08_dynamic.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'eh08_dynamic'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .method private hidebysig static void func() cil managed diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh08_dynamic.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh08_dynamic.ilproj index a1820ec6fb9833..fb8c0fd350b79e 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh08_dynamic.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh08_dynamic.ilproj @@ -1,6 +1,5 @@ - Exe true diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh08_large.il b/src/tests/JIT/jit64/localloc/ehverify/eh08_large.il index e09c646bb7fc56..be71a1e38859f1 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh08_large.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh08_large.il @@ -10,7 +10,7 @@ .assembly extern localloc_common{} .assembly 'eh08_large'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .method private hidebysig static void func() cil managed diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh08_large.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh08_large.ilproj index f463f860f0a816..a0ec08d4cab20a 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh08_large.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh08_large.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh08_small.il b/src/tests/JIT/jit64/localloc/ehverify/eh08_small.il index 6456118c32978b..a86af0c0906efa 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh08_small.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh08_small.il @@ -10,7 +10,7 @@ .assembly extern localloc_common{} .assembly 'eh08_small'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .method private hidebysig static void func() cil managed diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh08_small.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh08_small.ilproj index 17f23c274c7717..4e76a3bc541be3 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh08_small.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh08_small.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh09.cs b/src/tests/JIT/jit64/localloc/ehverify/eh09.cs index 0d13705e1864a5..0193d732bf310a 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh09.cs +++ b/src/tests/JIT/jit64/localloc/ehverify/eh09.cs @@ -7,11 +7,13 @@ using System; using LocallocTesting; +using Xunit; -internal class LocallocTest +public class LocallocTest { private static int s_locallocSize = 0; - public static unsafe int Main() + [Fact] + public static unsafe int TestEntryPoint() { ulong local1 = Global.INITIAL_VALUE; ulong local2 = local1 + 1; diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh09_dynamic.csproj b/src/tests/JIT/jit64/localloc/ehverify/eh09_dynamic.csproj index 680468a2ce6b29..a53d91f071d791 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh09_dynamic.csproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh09_dynamic.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh09_large.csproj b/src/tests/JIT/jit64/localloc/ehverify/eh09_large.csproj index 680468a2ce6b29..a53d91f071d791 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh09_large.csproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh09_large.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh09_small.csproj b/src/tests/JIT/jit64/localloc/ehverify/eh09_small.csproj index 680468a2ce6b29..a53d91f071d791 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh09_small.csproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh09_small.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh11_dynamic.il b/src/tests/JIT/jit64/localloc/ehverify/eh11_dynamic.il index a462b6d162785e..0a414e9d22440f 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh11_dynamic.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh11_dynamic.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'eh11_dynamic'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh11_dynamic.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh11_dynamic.ilproj index fa4ebb678c0228..e38ec9a38261e9 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh11_dynamic.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh11_dynamic.ilproj @@ -1,6 +1,5 @@ - Exe true 1 diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh11_large.il b/src/tests/JIT/jit64/localloc/ehverify/eh11_large.il index e0109628129a1a..05eb92fa8aa36c 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh11_large.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh11_large.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'eh11_large'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh11_large.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh11_large.ilproj index 69f589f6d10c2d..733ac14a0c3df3 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh11_large.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh11_large.ilproj @@ -1,6 +1,5 @@ - Exe true 1 diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh11_small.il b/src/tests/JIT/jit64/localloc/ehverify/eh11_small.il index 887c03dbbc3273..091d737b3f1b95 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh11_small.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh11_small.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'eh11_small'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh11_small.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh11_small.ilproj index b158805738488b..b0365c32f182ce 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh11_small.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh11_small.ilproj @@ -1,6 +1,5 @@ - Exe true 1 diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh12_dynamic.il b/src/tests/JIT/jit64/localloc/ehverify/eh12_dynamic.il index d551f42ae30784..c35e308d629a75 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh12_dynamic.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh12_dynamic.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'eh12_dynamic'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh12_dynamic.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh12_dynamic.ilproj index d7f291e60fb652..d0530267ef3f9f 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh12_dynamic.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh12_dynamic.ilproj @@ -1,6 +1,5 @@ - Exe true 1 diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh12_large.il b/src/tests/JIT/jit64/localloc/ehverify/eh12_large.il index 2f9cae4e5448e3..67dc4efcb32814 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh12_large.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh12_large.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'eh12_large'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh12_large.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh12_large.ilproj index 08286b6e6bc4f7..dee8eea677fab3 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh12_large.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh12_large.ilproj @@ -1,6 +1,5 @@ - Exe true 1 diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh12_small.il b/src/tests/JIT/jit64/localloc/ehverify/eh12_small.il index 643d51c5efbf44..1e99297e0c914d 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh12_small.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh12_small.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'eh12_small'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh12_small.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh12_small.ilproj index 2831b11aa17c23..6244d1d922b068 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh12_small.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh12_small.ilproj @@ -1,6 +1,5 @@ - Exe true 1 diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh13_dynamic.il b/src/tests/JIT/jit64/localloc/ehverify/eh13_dynamic.il index 2b50bd97d6142d..8f7c8d3fbcb198 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh13_dynamic.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh13_dynamic.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'eh13_dynamic'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh13_dynamic.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh13_dynamic.ilproj index 1e1ecb3344c8cf..75acf466fa9270 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh13_dynamic.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh13_dynamic.ilproj @@ -1,6 +1,5 @@ - Exe true 1 diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh13_large.il b/src/tests/JIT/jit64/localloc/ehverify/eh13_large.il index 860fdcccf6934b..41c1cde346f14b 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh13_large.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh13_large.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'eh13_large'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh13_large.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh13_large.ilproj index 0c538c7d32bd03..a905aed0b76110 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh13_large.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh13_large.ilproj @@ -1,6 +1,5 @@ - Exe true 1 diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh13_small.il b/src/tests/JIT/jit64/localloc/ehverify/eh13_small.il index 7d0637f9c4cf55..09d3eca61485f7 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh13_small.il +++ b/src/tests/JIT/jit64/localloc/ehverify/eh13_small.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'eh13_small'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh13_small.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh13_small.ilproj index dc65e4a3ef2720..cf4d98e3f18ed5 100644 --- a/src/tests/JIT/jit64/localloc/ehverify/eh13_small.ilproj +++ b/src/tests/JIT/jit64/localloc/ehverify/eh13_small.ilproj @@ -1,6 +1,5 @@ - Exe true 1 diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind01.cs b/src/tests/JIT/jit64/localloc/unwind/unwind01.cs index 6899db0c0b9e9b..01746737990f77 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind01.cs +++ b/src/tests/JIT/jit64/localloc/unwind/unwind01.cs @@ -7,11 +7,13 @@ using System; using LocallocTesting; +using Xunit; -internal class LocallocTest +public class LocallocTest { private static int s_locallocSize = 0; - public static unsafe int Main() + [Fact] + public static unsafe int TestEntryPoint() { ulong local1 = Global.INITIAL_VALUE; ulong local2 = local1 + 1; @@ -50,7 +52,7 @@ public static unsafe int Main() return 100; } - public unsafe static void unwindTest1() + internal unsafe static void unwindTest1() { #if LOCALLOC_SMALL Int32* intArray2 = stackalloc Int32[1]; diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind01_dynamic.csproj b/src/tests/JIT/jit64/localloc/unwind/unwind01_dynamic.csproj index 2120c17bb1447e..6afe8f60e5fd2f 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind01_dynamic.csproj +++ b/src/tests/JIT/jit64/localloc/unwind/unwind01_dynamic.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind01_large.csproj b/src/tests/JIT/jit64/localloc/unwind/unwind01_large.csproj index e79791a3a3b2b5..91cb7f92597db7 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind01_large.csproj +++ b/src/tests/JIT/jit64/localloc/unwind/unwind01_large.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind01_small.csproj b/src/tests/JIT/jit64/localloc/unwind/unwind01_small.csproj index ac0ac131963377..37579534dfa3c0 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind01_small.csproj +++ b/src/tests/JIT/jit64/localloc/unwind/unwind01_small.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind02.cs b/src/tests/JIT/jit64/localloc/unwind/unwind02.cs index 4e5cb594734ee4..b76b65d3d0e30b 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind02.cs +++ b/src/tests/JIT/jit64/localloc/unwind/unwind02.cs @@ -7,11 +7,13 @@ using System; using LocallocTesting; +using Xunit; -internal class LocallocTest +public class LocallocTest { private static int s_locallocSize = 0; - public static unsafe int Main() + [Fact] + public static unsafe int TestEntryPoint() { ulong local1 = Global.INITIAL_VALUE; ulong local2 = local1 + 1; @@ -51,7 +53,7 @@ public static unsafe int Main() return 100; } - public unsafe static void unwindTest1() + internal unsafe static void unwindTest1() { #if LOCALLOC_SMALL Int32* intArray2 = stackalloc Int32[1]; diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind02_dynamic.csproj b/src/tests/JIT/jit64/localloc/unwind/unwind02_dynamic.csproj index 746f6a8bbb139c..e5a238e9d0afd2 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind02_dynamic.csproj +++ b/src/tests/JIT/jit64/localloc/unwind/unwind02_dynamic.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind02_large.csproj b/src/tests/JIT/jit64/localloc/unwind/unwind02_large.csproj index 96e92c22662141..6d58613d913207 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind02_large.csproj +++ b/src/tests/JIT/jit64/localloc/unwind/unwind02_large.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind02_small.csproj b/src/tests/JIT/jit64/localloc/unwind/unwind02_small.csproj index 628e272b5e650e..af6bec381172cc 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind02_small.csproj +++ b/src/tests/JIT/jit64/localloc/unwind/unwind02_small.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind03.cs b/src/tests/JIT/jit64/localloc/unwind/unwind03.cs index 1f3cd9577c66bd..62e5f99ed48f83 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind03.cs +++ b/src/tests/JIT/jit64/localloc/unwind/unwind03.cs @@ -7,12 +7,14 @@ using System; using LocallocTesting; +using Xunit; -internal class LocallocTest +public class LocallocTest { private static bool s_testFailed = false; private static int s_locallocSize = 0; - public static unsafe int Main() + [Fact] + public static unsafe int TestEntryPoint() { ulong local1 = Global.INITIAL_VALUE; ulong local2 = local1 + 1; @@ -55,7 +57,7 @@ public static unsafe int Main() return 100; } - public unsafe static void unwindTest1() + internal unsafe static void unwindTest1() { #if LOCALLOC_SMALL Int32* intArray2 = stackalloc Int32[1]; diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind03_dynamic.csproj b/src/tests/JIT/jit64/localloc/unwind/unwind03_dynamic.csproj index 1a4812096bb25d..1b6889fc030d44 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind03_dynamic.csproj +++ b/src/tests/JIT/jit64/localloc/unwind/unwind03_dynamic.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind03_large.csproj b/src/tests/JIT/jit64/localloc/unwind/unwind03_large.csproj index 1af405b23d6ea9..d3ad694ac439b7 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind03_large.csproj +++ b/src/tests/JIT/jit64/localloc/unwind/unwind03_large.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind03_small.csproj b/src/tests/JIT/jit64/localloc/unwind/unwind03_small.csproj index cbc07a44baa808..c4b0be9b5895f2 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind03_small.csproj +++ b/src/tests/JIT/jit64/localloc/unwind/unwind03_small.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind04_dynamic.il b/src/tests/JIT/jit64/localloc/unwind/unwind04_dynamic.il index 4b32e8ae8b4cd6..f3e2084c7d8832 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind04_dynamic.il +++ b/src/tests/JIT/jit64/localloc/unwind/unwind04_dynamic.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'unwind04_dynamic'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static bool testFailed diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind04_dynamic.ilproj b/src/tests/JIT/jit64/localloc/unwind/unwind04_dynamic.ilproj index 390dc2d478f562..84d607a3d5ea0d 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind04_dynamic.ilproj +++ b/src/tests/JIT/jit64/localloc/unwind/unwind04_dynamic.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind04_large.il b/src/tests/JIT/jit64/localloc/unwind/unwind04_large.il index 8c69ff783c77a9..b02c827b573bc2 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind04_large.il +++ b/src/tests/JIT/jit64/localloc/unwind/unwind04_large.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'unwind04_large'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static bool testFailed diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind04_large.ilproj b/src/tests/JIT/jit64/localloc/unwind/unwind04_large.ilproj index 648d208e761b9a..1c010e64347c74 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind04_large.ilproj +++ b/src/tests/JIT/jit64/localloc/unwind/unwind04_large.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind04_small.il b/src/tests/JIT/jit64/localloc/unwind/unwind04_small.il index 0aa5fbe0bdc4a8..50883939dd7f2d 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind04_small.il +++ b/src/tests/JIT/jit64/localloc/unwind/unwind04_small.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'unwind04_small'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static bool testFailed diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind04_small.ilproj b/src/tests/JIT/jit64/localloc/unwind/unwind04_small.ilproj index d47226cac683b9..c8199ed247e0d9 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind04_small.ilproj +++ b/src/tests/JIT/jit64/localloc/unwind/unwind04_small.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind05_dynamic.il b/src/tests/JIT/jit64/localloc/unwind/unwind05_dynamic.il index 8fe4f6a9634232..210d6e83e14513 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind05_dynamic.il +++ b/src/tests/JIT/jit64/localloc/unwind/unwind05_dynamic.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'unwind05_dynamic'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind05_dynamic.ilproj b/src/tests/JIT/jit64/localloc/unwind/unwind05_dynamic.ilproj index 6a1c2bac538997..8782d9e772e0c8 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind05_dynamic.ilproj +++ b/src/tests/JIT/jit64/localloc/unwind/unwind05_dynamic.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind05_large.il b/src/tests/JIT/jit64/localloc/unwind/unwind05_large.il index c384b1ad50d40c..75f3134c14e784 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind05_large.il +++ b/src/tests/JIT/jit64/localloc/unwind/unwind05_large.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'unwind05_large'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind05_large.ilproj b/src/tests/JIT/jit64/localloc/unwind/unwind05_large.ilproj index cabea474dd772b..e0c0c1113c5b9f 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind05_large.ilproj +++ b/src/tests/JIT/jit64/localloc/unwind/unwind05_large.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind05_small.il b/src/tests/JIT/jit64/localloc/unwind/unwind05_small.il index 06f36159d2b094..01c8e09ce79814 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind05_small.il +++ b/src/tests/JIT/jit64/localloc/unwind/unwind05_small.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'unwind05_small'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind05_small.ilproj b/src/tests/JIT/jit64/localloc/unwind/unwind05_small.ilproj index 9799ef9c885155..620546d3e33442 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind05_small.ilproj +++ b/src/tests/JIT/jit64/localloc/unwind/unwind05_small.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind06_dynamic.il b/src/tests/JIT/jit64/localloc/unwind/unwind06_dynamic.il index cda4b9860ba68d..ac6e9d1d93f882 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind06_dynamic.il +++ b/src/tests/JIT/jit64/localloc/unwind/unwind06_dynamic.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'unwind06_dynamic'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind06_dynamic.ilproj b/src/tests/JIT/jit64/localloc/unwind/unwind06_dynamic.ilproj index 8eaac5321feb41..b83400e59d7713 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind06_dynamic.ilproj +++ b/src/tests/JIT/jit64/localloc/unwind/unwind06_dynamic.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind06_large.il b/src/tests/JIT/jit64/localloc/unwind/unwind06_large.il index 9e7fa07827fce7..db80849dedd0d5 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind06_large.il +++ b/src/tests/JIT/jit64/localloc/unwind/unwind06_large.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'unwind06_large'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind06_large.ilproj b/src/tests/JIT/jit64/localloc/unwind/unwind06_large.ilproj index 163c62780fe88e..c60f0e6c472832 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind06_large.ilproj +++ b/src/tests/JIT/jit64/localloc/unwind/unwind06_large.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind06_small.il b/src/tests/JIT/jit64/localloc/unwind/unwind06_small.il index 7e45024c3270eb..0701bd09805afd 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind06_small.il +++ b/src/tests/JIT/jit64/localloc/unwind/unwind06_small.il @@ -12,7 +12,7 @@ .assembly extern localloc_common{} .assembly 'unwind06_small'{} -.class private auto ansi beforefieldinit LocallocTest +.class public auto ansi beforefieldinit LocallocTest extends [mscorlib]System.Object { .field private static int32 locallocSize diff --git a/src/tests/JIT/jit64/localloc/unwind/unwind06_small.ilproj b/src/tests/JIT/jit64/localloc/unwind/unwind06_small.ilproj index b83f3326454c15..ca79d3640c505c 100644 --- a/src/tests/JIT/jit64/localloc/unwind/unwind06_small.ilproj +++ b/src/tests/JIT/jit64/localloc/unwind/unwind06_small.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/zeroinit/zeroInit01_small.ilproj b/src/tests/JIT/jit64/localloc/zeroinit/zeroInit01_small_.ilproj similarity index 90% rename from src/tests/JIT/jit64/localloc/zeroinit/zeroInit01_small.ilproj rename to src/tests/JIT/jit64/localloc/zeroinit/zeroInit01_small_.ilproj index c0732dcb4673c0..51382d4b5f1aa4 100644 --- a/src/tests/JIT/jit64/localloc/zeroinit/zeroInit01_small.ilproj +++ b/src/tests/JIT/jit64/localloc/zeroinit/zeroInit01_small_.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/zeroinit/zeroinit01_large.il b/src/tests/JIT/jit64/localloc/zeroinit/zeroinit01_large.il index 11e9c8288240f3..8c24e8074de3cd 100644 --- a/src/tests/JIT/jit64/localloc/zeroinit/zeroinit01_large.il +++ b/src/tests/JIT/jit64/localloc/zeroinit/zeroinit01_large.il @@ -12,7 +12,7 @@ .assembly extern mscorlib{} .assembly 'zeroinit01_large'{} -.class private auto ansi beforefieldinit T +.class public auto ansi beforefieldinit T extends [mscorlib]System.Object { .field public static int32 size_to_test diff --git a/src/tests/JIT/jit64/localloc/zeroinit/zeroinit01_large.ilproj b/src/tests/JIT/jit64/localloc/zeroinit/zeroinit01_large.ilproj index 4ba1866144c975..f548d29ff0fb59 100644 --- a/src/tests/JIT/jit64/localloc/zeroinit/zeroinit01_large.ilproj +++ b/src/tests/JIT/jit64/localloc/zeroinit/zeroinit01_large.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/localloc/zeroinit/zeroinit01_small.il b/src/tests/JIT/jit64/localloc/zeroinit/zeroinit01_small.il index 984417eceabd72..521801d77d035a 100644 --- a/src/tests/JIT/jit64/localloc/zeroinit/zeroinit01_small.il +++ b/src/tests/JIT/jit64/localloc/zeroinit/zeroinit01_small.il @@ -10,9 +10,9 @@ // Test zero initialization of localloc .assembly extern mscorlib{} -.assembly 'zeroinit01_small'{} +.assembly 'zeroInit01_small_'{} -.class private auto ansi beforefieldinit T +.class public auto ansi beforefieldinit T extends [mscorlib]System.Object { .field public static int32 size_to_test diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i00.il b/src/tests/JIT/jit64/mcc/interop/mcc_i00.il index 233eabf932a680..024e980485dd04 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i00.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i00.il @@ -11,13 +11,13 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i0c" as "#1" cdecl) vararg valuetype MCCTest.VType0 Sum(unsigned int64) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i00.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i00.ilproj index ec0f4c0a147614..aa54ffebd36c80 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i00.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i00.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i01.il b/src/tests/JIT/jit64/mcc/interop/mcc_i01.il index fe36d276ba6de9..7f4206cb4684c2 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i01.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i01.il @@ -11,13 +11,13 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i0c" as "#1" cdecl) vararg valuetype MCCTest.VType0 Sum(unsigned int64) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i01.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i01.ilproj index 41d66075d8de13..680dbb9065214d 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i01.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i01.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i02.il b/src/tests/JIT/jit64/mcc/interop/mcc_i02.il index 190d71aec489c8..1545c86e36413c 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i02.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i02.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i0c" as "#1" cdecl) vararg valuetype MCCTest.VType0 Sum(unsigned int64) cil managed preservesig { @@ -59,7 +59,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i02.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i02.ilproj index 643a07c31b83d6..32be903e10139f 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i02.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i02.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i03.il b/src/tests/JIT/jit64/mcc/interop/mcc_i03.il index b102aeefdea7a8..2d9cc5750b9152 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i03.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i03.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i0c" as "#1" cdecl) vararg valuetype MCCTest.VType0 Sum(unsigned int64) cil managed preservesig { @@ -63,7 +63,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i03.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i03.ilproj index 20e9620d066138..2dff157caa158b 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i03.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i03.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i04.il b/src/tests/JIT/jit64/mcc/interop/mcc_i04.il index 3229bf34a5857c..4713ed519a0bf5 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i04.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i04.il @@ -11,13 +11,13 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i0s" as "#1" stdcall) valuetype MCCTest.VType0 Sum(unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i04.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i04.ilproj index 17f39fc6831ae9..25e1648aa33a39 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i04.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i04.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i05.il b/src/tests/JIT/jit64/mcc/interop/mcc_i05.il index 9e6114ad6c9a0e..36a5a474f5b439 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i05.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i05.il @@ -11,13 +11,13 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i0s" as "#1" stdcall) valuetype MCCTest.VType0 Sum(unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i05.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i05.ilproj index 096cea6813a140..396478769d1c53 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i05.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i05.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i06.il b/src/tests/JIT/jit64/mcc/interop/mcc_i06.il index 74374862e9fb1e..93e1d347d64553 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i06.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i06.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i0s" as "#1" stdcall) valuetype MCCTest.VType0 Sum(unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64) cil managed preservesig { @@ -56,7 +56,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i06.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i06.ilproj index 2beb3691887675..32510835e2801a 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i06.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i06.ilproj @@ -1,6 +1,7 @@ - Exe + + true true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i07.il b/src/tests/JIT/jit64/mcc/interop/mcc_i07.il index b6775580a81bee..693baa38d1bd41 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i07.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i07.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i0s" as "#1" stdcall) valuetype MCCTest.VType0 Sum(unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64, unsigned int64) cil managed preservesig { @@ -60,7 +60,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i07.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i07.ilproj index f5a2f5256a3837..4d6da46c8f31bf 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i07.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i07.ilproj @@ -1,6 +1,7 @@ - Exe + + true true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i10.il b/src/tests/JIT/jit64/mcc/interop/mcc_i10.il index 6703998a26a66c..195dd48deedac5 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i10.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i10.il @@ -9,13 +9,13 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i1c" as "#1" cdecl) vararg valuetype MCCTest.VType1 Sum(float64) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i10.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i10.ilproj index e041777422371c..d008e784b8f3d5 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i10.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i10.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i11.il b/src/tests/JIT/jit64/mcc/interop/mcc_i11.il index 3a1f31f128b882..66dca4d4deffa6 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i11.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i11.il @@ -11,13 +11,13 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i1c.dll" as "#1" cdecl) vararg valuetype MCCTest.VType1 Sum(float64) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i11.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i11.ilproj index 151ee1264a23d1..a9c13f277b6167 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i11.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i11.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i12.il b/src/tests/JIT/jit64/mcc/interop/mcc_i12.il index 55f1626b16dcf1..0f64a7276e904c 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i12.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i12.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i1c.dll" as "#1" cdecl) vararg valuetype MCCTest.VType1 Sum(float64) cil managed preservesig { @@ -59,7 +59,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i12.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i12.ilproj index 0a3ba4e4eba8db..16458b097ccef7 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i12.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i12.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i13.il b/src/tests/JIT/jit64/mcc/interop/mcc_i13.il index 3b73e42e0c9381..e81aa911725668 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i13.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i13.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i1c.dll" as "#1" cdecl) vararg valuetype MCCTest.VType1 Sum(float64) cil managed preservesig { @@ -63,7 +63,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i13.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i13.ilproj index 43e72b4dede447..94bfb064feece6 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i13.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i13.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i14.il b/src/tests/JIT/jit64/mcc/interop/mcc_i14.il index 4dc9053c11aec0..a1ee5a04dbef75 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i14.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i14.il @@ -11,13 +11,13 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i1s" as "#1" stdcall) valuetype MCCTest.VType1 Sum(float32, float32, float32, float32, float32, float32, float32, float32, float32, float32, float32, float32) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i14.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i14.ilproj index 8da0e6c3c58ebd..a14a4796664749 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i14.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i14.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i15.il b/src/tests/JIT/jit64/mcc/interop/mcc_i15.il index 756f32beb7f6e0..6db8691e703d23 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i15.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i15.il @@ -11,13 +11,13 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i1s" as "#1" stdcall) valuetype MCCTest.VType1 Sum(float32, float32, float32, float32, float32, float32, float32, float32, float32, float32, float32, float32) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i15.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i15.ilproj index f96498557dfc0b..2b54915898cd55 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i15.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i15.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i16.il b/src/tests/JIT/jit64/mcc/interop/mcc_i16.il index ccf848d36f1860..a4e1fc3229a716 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i16.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i16.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i1s" as "#1" stdcall) valuetype MCCTest.VType1 Sum(float32, float32, float32, float32, float32, float32, float32, float32, float32, float32, float32, float32) cil managed preservesig { @@ -56,7 +56,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i16.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i16.ilproj index 27e88142243694..8761017386e00c 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i16.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i16.ilproj @@ -1,6 +1,7 @@ - Exe + + true true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i17.il b/src/tests/JIT/jit64/mcc/interop/mcc_i17.il index 6dbfb1d096f1f8..fa45cf93b8bb0b 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i17.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i17.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i1s" as "#1" stdcall) valuetype MCCTest.VType1 Sum(float32, float32, float32, float32, float32, float32, float32, float32, float32, float32, float32, float32) cil managed preservesig { @@ -60,7 +60,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i17.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i17.ilproj index c6622ee96b02d7..13f0899c972fb1 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i17.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i17.ilproj @@ -1,6 +1,7 @@ - Exe + + true true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i30.il b/src/tests/JIT/jit64/mcc/interop/mcc_i30.il index fb7094acac0915..cc2a4796eadf7d 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i30.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i30.il @@ -11,13 +11,13 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i3c" as "#1" cdecl) vararg valuetype MCCTest.VType3 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i30.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i30.ilproj index 74c2c3623de8cd..882cf6c65c16c5 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i30.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i30.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i31.il b/src/tests/JIT/jit64/mcc/interop/mcc_i31.il index c4dddfa7100279..3f6e9353db4eb7 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i31.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i31.il @@ -11,13 +11,13 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i3c" as "#1" cdecl) vararg valuetype MCCTest.VType3 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i31.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i31.ilproj index 1fae7cc7b10bd4..791b405d12dd93 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i31.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i31.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i32.il b/src/tests/JIT/jit64/mcc/interop/mcc_i32.il index f7b9d3733369c1..0eaadcf885a778 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i32.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i32.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i3c" as "#1" cdecl) vararg valuetype MCCTest.VType3 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { @@ -105,7 +105,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i32.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i32.ilproj index 12d68b57e74eb8..d3062cab3dabb3 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i32.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i32.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i33.il b/src/tests/JIT/jit64/mcc/interop/mcc_i33.il index e9638a4483b55b..ae71b3592b8aa8 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i33.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i33.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i3c" as "#1" cdecl) vararg valuetype MCCTest.VType3 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { @@ -109,7 +109,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i33.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i33.ilproj index 7c470673424d33..3be58daf3e9be9 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i33.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i33.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i34.il b/src/tests/JIT/jit64/mcc/interop/mcc_i34.il index f0e4fddfb0b555..743c33028a9b09 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i34.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i34.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i3s" as "#1" stdcall) valuetype MCCTest.VType3 Sum(unsigned int64, valuetype MCCTest.VType3, float64, valuetype MCCTest.VType3, float32, valuetype MCCTest.VType3, @@ -20,7 +20,7 @@ float64, valuetype MCCTest.VType3, float32, valuetype MCCTest.VType3, int16, valuetype MCCTest.VType3) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i34.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i34.ilproj index 3711328d3f0807..840c5f1af2b89e 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i34.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i34.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i35.il b/src/tests/JIT/jit64/mcc/interop/mcc_i35.il index 777913d4756053..50cbb5aefe991b 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i35.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i35.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i3s" as "#1" stdcall) valuetype MCCTest.VType3 Sum(unsigned int64, valuetype MCCTest.VType3, float64, valuetype MCCTest.VType3, float32, valuetype MCCTest.VType3, @@ -20,7 +20,7 @@ float64, valuetype MCCTest.VType3, float32, valuetype MCCTest.VType3, int16, valuetype MCCTest.VType3) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i35.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i35.ilproj index adf67daab9b59a..f7a5e8c0e7d1d8 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i35.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i35.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i36.il b/src/tests/JIT/jit64/mcc/interop/mcc_i36.il index d2508e8f54f99a..e04ab1ec7a372a 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i36.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i36.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i3s" as "#1" stdcall) valuetype MCCTest.VType3 Sum(unsigned int64, valuetype MCCTest.VType3, float64, valuetype MCCTest.VType3, float32, valuetype MCCTest.VType3, @@ -114,7 +114,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i36.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i36.ilproj index 25f3bbd2b6d494..0ee761aba0942f 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i36.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i36.ilproj @@ -1,6 +1,7 @@ - Exe + + true true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i37.il b/src/tests/JIT/jit64/mcc/interop/mcc_i37.il index e7e8fbc5436152..85956df45f6d1c 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i37.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i37.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i3s" as "#1" stdcall) valuetype MCCTest.VType3 Sum(unsigned int64, valuetype MCCTest.VType3, float64, valuetype MCCTest.VType3, float32, valuetype MCCTest.VType3, @@ -124,7 +124,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i37.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i37.ilproj index 1d37e5584eaf65..d5d1b48639b97f 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i37.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i37.ilproj @@ -1,6 +1,7 @@ - Exe + + true true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i50.il b/src/tests/JIT/jit64/mcc/interop/mcc_i50.il index ef1452c7e49b1f..bab75bcb13ac92 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i50.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i50.il @@ -11,13 +11,13 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i5c" as "#1" cdecl) vararg valuetype MCCTest.VType5 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i50.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i50.ilproj index 8945a5a5388e7a..f56e79db105d37 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i50.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i50.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i51.il b/src/tests/JIT/jit64/mcc/interop/mcc_i51.il index 9c3bd38cb0ebad..5a3250ce3c339f 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i51.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i51.il @@ -11,13 +11,13 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i5c" as "#1" cdecl) vararg valuetype MCCTest.VType5 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i51.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i51.ilproj index 0b63a139a5adb2..4a3c0d7200ef9d 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i51.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i51.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i52.il b/src/tests/JIT/jit64/mcc/interop/mcc_i52.il index 4e638acb0ad0b5..e13c785097a1ea 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i52.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i52.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i5c" as "#1" cdecl) vararg valuetype MCCTest.VType5 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { @@ -105,7 +105,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i52.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i52.ilproj index aaaa1918da986a..24a88519aff5ef 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i52.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i52.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i53.il b/src/tests/JIT/jit64/mcc/interop/mcc_i53.il index 2b7cedf011b333..26891b32e101ce 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i53.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i53.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i5c" as "#1" cdecl) vararg valuetype MCCTest.VType5 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { @@ -109,7 +109,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i53.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i53.ilproj index f43566146c66ce..f42d378e6bb590 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i53.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i53.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i54.il b/src/tests/JIT/jit64/mcc/interop/mcc_i54.il index 493888a021209e..838aa86b074fce 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i54.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i54.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i5s" as "#1" stdcall) valuetype MCCTest.VType5 Sum(unsigned int64, valuetype MCCTest.VType5, float64, valuetype MCCTest.VType5, float32, valuetype MCCTest.VType5, @@ -20,7 +20,7 @@ float64, valuetype MCCTest.VType5, float32, valuetype MCCTest.VType5, int16, valuetype MCCTest.VType5) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i54.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i54.ilproj index 60efd8d1bf9704..9ca36c24dc6aa6 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i54.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i54.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i55.il b/src/tests/JIT/jit64/mcc/interop/mcc_i55.il index 652e0a84c0bc8a..667f20c36d5c16 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i55.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i55.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i5s" as "#1" stdcall) valuetype MCCTest.VType5 Sum(unsigned int64, valuetype MCCTest.VType5, float64, valuetype MCCTest.VType5, float32, valuetype MCCTest.VType5, @@ -20,7 +20,7 @@ float64, valuetype MCCTest.VType5, float32, valuetype MCCTest.VType5, int16, valuetype MCCTest.VType5) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i55.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i55.ilproj index 070b919b51a716..761905153ee992 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i55.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i55.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i56.il b/src/tests/JIT/jit64/mcc/interop/mcc_i56.il index 8b5e3f1875cd8e..fc8dc54004df33 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i56.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i56.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i5s" as "#1" stdcall) valuetype MCCTest.VType5 Sum(unsigned int64, valuetype MCCTest.VType5, float64, valuetype MCCTest.VType5, float32, valuetype MCCTest.VType5, @@ -114,7 +114,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i56.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i56.ilproj index 143bcb6ec7b254..3f650379bc6d6e 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i56.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i56.ilproj @@ -1,6 +1,7 @@ - Exe + + true true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i57.il b/src/tests/JIT/jit64/mcc/interop/mcc_i57.il index 7ab25edd8e03fe..df6294d7dde3b7 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i57.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i57.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i5s" as "#1" stdcall) valuetype MCCTest.VType5 Sum(unsigned int64, valuetype MCCTest.VType5, float64, valuetype MCCTest.VType5, float32, valuetype MCCTest.VType5, @@ -124,7 +124,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i57.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i57.ilproj index 84fddaf465008d..fc781a95787093 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i57.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i57.ilproj @@ -1,6 +1,7 @@ - Exe + + true true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i60.il b/src/tests/JIT/jit64/mcc/interop/mcc_i60.il index 47839076fde284..5f5f9b7fae1ee6 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i60.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i60.il @@ -11,13 +11,13 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i6c" as "#1" cdecl) vararg valuetype MCCTest.VType6 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i60.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i60.ilproj index f29c780123132e..74efc070b0d319 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i60.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i60.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i61.il b/src/tests/JIT/jit64/mcc/interop/mcc_i61.il index 4068050eb24098..1b27b1f2fda4a3 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i61.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i61.il @@ -11,13 +11,13 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i6c" as "#1" cdecl) vararg valuetype MCCTest.VType6 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i61.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i61.ilproj index 88c6688f9b164f..1edb2fb6f62939 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i61.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i61.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i62.il b/src/tests/JIT/jit64/mcc/interop/mcc_i62.il index bc39f67d1c2456..f5bfc4ba9859be 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i62.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i62.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i6c" as "#1" cdecl) vararg valuetype MCCTest.VType6 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { @@ -105,7 +105,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i62.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i62.ilproj index 46200a3631aa1f..89253a4f5d3331 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i62.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i62.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i63.il b/src/tests/JIT/jit64/mcc/interop/mcc_i63.il index 8da62dd8f51093..3a08f300540a7b 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i63.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i63.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i6c" as "#1" cdecl) vararg valuetype MCCTest.VType6 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { @@ -109,7 +109,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i63.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i63.ilproj index 417ec4f9610ae4..afa4d272f48a55 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i63.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i63.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i64.il b/src/tests/JIT/jit64/mcc/interop/mcc_i64.il index d4a970e434226c..09b031b5a3268e 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i64.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i64.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i6s" as "#1" stdcall) valuetype MCCTest.VType6 Sum(unsigned int64, valuetype MCCTest.VType6, float64, valuetype MCCTest.VType6, float32, valuetype MCCTest.VType6, @@ -20,7 +20,7 @@ float64, valuetype MCCTest.VType6, float32, valuetype MCCTest.VType6, int16, valuetype MCCTest.VType6) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i64.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i64.ilproj index 0e9b30f047c29f..c00c8396f96188 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i64.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i64.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i65.il b/src/tests/JIT/jit64/mcc/interop/mcc_i65.il index 5ed9a8be38b1c2..300f87bd1bb2cc 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i65.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i65.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i6s" as "#1" stdcall) valuetype MCCTest.VType6 Sum(unsigned int64, valuetype MCCTest.VType6, float64, valuetype MCCTest.VType6, float32, valuetype MCCTest.VType6, @@ -20,7 +20,7 @@ float64, valuetype MCCTest.VType6, float32, valuetype MCCTest.VType6, int16, valuetype MCCTest.VType6) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i65.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i65.ilproj index c24dd0a8c8408b..3a7f7892b5826b 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i65.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i65.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i66.il b/src/tests/JIT/jit64/mcc/interop/mcc_i66.il index 0032ed61becc06..2235c56ffbbd65 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i66.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i66.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i6s" as "#1" stdcall) valuetype MCCTest.VType6 Sum(unsigned int64, valuetype MCCTest.VType6, float64, valuetype MCCTest.VType6, float32, valuetype MCCTest.VType6, @@ -114,7 +114,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i66.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i66.ilproj index d99bea1fda6c34..b9ae79019857b5 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i66.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i66.ilproj @@ -1,6 +1,7 @@ - Exe + + true true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i67.il b/src/tests/JIT/jit64/mcc/interop/mcc_i67.il index 5ccdebbfcff3f7..3edaa17fd7ac7c 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i67.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i67.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i6s" as "#1" stdcall) valuetype MCCTest.VType6 Sum(unsigned int64, valuetype MCCTest.VType6, float64, valuetype MCCTest.VType6, float32, valuetype MCCTest.VType6, @@ -124,7 +124,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i67.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i67.ilproj index 2168615696debb..9193eebd82b3ca 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i67.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i67.ilproj @@ -1,6 +1,7 @@ - Exe + + true true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i70.il b/src/tests/JIT/jit64/mcc/interop/mcc_i70.il index c5948dcbdfdc69..804b2e362509af 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i70.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i70.il @@ -11,13 +11,13 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i7c" as "#1" cdecl) vararg valuetype MCCTest.VType7 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i70.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i70.ilproj index 8ee1e3da42714f..2bccb1565233f6 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i70.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i70.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i71.il b/src/tests/JIT/jit64/mcc/interop/mcc_i71.il index 05993bd1d61a7a..ff00b492a9629b 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i71.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i71.il @@ -11,13 +11,13 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i7c" as "#1" cdecl) vararg valuetype MCCTest.VType7 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i71.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i71.ilproj index 5565bcefb2a49e..f3225a5159ca38 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i71.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i71.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i72.il b/src/tests/JIT/jit64/mcc/interop/mcc_i72.il index ad12da5c4d176a..624a226f57ac57 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i72.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i72.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i7c" as "#1" cdecl) vararg valuetype MCCTest.VType7 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { @@ -105,7 +105,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i72.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i72.ilproj index 93d23bfeba2db7..8b0b7da0f33fd4 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i72.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i72.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i73.il b/src/tests/JIT/jit64/mcc/interop/mcc_i73.il index cf4005915ec2b5..3678eb207e88d8 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i73.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i73.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i7c" as "#1" cdecl) vararg valuetype MCCTest.VType7 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { @@ -109,7 +109,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i73.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i73.ilproj index e6dd65812ce565..bfcbc42af3ada1 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i73.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i73.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i74.il b/src/tests/JIT/jit64/mcc/interop/mcc_i74.il index ca07f21deb028b..be8b55b09afc9f 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i74.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i74.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i7s" as "#1" stdcall) valuetype MCCTest.VType7 Sum(unsigned int64, valuetype MCCTest.VType7, float64, valuetype MCCTest.VType7, float32, valuetype MCCTest.VType7, @@ -20,7 +20,7 @@ float64, valuetype MCCTest.VType7, float32, valuetype MCCTest.VType7, int16, valuetype MCCTest.VType7) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i74.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i74.ilproj index f4d69015cdf893..b80571c2a8e9b2 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i74.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i74.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i75.il b/src/tests/JIT/jit64/mcc/interop/mcc_i75.il index 7c0be265f7116d..dd4f19dde81102 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i75.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i75.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i7s" as "#1" stdcall) valuetype MCCTest.VType7 Sum(unsigned int64, valuetype MCCTest.VType7, float64, valuetype MCCTest.VType7, float32, valuetype MCCTest.VType7, @@ -20,7 +20,7 @@ float64, valuetype MCCTest.VType7, float32, valuetype MCCTest.VType7, int16, valuetype MCCTest.VType7) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i75.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i75.ilproj index 2c9f97aab8373f..0ec1a424ab6348 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i75.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i75.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i76.il b/src/tests/JIT/jit64/mcc/interop/mcc_i76.il index d3c472dde2615f..a2410942540ea7 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i76.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i76.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i7s" as "#1" stdcall) valuetype MCCTest.VType7 Sum(unsigned int64, valuetype MCCTest.VType7, float64, valuetype MCCTest.VType7, float32, valuetype MCCTest.VType7, @@ -114,7 +114,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i76.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i76.ilproj index 1236e6eebc1706..7ea33b0fe88060 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i76.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i76.ilproj @@ -1,6 +1,7 @@ - Exe + + true true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i77.il b/src/tests/JIT/jit64/mcc/interop/mcc_i77.il index 90266a3a76a3d0..d1f022724653af 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i77.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i77.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i7s" as "#1" stdcall) valuetype MCCTest.VType7 Sum(unsigned int64, valuetype MCCTest.VType7, float64, valuetype MCCTest.VType7, float32, valuetype MCCTest.VType7, @@ -124,7 +124,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i77.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i77.ilproj index c4ac297821bf65..be28e292fe68c2 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i77.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i77.ilproj @@ -1,6 +1,7 @@ - Exe + + true true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i80.il b/src/tests/JIT/jit64/mcc/interop/mcc_i80.il index 9e27a3956fe3a7..41b8a915083d99 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i80.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i80.il @@ -11,13 +11,13 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i8c" as "#1" cdecl) vararg valuetype MCCTest.VType8 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i80.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i80.ilproj index 92d5a7878a6af9..a12ff82bb549f7 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i80.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i80.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i81.il b/src/tests/JIT/jit64/mcc/interop/mcc_i81.il index b3549edbd78df5..ecafc9dbb62c47 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i81.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i81.il @@ -11,13 +11,13 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i8c" as "#1" cdecl) vararg valuetype MCCTest.VType8 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i81.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i81.ilproj index 979b11ca63f2dc..a16f966828ceea 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i81.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i81.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i82.il b/src/tests/JIT/jit64/mcc/interop/mcc_i82.il index 6b9b4864cbcd61..cc4a55192db2d5 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i82.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i82.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i8c" as "#1" cdecl) vararg valuetype MCCTest.VType8 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { @@ -105,7 +105,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i82.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i82.ilproj index 836e6d24ee584a..936f92032108c2 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i82.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i82.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i83.il b/src/tests/JIT/jit64/mcc/interop/mcc_i83.il index b2270f76844a19..ceaef9b1ae16bd 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i83.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i83.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i8c" as "#1" cdecl) vararg valuetype MCCTest.VType8 Sum(float64, int32, int64, float32, int16, float64) cil managed preservesig { @@ -109,7 +109,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i83.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i83.ilproj index db12915d7657d0..bed6ac827aaf9b 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i83.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i83.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i84.il b/src/tests/JIT/jit64/mcc/interop/mcc_i84.il index 3f657a5f332f52..a14541690a5e76 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i84.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i84.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i8s" as "#1" stdcall) valuetype MCCTest.VType8 Sum(unsigned int64, valuetype MCCTest.VType8, float64, valuetype MCCTest.VType8, float32, valuetype MCCTest.VType8, @@ -20,7 +20,7 @@ float64, valuetype MCCTest.VType8, float32, valuetype MCCTest.VType8, int16, valuetype MCCTest.VType8) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i84.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i84.ilproj index 6595f0a1f511d9..00e13ab94f89b0 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i84.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i84.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i85.il b/src/tests/JIT/jit64/mcc/interop/mcc_i85.il index d66c0011825d15..675190deb3dac3 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i85.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i85.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i8s" as "#1" stdcall) valuetype MCCTest.VType8 Sum(unsigned int64, valuetype MCCTest.VType8, float64, valuetype MCCTest.VType8, float32, valuetype MCCTest.VType8, @@ -20,7 +20,7 @@ float64, valuetype MCCTest.VType8, float32, valuetype MCCTest.VType8, int16, valuetype MCCTest.VType8) cil managed preservesig { } - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i85.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i85.ilproj index 00c43815fc53ce..6e181d46d52a37 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i85.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i85.ilproj @@ -1,6 +1,7 @@ - Exe + + true 1 true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i86.il b/src/tests/JIT/jit64/mcc/interop/mcc_i86.il index 05adf7c375385a..dec6bb9e9994ea 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i86.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i86.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i8s" as "#1" stdcall) valuetype MCCTest.VType8 Sum(unsigned int64, valuetype MCCTest.VType8, float64, valuetype MCCTest.VType8, float32, valuetype MCCTest.VType8, @@ -114,7 +114,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i86.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i86.ilproj index 001fa4d243ded0..6ae502695ce71a 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i86.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i86.ilproj @@ -1,6 +1,7 @@ - Exe + + true true diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i87.il b/src/tests/JIT/jit64/mcc/interop/mcc_i87.il index 5eb063caa50172..f10cb26ece1310 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i87.il +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i87.il @@ -11,7 +11,7 @@ .namespace MCCTest { - .class MyClass + .class public MyClass { .method assembly static pinvokeimpl("native_i8s" as "#1" stdcall) valuetype MCCTest.VType8 Sum(unsigned int64, valuetype MCCTest.VType8, float64, valuetype MCCTest.VType8, float32, valuetype MCCTest.VType8, @@ -124,7 +124,7 @@ ret } // end of method MyClass::.ctor - .method private static int32 Main() + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/mcc/interop/mcc_i87.ilproj b/src/tests/JIT/jit64/mcc/interop/mcc_i87.ilproj index d95785cd5c4edf..34a25d91c9b48e 100644 --- a/src/tests/JIT/jit64/mcc/interop/mcc_i87.ilproj +++ b/src/tests/JIT/jit64/mcc/interop/mcc_i87.ilproj @@ -1,6 +1,7 @@ - Exe + + true true diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA.cs b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA.cs index 20edc5c517366f..f4cd880931c611 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA.cs +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; namespace CGRecurse { @@ -15,7 +16,8 @@ public class RecursiveAAA public static int cntC = 0; - public static int Main() + [Fact] + public static int TestEntryPoint() { string ExpectedResult = "AAA"; int retVal = 1; @@ -28,7 +30,7 @@ public static int Main() return retVal; } - public static void A() + internal static void A() { ActualResult = (ActualResult + "A"); if ((cntA == 1)) diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA_d.csproj b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA_d.csproj index e3db86c8114e3c..509a2b0c720c62 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA_d.csproj +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA_d.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA_do.csproj b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA_do.csproj index f2d7992f3c8ac2..8512ef1b14bbfb 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA_do.csproj +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA_do.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA_r.csproj b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA_r.csproj index 6fdce82e0627b0..51db8087635b4f 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA_r.csproj +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA_r.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA_ro.csproj b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA_ro.csproj index 6eff81efdeef0f..97dfd16a463ed0 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA_ro.csproj +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAA_ro.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC.cs b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC.cs index d60055363b2d6a..d05b53e0ea4c50 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC.cs +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; namespace CGRecurse { @@ -15,7 +16,8 @@ public class RecursiveAAC public static int cntC = 0; - public static int Main() + [Fact] + public static int TestEntryPoint() { string ExpectedResult = "AAC"; int retVal = 1; @@ -28,13 +30,13 @@ public static int Main() return retVal; } - public static void C() + private static void C() { ActualResult = (ActualResult + "C"); return; } - public static void A() + internal static void A() { ActualResult = (ActualResult + "A"); if ((cntA == 1)) diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC_d.csproj b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC_d.csproj index c7c18210413a0d..e92e03b6912665 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC_d.csproj +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC_d.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC_do.csproj b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC_do.csproj index ba1d5f8a909524..d95e049bad8ee4 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC_do.csproj +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC_do.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC_r.csproj b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC_r.csproj index 0d50932eebb78f..bbdde7316b3481 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC_r.csproj +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC_r.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC_ro.csproj b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC_ro.csproj index 1d35ba328643c1..c9d4e82b09b678 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC_ro.csproj +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseAAC_ro.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA.cs b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA.cs index 075e9b36ff07cf..3f04e6f772b292 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA.cs +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; namespace CGRecurse { @@ -15,7 +16,8 @@ public class RecursiveACA public static int cntC = 0; - public static int Main() + [Fact] + public static int TestEntryPoint() { string ExpectedResult = "ACA"; int retVal = 1; @@ -28,7 +30,7 @@ public static int Main() return retVal; } - public static void C() + private static void C() { ActualResult = (ActualResult + "C"); if ((cntA == 1)) @@ -41,7 +43,7 @@ public static void C() return; } - public static void A() + internal static void A() { ActualResult = (ActualResult + "A"); if ((cntC == 1)) diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA_d.csproj b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA_d.csproj index efef8d65954296..876162d92e22a6 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA_d.csproj +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA_d.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA_do.csproj b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA_do.csproj index 5e98d40f7e795a..d99d86ec015b2f 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA_do.csproj +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA_do.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA_r.csproj b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA_r.csproj index 046882e4c36af0..80b3f4fb1a2afb 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA_r.csproj +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA_r.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA_ro.csproj b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA_ro.csproj index 61ed4394024760..c6a3220ef8e3ff 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA_ro.csproj +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACA_ro.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC.cs b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC.cs index 14be29f12204fe..0048ee488219d5 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC.cs +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; namespace CGRecurse { @@ -15,7 +16,8 @@ public class RecursiveACC public static int cntC = 0; - public static int Main() + [Fact] + public static int TestEntryPoint() { string ExpectedResult = "ACC"; int retVal = 1; @@ -29,7 +31,7 @@ public static int Main() return retVal; } - public static void C() + private static void C() { ActualResult = (ActualResult + "C"); if ((cntC == 2)) @@ -42,7 +44,7 @@ public static void C() return; } - public static void A() + internal static void A() { ActualResult = (ActualResult + "A"); if ((cntC == 1)) diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC_d.csproj b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC_d.csproj index c951c9c10e7e51..9c7f1cb4d69fcb 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC_d.csproj +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC_d.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC_do.csproj b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC_do.csproj index b241e6e5e8cefa..5119889a90e3f8 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC_do.csproj +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC_do.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC_r.csproj b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC_r.csproj index beab82f5d6cf18..cc80c7b1842189 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC_r.csproj +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC_r.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC_ro.csproj b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC_ro.csproj index 51702ac08b3468..7865f4dfd863c8 100644 --- a/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC_ro.csproj +++ b/src/tests/JIT/jit64/opt/cg/CGRecurse/CGRecurseACC_ro.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1.cs b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1.cs index 154b8ecf376afe..4bea4bd1a4ea6b 100644 --- a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1.cs +++ b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; namespace CgTest { @@ -9,7 +10,8 @@ public class Test { public static string ActualResult; - public static int Main() + [Fact] + public static int TestEntryPoint() { string ExpectedResult = "012345678910111213141516171819202122232425262728293031323334353637383940414243444" + "54647484950515253545556575859606162636465666768697071727374757677787980818283848" + @@ -4308,6 +4310,7 @@ public static int Main() return retVal; } +#pragma warning disable xUnit1013 public static void foo0() { ActualResult = (ActualResult + "0"); @@ -28889,5 +28892,6 @@ public static void foo4096() ActualResult = (ActualResult + "4096"); return; } +#pragma warning restore xUnit1013 } } diff --git a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1_d.csproj b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1_d.csproj index 18f71c6c469cd0..ef4ca253f61019 100644 --- a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1_d.csproj +++ b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1_d.csproj @@ -1,6 +1,7 @@ - Exe + + true true true diff --git a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1_do.csproj b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1_do.csproj index b88e71650630bb..5ffe69c48441be 100644 --- a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1_do.csproj +++ b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1_do.csproj @@ -1,7 +1,4 @@ - - Exe - Full True diff --git a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1_r.csproj b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1_r.csproj index b95a968c11ae65..dbf0dbb2554462 100644 --- a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1_r.csproj +++ b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1_r.csproj @@ -1,6 +1,7 @@ - Exe + + true true true diff --git a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1_ro.csproj b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1_ro.csproj index 0d1fb8bdbb894d..4c70002ce4585a 100644 --- a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1_ro.csproj +++ b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress1_ro.csproj @@ -1,7 +1,4 @@ - - Exe - None True diff --git a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2.cs b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2.cs index 514c7f8a300ec7..cf357905f50949 100644 --- a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2.cs +++ b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; namespace CgTest { @@ -9,7 +10,8 @@ public class Test { public static string ActualResult; - public static int Main() + [Fact] + public static int TestEntryPoint() { string ExpectedResult = "012345678910111213141516171819202122232425262728293031323334353637383940414243444" + "54647484950515253545556575859606162636465666768697071727374757677787980818283848" + @@ -59,6 +61,7 @@ public static int Main() return retVal; } +#pragma warning disable xUnit1013 public static void foo0() { ActualResult = (ActualResult + "0"); @@ -7225,5 +7228,6 @@ public static void foo1023() ActualResult = (ActualResult + "1023"); return; } +#pragma warning restore xUnit1013 } } diff --git a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2_d.csproj b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2_d.csproj index b6783d0b97ce92..624de442321c97 100644 --- a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2_d.csproj +++ b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2_d.csproj @@ -1,7 +1,4 @@ - - Exe - Full False diff --git a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2_do.csproj b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2_do.csproj index d9eac35e26891a..db7bd0fc75e0cb 100644 --- a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2_do.csproj +++ b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2_do.csproj @@ -1,7 +1,4 @@ - - Exe - Full True diff --git a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2_r.csproj b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2_r.csproj index bda87951344c6c..1e116087a9ac48 100644 --- a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2_r.csproj +++ b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2_r.csproj @@ -1,7 +1,4 @@ - - Exe - None False diff --git a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2_ro.csproj b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2_ro.csproj index 8dbcaec1fa5011..d1c2709d23ffdd 100644 --- a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2_ro.csproj +++ b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress2_ro.csproj @@ -1,7 +1,4 @@ - - Exe - None True diff --git a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3.cs b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3.cs index a89f43937ffa91..a47946c2404938 100644 --- a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3.cs +++ b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; namespace CgTest { @@ -9,7 +10,8 @@ public class Test { public static string ActualResult; - public static int Main() + [Fact] + public static int TestEntryPoint() { string ExpectedResult = "031239120363364365121366367368122369370371401233723733741243753763771253783793804" + "11263813823831273843853861283873883891342129390391392130393394395131396397398431" + @@ -64,6 +66,7 @@ public static int Main() return retVal; } +#pragma warning disable xUnit1013 public static void foo0() { ActualResult = (ActualResult + "0"); @@ -7704,5 +7707,6 @@ public static void foo1091() ActualResult = (ActualResult + "1091"); return; } +#pragma warning restore xUnit1013 } } diff --git a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3_d.csproj b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3_d.csproj index cacfa5d25b6932..4c0ef4b995e10c 100644 --- a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3_d.csproj +++ b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3_d.csproj @@ -1,7 +1,4 @@ - - Exe - Full False diff --git a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3_do.csproj b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3_do.csproj index d7efa478c8b95c..52cb961709f4d3 100644 --- a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3_do.csproj +++ b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3_do.csproj @@ -1,7 +1,4 @@ - - Exe - Full True diff --git a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3_r.csproj b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3_r.csproj index 30a5efd78ab469..e3ad3beb8ac66e 100644 --- a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3_r.csproj +++ b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3_r.csproj @@ -1,7 +1,4 @@ - - Exe - None False diff --git a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3_ro.csproj b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3_ro.csproj index 8c30d2a5e77f65..ccad3b7e5a75b9 100644 --- a/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3_ro.csproj +++ b/src/tests/JIT/jit64/opt/cg/cgstress/CgStress3_ro.csproj @@ -1,7 +1,4 @@ - - Exe - None True diff --git a/src/tests/JIT/jit64/opt/cg/il/jmp.il b/src/tests/JIT/jit64/opt/cg/il/jmp.il index 8d8ad2ff4251d8..94439445ed46f8 100644 --- a/src/tests/JIT/jit64/opt/cg/il/jmp.il +++ b/src/tests/JIT/jit64/opt/cg/il/jmp.il @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. .assembly extern mscorlib { } +.assembly extern xunit.core {} .assembly extern System.Console { .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) @@ -13,7 +14,11 @@ //[assembly:System.Security.Permissions.SecurityPermissionAttribute( [mscorlib]System.Security.Permissions.SecurityAction.RequestMinimum, Flags=System.Security.Permissions.SecurityPermissionFlag.SkipVerification )] } +.class public auto ansi jmp_ { .method public static int32 main() { +.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( + 01 00 00 00 +) .entrypoint .locals () .maxstack 2 @@ -22,6 +27,7 @@ call int32 _jmp::jmpTest1(class [mscorlib]System.String[]) ret } +} .class public _jmp { .method public void _jmp() { diff --git a/src/tests/JIT/jit64/opt/cg/il/jmp_impl.ilproj b/src/tests/JIT/jit64/opt/cg/il/jmp.ilproj similarity index 89% rename from src/tests/JIT/jit64/opt/cg/il/jmp_impl.ilproj rename to src/tests/JIT/jit64/opt/cg/il/jmp.ilproj index 49ebe7f03e78ae..cc4cd1209e89dc 100644 --- a/src/tests/JIT/jit64/opt/cg/il/jmp_impl.ilproj +++ b/src/tests/JIT/jit64/opt/cg/il/jmp.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/il/jmp_dbg.ilproj b/src/tests/JIT/jit64/opt/cg/il/jmp_il_d.ilproj similarity index 88% rename from src/tests/JIT/jit64/opt/cg/il/jmp_dbg.ilproj rename to src/tests/JIT/jit64/opt/cg/il/jmp_il_d.ilproj index 092d5d2c041e79..499525c6dbd348 100644 --- a/src/tests/JIT/jit64/opt/cg/il/jmp_dbg.ilproj +++ b/src/tests/JIT/jit64/opt/cg/il/jmp_il_d.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/il/jmp_ret.ilproj b/src/tests/JIT/jit64/opt/cg/il/jmp_il_do.ilproj similarity index 89% rename from src/tests/JIT/jit64/opt/cg/il/jmp_ret.ilproj rename to src/tests/JIT/jit64/opt/cg/il/jmp_il_do.ilproj index c9e22abc1248a0..c7bb4379e6e867 100644 --- a/src/tests/JIT/jit64/opt/cg/il/jmp_ret.ilproj +++ b/src/tests/JIT/jit64/opt/cg/il/jmp_il_do.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/il/ldftn.il b/src/tests/JIT/jit64/opt/cg/il/ldftn.il index 5800a74214b444..836d71eb62cb2c 100644 --- a/src/tests/JIT/jit64/opt/cg/il/ldftn.il +++ b/src/tests/JIT/jit64/opt/cg/il/ldftn.il @@ -2,12 +2,13 @@ // The .NET Foundation licenses this file to you under the MIT license. .assembly extern mscorlib { } +.assembly extern xunit.core {} .assembly extern System.Console { .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) .ver 4:0:0:0 } -.assembly Test{} +.assembly 'ldftn'{} .method public static int32 Foo() { @@ -15,10 +16,13 @@ ret } -.class Test +.class public Test { .method public static int32 main() { + .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( + 01 00 00 00 + ) .entrypoint .locals init (int32 V_0) ldc.i4 101 diff --git a/src/tests/JIT/jit64/opt/cg/il/ldftn_impl.ilproj b/src/tests/JIT/jit64/opt/cg/il/ldftn.ilproj similarity index 89% rename from src/tests/JIT/jit64/opt/cg/il/ldftn_impl.ilproj rename to src/tests/JIT/jit64/opt/cg/il/ldftn.ilproj index 28148897846529..51fcf32bf190e6 100644 --- a/src/tests/JIT/jit64/opt/cg/il/ldftn_impl.ilproj +++ b/src/tests/JIT/jit64/opt/cg/il/ldftn.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/il/ldftn_dbg.ilproj b/src/tests/JIT/jit64/opt/cg/il/ldftn_il_d.ilproj similarity index 88% rename from src/tests/JIT/jit64/opt/cg/il/ldftn_dbg.ilproj rename to src/tests/JIT/jit64/opt/cg/il/ldftn_il_d.ilproj index fd5f854ed6f28b..216dcc5450d467 100644 --- a/src/tests/JIT/jit64/opt/cg/il/ldftn_dbg.ilproj +++ b/src/tests/JIT/jit64/opt/cg/il/ldftn_il_d.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cg/il/ldftn_ret.ilproj b/src/tests/JIT/jit64/opt/cg/il/ldftn_il_do.ilproj similarity index 89% rename from src/tests/JIT/jit64/opt/cg/il/ldftn_ret.ilproj rename to src/tests/JIT/jit64/opt/cg/il/ldftn_il_do.ilproj index 6a8e3c9ec50cf3..2ae87b973a66e3 100644 --- a/src/tests/JIT/jit64/opt/cg/il/ldftn_ret.ilproj +++ b/src/tests/JIT/jit64/opt/cg/il/ldftn_il_do.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cprop/Dev10_844071.il b/src/tests/JIT/jit64/opt/cprop/Dev10_844071.il index c5af34fed3d1a1..6e5d1525771540 100644 --- a/src/tests/JIT/jit64/opt/cprop/Dev10_844071.il +++ b/src/tests/JIT/jit64/opt/cprop/Dev10_844071.il @@ -33,7 +33,7 @@ // =============== CLASS MEMBERS DECLARATION =================== -.class private sequential ansi sealed beforefieldinit MS.VT +.class public sequential ansi sealed beforefieldinit MS.VT extends [mscorlib]System.ValueType { .field private string path @@ -356,8 +356,7 @@ IL_01c2: ret } // end of method VT::RunTests - .method private hidebysig static int32 - Main() cil managed + .method public hidebysig static int32 Main() cil managed { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/opt/cprop/Dev10_844071.ilproj b/src/tests/JIT/jit64/opt/cprop/Dev10_844071.ilproj index 8b053b21c95a47..48d80e4b8e69f9 100644 --- a/src/tests/JIT/jit64/opt/cprop/Dev10_844071.ilproj +++ b/src/tests/JIT/jit64/opt/cprop/Dev10_844071.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cprop/Dev10_884217_IL.il b/src/tests/JIT/jit64/opt/cprop/Dev10_884217_IL.il index 4d323934d46df7..b1daecdace4554 100644 --- a/src/tests/JIT/jit64/opt/cprop/Dev10_884217_IL.il +++ b/src/tests/JIT/jit64/opt/cprop/Dev10_884217_IL.il @@ -22,7 +22,7 @@ // =============== CLASS MEMBERS DECLARATION =================== -.class private abstract auto ansi sealed beforefieldinit Repro +.class public abstract auto ansi sealed beforefieldinit Repro extends [mscorlib]System.Object { .method private hidebysig static int32 @@ -56,8 +56,7 @@ IL_0017: ret } // end of method Repro::CbitLowZero - .method private hidebysig static int32 - Main() cil managed + .method public hidebysig static int32 Main() cil managed { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/opt/cprop/Dev10_884217_IL.ilproj b/src/tests/JIT/jit64/opt/cprop/Dev10_884217_IL.ilproj index 6ba0eadb30c74b..cef385a48c9431 100644 --- a/src/tests/JIT/jit64/opt/cprop/Dev10_884217_IL.ilproj +++ b/src/tests/JIT/jit64/opt/cprop/Dev10_884217_IL.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cprop/cprop001.cs b/src/tests/JIT/jit64/opt/cprop/cprop001.cs index 0ebf02542d5045..f5496b8ad4fc1c 100644 --- a/src/tests/JIT/jit64/opt/cprop/cprop001.cs +++ b/src/tests/JIT/jit64/opt/cprop/cprop001.cs @@ -1,11 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +using Xunit; public class LIM { public static int accumulator = 0; - public static int Main() + [Fact] + public static int TestEntryPoint() { int x; int a = GetInt(1); @@ -43,7 +45,7 @@ public static int GetInt(int x) } - public static void Accumulate(int x) + internal static void Accumulate(int x) { try { diff --git a/src/tests/JIT/jit64/opt/cprop/cprop001_d.csproj b/src/tests/JIT/jit64/opt/cprop/cprop001_d.csproj index a8d2435a8ccbae..b5e235e0cc4aff 100644 --- a/src/tests/JIT/jit64/opt/cprop/cprop001_d.csproj +++ b/src/tests/JIT/jit64/opt/cprop/cprop001_d.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cprop/cprop001_do.csproj b/src/tests/JIT/jit64/opt/cprop/cprop001_do.csproj index be7df7c9f6e076..6607912d46dbaf 100644 --- a/src/tests/JIT/jit64/opt/cprop/cprop001_do.csproj +++ b/src/tests/JIT/jit64/opt/cprop/cprop001_do.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cprop/cprop001_r.csproj b/src/tests/JIT/jit64/opt/cprop/cprop001_r.csproj index 66074ce3daa182..86ac1b30a8fd88 100644 --- a/src/tests/JIT/jit64/opt/cprop/cprop001_r.csproj +++ b/src/tests/JIT/jit64/opt/cprop/cprop001_r.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cprop/cprop001_ro.csproj b/src/tests/JIT/jit64/opt/cprop/cprop001_ro.csproj index cc55fa45f411a8..9e8a20aad24137 100644 --- a/src/tests/JIT/jit64/opt/cprop/cprop001_ro.csproj +++ b/src/tests/JIT/jit64/opt/cprop/cprop001_ro.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cprop/cprop002.ilproj b/src/tests/JIT/jit64/opt/cprop/cprop002.ilproj index 7c9a13cf56906b..7a896cd785abbc 100644 --- a/src/tests/JIT/jit64/opt/cprop/cprop002.ilproj +++ b/src/tests/JIT/jit64/opt/cprop/cprop002.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cprop/implicitDownConv.cs b/src/tests/JIT/jit64/opt/cprop/implicitDownConv.cs index 6f2541da4b9ed6..cf924582041206 100644 --- a/src/tests/JIT/jit64/opt/cprop/implicitDownConv.cs +++ b/src/tests/JIT/jit64/opt/cprop/implicitDownConv.cs @@ -3,18 +3,20 @@ using System; using System.Runtime.CompilerServices; +using Xunit; -internal class Program +public class Program { private static int s_result = 100; - private static int Main() + [Fact] + public static int TestEntryPoint() { Test(1L << 32); return s_result; } [MethodImpl(MethodImplOptions.NoInlining)] - public static void Test(long i) + internal static void Test(long i) { if (i == 0) return; diff --git a/src/tests/JIT/jit64/opt/cprop/implicitDownConv.csproj b/src/tests/JIT/jit64/opt/cprop/implicitDownConv.csproj index 125a2587b15be3..3f8395b4b1b8dc 100644 --- a/src/tests/JIT/jit64/opt/cprop/implicitDownConv.csproj +++ b/src/tests/JIT/jit64/opt/cprop/implicitDownConv.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/HugeArray.cs b/src/tests/JIT/jit64/opt/cse/HugeArray.cs index a34dd610ccdefc..486192c2ccee87 100644 --- a/src/tests/JIT/jit64/opt/cse/HugeArray.cs +++ b/src/tests/JIT/jit64/opt/cse/HugeArray.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((ar[1]+ar[2])+ar[3])+ar[4])+ar[5])+ar[6])+ar[7])+ar[8])+ar[9])+ar[10])+ar[11])+ar[12])+ar[13])+ar[14])+ar[15])+ar[16])+ar[17])+ar[18])+ar[19])+ar[20])+ar[21])+ar[22])+ar[23])+ar[24])+ar[25])+ar[26])+ar[27])+ar[28])+ar[29])+ar[30])+ar[31])+ar[32])+ar[33])+ar[34])+ar[35])+ar[36])+ar[37])+ar[38])+ar[39])+ar[40])+ar[41])+ar[42])+ar[43])+ar[44])+ar[45])+ar[46])+ar[47])+ar[48])+ar[49])+ar[50])+ar[51])+ar[52])+ar[53])+ar[54])+ar[55])+ar[56])+ar[57])+ar[58])+ar[59])+ar[60])+ar[61])+ar[62])+ar[63])+ar[64])+ar[65])+ar[66])+ar[67])+ar[68])+ar[69])+ar[70])+ar[71])+ar[72])+ar[73])+ar[74])+ar[75])+ar[76])+ar[77])+ar[78])+ar[79])+ar[80])+ar[81])+ar[82])+ar[83])+ar[84])+ar[85])+ar[86])+ar[87])+ar[88])+ar[89])+ar[90])+ar[91])+ar[92])+ar[93])+ar[94])+ar[95])+ar[96])+ar[97])+ar[98])+ar[99])+ar[100])+ar[101])+ar[102])+ar[103])+ar[104])+ar[105])+ar[106])+ar[107])+ar[108])+ar[109])+ar[110])+ar[111])+ar[112])+ar[113])+ar[114])+ar[115])+ar[116])+ar[117])+ar[118])+ar[119])+ar[120])+ar[121])+ar[122])+ar[123])+ar[124])+ar[125])+ar[126])+ar[127])+ar[128])+ar[129])+ar[130])+ar[131])+ar[132])+ar[133])+ar[134])+ar[135])+ar[136])+ar[137])+ar[138])+ar[139])+ar[140])+ar[141])+ar[142])+ar[143])+ar[144])+ar[145])+ar[146])+ar[147])+ar[148])+ar[149])+ar[150])+ar[151])+ar[152])+ar[153])+ar[154])+ar[155])+ar[156])+ar[157])+ar[158])+ar[159])+ar[160])+ar[161])+ar[162])+ar[163])+ar[164])+ar[165])+ar[166])+ar[167])+ar[168])+ar[169])+ar[170])+ar[171])+ar[172])+ar[173])+ar[174])+ar[175])+ar[176])+ar[177])+ar[178])+ar[179])+ar[180])+ar[181])+ar[182])+ar[183])+ar[184])+ar[185])+ar[186])+ar[187])+ar[188])+ar[189])+ar[190])+ar[191])+ar[192])+ar[193])+ar[194])+ar[195])+ar[196])+ar[197])+ar[198])+ar[199])+ar[200]) //permutations for (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((ar[1]+ar[2])+ar[3])+ar[4])+ar[5])+ar[6])+ar[7])+ar[8])+ar[9])+ar[10])+ar[11])+ar[12])+ar[13])+ar[14])+ar[15])+ar[16])+ar[17])+ar[18])+ar[19])+ar[20])+ar[21])+ar[22])+ar[23])+ar[24])+ar[25])+ar[26])+ar[27])+ar[28])+ar[29])+ar[30])+ar[31])+ar[32])+ar[33])+ar[34])+ar[35])+ar[36])+ar[37])+ar[38])+ar[39])+ar[40])+ar[41])+ar[42])+ar[43])+ar[44])+ar[45])+ar[46])+ar[47])+ar[48])+ar[49])+ar[50])+ar[51])+ar[52])+ar[53])+ar[54])+ar[55])+ar[56])+ar[57])+ar[58])+ar[59])+ar[60])+ar[61])+ar[62])+ar[63])+ar[64])+ar[65])+ar[66])+ar[67])+ar[68])+ar[69])+ar[70])+ar[71])+ar[72])+ar[73])+ar[74])+ar[75])+ar[76])+ar[77])+ar[78])+ar[79])+ar[80])+ar[81])+ar[82])+ar[83])+ar[84])+ar[85])+ar[86])+ar[87])+ar[88])+ar[89])+ar[90])+ar[91])+ar[92])+ar[93])+ar[94])+ar[95])+ar[96])+ar[97])+ar[98])+ar[99])+ar[100])+ar[101])+ar[102])+ar[103])+ar[104])+ar[105])+ar[106])+ar[107])+ar[108])+ar[109])+ar[110])+ar[111])+ar[112])+ar[113])+ar[114])+ar[115])+ar[116])+ar[117])+ar[118])+ar[119])+ar[120])+ar[121])+ar[122])+ar[123])+ar[124])+ar[125])+ar[126])+ar[127])+ar[128])+ar[129])+ar[130])+ar[131])+ar[132])+ar[133])+ar[134])+ar[135])+ar[136])+ar[137])+ar[138])+ar[139])+ar[140])+ar[141])+ar[142])+ar[143])+ar[144])+ar[145])+ar[146])+ar[147])+ar[148])+ar[149])+ar[150])+ar[151])+ar[152])+ar[153])+ar[154])+ar[155])+ar[156])+ar[157])+ar[158])+ar[159])+ar[160])+ar[161])+ar[162])+ar[163])+ar[164])+ar[165])+ar[166])+ar[167])+ar[168])+ar[169])+ar[170])+ar[171])+ar[172])+ar[173])+ar[174])+ar[175])+ar[176])+ar[177])+ar[178])+ar[179])+ar[180])+ar[181])+ar[182])+ar[183])+ar[184])+ar[185])+ar[186])+ar[187])+ar[188])+ar[189])+ar[190])+ar[191])+ar[192])+ar[193])+ar[194])+ar[195])+ar[196])+ar[197])+ar[198])+ar[199])+ar[200]) //(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((ar[1]+ar[2])+ar[3])+ar[4])+ar[5])+ar[6])+ar[7])+ar[8])+ar[9])+ar[10])+ar[11])+ar[12])+ar[13])+ar[14])+ar[15])+ar[16])+ar[17])+ar[18])+ar[19])+ar[20])+ar[21])+ar[22])+ar[23])+ar[24])+ar[25])+ar[26])+ar[27])+ar[28])+ar[29])+ar[30])+ar[31])+ar[32])+ar[33])+ar[34])+ar[35])+ar[36])+ar[37])+ar[38])+ar[39])+ar[40])+ar[41])+ar[42])+ar[43])+ar[44])+ar[45])+ar[46])+ar[47])+ar[48])+ar[49])+ar[50])+ar[51])+ar[52])+ar[53])+ar[54])+ar[55])+ar[56])+ar[57])+ar[58])+ar[59])+ar[60])+ar[61])+ar[62])+ar[63])+ar[64])+ar[65])+ar[66])+ar[67])+ar[68])+ar[69])+ar[70])+ar[71])+ar[72])+ar[73])+ar[74])+ar[75])+ar[76])+ar[77])+ar[78])+ar[79])+ar[80])+ar[81])+ar[82])+ar[83])+ar[84])+ar[85])+ar[86])+ar[87])+ar[88])+ar[89])+ar[90])+ar[91])+ar[92])+ar[93])+ar[94])+ar[95])+ar[96])+ar[97])+ar[98])+ar[99])+ar[100])+ar[101])+ar[102])+ar[103])+ar[104])+ar[105])+ar[106])+ar[107])+ar[108])+ar[109])+ar[110])+ar[111])+ar[112])+ar[113])+ar[114])+ar[115])+ar[116])+ar[117])+ar[118])+ar[119])+ar[120])+ar[121])+ar[122])+ar[123])+ar[124])+ar[125])+ar[126])+ar[127])+ar[128])+ar[129])+ar[130])+ar[131])+ar[132])+ar[133])+ar[134])+ar[135])+ar[136])+ar[137])+ar[138])+ar[139])+ar[140])+ar[141])+ar[142])+ar[143])+ar[144])+ar[145])+ar[146])+ar[147])+ar[148])+ar[149])+ar[150])+ar[151])+ar[152])+ar[153])+ar[154])+ar[155])+ar[156])+ar[157])+ar[158])+ar[159])+ar[160])+ar[161])+ar[162])+ar[163])+ar[164])+ar[165])+ar[166])+ar[167])+ar[168])+ar[169])+ar[170])+ar[171])+ar[172])+ar[173])+ar[174])+ar[175])+ar[176])+ar[177])+ar[178])+ar[179])+ar[180])+ar[181])+ar[182])+ar[183])+ar[184])+ar[185])+ar[186])+ar[187])+ar[188])+ar[189])+ar[190])+ar[191])+ar[192])+ar[193])+ar[194])+ar[195])+ar[196])+ar[197])+ar[198])+ar[199])+ar[200]) @@ -408,7 +409,8 @@ namespace CseTest public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; int[] ar = new int[500]; diff --git a/src/tests/JIT/jit64/opt/cse/HugeArray.csproj b/src/tests/JIT/jit64/opt/cse/HugeArray.csproj index 5fa3b14fea829c..0a376566830a1d 100644 --- a/src/tests/JIT/jit64/opt/cse/HugeArray.csproj +++ b/src/tests/JIT/jit64/opt/cse/HugeArray.csproj @@ -1,6 +1,7 @@ - Exe + + true true 1 diff --git a/src/tests/JIT/jit64/opt/cse/HugeArray1.cs b/src/tests/JIT/jit64/opt/cse/HugeArray1.cs index 3a3e8dcfce8e50..2ad9c26ce99781 100644 --- a/src/tests/JIT/jit64/opt/cse/HugeArray1.cs +++ b/src/tests/JIT/jit64/opt/cse/HugeArray1.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((ar[1]+ar[2])+ar[3])+ar[4])+ar[5])+ar[6])+ar[7])+ar[8])+ar[9])+ar[10])+ar[11])+ar[12])+ar[13])+ar[14])+ar[15])+ar[16])+ar[17])+ar[18])+ar[19])+ar[20])+ar[21])+ar[22])+ar[23])+ar[24])+ar[25])+ar[26])+ar[27])+ar[28])+ar[29])+ar[30])+ar[31])+ar[32])+ar[33])+ar[34])+ar[35])+ar[36])+ar[37])+ar[38])+ar[39])+ar[40])+ar[41])+ar[42])+ar[43])+ar[44])+ar[45])+ar[46])+ar[47])+ar[48])+ar[49])+ar[50])+ar[51])+ar[52])+ar[53])+ar[54])+ar[55])+ar[56])+ar[57])+ar[58])+ar[59])+ar[60])+ar[61])+ar[62])+ar[63])+ar[64])+ar[65])+ar[66])+ar[67])+ar[68])+ar[69])+ar[70])+ar[71])+ar[72])+ar[73])+ar[74])+ar[75])+ar[76])+ar[77])+ar[78])+ar[79])+ar[80])+ar[81])+ar[82])+ar[83])+ar[84])+ar[85])+ar[86])+ar[87])+ar[88])+ar[89])+ar[90])+ar[91])+ar[92])+ar[93])+ar[94])+ar[95])+ar[96])+ar[97])+ar[98])+ar[99])+ar[100])+ar[101])+ar[102])+ar[103])+ar[104])+ar[105])+ar[106])+ar[107])+ar[108])+ar[109])+ar[110])+ar[111])+ar[112])+ar[113])+ar[114])+ar[115])+ar[116])+ar[117])+ar[118])+ar[119])+ar[120])+ar[121])+ar[122])+ar[123])+ar[124])+ar[125])+ar[126])+ar[127])+ar[128])+ar[129])+ar[130])+ar[131])+ar[132])+ar[133])+ar[134])+ar[135])+ar[136])+ar[137])+ar[138])+ar[139])+ar[140])+ar[141])+ar[142])+ar[143])+ar[144])+ar[145])+ar[146])+ar[147])+ar[148])+ar[149])+ar[150])+ar[151])+ar[152])+ar[153])+ar[154])+ar[155])+ar[156])+ar[157])+ar[158])+ar[159])+ar[160])+ar[161])+ar[162])+ar[163])+ar[164])+ar[165])+ar[166])+ar[167])+ar[168])+ar[169])+ar[170])+ar[171])+ar[172])+ar[173])+ar[174])+ar[175])+ar[176])+ar[177])+ar[178])+ar[179])+ar[180])+ar[181])+ar[182])+ar[183])+ar[184])+ar[185])+ar[186])+ar[187])+ar[188])+ar[189])+ar[190])+ar[191])+ar[192])+ar[193])+ar[194])+ar[195])+ar[196])+ar[197])+ar[198])+ar[199])+ar[200]) //permutations for (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((ar[1]+ar[2])+ar[3])+ar[4])+ar[5])+ar[6])+ar[7])+ar[8])+ar[9])+ar[10])+ar[11])+ar[12])+ar[13])+ar[14])+ar[15])+ar[16])+ar[17])+ar[18])+ar[19])+ar[20])+ar[21])+ar[22])+ar[23])+ar[24])+ar[25])+ar[26])+ar[27])+ar[28])+ar[29])+ar[30])+ar[31])+ar[32])+ar[33])+ar[34])+ar[35])+ar[36])+ar[37])+ar[38])+ar[39])+ar[40])+ar[41])+ar[42])+ar[43])+ar[44])+ar[45])+ar[46])+ar[47])+ar[48])+ar[49])+ar[50])+ar[51])+ar[52])+ar[53])+ar[54])+ar[55])+ar[56])+ar[57])+ar[58])+ar[59])+ar[60])+ar[61])+ar[62])+ar[63])+ar[64])+ar[65])+ar[66])+ar[67])+ar[68])+ar[69])+ar[70])+ar[71])+ar[72])+ar[73])+ar[74])+ar[75])+ar[76])+ar[77])+ar[78])+ar[79])+ar[80])+ar[81])+ar[82])+ar[83])+ar[84])+ar[85])+ar[86])+ar[87])+ar[88])+ar[89])+ar[90])+ar[91])+ar[92])+ar[93])+ar[94])+ar[95])+ar[96])+ar[97])+ar[98])+ar[99])+ar[100])+ar[101])+ar[102])+ar[103])+ar[104])+ar[105])+ar[106])+ar[107])+ar[108])+ar[109])+ar[110])+ar[111])+ar[112])+ar[113])+ar[114])+ar[115])+ar[116])+ar[117])+ar[118])+ar[119])+ar[120])+ar[121])+ar[122])+ar[123])+ar[124])+ar[125])+ar[126])+ar[127])+ar[128])+ar[129])+ar[130])+ar[131])+ar[132])+ar[133])+ar[134])+ar[135])+ar[136])+ar[137])+ar[138])+ar[139])+ar[140])+ar[141])+ar[142])+ar[143])+ar[144])+ar[145])+ar[146])+ar[147])+ar[148])+ar[149])+ar[150])+ar[151])+ar[152])+ar[153])+ar[154])+ar[155])+ar[156])+ar[157])+ar[158])+ar[159])+ar[160])+ar[161])+ar[162])+ar[163])+ar[164])+ar[165])+ar[166])+ar[167])+ar[168])+ar[169])+ar[170])+ar[171])+ar[172])+ar[173])+ar[174])+ar[175])+ar[176])+ar[177])+ar[178])+ar[179])+ar[180])+ar[181])+ar[182])+ar[183])+ar[184])+ar[185])+ar[186])+ar[187])+ar[188])+ar[189])+ar[190])+ar[191])+ar[192])+ar[193])+ar[194])+ar[195])+ar[196])+ar[197])+ar[198])+ar[199])+ar[200]) //(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((ar[1]+ar[2])+ar[3])+ar[4])+ar[5])+ar[6])+ar[7])+ar[8])+ar[9])+ar[10])+ar[11])+ar[12])+ar[13])+ar[14])+ar[15])+ar[16])+ar[17])+ar[18])+ar[19])+ar[20])+ar[21])+ar[22])+ar[23])+ar[24])+ar[25])+ar[26])+ar[27])+ar[28])+ar[29])+ar[30])+ar[31])+ar[32])+ar[33])+ar[34])+ar[35])+ar[36])+ar[37])+ar[38])+ar[39])+ar[40])+ar[41])+ar[42])+ar[43])+ar[44])+ar[45])+ar[46])+ar[47])+ar[48])+ar[49])+ar[50])+ar[51])+ar[52])+ar[53])+ar[54])+ar[55])+ar[56])+ar[57])+ar[58])+ar[59])+ar[60])+ar[61])+ar[62])+ar[63])+ar[64])+ar[65])+ar[66])+ar[67])+ar[68])+ar[69])+ar[70])+ar[71])+ar[72])+ar[73])+ar[74])+ar[75])+ar[76])+ar[77])+ar[78])+ar[79])+ar[80])+ar[81])+ar[82])+ar[83])+ar[84])+ar[85])+ar[86])+ar[87])+ar[88])+ar[89])+ar[90])+ar[91])+ar[92])+ar[93])+ar[94])+ar[95])+ar[96])+ar[97])+ar[98])+ar[99])+ar[100])+ar[101])+ar[102])+ar[103])+ar[104])+ar[105])+ar[106])+ar[107])+ar[108])+ar[109])+ar[110])+ar[111])+ar[112])+ar[113])+ar[114])+ar[115])+ar[116])+ar[117])+ar[118])+ar[119])+ar[120])+ar[121])+ar[122])+ar[123])+ar[124])+ar[125])+ar[126])+ar[127])+ar[128])+ar[129])+ar[130])+ar[131])+ar[132])+ar[133])+ar[134])+ar[135])+ar[136])+ar[137])+ar[138])+ar[139])+ar[140])+ar[141])+ar[142])+ar[143])+ar[144])+ar[145])+ar[146])+ar[147])+ar[148])+ar[149])+ar[150])+ar[151])+ar[152])+ar[153])+ar[154])+ar[155])+ar[156])+ar[157])+ar[158])+ar[159])+ar[160])+ar[161])+ar[162])+ar[163])+ar[164])+ar[165])+ar[166])+ar[167])+ar[168])+ar[169])+ar[170])+ar[171])+ar[172])+ar[173])+ar[174])+ar[175])+ar[176])+ar[177])+ar[178])+ar[179])+ar[180])+ar[181])+ar[182])+ar[183])+ar[184])+ar[185])+ar[186])+ar[187])+ar[188])+ar[189])+ar[190])+ar[191])+ar[192])+ar[193])+ar[194])+ar[195])+ar[196])+ar[197])+ar[198])+ar[199])+ar[200]) @@ -10526,7 +10527,8 @@ namespace CseTest public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; int[] ar = new int[1000]; diff --git a/src/tests/JIT/jit64/opt/cse/HugeArray1.csproj b/src/tests/JIT/jit64/opt/cse/HugeArray1.csproj index 0301ab2a9977da..e6438b89c251b8 100644 --- a/src/tests/JIT/jit64/opt/cse/HugeArray1.csproj +++ b/src/tests/JIT/jit64/opt/cse/HugeArray1.csproj @@ -1,6 +1,7 @@ - Exe + + true true diff --git a/src/tests/JIT/jit64/opt/cse/HugeField1.cs b/src/tests/JIT/jit64/opt/cse/HugeField1.cs index 378d98fabe518a..dea8657e5ae204 100644 --- a/src/tests/JIT/jit64/opt/cse/HugeField1.cs +++ b/src/tests/JIT/jit64/opt/cse/HugeField1.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((s.aa+s.ab)+s.ac)+s.ad)+s.ae)+s.af)+s.ag)+s.ah)+s.ai)+s.aj)+s.ak)+s.al)+s.am)+s.an)+s.ao)+s.ap)+s.aq)+s.ar)+s.at)+s.au)+s.av)+s.aw)+s.ax)+s.ay)+s.az)+s.ba)+s.bb)+s.bc)+s.bd)+s.be)+s.bf)+s.bg)+s.bh)+s.bi)+s.bj)+s.bk)+s.bl)+s.bm)+s.bn)+s.bo)+s.bp)+s.bq)+s.br)+s.bs)+s.bt)+s.bu)+s.bv)+s.bw)+s.bx)+s.by)+s.bz)+s.ca)+s.cb)+s.cc)+s.cd)+s.ce)+s.cf)+s.cg)+s.ch)+s.ci)+s.cj)+s.ck)+s.cl)+s.cm)+s.cn)+s.co)+s.cp)+s.cq)+s.cr)+s.cs)+s.ct)+s.cu)+s.cv)+s.cw)+s.cx)+s.cy)+s.cz)+s.da)+s.db)+s.dc)+s.dd)+s.de)+s.df)+s.dg)+s.dh)+s.di)+s.dj)+s.dk)+s.dl)+s.dm)+s.dn)+s.dp)+s.dq)+s.dr)+s.ds)+s.dt)+s.du)+s.dv)+s.dw)+s.dx)+s.dy)+s.dz)+s.ea)+s.eb)+s.ec)+s.ed)+s.ee)+s.ef)+s.eg)+s.eh)+s.ei)+s.ej)+s.ek)+s.el)+s.em)+s.en)+s.eo)+s.ep)+s.eq)+s.er)+s.es)+s.et)+s.eu)+s.ev)+s.ew)+s.ex)+s.ey)+s.ez)+s.fa)+s.fb)+s.fc)+s.fd)+s.fe)+s.ff)+s.fg)+s.fh)+s.fi)+s.fj)+s.fk)+s.fl)+s.fm)+s.fn)+s.fo)+s.fp)+s.fq)+s.fr)+s.fs)+s.ft)+s.fu)+s.fv)+s.fw)+s.fx)+s.fy)+s.fz)+s.ga)+s.gb)+s.gc)+s.gd)+s.ge)+s.gf)+s.gg)+s.gh)+s.gi)+s.gj)+s.gk)+s.gl)+s.gm)+s.gn)+s.go)+s.gp)+s.gq)+s.gr)+s.gs)+s.gt)+s.gu)+s.gv)+s.gw)+s.gx)+s.gy)+s.gz)+s.ha)+s.hb)+s.hc)+s.hd)+s.he)+s.hf)+s.hg)+s.hh)+s.hi)+s.hj)+s.hk)+s.hl)+s.hm)+s.hn)+s.ho)+s.hp)+s.hq)+s.hr)+s.hs)+s.ht)+s.hu)+s.hv)+s.hw)+s.hx)+s.hy)+s.hz)+s.ia)+s.ib)+s.ic)+s.id)+s.ie)+s.ig)+s.ih)+s.ii)+s.ij)+s.ik)+s.il)+s.im)+s.io)+s.ip)+s.iq)+s.ir)+s.it)+s.iu)+s.iv)+s.iw)+s.ix)+s.iy)+s.iz)+s.ja)+s.jb)+s.jc)+s.jd)+s.je)+s.jf)+s.jg)+s.jh)+s.ji)+s.jj)+s.jk)+s.jl)+s.jm)+s.jn)+s.jo)+s.jp)+s.jq)+s.jr)+s.js)+s.jt)+s.ju)+s.jv)+s.jw)+s.jx)+s.jy)+s.jz)+s.ka)+s.kb)+s.kc)+s.kd)+s.ke)+s.kf)+s.kg)+s.kh)+s.ki)+s.kj)+s.kk)+s.kl)+s.km)+s.kn)+s.ko)+s.kp)+s.kq)+s.kr)+s.ks)+s.kt)+s.ku)+s.kv)+s.kw)+s.kx)+s.ky)+s.kz)+s.la)+s.lb)+s.lc)+s.ld)+s.le)+s.lf)+s.lg)+s.lh)+s.li)+s.lj)+s.lk)+s.ll)+s.lm)+s.ln)+s.lo)+s.lp)+s.lq)+s.lr)+s.ls)+s.lt)+s.lu)+s.lv)+s.lw)+s.lx)+s.ly)+s.lz)+s.ma)+s.mb)+s.mc)+s.md)+s.me)+s.mf)+s.mg)+s.mh)+s.mi)+s.mj)+s.mk)+s.ml)+s.mm)+s.mn)+s.mo)+s.mp)+s.mq)+s.mr)+s.ms)+s.mt)+s.mu)+s.mv)+s.mw)+s.mx)+s.my)+s.mz)+s.na)+s.nb)+s.nc)+s.nd)+s.ne)+s.nf)+s.ng)+s.nh)+s.ni)+s.nj)+s.nk)+s.nl)+s.nm)+s.nn)+s.no)+s.np)+s.nq)+s.nr)+s.ns)+s.nt)+s.nu)+s.nv)+s.nw)+s.nx)+s.ny)+s.nz)+s.oa)+s.ob)+s.oc)+s.od)+s.oe)+s.of)+s.og)+s.oh)+s.oi)+s.oj)+s.ok)+s.ol)+s.om)+s.on)+s.oo)+s.op)+s.oq)+s.or)+s.os)+s.ot)+s.ou)+s.ov)+s.ow)+s.ox)+s.oy)+s.oz)+s.pa)+s.pb)+s.pc)+s.pd)+s.pe)+s.pf)+s.pg)+s.ph)+s.pi)+s.pj)+s.pk)+s.pl)+s.pm)+s.pn)+s.po)+s.pp)+s.pq)+s.pr)+s.ps)+s.pt)+s.pu)+s.pv)+s.pw)+s.px)+s.py)+s.pz)+s.qa)+s.qb)+s.qc)+s.qd)+s.qe)+s.qf)+s.qg)+s.qh)+s.qi)+s.qj)+s.qk)+s.ql)+s.qm)+s.qn)+s.qo)+s.qp)+s.qq)+s.qr)+s.qs)+s.qt)+s.qu)+s.qv)+s.qw)+s.qx)+s.qy)+s.qz)+s.ra)+s.rb)+s.rc)+s.rd)+s.re)+s.rf)+s.rg)+s.rh)+s.ri)+s.rj)+s.rk)+s.rl)+s.rm)+s.rn)+s.ro)+s.rp)+s.rq)+s.rr)+s.rs)+s.rt)+s.ru)+s.rv)+s.rw)+s.rx)+s.ry)+s.rz)+s.sa)+s.sb)+s.sc)+s.sd)+s.se)+s.sf)+s.sg)+s.sh)+s.si)+s.sj)+s.sk)+s.sl)+s.sm)+s.sn)+s.so)+s.sp)+s.sq)+s.sr)+s.ss)+s.st)+s.su)+s.sv)+s.sw)+s.sx)+s.sy)+s.sz)+s.ta)+s.tb)+s.tc)+s.td)+s.te)+s.tf)+s.tg)+s.th)+s.ti)+s.tj)+s.tk)+s.tl)+s.tm)+s.tn)+s.to)+s.tp)+s.tq)+s.tr)+s.ts)+s.tt)+s.tu)+s.tv)+s.tw)+s.tx)+s.ty)+s.tz)+s.ua)+s.ub)+s.uc)+s.ud)+s.ue)+s.uf)+s.ug)+s.uh)+s.ui)+s.uj)+s.uk)+s.ul)+s.um)+s.un)+s.uo)+s.up)+s.uq)+s.ur)+s.us)+s.ut)+s.uu)+s.uv)+s.uw)+s.ux)+s.uy)+s.uz)+s.va)+s.vb)+s.vc)+s.vd)+s.ve)+s.vf)+s.vg)+s.vh)+s.vi)+s.vj)+s.vk)+s.vl)+s.vm)+s.vn)+s.vo)+s.vp)+s.vq)+s.vr)+s.vs)+s.vt)+s.vu)+s.vv)+s.vw)+s.vx)+s.vy)+s.vz)+s.wa)+s.wb)+s.wc)+s.wd)+s.we)+s.wf)+s.wg)+s.wh)+s.wi)+s.wj)+s.wk)+s.wl)+s.wm)+s.wn)+s.wo)+s.wp)+s.wq)+s.wr)+s.ws)+s.wt)+s.wu)+s.wv)+s.ww)+s.wx)+s.wy)+s.wz)+s.xa)+s.xb)+s.xc)+s.xd)+s.xe)+s.xf)+s.xg)+s.xh)+s.xi)+s.xj)+s.xk)+s.xl)+s.xm)+s.xn)+s.xo)+s.xp)+s.xq)+s.xr)+s.xs)+s.xt)+s.xu)+s.xv)+s.xw)+s.xx)+s.xy)+s.xz)+s.ya)+s.yb)+s.yc)+s.yd)+s.ye)+s.yf)+s.yg)+s.yh)+s.yi)+s.yj)+s.yk)+s.yl)+s.ym)+s.yn)+s.yo)+s.yp)+s.yq)+s.yr)+s.ys)+s.yt)+s.yu)+s.yv)+s.yw)+s.yx)+s.yy)+s.yz)+s.za)+s.zb)+s.zc)+s.zd)+s.ze)+s.zf)+s.zg)+s.zh)+s.zi)+s.zj)+s.zk)+s.zl)+s.zm)+s.zn)+s.zo)+s.zp)+s.zq)+s.zr)+s.zs)+s.zt)+s.zu)+s.zv)+s.zw)+s.zx)+s.zy)+s.zz) //permutations for ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((s.aa+s.ab)+s.ac)+s.ad)+s.ae)+s.af)+s.ag)+s.ah)+s.ai)+s.aj)+s.ak)+s.al)+s.am)+s.an)+s.ao)+s.ap)+s.aq)+s.ar)+s.at)+s.au)+s.av)+s.aw)+s.ax)+s.ay)+s.az)+s.ba)+s.bb)+s.bc)+s.bd)+s.be)+s.bf)+s.bg)+s.bh)+s.bi)+s.bj)+s.bk)+s.bl)+s.bm)+s.bn)+s.bo)+s.bp)+s.bq)+s.br)+s.bs)+s.bt)+s.bu)+s.bv)+s.bw)+s.bx)+s.by)+s.bz)+s.ca)+s.cb)+s.cc)+s.cd)+s.ce)+s.cf)+s.cg)+s.ch)+s.ci)+s.cj)+s.ck)+s.cl)+s.cm)+s.cn)+s.co)+s.cp)+s.cq)+s.cr)+s.cs)+s.ct)+s.cu)+s.cv)+s.cw)+s.cx)+s.cy)+s.cz)+s.da)+s.db)+s.dc)+s.dd)+s.de)+s.df)+s.dg)+s.dh)+s.di)+s.dj)+s.dk)+s.dl)+s.dm)+s.dn)+s.dp)+s.dq)+s.dr)+s.ds)+s.dt)+s.du)+s.dv)+s.dw)+s.dx)+s.dy)+s.dz)+s.ea)+s.eb)+s.ec)+s.ed)+s.ee)+s.ef)+s.eg)+s.eh)+s.ei)+s.ej)+s.ek)+s.el)+s.em)+s.en)+s.eo)+s.ep)+s.eq)+s.er)+s.es)+s.et)+s.eu)+s.ev)+s.ew)+s.ex)+s.ey)+s.ez)+s.fa)+s.fb)+s.fc)+s.fd)+s.fe)+s.ff)+s.fg)+s.fh)+s.fi)+s.fj)+s.fk)+s.fl)+s.fm)+s.fn)+s.fo)+s.fp)+s.fq)+s.fr)+s.fs)+s.ft)+s.fu)+s.fv)+s.fw)+s.fx)+s.fy)+s.fz)+s.ga)+s.gb)+s.gc)+s.gd)+s.ge)+s.gf)+s.gg)+s.gh)+s.gi)+s.gj)+s.gk)+s.gl)+s.gm)+s.gn)+s.go)+s.gp)+s.gq)+s.gr)+s.gs)+s.gt)+s.gu)+s.gv)+s.gw)+s.gx)+s.gy)+s.gz)+s.ha)+s.hb)+s.hc)+s.hd)+s.he)+s.hf)+s.hg)+s.hh)+s.hi)+s.hj)+s.hk)+s.hl)+s.hm)+s.hn)+s.ho)+s.hp)+s.hq)+s.hr)+s.hs)+s.ht)+s.hu)+s.hv)+s.hw)+s.hx)+s.hy)+s.hz)+s.ia)+s.ib)+s.ic)+s.id)+s.ie)+s.ig)+s.ih)+s.ii)+s.ij)+s.ik)+s.il)+s.im)+s.io)+s.ip)+s.iq)+s.ir)+s.it)+s.iu)+s.iv)+s.iw)+s.ix)+s.iy)+s.iz)+s.ja)+s.jb)+s.jc)+s.jd)+s.je)+s.jf)+s.jg)+s.jh)+s.ji)+s.jj)+s.jk)+s.jl)+s.jm)+s.jn)+s.jo)+s.jp)+s.jq)+s.jr)+s.js)+s.jt)+s.ju)+s.jv)+s.jw)+s.jx)+s.jy)+s.jz)+s.ka)+s.kb)+s.kc)+s.kd)+s.ke)+s.kf)+s.kg)+s.kh)+s.ki)+s.kj)+s.kk)+s.kl)+s.km)+s.kn)+s.ko)+s.kp)+s.kq)+s.kr)+s.ks)+s.kt)+s.ku)+s.kv)+s.kw)+s.kx)+s.ky)+s.kz)+s.la)+s.lb)+s.lc)+s.ld)+s.le)+s.lf)+s.lg)+s.lh)+s.li)+s.lj)+s.lk)+s.ll)+s.lm)+s.ln)+s.lo)+s.lp)+s.lq)+s.lr)+s.ls)+s.lt)+s.lu)+s.lv)+s.lw)+s.lx)+s.ly)+s.lz)+s.ma)+s.mb)+s.mc)+s.md)+s.me)+s.mf)+s.mg)+s.mh)+s.mi)+s.mj)+s.mk)+s.ml)+s.mm)+s.mn)+s.mo)+s.mp)+s.mq)+s.mr)+s.ms)+s.mt)+s.mu)+s.mv)+s.mw)+s.mx)+s.my)+s.mz)+s.na)+s.nb)+s.nc)+s.nd)+s.ne)+s.nf)+s.ng)+s.nh)+s.ni)+s.nj)+s.nk)+s.nl)+s.nm)+s.nn)+s.no)+s.np)+s.nq)+s.nr)+s.ns)+s.nt)+s.nu)+s.nv)+s.nw)+s.nx)+s.ny)+s.nz)+s.oa)+s.ob)+s.oc)+s.od)+s.oe)+s.of)+s.og)+s.oh)+s.oi)+s.oj)+s.ok)+s.ol)+s.om)+s.on)+s.oo)+s.op)+s.oq)+s.or)+s.os)+s.ot)+s.ou)+s.ov)+s.ow)+s.ox)+s.oy)+s.oz)+s.pa)+s.pb)+s.pc)+s.pd)+s.pe)+s.pf)+s.pg)+s.ph)+s.pi)+s.pj)+s.pk)+s.pl)+s.pm)+s.pn)+s.po)+s.pp)+s.pq)+s.pr)+s.ps)+s.pt)+s.pu)+s.pv)+s.pw)+s.px)+s.py)+s.pz)+s.qa)+s.qb)+s.qc)+s.qd)+s.qe)+s.qf)+s.qg)+s.qh)+s.qi)+s.qj)+s.qk)+s.ql)+s.qm)+s.qn)+s.qo)+s.qp)+s.qq)+s.qr)+s.qs)+s.qt)+s.qu)+s.qv)+s.qw)+s.qx)+s.qy)+s.qz)+s.ra)+s.rb)+s.rc)+s.rd)+s.re)+s.rf)+s.rg)+s.rh)+s.ri)+s.rj)+s.rk)+s.rl)+s.rm)+s.rn)+s.ro)+s.rp)+s.rq)+s.rr)+s.rs)+s.rt)+s.ru)+s.rv)+s.rw)+s.rx)+s.ry)+s.rz)+s.sa)+s.sb)+s.sc)+s.sd)+s.se)+s.sf)+s.sg)+s.sh)+s.si)+s.sj)+s.sk)+s.sl)+s.sm)+s.sn)+s.so)+s.sp)+s.sq)+s.sr)+s.ss)+s.st)+s.su)+s.sv)+s.sw)+s.sx)+s.sy)+s.sz)+s.ta)+s.tb)+s.tc)+s.td)+s.te)+s.tf)+s.tg)+s.th)+s.ti)+s.tj)+s.tk)+s.tl)+s.tm)+s.tn)+s.to)+s.tp)+s.tq)+s.tr)+s.ts)+s.tt)+s.tu)+s.tv)+s.tw)+s.tx)+s.ty)+s.tz)+s.ua)+s.ub)+s.uc)+s.ud)+s.ue)+s.uf)+s.ug)+s.uh)+s.ui)+s.uj)+s.uk)+s.ul)+s.um)+s.un)+s.uo)+s.up)+s.uq)+s.ur)+s.us)+s.ut)+s.uu)+s.uv)+s.uw)+s.ux)+s.uy)+s.uz)+s.va)+s.vb)+s.vc)+s.vd)+s.ve)+s.vf)+s.vg)+s.vh)+s.vi)+s.vj)+s.vk)+s.vl)+s.vm)+s.vn)+s.vo)+s.vp)+s.vq)+s.vr)+s.vs)+s.vt)+s.vu)+s.vv)+s.vw)+s.vx)+s.vy)+s.vz)+s.wa)+s.wb)+s.wc)+s.wd)+s.we)+s.wf)+s.wg)+s.wh)+s.wi)+s.wj)+s.wk)+s.wl)+s.wm)+s.wn)+s.wo)+s.wp)+s.wq)+s.wr)+s.ws)+s.wt)+s.wu)+s.wv)+s.ww)+s.wx)+s.wy)+s.wz)+s.xa)+s.xb)+s.xc)+s.xd)+s.xe)+s.xf)+s.xg)+s.xh)+s.xi)+s.xj)+s.xk)+s.xl)+s.xm)+s.xn)+s.xo)+s.xp)+s.xq)+s.xr)+s.xs)+s.xt)+s.xu)+s.xv)+s.xw)+s.xx)+s.xy)+s.xz)+s.ya)+s.yb)+s.yc)+s.yd)+s.ye)+s.yf)+s.yg)+s.yh)+s.yi)+s.yj)+s.yk)+s.yl)+s.ym)+s.yn)+s.yo)+s.yp)+s.yq)+s.yr)+s.ys)+s.yt)+s.yu)+s.yv)+s.yw)+s.yx)+s.yy)+s.yz)+s.za)+s.zb)+s.zc)+s.zd)+s.ze)+s.zf)+s.zg)+s.zh)+s.zi)+s.zj)+s.zk)+s.zl)+s.zm)+s.zn)+s.zo)+s.zp)+s.zq)+s.zr)+s.zs)+s.zt)+s.zu)+s.zv)+s.zw)+s.zx)+s.zy)+s.zz) //((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((s.aa+s.ab)+s.ac)+s.ad)+s.ae)+s.af)+s.ag)+s.ah)+s.ai)+s.aj)+s.ak)+s.al)+s.am)+s.an)+s.ao)+s.ap)+s.aq)+s.ar)+s.at)+s.au)+s.av)+s.aw)+s.ax)+s.ay)+s.az)+s.ba)+s.bb)+s.bc)+s.bd)+s.be)+s.bf)+s.bg)+s.bh)+s.bi)+s.bj)+s.bk)+s.bl)+s.bm)+s.bn)+s.bo)+s.bp)+s.bq)+s.br)+s.bs)+s.bt)+s.bu)+s.bv)+s.bw)+s.bx)+s.by)+s.bz)+s.ca)+s.cb)+s.cc)+s.cd)+s.ce)+s.cf)+s.cg)+s.ch)+s.ci)+s.cj)+s.ck)+s.cl)+s.cm)+s.cn)+s.co)+s.cp)+s.cq)+s.cr)+s.cs)+s.ct)+s.cu)+s.cv)+s.cw)+s.cx)+s.cy)+s.cz)+s.da)+s.db)+s.dc)+s.dd)+s.de)+s.df)+s.dg)+s.dh)+s.di)+s.dj)+s.dk)+s.dl)+s.dm)+s.dn)+s.dp)+s.dq)+s.dr)+s.ds)+s.dt)+s.du)+s.dv)+s.dw)+s.dx)+s.dy)+s.dz)+s.ea)+s.eb)+s.ec)+s.ed)+s.ee)+s.ef)+s.eg)+s.eh)+s.ei)+s.ej)+s.ek)+s.el)+s.em)+s.en)+s.eo)+s.ep)+s.eq)+s.er)+s.es)+s.et)+s.eu)+s.ev)+s.ew)+s.ex)+s.ey)+s.ez)+s.fa)+s.fb)+s.fc)+s.fd)+s.fe)+s.ff)+s.fg)+s.fh)+s.fi)+s.fj)+s.fk)+s.fl)+s.fm)+s.fn)+s.fo)+s.fp)+s.fq)+s.fr)+s.fs)+s.ft)+s.fu)+s.fv)+s.fw)+s.fx)+s.fy)+s.fz)+s.ga)+s.gb)+s.gc)+s.gd)+s.ge)+s.gf)+s.gg)+s.gh)+s.gi)+s.gj)+s.gk)+s.gl)+s.gm)+s.gn)+s.go)+s.gp)+s.gq)+s.gr)+s.gs)+s.gt)+s.gu)+s.gv)+s.gw)+s.gx)+s.gy)+s.gz)+s.ha)+s.hb)+s.hc)+s.hd)+s.he)+s.hf)+s.hg)+s.hh)+s.hi)+s.hj)+s.hk)+s.hl)+s.hm)+s.hn)+s.ho)+s.hp)+s.hq)+s.hr)+s.hs)+s.ht)+s.hu)+s.hv)+s.hw)+s.hx)+s.hy)+s.hz)+s.ia)+s.ib)+s.ic)+s.id)+s.ie)+s.ig)+s.ih)+s.ii)+s.ij)+s.ik)+s.il)+s.im)+s.io)+s.ip)+s.iq)+s.ir)+s.it)+s.iu)+s.iv)+s.iw)+s.ix)+s.iy)+s.iz)+s.ja)+s.jb)+s.jc)+s.jd)+s.je)+s.jf)+s.jg)+s.jh)+s.ji)+s.jj)+s.jk)+s.jl)+s.jm)+s.jn)+s.jo)+s.jp)+s.jq)+s.jr)+s.js)+s.jt)+s.ju)+s.jv)+s.jw)+s.jx)+s.jy)+s.jz)+s.ka)+s.kb)+s.kc)+s.kd)+s.ke)+s.kf)+s.kg)+s.kh)+s.ki)+s.kj)+s.kk)+s.kl)+s.km)+s.kn)+s.ko)+s.kp)+s.kq)+s.kr)+s.ks)+s.kt)+s.ku)+s.kv)+s.kw)+s.kx)+s.ky)+s.kz)+s.la)+s.lb)+s.lc)+s.ld)+s.le)+s.lf)+s.lg)+s.lh)+s.li)+s.lj)+s.lk)+s.ll)+s.lm)+s.ln)+s.lo)+s.lp)+s.lq)+s.lr)+s.ls)+s.lt)+s.lu)+s.lv)+s.lw)+s.lx)+s.ly)+s.lz)+s.ma)+s.mb)+s.mc)+s.md)+s.me)+s.mf)+s.mg)+s.mh)+s.mi)+s.mj)+s.mk)+s.ml)+s.mm)+s.mn)+s.mo)+s.mp)+s.mq)+s.mr)+s.ms)+s.mt)+s.mu)+s.mv)+s.mw)+s.mx)+s.my)+s.mz)+s.na)+s.nb)+s.nc)+s.nd)+s.ne)+s.nf)+s.ng)+s.nh)+s.ni)+s.nj)+s.nk)+s.nl)+s.nm)+s.nn)+s.no)+s.np)+s.nq)+s.nr)+s.ns)+s.nt)+s.nu)+s.nv)+s.nw)+s.nx)+s.ny)+s.nz)+s.oa)+s.ob)+s.oc)+s.od)+s.oe)+s.of)+s.og)+s.oh)+s.oi)+s.oj)+s.ok)+s.ol)+s.om)+s.on)+s.oo)+s.op)+s.oq)+s.or)+s.os)+s.ot)+s.ou)+s.ov)+s.ow)+s.ox)+s.oy)+s.oz)+s.pa)+s.pb)+s.pc)+s.pd)+s.pe)+s.pf)+s.pg)+s.ph)+s.pi)+s.pj)+s.pk)+s.pl)+s.pm)+s.pn)+s.po)+s.pp)+s.pq)+s.pr)+s.ps)+s.pt)+s.pu)+s.pv)+s.pw)+s.px)+s.py)+s.pz)+s.qa)+s.qb)+s.qc)+s.qd)+s.qe)+s.qf)+s.qg)+s.qh)+s.qi)+s.qj)+s.qk)+s.ql)+s.qm)+s.qn)+s.qo)+s.qp)+s.qq)+s.qr)+s.qs)+s.qt)+s.qu)+s.qv)+s.qw)+s.qx)+s.qy)+s.qz)+s.ra)+s.rb)+s.rc)+s.rd)+s.re)+s.rf)+s.rg)+s.rh)+s.ri)+s.rj)+s.rk)+s.rl)+s.rm)+s.rn)+s.ro)+s.rp)+s.rq)+s.rr)+s.rs)+s.rt)+s.ru)+s.rv)+s.rw)+s.rx)+s.ry)+s.rz)+s.sa)+s.sb)+s.sc)+s.sd)+s.se)+s.sf)+s.sg)+s.sh)+s.si)+s.sj)+s.sk)+s.sl)+s.sm)+s.sn)+s.so)+s.sp)+s.sq)+s.sr)+s.ss)+s.st)+s.su)+s.sv)+s.sw)+s.sx)+s.sy)+s.sz)+s.ta)+s.tb)+s.tc)+s.td)+s.te)+s.tf)+s.tg)+s.th)+s.ti)+s.tj)+s.tk)+s.tl)+s.tm)+s.tn)+s.to)+s.tp)+s.tq)+s.tr)+s.ts)+s.tt)+s.tu)+s.tv)+s.tw)+s.tx)+s.ty)+s.tz)+s.ua)+s.ub)+s.uc)+s.ud)+s.ue)+s.uf)+s.ug)+s.uh)+s.ui)+s.uj)+s.uk)+s.ul)+s.um)+s.un)+s.uo)+s.up)+s.uq)+s.ur)+s.us)+s.ut)+s.uu)+s.uv)+s.uw)+s.ux)+s.uy)+s.uz)+s.va)+s.vb)+s.vc)+s.vd)+s.ve)+s.vf)+s.vg)+s.vh)+s.vi)+s.vj)+s.vk)+s.vl)+s.vm)+s.vn)+s.vo)+s.vp)+s.vq)+s.vr)+s.vs)+s.vt)+s.vu)+s.vv)+s.vw)+s.vx)+s.vy)+s.vz)+s.wa)+s.wb)+s.wc)+s.wd)+s.we)+s.wf)+s.wg)+s.wh)+s.wi)+s.wj)+s.wk)+s.wl)+s.wm)+s.wn)+s.wo)+s.wp)+s.wq)+s.wr)+s.ws)+s.wt)+s.wu)+s.wv)+s.ww)+s.wx)+s.wy)+s.wz)+s.xa)+s.xb)+s.xc)+s.xd)+s.xe)+s.xf)+s.xg)+s.xh)+s.xi)+s.xj)+s.xk)+s.xl)+s.xm)+s.xn)+s.xo)+s.xp)+s.xq)+s.xr)+s.xs)+s.xt)+s.xu)+s.xv)+s.xw)+s.xx)+s.xy)+s.xz)+s.ya)+s.yb)+s.yc)+s.yd)+s.ye)+s.yf)+s.yg)+s.yh)+s.yi)+s.yj)+s.yk)+s.yl)+s.ym)+s.yn)+s.yo)+s.yp)+s.yq)+s.yr)+s.ys)+s.yt)+s.yu)+s.yv)+s.yw)+s.yx)+s.yy)+s.yz)+s.za)+s.zb)+s.zc)+s.zd)+s.ze)+s.zf)+s.zg)+s.zh)+s.zi)+s.zj)+s.zk)+s.zl)+s.zm)+s.zn)+s.zo)+s.zp)+s.zq)+s.zr)+s.zs)+s.zt)+s.zu)+s.zv)+s.zw)+s.zx)+s.zy)+s.zz) @@ -1349,7 +1350,8 @@ namespace CseTest using System; public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; class_s s = new class_s(); diff --git a/src/tests/JIT/jit64/opt/cse/HugeField1.csproj b/src/tests/JIT/jit64/opt/cse/HugeField1.csproj index 4457c6382afded..ce8c503024e344 100644 --- a/src/tests/JIT/jit64/opt/cse/HugeField1.csproj +++ b/src/tests/JIT/jit64/opt/cse/HugeField1.csproj @@ -1,6 +1,7 @@ - Exe + + true true 1 diff --git a/src/tests/JIT/jit64/opt/cse/HugeField2.cs b/src/tests/JIT/jit64/opt/cse/HugeField2.cs index 4630b15203c823..b5a617bbb09b1a 100644 --- a/src/tests/JIT/jit64/opt/cse/HugeField2.cs +++ b/src/tests/JIT/jit64/opt/cse/HugeField2.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((s.aa+s.ab)+s.ac)+s.ad)+s.ae)+s.af)+s.ag)+s.ah)+s.ai)+s.aj)+s.ak)+s.al)+s.am)+s.an)+s.ao)+s.ap)+s.aq)+s.ar)+s.at)+s.au)+s.av)+s.aw)+s.ax)+s.ay)+s.az)+s.ba)+s.bb)+s.bc)+s.bd)+s.be)+s.bf)+s.bg)+s.bh)+s.bi)+s.bj)+s.bk)+s.bl)+s.bm)+s.bn)+s.bo)+s.bp)+s.bq)+s.br)+s.bs)+s.bt)+s.bu)+s.bv)+s.bw)+s.bx)+s.by)+s.bz)+s.ca)+s.cb)+s.cc)+s.cd)+s.ce)+s.cf)+s.cg)+s.ch)+s.ci)+s.cj)+s.ck)+s.cl)+s.cm)+s.cn)+s.co)+s.cp)+s.cq)+s.cr)+s.cs)+s.ct)+s.cu)+s.cv)+s.cw)+s.cx)+s.cy)+s.cz)+s.da)+s.db)+s.dc)+s.dd)+s.de)+s.df)+s.dg)+s.dh)+s.di)+s.dj)+s.dk)+s.dl)+s.dm)+s.dn)+s.dp)+s.dq)+s.dr)+s.ds)+s.dt)+s.du)+s.dv)+s.dw)+s.dx)+s.dy)+s.dz)+s.ea)+s.eb)+s.ec)+s.ed)+s.ee)+s.ef)+s.eg)+s.eh)+s.ei)+s.ej)+s.ek)+s.el)+s.em)+s.en)+s.eo)+s.ep)+s.eq)+s.er)+s.es)+s.et)+s.eu)+s.ev)+s.ew)+s.ex)+s.ey)+s.ez)+s.fa)+s.fb)+s.fc)+s.fd)+s.fe)+s.ff)+s.fg)+s.fh)+s.fi)+s.fj)+s.fk)+s.fl)+s.fm)+s.fn)+s.fo)+s.fp)+s.fq)+s.fr)+s.fs)+s.ft)+s.fu)+s.fv)+s.fw)+s.fx)+s.fy)+s.fz)+s.ga)+s.gb)+s.gc)+s.gd)+s.ge)+s.gf)+s.gg)+s.gh)+s.gi)+s.gj)+s.gk)+s.gl)+s.gm)+s.gn)+s.go)+s.gp)+s.gq)+s.gr)+s.gs)+s.gt)+s.gu)+s.gv)+s.gw)+s.gx)+s.gy)+s.gz)+s.ha)+s.hb)+s.hc)+s.hd)+s.he)+s.hf)+s.hg)+s.hh)+s.hi)+s.hj)+s.hk)+s.hl)+s.hm)+s.hn)+s.ho)+s.hp)+s.hq)+s.hr)+s.hs)+s.ht)+s.hu)+s.hv)+s.hw)+s.hx)+s.hy)+s.hz)+s.ia)+s.ib)+s.ic)+s.id)+s.ie)+s.ig)+s.ih)+s.ii)+s.ij)+s.ik)+s.il)+s.im)+s.io)+s.ip)+s.iq)+s.ir)+s.it)+s.iu)+s.iv)+s.iw)+s.ix)+s.iy)+s.iz)+s.ja)+s.jb)+s.jc)+s.jd)+s.je)+s.jf)+s.jg)+s.jh)+s.ji)+s.jj)+s.jk)+s.jl)+s.jm)+s.jn)+s.jo)+s.jp)+s.jq)+s.jr)+s.js)+s.jt)+s.ju)+s.jv)+s.jw)+s.jx)+s.jy)+s.jz)+s.ka)+s.kb)+s.kc)+s.kd)+s.ke)+s.kf)+s.kg)+s.kh)+s.ki)+s.kj)+s.kk)+s.kl)+s.km)+s.kn)+s.ko)+s.kp)+s.kq)+s.kr)+s.ks)+s.kt)+s.ku)+s.kv)+s.kw)+s.kx)+s.ky)+s.kz)+s.la)+s.lb)+s.lc)+s.ld)+s.le)+s.lf)+s.lg)+s.lh)+s.li)+s.lj)+s.lk)+s.ll)+s.lm)+s.ln)+s.lo)+s.lp)+s.lq)+s.lr)+s.ls)+s.lt)+s.lu)+s.lv)+s.lw)+s.lx)+s.ly)+s.lz)+s.ma)+s.mb)+s.mc)+s.md)+s.me)+s.mf)+s.mg)+s.mh)+s.mi)+s.mj)+s.mk)+s.ml)+s.mm)+s.mn)+s.mo)+s.mp)+s.mq)+s.mr)+s.ms)+s.mt)+s.mu)+s.mv)+s.mw)+s.mx)+s.my)+s.mz)+s.na)+s.nb)+s.nc)+s.nd)+s.ne)+s.nf)+s.ng)+s.nh)+s.ni)+s.nj)+s.nk)+s.nl)+s.nm)+s.nn)+s.no)+s.np)+s.nq)+s.nr)+s.ns)+s.nt)+s.nu)+s.nv)+s.nw)+s.nx)+s.ny)+s.nz)+s.oa)+s.ob)+s.oc)+s.od)+s.oe)+s.of)+s.og)+s.oh)+s.oi)+s.oj)+s.ok)+s.ol)+s.om)+s.on)+s.oo)+s.op)+s.oq)+s.or)+s.os)+s.ot)+s.ou)+s.ov)+s.ow)+s.ox)+s.oy)+s.oz)+s.pa)+s.pb)+s.pc)+s.pd)+s.pe)+s.pf)+s.pg)+s.ph)+s.pi)+s.pj)+s.pk)+s.pl)+s.pm)+s.pn)+s.po)+s.pp)+s.pq)+s.pr)+s.ps)+s.pt)+s.pu)+s.pv)+s.pw)+s.px)+s.py)+s.pz)+s.qa)+s.qb)+s.qc)+s.qd)+s.qe)+s.qf)+s.qg)+s.qh)+s.qi)+s.qj)+s.qk)+s.ql)+s.qm)+s.qn)+s.qo)+s.qp)+s.qq)+s.qr)+s.qs)+s.qt)+s.qu)+s.qv)+s.qw)+s.qx)+s.qy)+s.qz)+s.ra)+s.rb)+s.rc)+s.rd)+s.re)+s.rf)+s.rg)+s.rh)+s.ri)+s.rj)+s.rk)+s.rl)+s.rm)+s.rn)+s.ro)+s.rp)+s.rq)+s.rr)+s.rs)+s.rt)+s.ru)+s.rv)+s.rw)+s.rx)+s.ry)+s.rz)+s.sa)+s.sb)+s.sc)+s.sd)+s.se)+s.sf)+s.sg)+s.sh)+s.si)+s.sj)+s.sk)+s.sl)+s.sm)+s.sn)+s.so)+s.sp)+s.sq)+s.sr)+s.ss)+s.st)+s.su)+s.sv)+s.sw)+s.sx)+s.sy)+s.sz)+s.ta)+s.tb)+s.tc)+s.td)+s.te)+s.tf)+s.tg)+s.th)+s.ti)+s.tj)+s.tk)+s.tl)+s.tm)+s.tn)+s.to)+s.tp)+s.tq)+s.tr)+s.ts)+s.tt)+s.tu)+s.tv)+s.tw)+s.tx)+s.ty)+s.tz)+s.ua)+s.ub)+s.uc)+s.ud)+s.ue)+s.uf)+s.ug)+s.uh)+s.ui)+s.uj)+s.uk)+s.ul)+s.um)+s.un)+s.uo)+s.up)+s.uq)+s.ur)+s.us)+s.ut)+s.uu)+s.uv)+s.uw)+s.ux)+s.uy)+s.uz)+s.va)+s.vb)+s.vc)+s.vd)+s.ve)+s.vf)+s.vg)+s.vh)+s.vi)+s.vj)+s.vk)+s.vl)+s.vm)+s.vn)+s.vo)+s.vp)+s.vq)+s.vr)+s.vs)+s.vt)+s.vu)+s.vv)+s.vw)+s.vx)+s.vy)+s.vz)+s.wa)+s.wb)+s.wc)+s.wd)+s.we)+s.wf)+s.wg)+s.wh)+s.wi)+s.wj)+s.wk)+s.wl)+s.wm)+s.wn)+s.wo)+s.wp)+s.wq)+s.wr)+s.ws)+s.wt)+s.wu)+s.wv)+s.ww)+s.wx)+s.wy)+s.wz)+s.xa)+s.xb)+s.xc)+s.xd)+s.xe)+s.xf)+s.xg)+s.xh)+s.xi)+s.xj)+s.xk)+s.xl)+s.xm)+s.xn)+s.xo)+s.xp)+s.xq)+s.xr)+s.xs)+s.xt)+s.xu)+s.xv)+s.xw)+s.xx)+s.xy)+s.xz)+s.ya)+s.yb)+s.yc)+s.yd)+s.ye)+s.yf)+s.yg)+s.yh)+s.yi)+s.yj)+s.yk)+s.yl)+s.ym)+s.yn)+s.yo)+s.yp)+s.yq)+s.yr)+s.ys)+s.yt)+s.yu)+s.yv)+s.yw)+s.yx)+s.yy)+s.yz)+s.za)+s.zb)+s.zc)+s.zd)+s.ze)+s.zf)+s.zg)+s.zh)+s.zi)+s.zj)+s.zk)+s.zl)+s.zm)+s.zn)+s.zo)+s.zp)+s.zq)+s.zr)+s.zs)+s.zt)+s.zu)+s.zv)+s.zw)+s.zx)+s.zy)+s.zz) //permutations for ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((s.aa+s.ab)+s.ac)+s.ad)+s.ae)+s.af)+s.ag)+s.ah)+s.ai)+s.aj)+s.ak)+s.al)+s.am)+s.an)+s.ao)+s.ap)+s.aq)+s.ar)+s.at)+s.au)+s.av)+s.aw)+s.ax)+s.ay)+s.az)+s.ba)+s.bb)+s.bc)+s.bd)+s.be)+s.bf)+s.bg)+s.bh)+s.bi)+s.bj)+s.bk)+s.bl)+s.bm)+s.bn)+s.bo)+s.bp)+s.bq)+s.br)+s.bs)+s.bt)+s.bu)+s.bv)+s.bw)+s.bx)+s.by)+s.bz)+s.ca)+s.cb)+s.cc)+s.cd)+s.ce)+s.cf)+s.cg)+s.ch)+s.ci)+s.cj)+s.ck)+s.cl)+s.cm)+s.cn)+s.co)+s.cp)+s.cq)+s.cr)+s.cs)+s.ct)+s.cu)+s.cv)+s.cw)+s.cx)+s.cy)+s.cz)+s.da)+s.db)+s.dc)+s.dd)+s.de)+s.df)+s.dg)+s.dh)+s.di)+s.dj)+s.dk)+s.dl)+s.dm)+s.dn)+s.dp)+s.dq)+s.dr)+s.ds)+s.dt)+s.du)+s.dv)+s.dw)+s.dx)+s.dy)+s.dz)+s.ea)+s.eb)+s.ec)+s.ed)+s.ee)+s.ef)+s.eg)+s.eh)+s.ei)+s.ej)+s.ek)+s.el)+s.em)+s.en)+s.eo)+s.ep)+s.eq)+s.er)+s.es)+s.et)+s.eu)+s.ev)+s.ew)+s.ex)+s.ey)+s.ez)+s.fa)+s.fb)+s.fc)+s.fd)+s.fe)+s.ff)+s.fg)+s.fh)+s.fi)+s.fj)+s.fk)+s.fl)+s.fm)+s.fn)+s.fo)+s.fp)+s.fq)+s.fr)+s.fs)+s.ft)+s.fu)+s.fv)+s.fw)+s.fx)+s.fy)+s.fz)+s.ga)+s.gb)+s.gc)+s.gd)+s.ge)+s.gf)+s.gg)+s.gh)+s.gi)+s.gj)+s.gk)+s.gl)+s.gm)+s.gn)+s.go)+s.gp)+s.gq)+s.gr)+s.gs)+s.gt)+s.gu)+s.gv)+s.gw)+s.gx)+s.gy)+s.gz)+s.ha)+s.hb)+s.hc)+s.hd)+s.he)+s.hf)+s.hg)+s.hh)+s.hi)+s.hj)+s.hk)+s.hl)+s.hm)+s.hn)+s.ho)+s.hp)+s.hq)+s.hr)+s.hs)+s.ht)+s.hu)+s.hv)+s.hw)+s.hx)+s.hy)+s.hz)+s.ia)+s.ib)+s.ic)+s.id)+s.ie)+s.ig)+s.ih)+s.ii)+s.ij)+s.ik)+s.il)+s.im)+s.io)+s.ip)+s.iq)+s.ir)+s.it)+s.iu)+s.iv)+s.iw)+s.ix)+s.iy)+s.iz)+s.ja)+s.jb)+s.jc)+s.jd)+s.je)+s.jf)+s.jg)+s.jh)+s.ji)+s.jj)+s.jk)+s.jl)+s.jm)+s.jn)+s.jo)+s.jp)+s.jq)+s.jr)+s.js)+s.jt)+s.ju)+s.jv)+s.jw)+s.jx)+s.jy)+s.jz)+s.ka)+s.kb)+s.kc)+s.kd)+s.ke)+s.kf)+s.kg)+s.kh)+s.ki)+s.kj)+s.kk)+s.kl)+s.km)+s.kn)+s.ko)+s.kp)+s.kq)+s.kr)+s.ks)+s.kt)+s.ku)+s.kv)+s.kw)+s.kx)+s.ky)+s.kz)+s.la)+s.lb)+s.lc)+s.ld)+s.le)+s.lf)+s.lg)+s.lh)+s.li)+s.lj)+s.lk)+s.ll)+s.lm)+s.ln)+s.lo)+s.lp)+s.lq)+s.lr)+s.ls)+s.lt)+s.lu)+s.lv)+s.lw)+s.lx)+s.ly)+s.lz)+s.ma)+s.mb)+s.mc)+s.md)+s.me)+s.mf)+s.mg)+s.mh)+s.mi)+s.mj)+s.mk)+s.ml)+s.mm)+s.mn)+s.mo)+s.mp)+s.mq)+s.mr)+s.ms)+s.mt)+s.mu)+s.mv)+s.mw)+s.mx)+s.my)+s.mz)+s.na)+s.nb)+s.nc)+s.nd)+s.ne)+s.nf)+s.ng)+s.nh)+s.ni)+s.nj)+s.nk)+s.nl)+s.nm)+s.nn)+s.no)+s.np)+s.nq)+s.nr)+s.ns)+s.nt)+s.nu)+s.nv)+s.nw)+s.nx)+s.ny)+s.nz)+s.oa)+s.ob)+s.oc)+s.od)+s.oe)+s.of)+s.og)+s.oh)+s.oi)+s.oj)+s.ok)+s.ol)+s.om)+s.on)+s.oo)+s.op)+s.oq)+s.or)+s.os)+s.ot)+s.ou)+s.ov)+s.ow)+s.ox)+s.oy)+s.oz)+s.pa)+s.pb)+s.pc)+s.pd)+s.pe)+s.pf)+s.pg)+s.ph)+s.pi)+s.pj)+s.pk)+s.pl)+s.pm)+s.pn)+s.po)+s.pp)+s.pq)+s.pr)+s.ps)+s.pt)+s.pu)+s.pv)+s.pw)+s.px)+s.py)+s.pz)+s.qa)+s.qb)+s.qc)+s.qd)+s.qe)+s.qf)+s.qg)+s.qh)+s.qi)+s.qj)+s.qk)+s.ql)+s.qm)+s.qn)+s.qo)+s.qp)+s.qq)+s.qr)+s.qs)+s.qt)+s.qu)+s.qv)+s.qw)+s.qx)+s.qy)+s.qz)+s.ra)+s.rb)+s.rc)+s.rd)+s.re)+s.rf)+s.rg)+s.rh)+s.ri)+s.rj)+s.rk)+s.rl)+s.rm)+s.rn)+s.ro)+s.rp)+s.rq)+s.rr)+s.rs)+s.rt)+s.ru)+s.rv)+s.rw)+s.rx)+s.ry)+s.rz)+s.sa)+s.sb)+s.sc)+s.sd)+s.se)+s.sf)+s.sg)+s.sh)+s.si)+s.sj)+s.sk)+s.sl)+s.sm)+s.sn)+s.so)+s.sp)+s.sq)+s.sr)+s.ss)+s.st)+s.su)+s.sv)+s.sw)+s.sx)+s.sy)+s.sz)+s.ta)+s.tb)+s.tc)+s.td)+s.te)+s.tf)+s.tg)+s.th)+s.ti)+s.tj)+s.tk)+s.tl)+s.tm)+s.tn)+s.to)+s.tp)+s.tq)+s.tr)+s.ts)+s.tt)+s.tu)+s.tv)+s.tw)+s.tx)+s.ty)+s.tz)+s.ua)+s.ub)+s.uc)+s.ud)+s.ue)+s.uf)+s.ug)+s.uh)+s.ui)+s.uj)+s.uk)+s.ul)+s.um)+s.un)+s.uo)+s.up)+s.uq)+s.ur)+s.us)+s.ut)+s.uu)+s.uv)+s.uw)+s.ux)+s.uy)+s.uz)+s.va)+s.vb)+s.vc)+s.vd)+s.ve)+s.vf)+s.vg)+s.vh)+s.vi)+s.vj)+s.vk)+s.vl)+s.vm)+s.vn)+s.vo)+s.vp)+s.vq)+s.vr)+s.vs)+s.vt)+s.vu)+s.vv)+s.vw)+s.vx)+s.vy)+s.vz)+s.wa)+s.wb)+s.wc)+s.wd)+s.we)+s.wf)+s.wg)+s.wh)+s.wi)+s.wj)+s.wk)+s.wl)+s.wm)+s.wn)+s.wo)+s.wp)+s.wq)+s.wr)+s.ws)+s.wt)+s.wu)+s.wv)+s.ww)+s.wx)+s.wy)+s.wz)+s.xa)+s.xb)+s.xc)+s.xd)+s.xe)+s.xf)+s.xg)+s.xh)+s.xi)+s.xj)+s.xk)+s.xl)+s.xm)+s.xn)+s.xo)+s.xp)+s.xq)+s.xr)+s.xs)+s.xt)+s.xu)+s.xv)+s.xw)+s.xx)+s.xy)+s.xz)+s.ya)+s.yb)+s.yc)+s.yd)+s.ye)+s.yf)+s.yg)+s.yh)+s.yi)+s.yj)+s.yk)+s.yl)+s.ym)+s.yn)+s.yo)+s.yp)+s.yq)+s.yr)+s.ys)+s.yt)+s.yu)+s.yv)+s.yw)+s.yx)+s.yy)+s.yz)+s.za)+s.zb)+s.zc)+s.zd)+s.ze)+s.zf)+s.zg)+s.zh)+s.zi)+s.zj)+s.zk)+s.zl)+s.zm)+s.zn)+s.zo)+s.zp)+s.zq)+s.zr)+s.zs)+s.zt)+s.zu)+s.zv)+s.zw)+s.zx)+s.zy)+s.zz) //((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((s.aa+s.ab)+s.ac)+s.ad)+s.ae)+s.af)+s.ag)+s.ah)+s.ai)+s.aj)+s.ak)+s.al)+s.am)+s.an)+s.ao)+s.ap)+s.aq)+s.ar)+s.at)+s.au)+s.av)+s.aw)+s.ax)+s.ay)+s.az)+s.ba)+s.bb)+s.bc)+s.bd)+s.be)+s.bf)+s.bg)+s.bh)+s.bi)+s.bj)+s.bk)+s.bl)+s.bm)+s.bn)+s.bo)+s.bp)+s.bq)+s.br)+s.bs)+s.bt)+s.bu)+s.bv)+s.bw)+s.bx)+s.by)+s.bz)+s.ca)+s.cb)+s.cc)+s.cd)+s.ce)+s.cf)+s.cg)+s.ch)+s.ci)+s.cj)+s.ck)+s.cl)+s.cm)+s.cn)+s.co)+s.cp)+s.cq)+s.cr)+s.cs)+s.ct)+s.cu)+s.cv)+s.cw)+s.cx)+s.cy)+s.cz)+s.da)+s.db)+s.dc)+s.dd)+s.de)+s.df)+s.dg)+s.dh)+s.di)+s.dj)+s.dk)+s.dl)+s.dm)+s.dn)+s.dp)+s.dq)+s.dr)+s.ds)+s.dt)+s.du)+s.dv)+s.dw)+s.dx)+s.dy)+s.dz)+s.ea)+s.eb)+s.ec)+s.ed)+s.ee)+s.ef)+s.eg)+s.eh)+s.ei)+s.ej)+s.ek)+s.el)+s.em)+s.en)+s.eo)+s.ep)+s.eq)+s.er)+s.es)+s.et)+s.eu)+s.ev)+s.ew)+s.ex)+s.ey)+s.ez)+s.fa)+s.fb)+s.fc)+s.fd)+s.fe)+s.ff)+s.fg)+s.fh)+s.fi)+s.fj)+s.fk)+s.fl)+s.fm)+s.fn)+s.fo)+s.fp)+s.fq)+s.fr)+s.fs)+s.ft)+s.fu)+s.fv)+s.fw)+s.fx)+s.fy)+s.fz)+s.ga)+s.gb)+s.gc)+s.gd)+s.ge)+s.gf)+s.gg)+s.gh)+s.gi)+s.gj)+s.gk)+s.gl)+s.gm)+s.gn)+s.go)+s.gp)+s.gq)+s.gr)+s.gs)+s.gt)+s.gu)+s.gv)+s.gw)+s.gx)+s.gy)+s.gz)+s.ha)+s.hb)+s.hc)+s.hd)+s.he)+s.hf)+s.hg)+s.hh)+s.hi)+s.hj)+s.hk)+s.hl)+s.hm)+s.hn)+s.ho)+s.hp)+s.hq)+s.hr)+s.hs)+s.ht)+s.hu)+s.hv)+s.hw)+s.hx)+s.hy)+s.hz)+s.ia)+s.ib)+s.ic)+s.id)+s.ie)+s.ig)+s.ih)+s.ii)+s.ij)+s.ik)+s.il)+s.im)+s.io)+s.ip)+s.iq)+s.ir)+s.it)+s.iu)+s.iv)+s.iw)+s.ix)+s.iy)+s.iz)+s.ja)+s.jb)+s.jc)+s.jd)+s.je)+s.jf)+s.jg)+s.jh)+s.ji)+s.jj)+s.jk)+s.jl)+s.jm)+s.jn)+s.jo)+s.jp)+s.jq)+s.jr)+s.js)+s.jt)+s.ju)+s.jv)+s.jw)+s.jx)+s.jy)+s.jz)+s.ka)+s.kb)+s.kc)+s.kd)+s.ke)+s.kf)+s.kg)+s.kh)+s.ki)+s.kj)+s.kk)+s.kl)+s.km)+s.kn)+s.ko)+s.kp)+s.kq)+s.kr)+s.ks)+s.kt)+s.ku)+s.kv)+s.kw)+s.kx)+s.ky)+s.kz)+s.la)+s.lb)+s.lc)+s.ld)+s.le)+s.lf)+s.lg)+s.lh)+s.li)+s.lj)+s.lk)+s.ll)+s.lm)+s.ln)+s.lo)+s.lp)+s.lq)+s.lr)+s.ls)+s.lt)+s.lu)+s.lv)+s.lw)+s.lx)+s.ly)+s.lz)+s.ma)+s.mb)+s.mc)+s.md)+s.me)+s.mf)+s.mg)+s.mh)+s.mi)+s.mj)+s.mk)+s.ml)+s.mm)+s.mn)+s.mo)+s.mp)+s.mq)+s.mr)+s.ms)+s.mt)+s.mu)+s.mv)+s.mw)+s.mx)+s.my)+s.mz)+s.na)+s.nb)+s.nc)+s.nd)+s.ne)+s.nf)+s.ng)+s.nh)+s.ni)+s.nj)+s.nk)+s.nl)+s.nm)+s.nn)+s.no)+s.np)+s.nq)+s.nr)+s.ns)+s.nt)+s.nu)+s.nv)+s.nw)+s.nx)+s.ny)+s.nz)+s.oa)+s.ob)+s.oc)+s.od)+s.oe)+s.of)+s.og)+s.oh)+s.oi)+s.oj)+s.ok)+s.ol)+s.om)+s.on)+s.oo)+s.op)+s.oq)+s.or)+s.os)+s.ot)+s.ou)+s.ov)+s.ow)+s.ox)+s.oy)+s.oz)+s.pa)+s.pb)+s.pc)+s.pd)+s.pe)+s.pf)+s.pg)+s.ph)+s.pi)+s.pj)+s.pk)+s.pl)+s.pm)+s.pn)+s.po)+s.pp)+s.pq)+s.pr)+s.ps)+s.pt)+s.pu)+s.pv)+s.pw)+s.px)+s.py)+s.pz)+s.qa)+s.qb)+s.qc)+s.qd)+s.qe)+s.qf)+s.qg)+s.qh)+s.qi)+s.qj)+s.qk)+s.ql)+s.qm)+s.qn)+s.qo)+s.qp)+s.qq)+s.qr)+s.qs)+s.qt)+s.qu)+s.qv)+s.qw)+s.qx)+s.qy)+s.qz)+s.ra)+s.rb)+s.rc)+s.rd)+s.re)+s.rf)+s.rg)+s.rh)+s.ri)+s.rj)+s.rk)+s.rl)+s.rm)+s.rn)+s.ro)+s.rp)+s.rq)+s.rr)+s.rs)+s.rt)+s.ru)+s.rv)+s.rw)+s.rx)+s.ry)+s.rz)+s.sa)+s.sb)+s.sc)+s.sd)+s.se)+s.sf)+s.sg)+s.sh)+s.si)+s.sj)+s.sk)+s.sl)+s.sm)+s.sn)+s.so)+s.sp)+s.sq)+s.sr)+s.ss)+s.st)+s.su)+s.sv)+s.sw)+s.sx)+s.sy)+s.sz)+s.ta)+s.tb)+s.tc)+s.td)+s.te)+s.tf)+s.tg)+s.th)+s.ti)+s.tj)+s.tk)+s.tl)+s.tm)+s.tn)+s.to)+s.tp)+s.tq)+s.tr)+s.ts)+s.tt)+s.tu)+s.tv)+s.tw)+s.tx)+s.ty)+s.tz)+s.ua)+s.ub)+s.uc)+s.ud)+s.ue)+s.uf)+s.ug)+s.uh)+s.ui)+s.uj)+s.uk)+s.ul)+s.um)+s.un)+s.uo)+s.up)+s.uq)+s.ur)+s.us)+s.ut)+s.uu)+s.uv)+s.uw)+s.ux)+s.uy)+s.uz)+s.va)+s.vb)+s.vc)+s.vd)+s.ve)+s.vf)+s.vg)+s.vh)+s.vi)+s.vj)+s.vk)+s.vl)+s.vm)+s.vn)+s.vo)+s.vp)+s.vq)+s.vr)+s.vs)+s.vt)+s.vu)+s.vv)+s.vw)+s.vx)+s.vy)+s.vz)+s.wa)+s.wb)+s.wc)+s.wd)+s.we)+s.wf)+s.wg)+s.wh)+s.wi)+s.wj)+s.wk)+s.wl)+s.wm)+s.wn)+s.wo)+s.wp)+s.wq)+s.wr)+s.ws)+s.wt)+s.wu)+s.wv)+s.ww)+s.wx)+s.wy)+s.wz)+s.xa)+s.xb)+s.xc)+s.xd)+s.xe)+s.xf)+s.xg)+s.xh)+s.xi)+s.xj)+s.xk)+s.xl)+s.xm)+s.xn)+s.xo)+s.xp)+s.xq)+s.xr)+s.xs)+s.xt)+s.xu)+s.xv)+s.xw)+s.xx)+s.xy)+s.xz)+s.ya)+s.yb)+s.yc)+s.yd)+s.ye)+s.yf)+s.yg)+s.yh)+s.yi)+s.yj)+s.yk)+s.yl)+s.ym)+s.yn)+s.yo)+s.yp)+s.yq)+s.yr)+s.ys)+s.yt)+s.yu)+s.yv)+s.yw)+s.yx)+s.yy)+s.yz)+s.za)+s.zb)+s.zc)+s.zd)+s.ze)+s.zf)+s.zg)+s.zh)+s.zi)+s.zj)+s.zk)+s.zl)+s.zm)+s.zn)+s.zo)+s.zp)+s.zq)+s.zr)+s.zs)+s.zt)+s.zu)+s.zv)+s.zw)+s.zx)+s.zy)+s.zz) @@ -1349,7 +1350,8 @@ namespace CseTest using System; public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; class_s s = new class_s(); diff --git a/src/tests/JIT/jit64/opt/cse/HugeField2.csproj b/src/tests/JIT/jit64/opt/cse/HugeField2.csproj index 7b65b5d95c17b8..e18c8bf9eb3691 100644 --- a/src/tests/JIT/jit64/opt/cse/HugeField2.csproj +++ b/src/tests/JIT/jit64/opt/cse/HugeField2.csproj @@ -1,6 +1,7 @@ - Exe + + true true 1 diff --git a/src/tests/JIT/jit64/opt/cse/VolatileTest.cs b/src/tests/JIT/jit64/opt/cse/VolatileTest.cs index 08bc6ab86fa55c..90fc7f929705d3 100644 --- a/src/tests/JIT/jit64/opt/cse/VolatileTest.cs +++ b/src/tests/JIT/jit64/opt/cse/VolatileTest.cs @@ -6,10 +6,12 @@ using System.Runtime.CompilerServices; using System.Threading; using System.Text; +using Xunit; -internal class Program +public class Program { - private static int Main() + [Fact] + public static int TestEntryPoint() { Console.WriteLine("this test is designed to hang if jit cse doesnt honor volatile"); if (TestCSE.Test()) return 100; diff --git a/src/tests/JIT/jit64/opt/cse/VolatileTest_op_add.csproj b/src/tests/JIT/jit64/opt/cse/VolatileTest_op_add.csproj index 9ceb1beeda4686..ebcc2b8ff657f3 100644 --- a/src/tests/JIT/jit64/opt/cse/VolatileTest_op_add.csproj +++ b/src/tests/JIT/jit64/opt/cse/VolatileTest_op_add.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/opt/cse/VolatileTest_op_and.csproj b/src/tests/JIT/jit64/opt/cse/VolatileTest_op_and.csproj index f907d93f13bcf7..2ef5552003c13e 100644 --- a/src/tests/JIT/jit64/opt/cse/VolatileTest_op_and.csproj +++ b/src/tests/JIT/jit64/opt/cse/VolatileTest_op_and.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/opt/cse/VolatileTest_op_div.csproj b/src/tests/JIT/jit64/opt/cse/VolatileTest_op_div.csproj index 8f763a64b16ea2..5c2852002b296a 100644 --- a/src/tests/JIT/jit64/opt/cse/VolatileTest_op_div.csproj +++ b/src/tests/JIT/jit64/opt/cse/VolatileTest_op_div.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/opt/cse/VolatileTest_op_mod.csproj b/src/tests/JIT/jit64/opt/cse/VolatileTest_op_mod.csproj index d5dcea7affff45..88ff7d59ddb539 100644 --- a/src/tests/JIT/jit64/opt/cse/VolatileTest_op_mod.csproj +++ b/src/tests/JIT/jit64/opt/cse/VolatileTest_op_mod.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/opt/cse/VolatileTest_op_mul.csproj b/src/tests/JIT/jit64/opt/cse/VolatileTest_op_mul.csproj index ee01f7bc31af69..9d7ea369624837 100644 --- a/src/tests/JIT/jit64/opt/cse/VolatileTest_op_mul.csproj +++ b/src/tests/JIT/jit64/opt/cse/VolatileTest_op_mul.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/opt/cse/VolatileTest_op_or.csproj b/src/tests/JIT/jit64/opt/cse/VolatileTest_op_or.csproj index 06b1d74945cb19..68ca00d08e381b 100644 --- a/src/tests/JIT/jit64/opt/cse/VolatileTest_op_or.csproj +++ b/src/tests/JIT/jit64/opt/cse/VolatileTest_op_or.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/opt/cse/VolatileTest_op_shr.csproj b/src/tests/JIT/jit64/opt/cse/VolatileTest_op_shr.csproj index 8fa7a92abb385a..798062909f4a64 100644 --- a/src/tests/JIT/jit64/opt/cse/VolatileTest_op_shr.csproj +++ b/src/tests/JIT/jit64/opt/cse/VolatileTest_op_shr.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/opt/cse/VolatileTest_op_sub.csproj b/src/tests/JIT/jit64/opt/cse/VolatileTest_op_sub.csproj index ccf8ddd85db332..9891e7c670bef8 100644 --- a/src/tests/JIT/jit64/opt/cse/VolatileTest_op_sub.csproj +++ b/src/tests/JIT/jit64/opt/cse/VolatileTest_op_sub.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/opt/cse/VolatileTest_op_xor.csproj b/src/tests/JIT/jit64/opt/cse/VolatileTest_op_xor.csproj index 1ae8db2b708c40..6f4472939169fc 100644 --- a/src/tests/JIT/jit64/opt/cse/VolatileTest_op_xor.csproj +++ b/src/tests/JIT/jit64/opt/cse/VolatileTest_op_xor.csproj @@ -1,6 +1,7 @@ - Exe + + true 1 diff --git a/src/tests/JIT/jit64/opt/cse/arrayexpr1.cs b/src/tests/JIT/jit64/opt/cse/arrayexpr1.cs index 972203071e9d4e..06a9e2a2b046c3 100644 --- a/src/tests/JIT/jit64/opt/cse/arrayexpr1.cs +++ b/src/tests/JIT/jit64/opt/cse/arrayexpr1.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //((a[0]+a[2])+a[1]) //permutations for ((a[0]+a[2])+a[1]) //((a[0]+a[2])+a[1]) @@ -35,7 +36,8 @@ namespace CseTest public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; int[] a = new int[5]; diff --git a/src/tests/JIT/jit64/opt/cse/arrayexpr1.csproj b/src/tests/JIT/jit64/opt/cse/arrayexpr1.csproj index 0aef3a35246939..6fc5914519c639 100644 --- a/src/tests/JIT/jit64/opt/cse/arrayexpr1.csproj +++ b/src/tests/JIT/jit64/opt/cse/arrayexpr1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/arrayexpr2.cs b/src/tests/JIT/jit64/opt/cse/arrayexpr2.cs index 5c84407de6e6ff..207ad16e5c188b 100644 --- a/src/tests/JIT/jit64/opt/cse/arrayexpr2.cs +++ b/src/tests/JIT/jit64/opt/cse/arrayexpr2.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //((((((a[6]*((a[0]+(a[1]*a[2]))-(a[2]*a[3])))-((a[2]+(a[4]*a[5]))-(a[6]*a[7])))+(a[4]+((a[8]+(a[10]*a[4]))-(a[2]*a[3]))))-(a[6]+((a[5]+(a[4]*a[5]))-(a[6]*a[7]))))+((a[0]+((a[7]+(a[5]+a[6]))-(a[15]*a[20])))*(((a[0]+a[1])+a[6])-((a[2]+a[1])*a[10]))))-(((a[1]*a[1])+a[6])-((a[2]+a[1])*a[10]))) //permutations for ((((((a[6]*((a[0]+(a[1]*a[2]))-(a[2]*a[3])))-((a[2]+(a[4]*a[5]))-(a[6]*a[7])))+(a[4]+((a[8]+(a[10]*a[4]))-(a[2]*a[3]))))-(a[6]+((a[5]+(a[4]*a[5]))-(a[6]*a[7]))))+((a[0]+((a[7]+(a[5]+a[6]))-(a[15]*a[20])))*(((a[0]+a[1])+a[6])-((a[2]+a[1])*a[10]))))-(((a[1]*a[1])+a[6])-((a[2]+a[1])*a[10]))) @@ -359,7 +360,8 @@ namespace CseTest public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; int[] a = new int[50]; diff --git a/src/tests/JIT/jit64/opt/cse/arrayexpr2_d_loop_try.csproj b/src/tests/JIT/jit64/opt/cse/arrayexpr2_d_loop_try.csproj index c7981d517f8295..89e74d4a114126 100644 --- a/src/tests/JIT/jit64/opt/cse/arrayexpr2_d_loop_try.csproj +++ b/src/tests/JIT/jit64/opt/cse/arrayexpr2_d_loop_try.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/arrayexpr2_r.csproj b/src/tests/JIT/jit64/opt/cse/arrayexpr2_r.csproj index 6a6a261b94d825..e2a2b19623f3b1 100644 --- a/src/tests/JIT/jit64/opt/cse/arrayexpr2_r.csproj +++ b/src/tests/JIT/jit64/opt/cse/arrayexpr2_r.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/arrayexpr2_r_loop.csproj b/src/tests/JIT/jit64/opt/cse/arrayexpr2_r_loop.csproj index 3e50bb20ab626f..d77330ff326a05 100644 --- a/src/tests/JIT/jit64/opt/cse/arrayexpr2_r_loop.csproj +++ b/src/tests/JIT/jit64/opt/cse/arrayexpr2_r_loop.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/arrayexpr2_r_loop_try.csproj b/src/tests/JIT/jit64/opt/cse/arrayexpr2_r_loop_try.csproj index 1190f1a0868aa6..c4326639ed321b 100644 --- a/src/tests/JIT/jit64/opt/cse/arrayexpr2_r_loop_try.csproj +++ b/src/tests/JIT/jit64/opt/cse/arrayexpr2_r_loop_try.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/arrayexpr2_r_try.csproj b/src/tests/JIT/jit64/opt/cse/arrayexpr2_r_try.csproj index 56e3946a7e53c3..1c4278456e5bbf 100644 --- a/src/tests/JIT/jit64/opt/cse/arrayexpr2_r_try.csproj +++ b/src/tests/JIT/jit64/opt/cse/arrayexpr2_r_try.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/arrayexpr2_ro_loop.csproj b/src/tests/JIT/jit64/opt/cse/arrayexpr2_ro_loop.csproj index 38f61ce5d4010a..a0b3da551bed63 100644 --- a/src/tests/JIT/jit64/opt/cse/arrayexpr2_ro_loop.csproj +++ b/src/tests/JIT/jit64/opt/cse/arrayexpr2_ro_loop.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/fieldExprUnchecked1.cs b/src/tests/JIT/jit64/opt/cse/fieldExprUnchecked1.cs index d4fdcb57e0af67..e6e150342c634e 100644 --- a/src/tests/JIT/jit64/opt/cse/fieldExprUnchecked1.cs +++ b/src/tests/JIT/jit64/opt/cse/fieldExprUnchecked1.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //permutations for (((s.a+s.b)+s.c)+s.d) //(((s.a+s.b)+s.c)+s.d) //(s.d+((s.a+s.b)+s.c)) @@ -32,7 +33,8 @@ namespace CseTest using System; public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; class_s s = new class_s(); diff --git a/src/tests/JIT/jit64/opt/cse/fieldExprUnchecked1.csproj b/src/tests/JIT/jit64/opt/cse/fieldExprUnchecked1.csproj index 8357258a7577ea..2d6c3f244c561a 100644 --- a/src/tests/JIT/jit64/opt/cse/fieldExprUnchecked1.csproj +++ b/src/tests/JIT/jit64/opt/cse/fieldExprUnchecked1.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/opt/cse/fieldexpr1.cs b/src/tests/JIT/jit64/opt/cse/fieldexpr1.cs index b89aaa741bb590..347229c489f2a8 100644 --- a/src/tests/JIT/jit64/opt/cse/fieldexpr1.cs +++ b/src/tests/JIT/jit64/opt/cse/fieldexpr1.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //((s.a+s.b)+s.c) //permutations for ((s.a+s.b)+s.c) //((s.a+s.b)+s.c) @@ -34,7 +35,8 @@ namespace CseTest using System; public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; class_s s = new class_s(); diff --git a/src/tests/JIT/jit64/opt/cse/fieldexpr1.csproj b/src/tests/JIT/jit64/opt/cse/fieldexpr1.csproj index a56802ac007d53..71872064c55aee 100644 --- a/src/tests/JIT/jit64/opt/cse/fieldexpr1.csproj +++ b/src/tests/JIT/jit64/opt/cse/fieldexpr1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/fieldexpr1_1.cs b/src/tests/JIT/jit64/opt/cse/fieldexpr1_1.cs index 9674c6c0e23d39..aab09239e88bd4 100644 --- a/src/tests/JIT/jit64/opt/cse/fieldexpr1_1.cs +++ b/src/tests/JIT/jit64/opt/cse/fieldexpr1_1.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //((s.a+s.b)+s.c) //permutations for ((s.a+s.b)+s.c) @@ -38,7 +39,8 @@ namespace CseTest public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; class_s s = new class_s(); diff --git a/src/tests/JIT/jit64/opt/cse/fieldexpr1_1.csproj b/src/tests/JIT/jit64/opt/cse/fieldexpr1_1.csproj index 01c0aa90bfe256..a0dbb3b98d74f4 100644 --- a/src/tests/JIT/jit64/opt/cse/fieldexpr1_1.csproj +++ b/src/tests/JIT/jit64/opt/cse/fieldexpr1_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/fieldexpr2.cs b/src/tests/JIT/jit64/opt/cse/fieldexpr2.cs index ef024bbeecf797..a16adbb43d0b35 100644 --- a/src/tests/JIT/jit64/opt/cse/fieldexpr2.cs +++ b/src/tests/JIT/jit64/opt/cse/fieldexpr2.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //((((((s.e*((s.a+(s.b*s.c))-(s.c*s.d)))-((s.f+(s.e*s.f))-(s.g*s.h)))+(s.e+((s.a+(s.b*s.c))-(s.c*s.d))))-(s.g+((s.f+(s.e*s.f))-(s.g*s.h))))+((s.a+((s.h+(s.f+s.g))-(s.p*s.q)))*(((s.a+s.b)+s.g)-((s.c+s.b)*s.k))))-(((s.b*s.b)+s.g)-((s.c+s.b)*s.k))) //permutations for ((((((s.e*((s.a+(s.b*s.c))-(s.c*s.d)))-((s.f+(s.e*s.f))-(s.g*s.h)))+(s.e+((s.a+(s.b*s.c))-(s.c*s.d))))-(s.g+((s.f+(s.e*s.f))-(s.g*s.h))))+((s.a+((s.h+(s.f+s.g))-(s.p*s.q)))*(((s.a+s.b)+s.g)-((s.c+s.b)*s.k))))-(((s.b*s.b)+s.g)-((s.c+s.b)*s.k))) //((((((s.e*((s.a+(s.b*s.c))-(s.c*s.d)))-((s.f+(s.e*s.f))-(s.g*s.h)))+(s.e+((s.a+(s.b*s.c))-(s.c*s.d))))-(s.g+((s.f+(s.e*s.f))-(s.g*s.h))))+((s.a+((s.h+(s.f+s.g))-(s.p*s.q)))*(((s.a+s.b)+s.g)-((s.c+s.b)*s.k))))-(((s.b*s.b)+s.g)-((s.c+s.b)*s.k))) @@ -355,7 +356,8 @@ namespace CseTest using System; public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; class_s s = new class_s(); diff --git a/src/tests/JIT/jit64/opt/cse/fieldexpr2.csproj b/src/tests/JIT/jit64/opt/cse/fieldexpr2.csproj index 474a54ef89963d..c5bd8be434dc94 100644 --- a/src/tests/JIT/jit64/opt/cse/fieldexpr2.csproj +++ b/src/tests/JIT/jit64/opt/cse/fieldexpr2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/hugeSimpleExpr1.cs b/src/tests/JIT/jit64/opt/cse/hugeSimpleExpr1.cs index 9c414c8cb7f60b..1961ccff5fb66b 100644 --- a/src/tests/JIT/jit64/opt/cse/hugeSimpleExpr1.cs +++ b/src/tests/JIT/jit64/opt/cse/hugeSimpleExpr1.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((aa+ab)+ac)+ad)+ae)+af)+ag)+ah)+ai)+aj)+ak)+al)+am)+an)+ao)+ap)+aq)+ar)+at)+au)+av)+aw)+ax)+ay)+az)+ba)+bb)+bc)+bd)+be)+bf)+bg)+bh)+bi)+bj)+bk)+bl)+bm)+bn)+bo)+bp)+bq)+br)+bs)+bt)+bu)+bv)+bw)+bx)+by)+bz)+ca)+cb)+cc)+cd)+ce)+cf)+cg)+ch)+ci)+cj)+ck)+cl)+cm)+cn)+co)+cp)+cq)+cr)+cs)+ct)+cu)+cv)+cw)+cx)+cy)+cz)+da)+db)+dc)+dd)+de)+df)+dg)+dh)+di)+dj)+dk)+dl)+dm)+dn)+dp)+dq)+dr)+ds)+dt)+du)+dv)+dw)+dx)+dy)+dz)+ea)+eb)+ec)+ed)+ee)+ef)+eg)+eh)+ei)+ej)+ek)+el)+em)+en)+eo)+ep)+eq)+er)+es)+et)+eu)+ev)+ew)+ex)+ey)+ez)+fa)+fb)+fc)+fd)+fe)+ff)+fg)+fh)+fi)+fj)+fk)+fl)+fm)+fn)+fo)+fp)+fq)+fr)+fs)+ft)+fu)+fv)+fw)+fx)+fy)+fz)+ga)+gb)+gc)+gd)+ge)+gf)+gg)+gh)+gi)+gj)+gk)+gl)+gm)+gn)+go)+gp)+gq)+gr)+gs)+gt)+gu)+gv)+gw)+gx)+gy)+gz)+ha)+hb)+hc)+hd)+he)+hf)+hg)+hh)+hi)+hj)+hk)+hl)+hm)+hn)+ho)+hp)+hq)+hr)+hs)+ht)+hu)+hv)+hw)+hx)+hy)+hz)+ia)+ib)+ic)+id)+ie)+ig)+ih)+ii)+ij)+ik)+il)+im)+io)+ip)+iq)+ir)+it)+iu)+iv)+iw)+ix)+iy)+iz)+ja)+jb)+jc)+jd)+je)+jf)+jg)+jh)+ji)+jj)+jk)+jl)+jm)+jn)+jo)+jp)+jq)+jr)+js)+jt)+ju)+jv)+jw)+jx)+jy)+jz)+ka)+kb)+kc)+kd)+ke)+kf)+kg)+kh)+ki)+kj)+kk)+kl)+km)+kn)+ko)+kp)+kq)+kr)+ks)+kt)+ku)+kv)+kw)+kx)+ky)+kz)+la)+lb)+lc)+ld)+le)+lf)+lg)+lh)+li)+lj)+lk)+ll)+lm)+ln)+lo)+lp)+lq)+lr)+ls)+lt)+lu)+lv)+lw)+lx)+ly)+lz)+ma)+mb)+mc)+md)+me)+mf)+mg)+mh)+mi)+mj)+mk)+ml)+mm)+mn)+mo)+mp)+mq)+mr)+ms)+mt)+mu)+mv)+mw)+mx)+my)+mz)+na)+nb)+nc)+nd)+ne)+nf)+ng)+nh)+ni)+nj)+nk)+nl)+nm)+nn)+no)+np)+nq)+nr)+ns)+nt)+nu)+nv)+nw)+nx)+ny)+nz)+oa)+ob)+oc)+od)+oe)+of)+og)+oh)+oi)+oj)+ok)+ol)+om)+on)+oo)+op)+oq)+or)+os)+ot)+ou)+ov)+ow)+ox)+oy)+oz)+pa)+pb)+pc)+pd)+pe)+pf)+pg)+ph)+pi)+pj)+pk)+pl)+pm)+pn)+po)+pp)+pq)+pr)+ps)+pt)+pu)+pv)+pw)+px)+py)+pz)+qa)+qb)+qc)+qd)+qe)+qf)+qg)+qh)+qi)+qj)+qk)+ql)+qm)+qn)+qo)+qp)+qq)+qr)+qs)+qt)+qu)+qv)+qw)+qx)+qy)+qz)+ra)+rb)+rc)+rd)+re)+rf)+rg)+rh)+ri)+rj)+rk)+rl)+rm)+rn)+ro)+rp)+rq)+rr)+rs)+rt)+ru)+rv)+rw)+rx)+ry)+rz)+sa)+sb)+sc)+sd)+se)+sf)+sg)+sh)+si)+sj)+sk)+sl)+sm)+sn)+so)+sp)+sq)+sr)+ss)+st)+su)+sv)+sw)+sx)+sy)+sz)+ta)+tb)+tc)+td)+te)+tf)+tg)+th)+ti)+tj)+tk)+tl)+tm)+tn)+to)+tp)+tq)+tr)+ts)+tt)+tu)+tv)+tw)+tx)+ty)+tz)+ua)+ub)+uc)+ud)+ue)+uf)+ug)+uh)+ui)+uj)+uk)+ul)+um)+un)+uo)+up)+uq)+ur)+us)+ut)+uu)+uv)+uw)+ux)+uy)+uz)+va)+vb)+vc)+vd)+ve)+vf)+vg)+vh)+vi)+vj)+vk)+vl)+vm)+vn)+vo)+vp)+vq)+vr)+vs)+vt)+vu)+vv)+vw)+vx)+vy)+vz)+wa)+wb)+wc)+wd)+we)+wf)+wg)+wh)+wi)+wj)+wk)+wl)+wm)+wn)+wo)+wp)+wq)+wr)+ws)+wt)+wu)+wv)+ww)+wx)+wy)+wz)+xa)+xb)+xc)+xd)+xe)+xf)+xg)+xh)+xi)+xj)+xk)+xl)+xm)+xn)+xo)+xp)+xq)+xr)+xs)+xt)+xu)+xv)+xw)+xx)+xy)+xz)+ya)+yb)+yc)+yd)+ye)+yf)+yg)+yh)+yi)+yj)+yk)+yl)+ym)+yn)+yo)+yp)+yq)+yr)+ys)+yt)+yu)+yv)+yw)+yx)+yy)+yz)+za)+zb)+zc)+zd)+ze)+zf)+zg)+zh)+zi)+zj)+zk)+zl)+zm)+zn)+zo)+zp)+zq)+zr)+zs)+zt)+zu)+zv)+zw)+zx)+zy)+zz) //permutations for ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((aa+ab)+ac)+ad)+ae)+af)+ag)+ah)+ai)+aj)+ak)+al)+am)+an)+ao)+ap)+aq)+ar)+at)+au)+av)+aw)+ax)+ay)+az)+ba)+bb)+bc)+bd)+be)+bf)+bg)+bh)+bi)+bj)+bk)+bl)+bm)+bn)+bo)+bp)+bq)+br)+bs)+bt)+bu)+bv)+bw)+bx)+by)+bz)+ca)+cb)+cc)+cd)+ce)+cf)+cg)+ch)+ci)+cj)+ck)+cl)+cm)+cn)+co)+cp)+cq)+cr)+cs)+ct)+cu)+cv)+cw)+cx)+cy)+cz)+da)+db)+dc)+dd)+de)+df)+dg)+dh)+di)+dj)+dk)+dl)+dm)+dn)+dp)+dq)+dr)+ds)+dt)+du)+dv)+dw)+dx)+dy)+dz)+ea)+eb)+ec)+ed)+ee)+ef)+eg)+eh)+ei)+ej)+ek)+el)+em)+en)+eo)+ep)+eq)+er)+es)+et)+eu)+ev)+ew)+ex)+ey)+ez)+fa)+fb)+fc)+fd)+fe)+ff)+fg)+fh)+fi)+fj)+fk)+fl)+fm)+fn)+fo)+fp)+fq)+fr)+fs)+ft)+fu)+fv)+fw)+fx)+fy)+fz)+ga)+gb)+gc)+gd)+ge)+gf)+gg)+gh)+gi)+gj)+gk)+gl)+gm)+gn)+go)+gp)+gq)+gr)+gs)+gt)+gu)+gv)+gw)+gx)+gy)+gz)+ha)+hb)+hc)+hd)+he)+hf)+hg)+hh)+hi)+hj)+hk)+hl)+hm)+hn)+ho)+hp)+hq)+hr)+hs)+ht)+hu)+hv)+hw)+hx)+hy)+hz)+ia)+ib)+ic)+id)+ie)+ig)+ih)+ii)+ij)+ik)+il)+im)+io)+ip)+iq)+ir)+it)+iu)+iv)+iw)+ix)+iy)+iz)+ja)+jb)+jc)+jd)+je)+jf)+jg)+jh)+ji)+jj)+jk)+jl)+jm)+jn)+jo)+jp)+jq)+jr)+js)+jt)+ju)+jv)+jw)+jx)+jy)+jz)+ka)+kb)+kc)+kd)+ke)+kf)+kg)+kh)+ki)+kj)+kk)+kl)+km)+kn)+ko)+kp)+kq)+kr)+ks)+kt)+ku)+kv)+kw)+kx)+ky)+kz)+la)+lb)+lc)+ld)+le)+lf)+lg)+lh)+li)+lj)+lk)+ll)+lm)+ln)+lo)+lp)+lq)+lr)+ls)+lt)+lu)+lv)+lw)+lx)+ly)+lz)+ma)+mb)+mc)+md)+me)+mf)+mg)+mh)+mi)+mj)+mk)+ml)+mm)+mn)+mo)+mp)+mq)+mr)+ms)+mt)+mu)+mv)+mw)+mx)+my)+mz)+na)+nb)+nc)+nd)+ne)+nf)+ng)+nh)+ni)+nj)+nk)+nl)+nm)+nn)+no)+np)+nq)+nr)+ns)+nt)+nu)+nv)+nw)+nx)+ny)+nz)+oa)+ob)+oc)+od)+oe)+of)+og)+oh)+oi)+oj)+ok)+ol)+om)+on)+oo)+op)+oq)+or)+os)+ot)+ou)+ov)+ow)+ox)+oy)+oz)+pa)+pb)+pc)+pd)+pe)+pf)+pg)+ph)+pi)+pj)+pk)+pl)+pm)+pn)+po)+pp)+pq)+pr)+ps)+pt)+pu)+pv)+pw)+px)+py)+pz)+qa)+qb)+qc)+qd)+qe)+qf)+qg)+qh)+qi)+qj)+qk)+ql)+qm)+qn)+qo)+qp)+qq)+qr)+qs)+qt)+qu)+qv)+qw)+qx)+qy)+qz)+ra)+rb)+rc)+rd)+re)+rf)+rg)+rh)+ri)+rj)+rk)+rl)+rm)+rn)+ro)+rp)+rq)+rr)+rs)+rt)+ru)+rv)+rw)+rx)+ry)+rz)+sa)+sb)+sc)+sd)+se)+sf)+sg)+sh)+si)+sj)+sk)+sl)+sm)+sn)+so)+sp)+sq)+sr)+ss)+st)+su)+sv)+sw)+sx)+sy)+sz)+ta)+tb)+tc)+td)+te)+tf)+tg)+th)+ti)+tj)+tk)+tl)+tm)+tn)+to)+tp)+tq)+tr)+ts)+tt)+tu)+tv)+tw)+tx)+ty)+tz)+ua)+ub)+uc)+ud)+ue)+uf)+ug)+uh)+ui)+uj)+uk)+ul)+um)+un)+uo)+up)+uq)+ur)+us)+ut)+uu)+uv)+uw)+ux)+uy)+uz)+va)+vb)+vc)+vd)+ve)+vf)+vg)+vh)+vi)+vj)+vk)+vl)+vm)+vn)+vo)+vp)+vq)+vr)+vs)+vt)+vu)+vv)+vw)+vx)+vy)+vz)+wa)+wb)+wc)+wd)+we)+wf)+wg)+wh)+wi)+wj)+wk)+wl)+wm)+wn)+wo)+wp)+wq)+wr)+ws)+wt)+wu)+wv)+ww)+wx)+wy)+wz)+xa)+xb)+xc)+xd)+xe)+xf)+xg)+xh)+xi)+xj)+xk)+xl)+xm)+xn)+xo)+xp)+xq)+xr)+xs)+xt)+xu)+xv)+xw)+xx)+xy)+xz)+ya)+yb)+yc)+yd)+ye)+yf)+yg)+yh)+yi)+yj)+yk)+yl)+ym)+yn)+yo)+yp)+yq)+yr)+ys)+yt)+yu)+yv)+yw)+yx)+yy)+yz)+za)+zb)+zc)+zd)+ze)+zf)+zg)+zh)+zi)+zj)+zk)+zl)+zm)+zn)+zo)+zp)+zq)+zr)+zs)+zt)+zu)+zv)+zw)+zx)+zy)+zz) //((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((aa+ab)+ac)+ad)+ae)+af)+ag)+ah)+ai)+aj)+ak)+al)+am)+an)+ao)+ap)+aq)+ar)+at)+au)+av)+aw)+ax)+ay)+az)+ba)+bb)+bc)+bd)+be)+bf)+bg)+bh)+bi)+bj)+bk)+bl)+bm)+bn)+bo)+bp)+bq)+br)+bs)+bt)+bu)+bv)+bw)+bx)+by)+bz)+ca)+cb)+cc)+cd)+ce)+cf)+cg)+ch)+ci)+cj)+ck)+cl)+cm)+cn)+co)+cp)+cq)+cr)+cs)+ct)+cu)+cv)+cw)+cx)+cy)+cz)+da)+db)+dc)+dd)+de)+df)+dg)+dh)+di)+dj)+dk)+dl)+dm)+dn)+dp)+dq)+dr)+ds)+dt)+du)+dv)+dw)+dx)+dy)+dz)+ea)+eb)+ec)+ed)+ee)+ef)+eg)+eh)+ei)+ej)+ek)+el)+em)+en)+eo)+ep)+eq)+er)+es)+et)+eu)+ev)+ew)+ex)+ey)+ez)+fa)+fb)+fc)+fd)+fe)+ff)+fg)+fh)+fi)+fj)+fk)+fl)+fm)+fn)+fo)+fp)+fq)+fr)+fs)+ft)+fu)+fv)+fw)+fx)+fy)+fz)+ga)+gb)+gc)+gd)+ge)+gf)+gg)+gh)+gi)+gj)+gk)+gl)+gm)+gn)+go)+gp)+gq)+gr)+gs)+gt)+gu)+gv)+gw)+gx)+gy)+gz)+ha)+hb)+hc)+hd)+he)+hf)+hg)+hh)+hi)+hj)+hk)+hl)+hm)+hn)+ho)+hp)+hq)+hr)+hs)+ht)+hu)+hv)+hw)+hx)+hy)+hz)+ia)+ib)+ic)+id)+ie)+ig)+ih)+ii)+ij)+ik)+il)+im)+io)+ip)+iq)+ir)+it)+iu)+iv)+iw)+ix)+iy)+iz)+ja)+jb)+jc)+jd)+je)+jf)+jg)+jh)+ji)+jj)+jk)+jl)+jm)+jn)+jo)+jp)+jq)+jr)+js)+jt)+ju)+jv)+jw)+jx)+jy)+jz)+ka)+kb)+kc)+kd)+ke)+kf)+kg)+kh)+ki)+kj)+kk)+kl)+km)+kn)+ko)+kp)+kq)+kr)+ks)+kt)+ku)+kv)+kw)+kx)+ky)+kz)+la)+lb)+lc)+ld)+le)+lf)+lg)+lh)+li)+lj)+lk)+ll)+lm)+ln)+lo)+lp)+lq)+lr)+ls)+lt)+lu)+lv)+lw)+lx)+ly)+lz)+ma)+mb)+mc)+md)+me)+mf)+mg)+mh)+mi)+mj)+mk)+ml)+mm)+mn)+mo)+mp)+mq)+mr)+ms)+mt)+mu)+mv)+mw)+mx)+my)+mz)+na)+nb)+nc)+nd)+ne)+nf)+ng)+nh)+ni)+nj)+nk)+nl)+nm)+nn)+no)+np)+nq)+nr)+ns)+nt)+nu)+nv)+nw)+nx)+ny)+nz)+oa)+ob)+oc)+od)+oe)+of)+og)+oh)+oi)+oj)+ok)+ol)+om)+on)+oo)+op)+oq)+or)+os)+ot)+ou)+ov)+ow)+ox)+oy)+oz)+pa)+pb)+pc)+pd)+pe)+pf)+pg)+ph)+pi)+pj)+pk)+pl)+pm)+pn)+po)+pp)+pq)+pr)+ps)+pt)+pu)+pv)+pw)+px)+py)+pz)+qa)+qb)+qc)+qd)+qe)+qf)+qg)+qh)+qi)+qj)+qk)+ql)+qm)+qn)+qo)+qp)+qq)+qr)+qs)+qt)+qu)+qv)+qw)+qx)+qy)+qz)+ra)+rb)+rc)+rd)+re)+rf)+rg)+rh)+ri)+rj)+rk)+rl)+rm)+rn)+ro)+rp)+rq)+rr)+rs)+rt)+ru)+rv)+rw)+rx)+ry)+rz)+sa)+sb)+sc)+sd)+se)+sf)+sg)+sh)+si)+sj)+sk)+sl)+sm)+sn)+so)+sp)+sq)+sr)+ss)+st)+su)+sv)+sw)+sx)+sy)+sz)+ta)+tb)+tc)+td)+te)+tf)+tg)+th)+ti)+tj)+tk)+tl)+tm)+tn)+to)+tp)+tq)+tr)+ts)+tt)+tu)+tv)+tw)+tx)+ty)+tz)+ua)+ub)+uc)+ud)+ue)+uf)+ug)+uh)+ui)+uj)+uk)+ul)+um)+un)+uo)+up)+uq)+ur)+us)+ut)+uu)+uv)+uw)+ux)+uy)+uz)+va)+vb)+vc)+vd)+ve)+vf)+vg)+vh)+vi)+vj)+vk)+vl)+vm)+vn)+vo)+vp)+vq)+vr)+vs)+vt)+vu)+vv)+vw)+vx)+vy)+vz)+wa)+wb)+wc)+wd)+we)+wf)+wg)+wh)+wi)+wj)+wk)+wl)+wm)+wn)+wo)+wp)+wq)+wr)+ws)+wt)+wu)+wv)+ww)+wx)+wy)+wz)+xa)+xb)+xc)+xd)+xe)+xf)+xg)+xh)+xi)+xj)+xk)+xl)+xm)+xn)+xo)+xp)+xq)+xr)+xs)+xt)+xu)+xv)+xw)+xx)+xy)+xz)+ya)+yb)+yc)+yd)+ye)+yf)+yg)+yh)+yi)+yj)+yk)+yl)+ym)+yn)+yo)+yp)+yq)+yr)+ys)+yt)+yu)+yv)+yw)+yx)+yy)+yz)+za)+zb)+zc)+zd)+ze)+zf)+zg)+zh)+zi)+zj)+zk)+zl)+zm)+zn)+zo)+zp)+zq)+zr)+zs)+zt)+zu)+zv)+zw)+zx)+zy)+zz) @@ -1350,7 +1351,8 @@ namespace CseTest public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; int zh = return_int(false, 69); diff --git a/src/tests/JIT/jit64/opt/cse/hugeSimpleExpr1.csproj b/src/tests/JIT/jit64/opt/cse/hugeSimpleExpr1.csproj index 2cfc82fa115d5a..b32d6d0b3059be 100644 --- a/src/tests/JIT/jit64/opt/cse/hugeSimpleExpr1.csproj +++ b/src/tests/JIT/jit64/opt/cse/hugeSimpleExpr1.csproj @@ -1,6 +1,7 @@ - Exe + + true true diff --git a/src/tests/JIT/jit64/opt/cse/hugeexpr1.cs b/src/tests/JIT/jit64/opt/cse/hugeexpr1.cs index 049e2386280856..ee318ae536dc08 100644 --- a/src/tests/JIT/jit64/opt/cse/hugeexpr1.cs +++ b/src/tests/JIT/jit64/opt/cse/hugeexpr1.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((aa+ab)+ac)+ad)+ae)+af)+ag)+ah)+ai)+aj)+ak)+al)+am)+an)+ao)+ap)+aq)+ar)+at)+au)+av)+aw)+ax)+ay)+az)+ba)+bb)+bc)+bd)+be)+bf)+bg)+bh)+bi)+bj)+bk)+bl)+bm)+bn)+bo)+bp)+bq)+br)+bs)+bt)+bu)+bv)+bw)+bx)+by)+bz)+ca)+cb)+cc)+cd)+ce)+cf)+cg)+ch)+ci)+cj)+ck)+cl)+cm)+cn)+co)+cp)+cq)+cr)+cs)+ct)+cu)+cv)+cw)+cx)+cy)+cz)+da)+db)+dc)+dd)+de)+df)+dg)+dh)+di)+dj)+dk)+dl)+dm)+dn)+dp)+dq)+dr)+ds)+dt)+du)+dv)+dw)+dx)+dy)+dz)+ea)+eb)+ec)+ed)+ee)+ef)+eg)+eh)+ei)+ej)+ek)+el)+em)+en)+eo)+ep)+eq)+er)+es)+et)+eu)+ev)+ew)+ex)+ey)+ez)+fa)+fb)+fc)+fd)+fe)+ff)+fg)+fh)+fi)+fj)+fk)+fl)+fm)+fn)+fo)+fp)+fq)+fr)+fs)+ft)+fu)+fv)+fw)+fx)+fy)+fz)+ga)+gb)+gc)+gd)+ge)+gf)+gg)+gh)+gi)+gj)+gk)+gl)+gm)+gn)+go)+gp)+gq)+gr)+gs)+gt)+gu)+gv)+gw)+gx)+gy)+gz)+ha)+hb)+hc)+hd)+he)+hf)+hg)+hh)+hi)+hj)+hk)+hl)+hm)+hn)+ho)+hp)+hq)+hr)+hs)+ht)+hu)+hv)+hw)+hx)+hy)+hz)+ia)+ib)+ic)+id)+ie)+ig)+ih)+ii)+ij)+ik)+il)+im)+io)+ip)+iq)+ir)+it)+iu)+iv)+iw)+ix)+iy)+iz)+ja)+jb)+jc)+jd)+je)+jf)+jg)+jh)+ji)+jj)+jk)+jl)+jm)+jn)+jo)+jp)+jq)+jr)+js)+jt)+ju)+jv)+jw)+jx)+jy)+jz)+ka)+kb)+kc)+kd)+ke)+kf)+kg)+kh)+ki)+kj)+kk)+kl)+km)+kn)+ko)+kp)+kq)+kr)+ks)+kt)+ku)+kv)+kw)+kx)+ky)+kz)+la)+lb)+lc)+ld)+le)+lf)+lg)+lh)+li)+lj)+lk)+ll)+lm)+ln)+lo)+lp)+lq)+lr)+ls)+lt)+lu)+lv)+lw)+lx)+ly)+lz)+ma)+mb)+mc)+md)+me)+mf)+mg)+mh)+mi)+mj)+mk)+ml)+mm)+mn)+mo)+mp)+mq)+mr)+ms)+mt)+mu)+mv)+mw)+mx)+my)+mz)+na)+nb)+nc)+nd)+ne)+nf)+ng)+nh)+ni)+nj)+nk)+nl)+nm)+nn)+no)+np)+nq)+nr)+ns)+nt)+nu)+nv)+nw)+nx)+ny)+nz)+oa)+ob)+oc)+od)+oe)+of)+og)+oh)+oi)+oj)+ok)+ol)+om)+on)+oo)+op)+oq)+or)+os)+ot)+ou)+ov)+ow)+ox)+oy)+oz)+pa)+pb)+pc)+pd)+pe)+pf)+pg)+ph)+pi)+pj)+pk)+pl)+pm)+pn)+po)+pp)+pq)+pr)+ps)+pt)+pu)+pv)+pw)+px)+py)+pz)+qa)+qb)+qc)+qd)+qe)+qf)+qg)+qh)+qi)+qj)+qk)+ql)+qm)+qn)+qo)+qp)+qq)+qr)+qs)+qt)+qu)+qv)+qw)+qx)+qy)+qz)+ra)+rb)+rc)+rd)+re)+rf)+rg)+rh)+ri)+rj)+rk)+rl)+rm)+rn)+ro)+rp)+rq)+rr)+rs)+rt)+ru)+rv)+rw)+rx)+ry)+rz)+sa)+sb)+sc)+sd)+se)+sf)+sg)+sh)+si)+sj)+sk)+sl)+sm)+sn)+so)+sp)+sq)+sr)+ss)+st)+su)+sv)+sw)+sx)+sy)+sz)+ta)+tb)+tc)+td)+te)+tf)+tg)+th)+ti)+tj)+tk)+tl)+tm)+tn)+to)+tp)+tq)+tr)+ts)+tt)+tu)+tv)+tw)+tx)+ty)+tz)+ua)+ub)+uc)+ud)+ue)+uf)+ug)+uh)+ui)+uj)+uk)+ul)+um)+un)+uo)+up)+uq)+ur)+us)+ut)+uu)+uv)+uw)+ux)+uy)+uz)+va)+vb)+vc)+vd)+ve)+vf)+vg)+vh)+vi)+vj)+vk)+vl)+vm)+vn)+vo)+vp)+vq)+vr)+vs)+vt)+vu)+vv)+vw)+vx)+vy)+vz)+wa)+wb)+wc)+wd)+we)+wf)+wg)+wh)+wi)+wj)+wk)+wl)+wm)+wn)+wo)+wp)+wq)+wr)+ws)+wt)+wu)+wv)+ww)+wx)+wy)+wz)+xa)+xb)+xc)+xd)+xe)+xf)+xg)+xh)+xi)+xj)+xk)+xl)+xm)+xn)+xo)+xp)+xq)+xr)+xs)+xt)+xu)+xv)+xw)+xx)+xy)+xz)+ya)+yb)+yc)+yd)+ye)+yf)+yg)+yh)+yi)+yj)+yk)+yl)+ym)+yn)+yo)+yp)+yq)+yr)+ys)+yt)+yu)+yv)+yw)+yx)+yy)+yz)+za)+zb)+zc)+zd)+ze)+zf)+zg)+zh)+zi)+zj)+zk)+zl)+zm)+zn)+zo)+zp)+zq)+zr)+zs)+zt)+zu)+zv)+zw)+zx)+zy)+zz) //permutations for ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((aa+ab)+ac)+ad)+ae)+af)+ag)+ah)+ai)+aj)+ak)+al)+am)+an)+ao)+ap)+aq)+ar)+at)+au)+av)+aw)+ax)+ay)+az)+ba)+bb)+bc)+bd)+be)+bf)+bg)+bh)+bi)+bj)+bk)+bl)+bm)+bn)+bo)+bp)+bq)+br)+bs)+bt)+bu)+bv)+bw)+bx)+by)+bz)+ca)+cb)+cc)+cd)+ce)+cf)+cg)+ch)+ci)+cj)+ck)+cl)+cm)+cn)+co)+cp)+cq)+cr)+cs)+ct)+cu)+cv)+cw)+cx)+cy)+cz)+da)+db)+dc)+dd)+de)+df)+dg)+dh)+di)+dj)+dk)+dl)+dm)+dn)+dp)+dq)+dr)+ds)+dt)+du)+dv)+dw)+dx)+dy)+dz)+ea)+eb)+ec)+ed)+ee)+ef)+eg)+eh)+ei)+ej)+ek)+el)+em)+en)+eo)+ep)+eq)+er)+es)+et)+eu)+ev)+ew)+ex)+ey)+ez)+fa)+fb)+fc)+fd)+fe)+ff)+fg)+fh)+fi)+fj)+fk)+fl)+fm)+fn)+fo)+fp)+fq)+fr)+fs)+ft)+fu)+fv)+fw)+fx)+fy)+fz)+ga)+gb)+gc)+gd)+ge)+gf)+gg)+gh)+gi)+gj)+gk)+gl)+gm)+gn)+go)+gp)+gq)+gr)+gs)+gt)+gu)+gv)+gw)+gx)+gy)+gz)+ha)+hb)+hc)+hd)+he)+hf)+hg)+hh)+hi)+hj)+hk)+hl)+hm)+hn)+ho)+hp)+hq)+hr)+hs)+ht)+hu)+hv)+hw)+hx)+hy)+hz)+ia)+ib)+ic)+id)+ie)+ig)+ih)+ii)+ij)+ik)+il)+im)+io)+ip)+iq)+ir)+it)+iu)+iv)+iw)+ix)+iy)+iz)+ja)+jb)+jc)+jd)+je)+jf)+jg)+jh)+ji)+jj)+jk)+jl)+jm)+jn)+jo)+jp)+jq)+jr)+js)+jt)+ju)+jv)+jw)+jx)+jy)+jz)+ka)+kb)+kc)+kd)+ke)+kf)+kg)+kh)+ki)+kj)+kk)+kl)+km)+kn)+ko)+kp)+kq)+kr)+ks)+kt)+ku)+kv)+kw)+kx)+ky)+kz)+la)+lb)+lc)+ld)+le)+lf)+lg)+lh)+li)+lj)+lk)+ll)+lm)+ln)+lo)+lp)+lq)+lr)+ls)+lt)+lu)+lv)+lw)+lx)+ly)+lz)+ma)+mb)+mc)+md)+me)+mf)+mg)+mh)+mi)+mj)+mk)+ml)+mm)+mn)+mo)+mp)+mq)+mr)+ms)+mt)+mu)+mv)+mw)+mx)+my)+mz)+na)+nb)+nc)+nd)+ne)+nf)+ng)+nh)+ni)+nj)+nk)+nl)+nm)+nn)+no)+np)+nq)+nr)+ns)+nt)+nu)+nv)+nw)+nx)+ny)+nz)+oa)+ob)+oc)+od)+oe)+of)+og)+oh)+oi)+oj)+ok)+ol)+om)+on)+oo)+op)+oq)+or)+os)+ot)+ou)+ov)+ow)+ox)+oy)+oz)+pa)+pb)+pc)+pd)+pe)+pf)+pg)+ph)+pi)+pj)+pk)+pl)+pm)+pn)+po)+pp)+pq)+pr)+ps)+pt)+pu)+pv)+pw)+px)+py)+pz)+qa)+qb)+qc)+qd)+qe)+qf)+qg)+qh)+qi)+qj)+qk)+ql)+qm)+qn)+qo)+qp)+qq)+qr)+qs)+qt)+qu)+qv)+qw)+qx)+qy)+qz)+ra)+rb)+rc)+rd)+re)+rf)+rg)+rh)+ri)+rj)+rk)+rl)+rm)+rn)+ro)+rp)+rq)+rr)+rs)+rt)+ru)+rv)+rw)+rx)+ry)+rz)+sa)+sb)+sc)+sd)+se)+sf)+sg)+sh)+si)+sj)+sk)+sl)+sm)+sn)+so)+sp)+sq)+sr)+ss)+st)+su)+sv)+sw)+sx)+sy)+sz)+ta)+tb)+tc)+td)+te)+tf)+tg)+th)+ti)+tj)+tk)+tl)+tm)+tn)+to)+tp)+tq)+tr)+ts)+tt)+tu)+tv)+tw)+tx)+ty)+tz)+ua)+ub)+uc)+ud)+ue)+uf)+ug)+uh)+ui)+uj)+uk)+ul)+um)+un)+uo)+up)+uq)+ur)+us)+ut)+uu)+uv)+uw)+ux)+uy)+uz)+va)+vb)+vc)+vd)+ve)+vf)+vg)+vh)+vi)+vj)+vk)+vl)+vm)+vn)+vo)+vp)+vq)+vr)+vs)+vt)+vu)+vv)+vw)+vx)+vy)+vz)+wa)+wb)+wc)+wd)+we)+wf)+wg)+wh)+wi)+wj)+wk)+wl)+wm)+wn)+wo)+wp)+wq)+wr)+ws)+wt)+wu)+wv)+ww)+wx)+wy)+wz)+xa)+xb)+xc)+xd)+xe)+xf)+xg)+xh)+xi)+xj)+xk)+xl)+xm)+xn)+xo)+xp)+xq)+xr)+xs)+xt)+xu)+xv)+xw)+xx)+xy)+xz)+ya)+yb)+yc)+yd)+ye)+yf)+yg)+yh)+yi)+yj)+yk)+yl)+ym)+yn)+yo)+yp)+yq)+yr)+ys)+yt)+yu)+yv)+yw)+yx)+yy)+yz)+za)+zb)+zc)+zd)+ze)+zf)+zg)+zh)+zi)+zj)+zk)+zl)+zm)+zn)+zo)+zp)+zq)+zr)+zs)+zt)+zu)+zv)+zw)+zx)+zy)+zz) @@ -12431,7 +12432,8 @@ namespace CseTest public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; int zh = return_int(false, 46); diff --git a/src/tests/JIT/jit64/opt/cse/hugeexpr1.csproj b/src/tests/JIT/jit64/opt/cse/hugeexpr1.csproj index 5d8f429205b61e..565a923d7cee32 100644 --- a/src/tests/JIT/jit64/opt/cse/hugeexpr1.csproj +++ b/src/tests/JIT/jit64/opt/cse/hugeexpr1.csproj @@ -1,6 +1,7 @@ - Exe + + true true 1 diff --git a/src/tests/JIT/jit64/opt/cse/mixedexpr1.cs b/src/tests/JIT/jit64/opt/cse/mixedexpr1.cs index e9f92cc3516155..4949df953a40d5 100644 --- a/src/tests/JIT/jit64/opt/cse/mixedexpr1.cs +++ b/src/tests/JIT/jit64/opt/cse/mixedexpr1.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //((a+b)+c) //permutations for ((a+b)+c) @@ -317,7 +318,8 @@ namespace CseTest public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; int d = return_int(false, -17); diff --git a/src/tests/JIT/jit64/opt/cse/mixedexpr1_d_loop_try.csproj b/src/tests/JIT/jit64/opt/cse/mixedexpr1_d_loop_try.csproj index 49f2b770e6454b..d7078f260af4fa 100644 --- a/src/tests/JIT/jit64/opt/cse/mixedexpr1_d_loop_try.csproj +++ b/src/tests/JIT/jit64/opt/cse/mixedexpr1_d_loop_try.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/mixedexpr1_r.csproj b/src/tests/JIT/jit64/opt/cse/mixedexpr1_r.csproj index f81b50cf0d0a8a..006497a965f8fd 100644 --- a/src/tests/JIT/jit64/opt/cse/mixedexpr1_r.csproj +++ b/src/tests/JIT/jit64/opt/cse/mixedexpr1_r.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/mixedexpr1_r_loop.csproj b/src/tests/JIT/jit64/opt/cse/mixedexpr1_r_loop.csproj index f170eb942c1383..550ddf837d7292 100644 --- a/src/tests/JIT/jit64/opt/cse/mixedexpr1_r_loop.csproj +++ b/src/tests/JIT/jit64/opt/cse/mixedexpr1_r_loop.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/mixedexpr1_r_loop_try.csproj b/src/tests/JIT/jit64/opt/cse/mixedexpr1_r_loop_try.csproj index 2483e224005bde..681e0b9e93d759 100644 --- a/src/tests/JIT/jit64/opt/cse/mixedexpr1_r_loop_try.csproj +++ b/src/tests/JIT/jit64/opt/cse/mixedexpr1_r_loop_try.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/mixedexpr1_r_try.csproj b/src/tests/JIT/jit64/opt/cse/mixedexpr1_r_try.csproj index 4a1a565cfa3f32..a8a934452a9be6 100644 --- a/src/tests/JIT/jit64/opt/cse/mixedexpr1_r_try.csproj +++ b/src/tests/JIT/jit64/opt/cse/mixedexpr1_r_try.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/mixedexpr1_ro_loop.csproj b/src/tests/JIT/jit64/opt/cse/mixedexpr1_ro_loop.csproj index c4e98e1031bb4b..61ffaf187e4eb5 100644 --- a/src/tests/JIT/jit64/opt/cse/mixedexpr1_ro_loop.csproj +++ b/src/tests/JIT/jit64/opt/cse/mixedexpr1_ro_loop.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/pointerexpr1.cs b/src/tests/JIT/jit64/opt/cse/pointerexpr1.cs index be6d2836c01bf7..fa09b7bf0ed9a1 100644 --- a/src/tests/JIT/jit64/opt/cse/pointerexpr1.cs +++ b/src/tests/JIT/jit64/opt/cse/pointerexpr1.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //((a+ *b)+ *c) //permutations for ((a+ *b)+ *c) @@ -23,7 +24,8 @@ namespace CseTest public class TestClass { - static int Main() + [Fact] + public static int TestEntryPoint() { int a = returna(false); int c = returnc(false); diff --git a/src/tests/JIT/jit64/opt/cse/pointerexpr1.csproj b/src/tests/JIT/jit64/opt/cse/pointerexpr1.csproj index 447b95aff54b30..a97374aa8ece12 100644 --- a/src/tests/JIT/jit64/opt/cse/pointerexpr1.csproj +++ b/src/tests/JIT/jit64/opt/cse/pointerexpr1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/pointerexpr1_1.cs b/src/tests/JIT/jit64/opt/cse/pointerexpr1_1.cs index 6ab5d3b5dea2d4..50bcf93249249f 100644 --- a/src/tests/JIT/jit64/opt/cse/pointerexpr1_1.cs +++ b/src/tests/JIT/jit64/opt/cse/pointerexpr1_1.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //((a+ *b)+ *c) //permutations for ((a+ *b)+ *c) @@ -23,7 +24,8 @@ namespace CseTest public class TestClass { - static int Main() + [Fact] + public static int TestEntryPoint() { int a = returna(false); int c = returnc(false); diff --git a/src/tests/JIT/jit64/opt/cse/pointerexpr1_1.csproj b/src/tests/JIT/jit64/opt/cse/pointerexpr1_1.csproj index 9f1118401181e6..65eaed8b385e33 100644 --- a/src/tests/JIT/jit64/opt/cse/pointerexpr1_1.csproj +++ b/src/tests/JIT/jit64/opt/cse/pointerexpr1_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/simpleexpr1.cs b/src/tests/JIT/jit64/opt/cse/simpleexpr1.cs index 741c6622166975..792280d5e182f0 100644 --- a/src/tests/JIT/jit64/opt/cse/simpleexpr1.cs +++ b/src/tests/JIT/jit64/opt/cse/simpleexpr1.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //((a+b)+c) //permutations for ((a+b)+c) @@ -38,7 +39,8 @@ namespace CseTest public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; int b = return_int(false, 6); diff --git a/src/tests/JIT/jit64/opt/cse/simpleexpr1.csproj b/src/tests/JIT/jit64/opt/cse/simpleexpr1.csproj index be282365d323e7..ea99a01ab8e3b2 100644 --- a/src/tests/JIT/jit64/opt/cse/simpleexpr1.csproj +++ b/src/tests/JIT/jit64/opt/cse/simpleexpr1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/simpleexpr1_1.cs b/src/tests/JIT/jit64/opt/cse/simpleexpr1_1.cs index 7bbb046e9823a9..6cbdee43de4632 100644 --- a/src/tests/JIT/jit64/opt/cse/simpleexpr1_1.cs +++ b/src/tests/JIT/jit64/opt/cse/simpleexpr1_1.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //((a+b)+c) //permutations for ((a+b)+c) @@ -38,7 +39,8 @@ namespace CseTest public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; int b = return_int(false, 6); diff --git a/src/tests/JIT/jit64/opt/cse/simpleexpr1_1.csproj b/src/tests/JIT/jit64/opt/cse/simpleexpr1_1.csproj index 206298c4e4159a..77fbfd23fad8c9 100644 --- a/src/tests/JIT/jit64/opt/cse/simpleexpr1_1.csproj +++ b/src/tests/JIT/jit64/opt/cse/simpleexpr1_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/simpleexpr2.cs b/src/tests/JIT/jit64/opt/cse/simpleexpr2.cs index 063708a2a4af14..d515a23f83fc54 100644 --- a/src/tests/JIT/jit64/opt/cse/simpleexpr2.cs +++ b/src/tests/JIT/jit64/opt/cse/simpleexpr2.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //(((a+(b*((c*c)-(c+d))))-(((a*a)+a)+(a*b)))*(((abc+c)-(a-(ad*a)))+r)) //permutations for (((a+(b*((c*c)-(c+d))))-(((a*a)+a)+(a*b)))*(((abc+c)-(a-(ad*a)))+r)) @@ -120,7 +121,8 @@ namespace CseTest public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; int d = return_int(false, 40); diff --git a/src/tests/JIT/jit64/opt/cse/simpleexpr2.csproj b/src/tests/JIT/jit64/opt/cse/simpleexpr2.csproj index 0adf16d3dae4d7..93724ba706e345 100644 --- a/src/tests/JIT/jit64/opt/cse/simpleexpr2.csproj +++ b/src/tests/JIT/jit64/opt/cse/simpleexpr2.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/simpleexpr3.cs b/src/tests/JIT/jit64/opt/cse/simpleexpr3.cs index f6e6e6ebe445e6..d4b74f93786421 100644 --- a/src/tests/JIT/jit64/opt/cse/simpleexpr3.cs +++ b/src/tests/JIT/jit64/opt/cse/simpleexpr3.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //(((a+(b*((c*c)-(c+d))))-(((a*a)+a)+(a*b)))*(((abc+c)-(a-(ad*a)))+r)) //permutations for (((a+(b*((c*c)-(c+d))))-(((a*a)+a)+(a*b)))*(((abc+c)-(a-(ad*a)))+r)) @@ -119,7 +120,8 @@ namespace CseTest public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; int d = return_int(false, -36); diff --git a/src/tests/JIT/jit64/opt/cse/simpleexpr3.csproj b/src/tests/JIT/jit64/opt/cse/simpleexpr3.csproj index 6a8d81e486fb24..e0ddab3f2c74c8 100644 --- a/src/tests/JIT/jit64/opt/cse/simpleexpr3.csproj +++ b/src/tests/JIT/jit64/opt/cse/simpleexpr3.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/simpleexpr4.cs b/src/tests/JIT/jit64/opt/cse/simpleexpr4.cs index e3987a12557e8e..730a5a63881e7d 100644 --- a/src/tests/JIT/jit64/opt/cse/simpleexpr4.cs +++ b/src/tests/JIT/jit64/opt/cse/simpleexpr4.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //(((a+(b*((c*c)-(c+d))))-(((a*a)+a)+(a*b)))*(((abc+c)-(a-(ad*a)))+r)) //permutations for (((a+(b*((c*c)-(c+d))))-(((a*a)+a)+(a*b)))*(((abc+c)-(a-(ad*a)))+r)) @@ -247,7 +248,8 @@ namespace CseTest public class TestClass { - static int Main() + [Fact] + public static int TestEntryPoint() { int f = returnf(false); int a = returna(false); diff --git a/src/tests/JIT/jit64/opt/cse/simpleexpr4_d_loop_try.csproj b/src/tests/JIT/jit64/opt/cse/simpleexpr4_d_loop_try.csproj index 04aac55b827200..674a95a19bddbc 100644 --- a/src/tests/JIT/jit64/opt/cse/simpleexpr4_d_loop_try.csproj +++ b/src/tests/JIT/jit64/opt/cse/simpleexpr4_d_loop_try.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/simpleexpr4_r.csproj b/src/tests/JIT/jit64/opt/cse/simpleexpr4_r.csproj index b4e75f4743bfaf..9e2e9849115a38 100644 --- a/src/tests/JIT/jit64/opt/cse/simpleexpr4_r.csproj +++ b/src/tests/JIT/jit64/opt/cse/simpleexpr4_r.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/simpleexpr4_r_loop.csproj b/src/tests/JIT/jit64/opt/cse/simpleexpr4_r_loop.csproj index 8c21543b1dc295..98bbd3fdcc6a8b 100644 --- a/src/tests/JIT/jit64/opt/cse/simpleexpr4_r_loop.csproj +++ b/src/tests/JIT/jit64/opt/cse/simpleexpr4_r_loop.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/simpleexpr4_r_loop_try.csproj b/src/tests/JIT/jit64/opt/cse/simpleexpr4_r_loop_try.csproj index be4dbb16bbf9b1..88baf36468f37b 100644 --- a/src/tests/JIT/jit64/opt/cse/simpleexpr4_r_loop_try.csproj +++ b/src/tests/JIT/jit64/opt/cse/simpleexpr4_r_loop_try.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/simpleexpr4_r_try.csproj b/src/tests/JIT/jit64/opt/cse/simpleexpr4_r_try.csproj index a9584d328d98d3..e1e3e83b5d3794 100644 --- a/src/tests/JIT/jit64/opt/cse/simpleexpr4_r_try.csproj +++ b/src/tests/JIT/jit64/opt/cse/simpleexpr4_r_try.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/simpleexpr4_ro_loop.csproj b/src/tests/JIT/jit64/opt/cse/simpleexpr4_ro_loop.csproj index 310c606b8bcc14..8927fb011ea0eb 100644 --- a/src/tests/JIT/jit64/opt/cse/simpleexpr4_ro_loop.csproj +++ b/src/tests/JIT/jit64/opt/cse/simpleexpr4_ro_loop.csproj @@ -1,7 +1,4 @@ - - Exe - None diff --git a/src/tests/JIT/jit64/opt/cse/staticFieldExpr1.cs b/src/tests/JIT/jit64/opt/cse/staticFieldExpr1.cs index d9d053ce02662d..09816980baed74 100644 --- a/src/tests/JIT/jit64/opt/cse/staticFieldExpr1.cs +++ b/src/tests/JIT/jit64/opt/cse/staticFieldExpr1.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //permutations for (((class_s.a+class_s.b)+class_s.c)+class_s.d) //(((class_s.a+class_s.b)+class_s.c)+class_s.d) //(class_s.d+((class_s.a+class_s.b)+class_s.c)) @@ -35,7 +36,8 @@ namespace CseTest public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; class_s s = new class_s(); diff --git a/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_1.cs b/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_1.cs index b8e2bd558f9485..3d981ce67e3f38 100644 --- a/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_1.cs +++ b/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_1.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //(((class_s.a+class_s.b)+class_s.c)+class_s.d) //permutations for (((class_s.a+class_s.b)+class_s.c)+class_s.d) //(((class_s.a+class_s.b)+class_s.c)+class_s.d) @@ -33,7 +34,8 @@ namespace CseTest using System; public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; class_s s = new class_s(); diff --git a/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_1.csproj b/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_1.csproj index 2b6e242648c3a8..b084409ff99dff 100644 --- a/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_1.csproj +++ b/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_1.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_d_loop_try.csproj b/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_d_loop_try.csproj index cba95157bef555..c668093024d1a3 100644 --- a/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_d_loop_try.csproj +++ b/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_d_loop_try.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_r.csproj b/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_r.csproj index 1f9b6ed3e5f7ef..06a5a22b848561 100644 --- a/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_r.csproj +++ b/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_r.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_r_loop.csproj b/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_r_loop.csproj index 9e4429316e7f0f..cc4bf7797cb647 100644 --- a/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_r_loop.csproj +++ b/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_r_loop.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_r_loop_try.csproj b/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_r_loop_try.csproj index f27a45d4369711..aff346a38adf83 100644 --- a/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_r_loop_try.csproj +++ b/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_r_loop_try.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_r_try.csproj b/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_r_try.csproj index 18ba2adce73805..22d126d1aff7ce 100644 --- a/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_r_try.csproj +++ b/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_r_try.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_ro_loop.csproj b/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_ro_loop.csproj index c6d3cb3362f8b8..7eedd560f2ecf5 100644 --- a/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_ro_loop.csproj +++ b/src/tests/JIT/jit64/opt/cse/staticFieldExpr1_ro_loop.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1.cs b/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1.cs index 83d062355db3ee..c5c3f7b3c71999 100644 --- a/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1.cs +++ b/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //permutations for (((class_s.a+class_s.b)+class_s.c)+class_s.d) //(((class_s.a+class_s.b)+class_s.c)+class_s.d) //(class_s.d+((class_s.a+class_s.b)+class_s.c)) @@ -32,7 +33,8 @@ namespace CseTest using System; public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; class_s s = new class_s(); diff --git a/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_d_loop_try.csproj b/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_d_loop_try.csproj index 1f193e5c8915b3..2cc57b7b85f5a5 100644 --- a/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_d_loop_try.csproj +++ b/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_d_loop_try.csproj @@ -1,7 +1,4 @@ - - Exe - Full diff --git a/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_r.csproj b/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_r.csproj index 7e23016580e176..d8100aaaa0636e 100644 --- a/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_r.csproj +++ b/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_r.csproj @@ -1,7 +1,4 @@ - - Exe - None False diff --git a/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_r_loop.csproj b/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_r_loop.csproj index fabe19e1b10a25..072f970e334db2 100644 --- a/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_r_loop.csproj +++ b/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_r_loop.csproj @@ -1,7 +1,4 @@ - - Exe - None diff --git a/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_r_loop_try.csproj b/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_r_loop_try.csproj index 33389c30279465..71aa29224627c6 100644 --- a/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_r_loop_try.csproj +++ b/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_r_loop_try.csproj @@ -1,7 +1,4 @@ - - Exe - None diff --git a/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_r_try.csproj b/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_r_try.csproj index ebf33b1b89bae7..6a135dd0bf1614 100644 --- a/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_r_try.csproj +++ b/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_r_try.csproj @@ -1,7 +1,4 @@ - - Exe - None diff --git a/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_ro_loop.csproj b/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_ro_loop.csproj index c79fcecfebafe5..e55b17710b0c0a 100644 --- a/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_ro_loop.csproj +++ b/src/tests/JIT/jit64/opt/cse/staticFieldExprUnchecked1_ro_loop.csproj @@ -1,7 +1,4 @@ - - Exe - None diff --git a/src/tests/JIT/jit64/opt/cse/volatilefield.cs b/src/tests/JIT/jit64/opt/cse/volatilefield.cs index a495304dc373be..ed414060e6e496 100644 --- a/src/tests/JIT/jit64/opt/cse/volatilefield.cs +++ b/src/tests/JIT/jit64/opt/cse/volatilefield.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //permutations for (((class_s.a+class_s.b)+class_s.c)+class_s.d) //(((class_s.a+class_s.b)+class_s.c)+class_s.d) //(class_s.d+((class_s.a+class_s.b)+class_s.c)) @@ -35,7 +36,8 @@ namespace CseTest public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; class_s s = new class_s(); diff --git a/src/tests/JIT/jit64/opt/cse/volatilefield.csproj b/src/tests/JIT/jit64/opt/cse/volatilefield.csproj index 741a8953c467c3..c052709622e80d 100644 --- a/src/tests/JIT/jit64/opt/cse/volatilefield.csproj +++ b/src/tests/JIT/jit64/opt/cse/volatilefield.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/cse/volatilestaticfield.cs b/src/tests/JIT/jit64/opt/cse/volatilestaticfield.cs index f7b2af1590fa52..1558660d1b1183 100644 --- a/src/tests/JIT/jit64/opt/cse/volatilestaticfield.cs +++ b/src/tests/JIT/jit64/opt/cse/volatilestaticfield.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // +using Xunit; //permutations for (((class_s.a+class_s.b)+class_s.c)+class_s.d) //(((class_s.a+class_s.b)+class_s.c)+class_s.d) //(class_s.d+((class_s.a+class_s.b)+class_s.c)) @@ -35,7 +36,8 @@ namespace CseTest public class Test_Main { - static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; class_s s = new class_s(); diff --git a/src/tests/JIT/jit64/opt/cse/volatilestaticfield.csproj b/src/tests/JIT/jit64/opt/cse/volatilestaticfield.csproj index 6951062bd56ec3..e49e419e1cc3d8 100644 --- a/src/tests/JIT/jit64/opt/cse/volatilestaticfield.csproj +++ b/src/tests/JIT/jit64/opt/cse/volatilestaticfield.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/inl/caninline.cs b/src/tests/JIT/jit64/opt/inl/caninline.cs index 3a45d3e73cfed4..66c6c0d4bdb7c7 100644 --- a/src/tests/JIT/jit64/opt/inl/caninline.cs +++ b/src/tests/JIT/jit64/opt/inl/caninline.cs @@ -5,6 +5,7 @@ using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; +using Xunit; internal class baseclass @@ -36,12 +37,13 @@ public override int virtualmethod(int a, int b) -internal class Program +public class Program { private volatile static int s_a = 5; private volatile static int s_b = 0; - private static int Main() + [Fact] + public static int TestEntryPoint() { try { diff --git a/src/tests/JIT/jit64/opt/inl/caninline_d.csproj b/src/tests/JIT/jit64/opt/inl/caninline_d.csproj index 1ea89e99f678b4..f2388a80aa1a82 100644 --- a/src/tests/JIT/jit64/opt/inl/caninline_d.csproj +++ b/src/tests/JIT/jit64/opt/inl/caninline_d.csproj @@ -1,7 +1,4 @@ - - Exe - Full False diff --git a/src/tests/JIT/jit64/opt/inl/caninline_do.csproj b/src/tests/JIT/jit64/opt/inl/caninline_do.csproj index aae8e46a2235b9..ae5b4938bee3bf 100644 --- a/src/tests/JIT/jit64/opt/inl/caninline_do.csproj +++ b/src/tests/JIT/jit64/opt/inl/caninline_do.csproj @@ -1,7 +1,4 @@ - - Exe - Full True diff --git a/src/tests/JIT/jit64/opt/inl/caninline_r.csproj b/src/tests/JIT/jit64/opt/inl/caninline_r.csproj index be2d92abea2540..e3a2b3fa0bf8c6 100644 --- a/src/tests/JIT/jit64/opt/inl/caninline_r.csproj +++ b/src/tests/JIT/jit64/opt/inl/caninline_r.csproj @@ -1,7 +1,4 @@ - - Exe - None False diff --git a/src/tests/JIT/jit64/opt/inl/caninline_ro.csproj b/src/tests/JIT/jit64/opt/inl/caninline_ro.csproj index c5d3ea4dfe4e59..ebbf78da58757f 100644 --- a/src/tests/JIT/jit64/opt/inl/caninline_ro.csproj +++ b/src/tests/JIT/jit64/opt/inl/caninline_ro.csproj @@ -1,7 +1,4 @@ - - Exe - None True diff --git a/src/tests/JIT/jit64/opt/inl/inl001.il b/src/tests/JIT/jit64/opt/inl/inl001.il index 62ca804bcf74ef..e2bf5b4c7d3d4e 100644 --- a/src/tests/JIT/jit64/opt/inl/inl001.il +++ b/src/tests/JIT/jit64/opt/inl/inl001.il @@ -10,7 +10,7 @@ } .assembly legacy library 'inl001' {} -.class private auto ansi beforefieldinit Test_inl001 +.class public auto ansi beforefieldinit Test_inl001 extends [mscorlib]System.Object { .method public hidebysig static int32 foo() cil managed diff --git a/src/tests/JIT/jit64/opt/inl/inl001.ilproj b/src/tests/JIT/jit64/opt/inl/inl001.ilproj index f4dc3fd7b660a8..ef2790505e4b66 100644 --- a/src/tests/JIT/jit64/opt/inl/inl001.ilproj +++ b/src/tests/JIT/jit64/opt/inl/inl001.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/lim/lim_001.il b/src/tests/JIT/jit64/opt/lim/lim_001.il index 8fea137e20aac3..00e6b808b33b88 100644 --- a/src/tests/JIT/jit64/opt/lim/lim_001.il +++ b/src/tests/JIT/jit64/opt/lim/lim_001.il @@ -14,7 +14,7 @@ } .assembly 'lim_001' {} -.class private auto ansi beforefieldinit test +.class public auto ansi beforefieldinit test extends [mscorlib]System.Object { diff --git a/src/tests/JIT/jit64/opt/lim/lim_001.ilproj b/src/tests/JIT/jit64/opt/lim/lim_001.ilproj index 65f611c86e475c..052ee655c49ced 100644 --- a/src/tests/JIT/jit64/opt/lim/lim_001.ilproj +++ b/src/tests/JIT/jit64/opt/lim/lim_001.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/lim/lim_002.cs b/src/tests/JIT/jit64/opt/lim/lim_002.cs index ed436f73c1d83a..c1b0f38f61e748 100644 --- a/src/tests/JIT/jit64/opt/lim/lim_002.cs +++ b/src/tests/JIT/jit64/opt/lim/lim_002.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; /********************************************* @@ -66,9 +67,10 @@ It may be useful to run these tests with constant prop off. -internal class test +public class test { - public static int Main() + [Fact] + public static int TestEntryPoint() { int failed_tests = 0; diff --git a/src/tests/JIT/jit64/opt/lim/lim_002.csproj b/src/tests/JIT/jit64/opt/lim/lim_002.csproj index 49d2ebe9e9f401..ffae46ff238491 100644 --- a/src/tests/JIT/jit64/opt/lim/lim_002.csproj +++ b/src/tests/JIT/jit64/opt/lim/lim_002.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/lur/lur_01.il b/src/tests/JIT/jit64/opt/lur/lur_01.il index 584679acfe0258..f19491473e880a 100644 --- a/src/tests/JIT/jit64/opt/lur/lur_01.il +++ b/src/tests/JIT/jit64/opt/lur/lur_01.il @@ -2,23 +2,27 @@ // The .NET Foundation licenses this file to you under the MIT license. .assembly extern mscorlib { } +.assembly extern xunit.core {} .assembly extern System.Console { .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) .ver 4:0:0:0 } -.assembly test {} +.assembly 'lur_01' {} // The loop sould get unrolled and the else ran twice. // In the origial bug there was a fall through with the if. -.class test extends [mscorlib]System.Object +.class public test extends [mscorlib]System.Object { .method public static int32 main() { + .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( + 01 00 00 00 + ) .entrypoint .locals init (float32 V_0, float32 V_1, diff --git a/src/tests/JIT/jit64/opt/lur/lur_01.ilproj b/src/tests/JIT/jit64/opt/lur/lur_01.ilproj index 2bc1061e5bed45..ce7665395c7628 100644 --- a/src/tests/JIT/jit64/opt/lur/lur_01.ilproj +++ b/src/tests/JIT/jit64/opt/lur/lur_01.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/lur/lur_02.cs b/src/tests/JIT/jit64/opt/lur/lur_02.cs index f9388f2d25f7de..f2b0cbea68062b 100644 --- a/src/tests/JIT/jit64/opt/lur/lur_02.cs +++ b/src/tests/JIT/jit64/opt/lur/lur_02.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; /********************************************* @@ -26,9 +27,10 @@ -internal class test +public class test { - public static int Main() + [Fact] + public static int TestEntryPoint() { int failed_tests = 0; diff --git a/src/tests/JIT/jit64/opt/lur/lur_02.csproj b/src/tests/JIT/jit64/opt/lur/lur_02.csproj index 9feddb8e734e8a..165de2f7539e0e 100644 --- a/src/tests/JIT/jit64/opt/lur/lur_02.csproj +++ b/src/tests/JIT/jit64/opt/lur/lur_02.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/osr/osr001.cs b/src/tests/JIT/jit64/opt/osr/osr001.cs index ded53e256d7ee4..d82fd1446db9e9 100644 --- a/src/tests/JIT/jit64/opt/osr/osr001.cs +++ b/src/tests/JIT/jit64/opt/osr/osr001.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; public class TestCase { @@ -9,7 +10,8 @@ public class TestCase private const int ARRAY_UNITSIZE = 10; private const int ARRAY_SIZE = ARRAY_UNITSIZE * ARRAY_MULTIPLIER; - public static int Main() + [Fact] + public static int TestEntryPoint() { int rc = 0; int[] array = new int[ARRAY_SIZE]; diff --git a/src/tests/JIT/jit64/opt/osr/osr001.csproj b/src/tests/JIT/jit64/opt/osr/osr001.csproj index e6084f909a5713..f0185974152dd1 100644 --- a/src/tests/JIT/jit64/opt/osr/osr001.csproj +++ b/src/tests/JIT/jit64/opt/osr/osr001.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/osr/osr015.il b/src/tests/JIT/jit64/opt/osr/osr015.il index 8b6da6abc5ac92..af7ec75ca980c4 100644 --- a/src/tests/JIT/jit64/opt/osr/osr015.il +++ b/src/tests/JIT/jit64/opt/osr/osr015.il @@ -11,7 +11,7 @@ .assembly 'osr015' {} -.class private auto ansi beforefieldinit test +.class public auto ansi beforefieldinit test extends [mscorlib]System.Object { diff --git a/src/tests/JIT/jit64/opt/osr/osr015.ilproj b/src/tests/JIT/jit64/opt/osr/osr015.ilproj index 779dd670cdcb17..aab172ec2574f9 100644 --- a/src/tests/JIT/jit64/opt/osr/osr015.ilproj +++ b/src/tests/JIT/jit64/opt/osr/osr015.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/193825/193825_udo.csproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/193825/193825_udo.csproj index b3ea09f1c58a08..6fd955abe6ab53 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/193825/193825_udo.csproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/193825/193825_udo.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/193825/193825_uro.csproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/193825/193825_uro.csproj index 377da85f8be922..1f2fab9cd063bc 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/193825/193825_uro.csproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/193825/193825_uro.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/193825/repro.cs b/src/tests/JIT/jit64/opt/regress/vswhidbey/193825/repro.cs index 85ab8577fba1ff..00c71ce57ac8bd 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/193825/repro.cs +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/193825/repro.cs @@ -2,11 +2,13 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; public unsafe class T { - public static int Main() + [Fact] + public static int TestEntryPoint() { if (Bug() == "0") return 100; diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/bne.il b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/bne.il index 24a5b0a23fe5dd..959b80a07f29c7 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/bne.il +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/bne.il @@ -10,8 +10,8 @@ .assembly 'bne' {} .assembly extern mscorlib{auto} -.class cprop_test { -.method static int32 Main() { +.class public cprop_test { +.method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 ) diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/bne_opt.ilproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/bne.ilproj similarity index 89% rename from src/tests/JIT/jit64/opt/regress/vswhidbey/223862/bne_opt.ilproj rename to src/tests/JIT/jit64/opt/regress/vswhidbey/223862/bne.ilproj index ea5715aa5b3e00..8fbb6939068af9 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/bne_opt.ilproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/bne.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/bne_dbg.ilproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/bne_il_d.ilproj similarity index 88% rename from src/tests/JIT/jit64/opt/regress/vswhidbey/223862/bne_dbg.ilproj rename to src/tests/JIT/jit64/opt/regress/vswhidbey/223862/bne_il_d.ilproj index ecba52857bf6a6..87e15bd879d41f 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/bne_dbg.ilproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/bne_il_d.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/conv.il b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/conv.il index c61d2a97a9c2fe..78286faf934211 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/conv.il +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/conv.il @@ -8,10 +8,10 @@ } .assembly extern xunit.core {} -.assembly 'conv' {} +.assembly 'conv_223862' {} .assembly extern mscorlib{auto} -.class Class_test { -.method static int32 Main() { +.class public Class_test { +.method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 ) diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/228572/conv_dbg.ilproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/conv_223862_il_d.ilproj similarity index 72% rename from src/tests/JIT/jit64/opt/regress/vswhidbey/228572/conv_dbg.ilproj rename to src/tests/JIT/jit64/opt/regress/vswhidbey/223862/conv_223862_il_d.ilproj index c4ead560f649bb..60ff29c2b0d38a 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/228572/conv_dbg.ilproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/conv_223862_il_d.ilproj @@ -1,7 +1,4 @@ - - Exe - Full diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/228572/conv_opt.ilproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/conv_223862_il_r.ilproj similarity index 75% rename from src/tests/JIT/jit64/opt/regress/vswhidbey/228572/conv_opt.ilproj rename to src/tests/JIT/jit64/opt/regress/vswhidbey/223862/conv_223862_il_r.ilproj index 3dac7eb3ae8329..55a7af88c57e93 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/228572/conv_opt.ilproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/conv_223862_il_r.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/div.il b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/div.il index 6c5cdd0091fb25..fd9d98d0d52e2f 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/div.il +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/div.il @@ -10,8 +10,8 @@ .assembly 'div' {} .assembly extern mscorlib{auto} -.class cprop_test { -.method static int32 Main() { +.class public cprop_test { +.method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 ) diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/div_dbg.ilproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/div_il_d.ilproj similarity index 88% rename from src/tests/JIT/jit64/opt/regress/vswhidbey/223862/div_dbg.ilproj rename to src/tests/JIT/jit64/opt/regress/vswhidbey/223862/div_il_d.ilproj index 601173a0da00be..9154e33dc0ce18 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/div_dbg.ilproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/div_il_d.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/div_opt.ilproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/div_il_r.ilproj similarity index 89% rename from src/tests/JIT/jit64/opt/regress/vswhidbey/223862/div_opt.ilproj rename to src/tests/JIT/jit64/opt/regress/vswhidbey/223862/div_il_r.ilproj index e8238213a24c3a..1ea3b9d938dd8e 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/div_opt.ilproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/div_il_r.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul1.il b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul1.il index f5ba58ce63cb94..6d4984ba9e8da8 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul1.il +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul1.il @@ -10,8 +10,8 @@ .assembly 'mul1' {} .assembly extern mscorlib{auto} -.class cprop_test { -.method static int32 Main() { +.class public cprop_test { +.method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 ) diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul1_dbg.ilproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul1_il_d.ilproj similarity index 88% rename from src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul1_dbg.ilproj rename to src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul1_il_d.ilproj index e5d19866007d08..72dbe28ce4ba61 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul1_dbg.ilproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul1_il_d.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul1_opt.ilproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul1_il_r.ilproj similarity index 89% rename from src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul1_opt.ilproj rename to src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul1_il_r.ilproj index 86338c9d110045..a14108bae79d75 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul1_opt.ilproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul1_il_r.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul_exception.il b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul_exception.il index d1ed95cdd7aae8..1b54cf28ae51a9 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul_exception.il +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul_exception.il @@ -10,8 +10,8 @@ .assembly 'mul_exception' {} .assembly extern mscorlib{auto} -.class cprop_test { -.method static int32 Main() { +.class public cprop_test { +.method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 ) diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul_exception_dbg.ilproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul_exception_il_d.ilproj similarity index 72% rename from src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul_exception_dbg.ilproj rename to src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul_exception_il_d.ilproj index 7932d9d0746260..fb97209469fb89 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul_exception_dbg.ilproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul_exception_il_d.ilproj @@ -1,7 +1,4 @@ - - Exe - Full diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul_exception_opt.ilproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul_exception_il_r.ilproj similarity index 76% rename from src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul_exception_opt.ilproj rename to src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul_exception_il_r.ilproj index cb26f3cb270d70..5ff0d27ee6cba6 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul_exception_opt.ilproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/mul_exception_il_r.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/rem.il b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/rem.il index 6e16e0d1ee0b13..81030c362eff35 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/rem.il +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/rem.il @@ -10,8 +10,8 @@ .assembly 'rem' {} .assembly extern mscorlib{auto} -.class cprop_test { -.method static int32 Main() { +.class public cprop_test { +.method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 ) diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/rem_dbg.ilproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/rem_il_d.ilproj similarity index 88% rename from src/tests/JIT/jit64/opt/regress/vswhidbey/223862/rem_dbg.ilproj rename to src/tests/JIT/jit64/opt/regress/vswhidbey/223862/rem_il_d.ilproj index 34133627c745af..d279e9c7f90c73 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/rem_dbg.ilproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/rem_il_d.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/rem_opt.ilproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/rem_il_r.ilproj similarity index 89% rename from src/tests/JIT/jit64/opt/regress/vswhidbey/223862/rem_opt.ilproj rename to src/tests/JIT/jit64/opt/regress/vswhidbey/223862/rem_il_r.ilproj index 0341d86380d858..29dd045378f992 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/rem_opt.ilproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/rem_il_r.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/228572/conv.il b/src/tests/JIT/jit64/opt/regress/vswhidbey/228572/conv.il index ff41cf0d9d7689..067c68280b7113 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/228572/conv.il +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/228572/conv.il @@ -8,9 +8,9 @@ } .assembly extern xunit.core {} -.assembly 'conv' {} +.assembly 'conv_228572' {} .assembly extern mscorlib{auto} -.class Conv_test { +.class public Conv_test { .method static int32 Main_test() { .maxstack 5 @@ -38,7 +38,7 @@ IL_01: ret } -.method static int32 Main() { +.method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 ) diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/conv_dbg.ilproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/228572/conv_228572_il_d.ilproj similarity index 72% rename from src/tests/JIT/jit64/opt/regress/vswhidbey/223862/conv_dbg.ilproj rename to src/tests/JIT/jit64/opt/regress/vswhidbey/228572/conv_228572_il_d.ilproj index c4ead560f649bb..60ff29c2b0d38a 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/conv_dbg.ilproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/228572/conv_228572_il_d.ilproj @@ -1,7 +1,4 @@ - - Exe - Full diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/conv_opt.ilproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/228572/conv_228572_il_r.ilproj similarity index 75% rename from src/tests/JIT/jit64/opt/regress/vswhidbey/223862/conv_opt.ilproj rename to src/tests/JIT/jit64/opt/regress/vswhidbey/228572/conv_228572_il_r.ilproj index 3dac7eb3ae8329..55a7af88c57e93 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/223862/conv_opt.ilproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/228572/conv_228572_il_r.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo.il b/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo.il index 955c0b76ea852d..b414b1a1fbec6b 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo.il +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo.il @@ -19,7 +19,7 @@ -.class private auto ansi test extends [mscorlib]System.Object +.class public auto ansi test extends [mscorlib]System.Object { .method privatescope static int32 M1(float32 Arg_0x4) cil managed { @@ -45,7 +45,7 @@ ret } - .method privatescope static int32 Main() cil managed + .method public static int32 Main() cil managed { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo2.il b/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo2.il index 413866fe340951..224c68326387f4 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo2.il +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo2.il @@ -19,7 +19,7 @@ -.class private auto ansi test extends [mscorlib]System.Object +.class public auto ansi test extends [mscorlib]System.Object { .method privatescope static int32 M1(float32 Arg_0x4) cil managed { @@ -44,7 +44,7 @@ ret } - .method privatescope static int32 Main() cil managed + .method public static int32 Main() cil managed { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo2_dbg.ilproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo2_il_d.ilproj similarity index 88% rename from src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo2_dbg.ilproj rename to src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo2_il_d.ilproj index df5079d1db5e67..82c598bb383872 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo2_dbg.ilproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo2_il_d.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo2_opt.ilproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo2_il_r.ilproj similarity index 89% rename from src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo2_opt.ilproj rename to src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo2_il_r.ilproj index 2150e5a7859b0f..f117f1cf696b41 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo2_opt.ilproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo2_il_r.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo_dbg.ilproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo_il_d.ilproj similarity index 88% rename from src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo_dbg.ilproj rename to src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo_il_d.ilproj index 6de671a3341fb1..9fbd02e5acb8ae 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo_dbg.ilproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo_il_d.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo_opt.ilproj b/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo_il_r.ilproj similarity index 89% rename from src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo_opt.ilproj rename to src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo_il_r.ilproj index 5b3438e5ec8d8b..df4c7fb742fef7 100644 --- a/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo_opt.ilproj +++ b/src/tests/JIT/jit64/opt/regress/vswhidbey/481244/foo_il_r.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/rngchk/ArrayBound.cs b/src/tests/JIT/jit64/opt/rngchk/ArrayBound.cs index 67ed2621df3d09..40825af844f43a 100644 --- a/src/tests/JIT/jit64/opt/rngchk/ArrayBound.cs +++ b/src/tests/JIT/jit64/opt/rngchk/ArrayBound.cs @@ -3,13 +3,15 @@ using System; using System.Runtime.CompilerServices; +using Xunit; namespace ArrayBound { public delegate void RngTest(); - internal class Class1 + public class Class1 { - private static int Main() + [Fact] + public static int TestEntryPoint() { int retVal = 100; int testNum = 0; diff --git a/src/tests/JIT/jit64/opt/rngchk/ArrayBound_o.csproj b/src/tests/JIT/jit64/opt/rngchk/ArrayBound_o.csproj index 37fc85bfa1604a..741b423b76d92b 100644 --- a/src/tests/JIT/jit64/opt/rngchk/ArrayBound_o.csproj +++ b/src/tests/JIT/jit64/opt/rngchk/ArrayBound_o.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/opt/rngchk/ArrayWith2Loops.cs b/src/tests/JIT/jit64/opt/rngchk/ArrayWith2Loops.cs index 1b75594665e12b..bd365b69f6550a 100644 --- a/src/tests/JIT/jit64/opt/rngchk/ArrayWith2Loops.cs +++ b/src/tests/JIT/jit64/opt/rngchk/ArrayWith2Loops.cs @@ -3,13 +3,15 @@ using System; using System.Runtime.CompilerServices; +using Xunit; namespace SimpleArray_01 { public delegate void RngTest(); - internal class Class1 + public class Class1 { - private static int Main() + [Fact] + public static int TestEntryPoint() { int retVal = 100; int testNum = 0; diff --git a/src/tests/JIT/jit64/opt/rngchk/ArrayWith2Loops_o.csproj b/src/tests/JIT/jit64/opt/rngchk/ArrayWith2Loops_o.csproj index b591c92d36c3a9..7326d40680957c 100644 --- a/src/tests/JIT/jit64/opt/rngchk/ArrayWith2Loops_o.csproj +++ b/src/tests/JIT/jit64/opt/rngchk/ArrayWith2Loops_o.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/opt/rngchk/ArrayWithFunc.cs b/src/tests/JIT/jit64/opt/rngchk/ArrayWithFunc.cs index 9338f8bd24ce3e..5ccdbcf49ed82e 100644 --- a/src/tests/JIT/jit64/opt/rngchk/ArrayWithFunc.cs +++ b/src/tests/JIT/jit64/opt/rngchk/ArrayWithFunc.cs @@ -3,13 +3,15 @@ using System; using System.Runtime.CompilerServices; +using Xunit; namespace ArrayWithFunc { public delegate void RngTest(); - internal class Class1 + public class Class1 { - private static int Main() + [Fact] + public static int TestEntryPoint() { int retVal = 100; int testNum = 0; diff --git a/src/tests/JIT/jit64/opt/rngchk/ArrayWithFunc_o.csproj b/src/tests/JIT/jit64/opt/rngchk/ArrayWithFunc_o.csproj index 966702124c3fd5..99f6f28a76c47a 100644 --- a/src/tests/JIT/jit64/opt/rngchk/ArrayWithFunc_o.csproj +++ b/src/tests/JIT/jit64/opt/rngchk/ArrayWithFunc_o.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/opt/rngchk/ArrayWithThread.cs b/src/tests/JIT/jit64/opt/rngchk/ArrayWithThread.cs index a63745619267a2..289d4ba2ec7c4a 100644 --- a/src/tests/JIT/jit64/opt/rngchk/ArrayWithThread.cs +++ b/src/tests/JIT/jit64/opt/rngchk/ArrayWithThread.cs @@ -4,16 +4,18 @@ using System; using System.Threading; using System.Runtime.CompilerServices; +using Xunit; namespace ArrayWithThread { public delegate void RngTest(ref int a); - internal class Class1 + public class Class1 { public static int val = 0; public static AutoResetEvent myResetEvent1 = new AutoResetEvent(false); public static ManualResetEvent myResetEvent2 = new ManualResetEvent(false); - private static int Main() + [Fact] + public static int TestEntryPoint() { int retVal = 100; int testNum = 0; diff --git a/src/tests/JIT/jit64/opt/rngchk/ArrayWithThread_o.csproj b/src/tests/JIT/jit64/opt/rngchk/ArrayWithThread_o.csproj index c6cb2769403018..efd1ef8c9b9a53 100644 --- a/src/tests/JIT/jit64/opt/rngchk/ArrayWithThread_o.csproj +++ b/src/tests/JIT/jit64/opt/rngchk/ArrayWithThread_o.csproj @@ -1,6 +1,7 @@ - Exe + + true true diff --git a/src/tests/JIT/jit64/opt/rngchk/BadMatrixMul.cs b/src/tests/JIT/jit64/opt/rngchk/BadMatrixMul.cs index 3148d5fd6ce6b4..905bfdfdd3e3c3 100644 --- a/src/tests/JIT/jit64/opt/rngchk/BadMatrixMul.cs +++ b/src/tests/JIT/jit64/opt/rngchk/BadMatrixMul.cs @@ -3,13 +3,15 @@ using System; using System.Runtime.CompilerServices; +using Xunit; namespace SimpleArray_01 { public delegate void RngTest(); - internal class Class1 + public class Class1 { - private static int Main() + [Fact] + public static int TestEntryPoint() { int retVal = 100; int testNum = 0; diff --git a/src/tests/JIT/jit64/opt/rngchk/BadMatrixMul_o.csproj b/src/tests/JIT/jit64/opt/rngchk/BadMatrixMul_o.csproj index 296e66e8129047..0eef2d5a6261ba 100644 --- a/src/tests/JIT/jit64/opt/rngchk/BadMatrixMul_o.csproj +++ b/src/tests/JIT/jit64/opt/rngchk/BadMatrixMul_o.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/opt/rngchk/JaggedArray.cs b/src/tests/JIT/jit64/opt/rngchk/JaggedArray.cs index da9d133446c909..4e17558de692a5 100644 --- a/src/tests/JIT/jit64/opt/rngchk/JaggedArray.cs +++ b/src/tests/JIT/jit64/opt/rngchk/JaggedArray.cs @@ -3,13 +3,15 @@ using System; using System.Runtime.CompilerServices; +using Xunit; namespace SimpleArray_01 { public delegate void RngTest(); - internal class Class1 + public class Class1 { - private static int Main() + [Fact] + public static int TestEntryPoint() { int retVal = 100; int testNum = 0; diff --git a/src/tests/JIT/jit64/opt/rngchk/JaggedArray_o.csproj b/src/tests/JIT/jit64/opt/rngchk/JaggedArray_o.csproj index 46ff98b5b8965a..45699095b2f01a 100644 --- a/src/tests/JIT/jit64/opt/rngchk/JaggedArray_o.csproj +++ b/src/tests/JIT/jit64/opt/rngchk/JaggedArray_o.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/opt/rngchk/MatrixMul.cs b/src/tests/JIT/jit64/opt/rngchk/MatrixMul.cs index 8f7489ba6de772..d64083cdaefdb8 100644 --- a/src/tests/JIT/jit64/opt/rngchk/MatrixMul.cs +++ b/src/tests/JIT/jit64/opt/rngchk/MatrixMul.cs @@ -2,13 +2,15 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; namespace MatrixMul { - internal class Test + public class Test { //Test shall throw IndexOutOfRangeException if rangecheck is inserted properly - private static int Main() + [Fact] + public static int TestEntryPoint() { int retVal = 100; try diff --git a/src/tests/JIT/jit64/opt/rngchk/MatrixMul_o.csproj b/src/tests/JIT/jit64/opt/rngchk/MatrixMul_o.csproj index e300188994d426..90f9fea1847659 100644 --- a/src/tests/JIT/jit64/opt/rngchk/MatrixMul_o.csproj +++ b/src/tests/JIT/jit64/opt/rngchk/MatrixMul_o.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/opt/rngchk/RngchkStress1.cs b/src/tests/JIT/jit64/opt/rngchk/RngchkStress1.cs index 28cebe50efa555..9036ad58fde179 100644 --- a/src/tests/JIT/jit64/opt/rngchk/RngchkStress1.cs +++ b/src/tests/JIT/jit64/opt/rngchk/RngchkStress1.cs @@ -3,13 +3,15 @@ using System; using System.Runtime.CompilerServices; +using Xunit; namespace SimpleArray_01 { public delegate void RngTest(); - internal class Class1 + public class Class1 { - private static int Main() + [Fact] + public static int TestEntryPoint() { int retVal = 100; int testNum = 0; diff --git a/src/tests/JIT/jit64/opt/rngchk/RngchkStress1_o.csproj b/src/tests/JIT/jit64/opt/rngchk/RngchkStress1_o.csproj index 7e0fc8f56c6af0..3a6f6d12dce9fb 100644 --- a/src/tests/JIT/jit64/opt/rngchk/RngchkStress1_o.csproj +++ b/src/tests/JIT/jit64/opt/rngchk/RngchkStress1_o.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/opt/rngchk/RngchkStress2.cs b/src/tests/JIT/jit64/opt/rngchk/RngchkStress2.cs index b35bd0c44849eb..47aab54f8081fb 100644 --- a/src/tests/JIT/jit64/opt/rngchk/RngchkStress2.cs +++ b/src/tests/JIT/jit64/opt/rngchk/RngchkStress2.cs @@ -3,13 +3,15 @@ using System; using System.Runtime.CompilerServices; +using Xunit; namespace SimpleArray_01 { public delegate void RngTest(); - internal class Class1 + public class Class1 { - private static int Main() + [Fact] + public static int TestEntryPoint() { int retVal = 100; int testNum = 0; diff --git a/src/tests/JIT/jit64/opt/rngchk/RngchkStress2_o.csproj b/src/tests/JIT/jit64/opt/rngchk/RngchkStress2_o.csproj index ddb2435c6136d6..24e01e4305a860 100644 --- a/src/tests/JIT/jit64/opt/rngchk/RngchkStress2_o.csproj +++ b/src/tests/JIT/jit64/opt/rngchk/RngchkStress2_o.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/opt/rngchk/RngchkStress3.cs b/src/tests/JIT/jit64/opt/rngchk/RngchkStress3.cs index cb7d093228d4e5..2742c2766d6a15 100644 --- a/src/tests/JIT/jit64/opt/rngchk/RngchkStress3.cs +++ b/src/tests/JIT/jit64/opt/rngchk/RngchkStress3.cs @@ -5,13 +5,15 @@ using System; using System.Runtime.CompilerServices; +using Xunit; namespace SimpleArray_01 { public delegate void RngTest(); - internal class Class1 + public class Class1 { - private static int Main() + [Fact] + public static int TestEntryPoint() { int retVal = 100; diff --git a/src/tests/JIT/jit64/opt/rngchk/RngchkStress3.csproj b/src/tests/JIT/jit64/opt/rngchk/RngchkStress3.csproj index 6b15c5892e6818..7e3f9b485ec8f9 100644 --- a/src/tests/JIT/jit64/opt/rngchk/RngchkStress3.csproj +++ b/src/tests/JIT/jit64/opt/rngchk/RngchkStress3.csproj @@ -1,7 +1,4 @@ - - Exe - Full False diff --git a/src/tests/JIT/jit64/opt/rngchk/SimpleArray_01.cs b/src/tests/JIT/jit64/opt/rngchk/SimpleArray_01.cs index b8f3f5a7d3f9df..586a10ac6dfab8 100644 --- a/src/tests/JIT/jit64/opt/rngchk/SimpleArray_01.cs +++ b/src/tests/JIT/jit64/opt/rngchk/SimpleArray_01.cs @@ -3,13 +3,15 @@ using System; using System.Runtime.CompilerServices; +using Xunit; namespace SimpleArray_01 { public delegate void RngTest(); - internal class Class1 + public class Class1 { - private static int Main() + [Fact] + public static int TestEntryPoint() { int retVal = 100; int testNum = 0; diff --git a/src/tests/JIT/jit64/opt/rngchk/SimpleArray_01_o.csproj b/src/tests/JIT/jit64/opt/rngchk/SimpleArray_01_o.csproj index 556925b6c08ee3..8ff037998d2522 100644 --- a/src/tests/JIT/jit64/opt/rngchk/SimpleArray_01_o.csproj +++ b/src/tests/JIT/jit64/opt/rngchk/SimpleArray_01_o.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/regress/asurt/143616/foo.cs b/src/tests/JIT/jit64/regress/asurt/143616/foo.cs index 051df565a0654f..7c0e468f828327 100644 --- a/src/tests/JIT/jit64/regress/asurt/143616/foo.cs +++ b/src/tests/JIT/jit64/regress/asurt/143616/foo.cs @@ -1,9 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +using Xunit; public class foo { - public static int Main() + [Fact] + public static int TestEntryPoint() { return bar.getX(); } diff --git a/src/tests/JIT/jit64/regress/asurt/143616/foo.csproj b/src/tests/JIT/jit64/regress/asurt/143616/foo.csproj index 448fbf43f0e705..a8fbf8cff0ddd4 100644 --- a/src/tests/JIT/jit64/regress/asurt/143616/foo.csproj +++ b/src/tests/JIT/jit64/regress/asurt/143616/foo.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/ddb/103087/103087.cs b/src/tests/JIT/jit64/regress/ddb/103087/103087.cs index 97cff255676dd3..92240e11ba564b 100644 --- a/src/tests/JIT/jit64/regress/ddb/103087/103087.cs +++ b/src/tests/JIT/jit64/regress/ddb/103087/103087.cs @@ -2,10 +2,16 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using System.Runtime.CompilerServices; +using Xunit; -internal class Ddb103087 +public class Ddb103087 { - public static int Main(string[] args) + [Fact] + public static int TestEntryPoint() => Run(new string[0]); + + [MethodImpl(MethodImplOptions.NoInlining)] + public static int Run(string[] args) { double v1 = args.Length == 0 ? -0.0 : 0.0; double v2 = args.Length != 0 ? -0.0 : 0.0; diff --git a/src/tests/JIT/jit64/regress/ddb/103087/103087.csproj b/src/tests/JIT/jit64/regress/ddb/103087/103087.csproj index fca9d1182baa39..f5e923bdd9b72c 100644 --- a/src/tests/JIT/jit64/regress/ddb/103087/103087.csproj +++ b/src/tests/JIT/jit64/regress/ddb/103087/103087.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/ddb/113574/113574.cs b/src/tests/JIT/jit64/regress/ddb/113574/113574.cs index a1464d3d94c4ba..99581784ff0c1a 100644 --- a/src/tests/JIT/jit64/regress/ddb/113574/113574.cs +++ b/src/tests/JIT/jit64/regress/ddb/113574/113574.cs @@ -8,7 +8,8 @@ // This can cause the loop to either become an infinite loop or to stop prematurely. using System; -internal class LoopTests +using Xunit; +public class LoopTests { private static bool Test1() { @@ -67,7 +68,8 @@ private static bool Test3() return true; } - private static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; diff --git a/src/tests/JIT/jit64/regress/ddb/113574/113574.csproj b/src/tests/JIT/jit64/regress/ddb/113574/113574.csproj index fe4a2822d7cab3..4ee2e5892f2252 100644 --- a/src/tests/JIT/jit64/regress/ddb/113574/113574.csproj +++ b/src/tests/JIT/jit64/regress/ddb/113574/113574.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/ddb/118414/118414.il b/src/tests/JIT/jit64/regress/ddb/118414/118414.il index 2d89b529729d84..f017dd5afd5d08 100644 --- a/src/tests/JIT/jit64/regress/ddb/118414/118414.il +++ b/src/tests/JIT/jit64/regress/ddb/118414/118414.il @@ -5,7 +5,7 @@ .assembly extern xunit.core {} .assembly extern mscorlib{auto} -.class ILGEN_0x3243f637 { +.class public ILGEN_0x3243f637 { .method static int64 Method_0xa31c545(native int Arg_0x1) { .zeroinit @@ -38,7 +38,7 @@ Loop_0x0: ret } - .method static int32 Main() { + .method public static int32 Main() { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 ) diff --git a/src/tests/JIT/jit64/regress/ddb/118414/118414.ilproj b/src/tests/JIT/jit64/regress/ddb/118414/118414.ilproj index 972c31a9a80dd0..7c7ed9f1abff72 100644 --- a/src/tests/JIT/jit64/regress/ddb/118414/118414.ilproj +++ b/src/tests/JIT/jit64/regress/ddb/118414/118414.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/ddb/127931/127931.il b/src/tests/JIT/jit64/regress/ddb/127931/127931.il index ee2742b7d9a483..a74d7977913613 100644 --- a/src/tests/JIT/jit64/regress/ddb/127931/127931.il +++ b/src/tests/JIT/jit64/regress/ddb/127931/127931.il @@ -6,11 +6,11 @@ .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. .ver 2:0:0:0 } -.assembly ILGEN_0xf64b7da3 +.assembly extern xunit.core {} +.assembly '127931' { .ver 0:0:0:0 } -.module rtc_shorteningconvert.exe // MVID: {FB8EB234-0641-4679-8147-BB7819EB64E7} .imagebase 0x00400000 .file alignment 0x00000200 @@ -22,7 +22,7 @@ // =============== CLASS MEMBERS DECLARATION =================== -.class private auto ansi ILGEN_0xf64b7da3 +.class public auto ansi ILGEN_0xf64b7da3 extends [mscorlib]System.Object { .method privatescope static int16 Method_0xcb0b0b48$PST06000001(uint32 Arg_0x2) cil managed @@ -51,8 +51,11 @@ IL_0038: ret } // end of method ILGEN_0xf64b7da3::Method_0xcb0b0b48 - .method privatescope static int32 Main$PST06000002() cil managed + .method public static int32 Main() cil managed { + .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( + 01 00 00 00 + ) .entrypoint // Code size 11 (0xb) .maxstack 11 diff --git a/src/tests/JIT/jit64/regress/ddb/127931/127931.ilproj b/src/tests/JIT/jit64/regress/ddb/127931/127931.ilproj index bcaa593ba81136..0d771280a81bb9 100644 --- a/src/tests/JIT/jit64/regress/ddb/127931/127931.ilproj +++ b/src/tests/JIT/jit64/regress/ddb/127931/127931.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/regress/ddb/132977/132977.cs b/src/tests/JIT/jit64/regress/ddb/132977/132977.cs index 53638c96e00e94..64b386bca2de77 100644 --- a/src/tests/JIT/jit64/regress/ddb/132977/132977.cs +++ b/src/tests/JIT/jit64/regress/ddb/132977/132977.cs @@ -1,9 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +using Xunit; // Bug: OSR bug causing bad GC pointers // a GC root becomes an interior pointer when added. -internal class Repro +public class Repro { private int[] _arr; @@ -17,7 +18,8 @@ private void Bug() } } - private static int Main() + [Fact] + public static int TestEntryPoint() { new Repro().Bug(); // will fail with an assert under GCSTRESS=4 diff --git a/src/tests/JIT/jit64/regress/ddb/132977/132977.csproj b/src/tests/JIT/jit64/regress/ddb/132977/132977.csproj index ba46c5599f8a89..e3c43ccd560571 100644 --- a/src/tests/JIT/jit64/regress/ddb/132977/132977.csproj +++ b/src/tests/JIT/jit64/regress/ddb/132977/132977.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/ddb/87766/ddb87766.cs b/src/tests/JIT/jit64/regress/ddb/87766/ddb87766.cs index ef10099b5b6132..cb1529c477f80e 100644 --- a/src/tests/JIT/jit64/regress/ddb/87766/ddb87766.cs +++ b/src/tests/JIT/jit64/regress/ddb/87766/ddb87766.cs @@ -3,6 +3,7 @@ using System; using System.Runtime.CompilerServices; +using Xunit; public class VInline { @@ -32,7 +33,8 @@ public int Accumulate(int a) } public class VIMain { - public static int Main() + [Fact] + public static int TestEntryPoint() { int ret = 100; VInline vi = new VInline(1); diff --git a/src/tests/JIT/jit64/regress/ddb/87766/ddb87766.csproj b/src/tests/JIT/jit64/regress/ddb/87766/ddb87766.csproj index c8cac0e3ef6757..b5860d06ebe5eb 100644 --- a/src/tests/JIT/jit64/regress/ddb/87766/ddb87766.csproj +++ b/src/tests/JIT/jit64/regress/ddb/87766/ddb87766.csproj @@ -1,6 +1,7 @@ - Exe + + true PdbOnly diff --git a/src/tests/JIT/jit64/regress/ndpw/14888/objectusedonlyinhandler.cs b/src/tests/JIT/jit64/regress/ndpw/14888/objectusedonlyinhandler.cs index df452a36bf9708..19d425b990f883 100644 --- a/src/tests/JIT/jit64/regress/ndpw/14888/objectusedonlyinhandler.cs +++ b/src/tests/JIT/jit64/regress/ndpw/14888/objectusedonlyinhandler.cs @@ -3,10 +3,12 @@ using System; using System.Threading; +using Xunit; -internal class Test_objectusedonlyinhandler +public class Test_objectusedonlyinhandler { - public static int Main() + [Fact] + public static int TestEntryPoint() { int exitCode = 1; String teststring = new String('a', 5); diff --git a/src/tests/JIT/jit64/regress/ndpw/14888/objectusedonlyinhandler.csproj b/src/tests/JIT/jit64/regress/ndpw/14888/objectusedonlyinhandler.csproj index d0b5ebe9734b43..351f3a2c77eac1 100644 --- a/src/tests/JIT/jit64/regress/ndpw/14888/objectusedonlyinhandler.csproj +++ b/src/tests/JIT/jit64/regress/ndpw/14888/objectusedonlyinhandler.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/ndpw/160545/simple.cs b/src/tests/JIT/jit64/regress/ndpw/160545/simple.cs index 73dd6861d02efa..4541024ed7b6f8 100644 --- a/src/tests/JIT/jit64/regress/ndpw/160545/simple.cs +++ b/src/tests/JIT/jit64/regress/ndpw/160545/simple.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; public struct T : IComparable { public int x; @@ -26,9 +27,10 @@ public int CompareTo(object b) } } -internal class foo +public class foo { - public static int Main() + [Fact] + public static int TestEntryPoint() { bar b = new bar(); return b.test(new T(1, 2, 3)); diff --git a/src/tests/JIT/jit64/regress/ndpw/160545/simple.csproj b/src/tests/JIT/jit64/regress/ndpw/160545/simple.csproj index 86fb9acaed426f..26846f115155ad 100644 --- a/src/tests/JIT/jit64/regress/ndpw/160545/simple.csproj +++ b/src/tests/JIT/jit64/regress/ndpw/160545/simple.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/ndpw/21015/interior_pointer.cs b/src/tests/JIT/jit64/regress/ndpw/21015/interior_pointer.cs index 96e79b702a359d..414fb0a733abe7 100644 --- a/src/tests/JIT/jit64/regress/ndpw/21015/interior_pointer.cs +++ b/src/tests/JIT/jit64/regress/ndpw/21015/interior_pointer.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; internal struct T { @@ -26,9 +27,10 @@ public string TheString } } -internal class Tester +public class Tester { - public static int Main() + [Fact] + public static int TestEntryPoint() { T t1, t2; @@ -40,7 +42,7 @@ public static int Main() return 100; } - public static void bar(T t) + private static void bar(T t) { Console.WriteLine(t.TheString); } diff --git a/src/tests/JIT/jit64/regress/ndpw/21015/interior_pointer.csproj b/src/tests/JIT/jit64/regress/ndpw/21015/interior_pointer.csproj index 652ecc7401e936..959c33430bf6e3 100644 --- a/src/tests/JIT/jit64/regress/ndpw/21015/interior_pointer.csproj +++ b/src/tests/JIT/jit64/regress/ndpw/21015/interior_pointer.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/phoenix/62322/test.il b/src/tests/JIT/jit64/regress/phoenix/62322/test.il index 0b751c5143a314..ed9b77cc5b63df 100644 --- a/src/tests/JIT/jit64/regress/phoenix/62322/test.il +++ b/src/tests/JIT/jit64/regress/phoenix/62322/test.il @@ -18,7 +18,7 @@ .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. .ver 2:0:0:0 } -.assembly 'test' +.assembly 'test_62322' { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 ) .hash algorithm 0x00008004 diff --git a/src/tests/JIT/jit64/regress/phoenix/62322/test.ilproj b/src/tests/JIT/jit64/regress/phoenix/62322/test_62322.ilproj similarity index 89% rename from src/tests/JIT/jit64/regress/phoenix/62322/test.ilproj rename to src/tests/JIT/jit64/regress/phoenix/62322/test_62322.ilproj index a2b2ec80f435e1..6db1ac4e7733fe 100644 --- a/src/tests/JIT/jit64/regress/phoenix/62322/test.ilproj +++ b/src/tests/JIT/jit64/regress/phoenix/62322/test_62322.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/102754/test1.il b/src/tests/JIT/jit64/regress/vsw/102754/test1.il index 2dcd47a45d999b..4f43697af31b77 100644 --- a/src/tests/JIT/jit64/regress/vsw/102754/test1.il +++ b/src/tests/JIT/jit64/regress/vsw/102754/test1.il @@ -19,7 +19,7 @@ 01 2A 9C E3 ) } -.assembly legacy library 'test1' +.assembly legacy library 'test1_102754' { @@ -37,11 +37,10 @@ .namespace hello { - .class private auto ansi beforefieldinit Class1 + .class public auto ansi beforefieldinit Class1 extends [mscorlib]System.Object { - .method public hidebysig static int32 - Main() cil managed + .method public hidebysig static int32 Main() cil managed { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 @@ -51,11 +50,18 @@ .locals (int64* V_0, int64 V_1, int32 V_2) + // V_1 = (long) 0 IL_0000: ldc.i4.0 IL_0001: conv.i8 IL_0002: stloc.1 + + // V_0 = &V_1 IL_0003: ldloca.s V_1 IL_0005: stloc.0 + + // (Endianness assumption) + // (Also note that + is not scaled to sizeof(int64)) + // *(unaligned int*)(V_0 + (int)1) = (int)0x1111 IL_0006: ldloc.0 IL_0007: ldc.i4 0x1 IL_000c: conv.i @@ -64,16 +70,23 @@ IL_000e: ldc.i4 0x1111 IL_0010: conv.i4 - unaligned. 1 + unaligned. 1 IL_0011: stind.i4 + + // Console.Writeline(V_1) IL_0012: ldloc.1 IL_0013: call void [System.Console]System.Console::WriteLine(int64) + + // V_2 = (int)V_1 - 0x11109C // 0x111100 - 0x11109C --> 0x60 == 100 IL_0018: ldloc.1 IL_0019: conv.i4 - IL_001a: ldc.i4 0x111100 + IL_001a: ldc.i4 0x11109C IL_001f: sub IL_0020: stloc.2 + IL_0021: br.s IL_0023 + + // return V_2 IL_0023: ldloc.2 IL_0024: ret } diff --git a/src/tests/JIT/jit64/regress/vsw/102754/test1.ilproj b/src/tests/JIT/jit64/regress/vsw/102754/test1.ilproj deleted file mode 100644 index cc69f000dcc76c..00000000000000 --- a/src/tests/JIT/jit64/regress/vsw/102754/test1.ilproj +++ /dev/null @@ -1,16 +0,0 @@ - - - Exe - 1 - - - PdbOnly - True - - - 0 - - - - - diff --git a/src/tests/JIT/jit64/regress/vsw/333007/test1.ilproj b/src/tests/JIT/jit64/regress/vsw/102754/test1_102754.ilproj similarity index 89% rename from src/tests/JIT/jit64/regress/vsw/333007/test1.ilproj rename to src/tests/JIT/jit64/regress/vsw/102754/test1_102754.ilproj index a2f2ad55a5aa88..5910d012ac1933 100644 --- a/src/tests/JIT/jit64/regress/vsw/333007/test1.ilproj +++ b/src/tests/JIT/jit64/regress/vsw/102754/test1_102754.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/102964/test.cs b/src/tests/JIT/jit64/regress/vsw/102964/test.cs index 13fd9bfd7dabb8..cad5cbb4d5861d 100644 --- a/src/tests/JIT/jit64/regress/vsw/102964/test.cs +++ b/src/tests/JIT/jit64/regress/vsw/102964/test.cs @@ -4,6 +4,7 @@ using System; using System.Collections; using System.Runtime.InteropServices; +using Xunit; public enum TestEnum { @@ -29,7 +30,8 @@ public class App { public static AA m_xStatic1 = new AA(); public static AA m_xStatic2 = new AA(); - private static int Main() + [Fact] + public static int TestEntryPoint() { try { diff --git a/src/tests/JIT/jit64/regress/vsw/549880/test.csproj b/src/tests/JIT/jit64/regress/vsw/102964/test_102964.csproj similarity index 88% rename from src/tests/JIT/jit64/regress/vsw/549880/test.csproj rename to src/tests/JIT/jit64/regress/vsw/102964/test_102964.csproj index 0c412f2d213711..a10728d944d6f5 100644 --- a/src/tests/JIT/jit64/regress/vsw/549880/test.csproj +++ b/src/tests/JIT/jit64/regress/vsw/102964/test_102964.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/102974/test.il b/src/tests/JIT/jit64/regress/vsw/102974/test.il index ee7b9f9ab2ab0d..a8e035fe6af300 100644 --- a/src/tests/JIT/jit64/regress/vsw/102974/test.il +++ b/src/tests/JIT/jit64/regress/vsw/102974/test.il @@ -12,7 +12,7 @@ // anytime soon, but a good case to have. .assembly extern mscorlib{} -.assembly test{} +.assembly 'test_102974'{} .class public auto ansi beforefieldinit Test extends [mscorlib]System.Object diff --git a/src/tests/JIT/jit64/regress/vsw/102974/test.ilproj b/src/tests/JIT/jit64/regress/vsw/102974/test_102974.ilproj similarity index 89% rename from src/tests/JIT/jit64/regress/vsw/102974/test.ilproj rename to src/tests/JIT/jit64/regress/vsw/102974/test_102974.ilproj index a2b2ec80f435e1..6db1ac4e7733fe 100644 --- a/src/tests/JIT/jit64/regress/vsw/102974/test.ilproj +++ b/src/tests/JIT/jit64/regress/vsw/102974/test_102974.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/153682/test.il b/src/tests/JIT/jit64/regress/vsw/153682/test.il index 1d12314da3887e..bf1d89a6bb6471 100644 --- a/src/tests/JIT/jit64/regress/vsw/153682/test.il +++ b/src/tests/JIT/jit64/regress/vsw/153682/test.il @@ -6,12 +6,13 @@ // mov'ed to. .assembly extern legacy library mscorlib {} +.assembly extern xunit.core {} .assembly extern System.Console { .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) .ver 4:0:0:0 } -.assembly legacy library test {} +.assembly legacy library 'test_153682' {} .class auto ansi sealed public save extends [mscorlib]System.Object { @@ -28,6 +29,9 @@ .method public static int32 a() cil managed { + .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( + 01 00 00 00 + ) .entrypoint .try { diff --git a/src/tests/JIT/jit64/regress/vsw/153682/test.ilproj b/src/tests/JIT/jit64/regress/vsw/153682/test_153682.ilproj similarity index 89% rename from src/tests/JIT/jit64/regress/vsw/153682/test.ilproj rename to src/tests/JIT/jit64/regress/vsw/153682/test_153682.ilproj index a2b2ec80f435e1..6db1ac4e7733fe 100644 --- a/src/tests/JIT/jit64/regress/vsw/153682/test.ilproj +++ b/src/tests/JIT/jit64/regress/vsw/153682/test_153682.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/266693/test.il b/src/tests/JIT/jit64/regress/vsw/266693/test.il index 1db5d131e934cd..0c5f8a50f6c9a5 100644 --- a/src/tests/JIT/jit64/regress/vsw/266693/test.il +++ b/src/tests/JIT/jit64/regress/vsw/266693/test.il @@ -11,9 +11,9 @@ .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) .ver 4:0:0:0 } -.assembly test {} +.assembly 'test_266693' {} -.class private auto ansi beforefieldinit Test_test +.class public auto ansi beforefieldinit Test_test extends [mscorlib]System.Object { .field static int32 i diff --git a/src/tests/JIT/jit64/regress/vsw/266693/test.ilproj b/src/tests/JIT/jit64/regress/vsw/266693/test_266693.ilproj similarity index 89% rename from src/tests/JIT/jit64/regress/vsw/266693/test.ilproj rename to src/tests/JIT/jit64/regress/vsw/266693/test_266693.ilproj index a2b2ec80f435e1..6db1ac4e7733fe 100644 --- a/src/tests/JIT/jit64/regress/vsw/266693/test.ilproj +++ b/src/tests/JIT/jit64/regress/vsw/266693/test_266693.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/286991/test.il b/src/tests/JIT/jit64/regress/vsw/286991/test.il index 1b929a3c249dd7..3695d80acc87c6 100644 --- a/src/tests/JIT/jit64/regress/vsw/286991/test.il +++ b/src/tests/JIT/jit64/regress/vsw/286991/test.il @@ -2,10 +2,15 @@ // The .NET Foundation licenses this file to you under the MIT license. .assembly extern mscorlib {} -.assembly test {} +.assembly extern xunit.core {} +.assembly 'test_286991' {} +.class public auto ansi test { .method public static int32 Main() { +.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( + 01 00 00 00 +) .entrypoint @@ -15,6 +20,7 @@ add ret } +} .method public static pinvokeimpl("msvcrt.dll" cdecl) int32 isupper(int32) cil managed preservesig diff --git a/src/tests/JIT/jit64/regress/vsw/286991/test.ilproj b/src/tests/JIT/jit64/regress/vsw/286991/test_286991.ilproj similarity index 81% rename from src/tests/JIT/jit64/regress/vsw/286991/test.ilproj rename to src/tests/JIT/jit64/regress/vsw/286991/test_286991.ilproj index 2896818bdd97d2..32aa94c5193fd4 100644 --- a/src/tests/JIT/jit64/regress/vsw/286991/test.ilproj +++ b/src/tests/JIT/jit64/regress/vsw/286991/test_286991.ilproj @@ -1,6 +1,7 @@ - Exe + + true true 1 diff --git a/src/tests/JIT/jit64/regress/vsw/329169/test.cs b/src/tests/JIT/jit64/regress/vsw/329169/test.cs index 06658ec07a7adc..e6b0b4f61fc2fb 100644 --- a/src/tests/JIT/jit64/regress/vsw/329169/test.cs +++ b/src/tests/JIT/jit64/regress/vsw/329169/test.cs @@ -4,9 +4,11 @@ // Regression test for consecutive compare optimization. using System; -internal class Foo +using Xunit; +public class Foo { - public static int Main() + [Fact] + public static int TestEntryPoint() { string s1 = "NonNull"; string s2 = null; diff --git a/src/tests/JIT/jit64/regress/vsw/471729/test.csproj b/src/tests/JIT/jit64/regress/vsw/329169/test_329169.csproj similarity index 88% rename from src/tests/JIT/jit64/regress/vsw/471729/test.csproj rename to src/tests/JIT/jit64/regress/vsw/329169/test_329169.csproj index 0c412f2d213711..a10728d944d6f5 100644 --- a/src/tests/JIT/jit64/regress/vsw/471729/test.csproj +++ b/src/tests/JIT/jit64/regress/vsw/329169/test_329169.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/333007/test1.il b/src/tests/JIT/jit64/regress/vsw/333007/test1.il index 81f61de652c18d..351456ea0c0e84 100644 --- a/src/tests/JIT/jit64/regress/vsw/333007/test1.il +++ b/src/tests/JIT/jit64/regress/vsw/333007/test1.il @@ -24,7 +24,7 @@ .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. .ver 2:0:3600:0 } -.assembly 'test1' +.assembly 'test1_333007' { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 ) .hash algorithm 0x00008004 diff --git a/src/tests/JIT/jit64/regress/vsw/336666/test1.ilproj b/src/tests/JIT/jit64/regress/vsw/333007/test1_333007.ilproj similarity index 89% rename from src/tests/JIT/jit64/regress/vsw/336666/test1.ilproj rename to src/tests/JIT/jit64/regress/vsw/333007/test1_333007.ilproj index a2f2ad55a5aa88..5910d012ac1933 100644 --- a/src/tests/JIT/jit64/regress/vsw/336666/test1.ilproj +++ b/src/tests/JIT/jit64/regress/vsw/333007/test1_333007.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/336666/test1.il b/src/tests/JIT/jit64/regress/vsw/336666/test1.il index 3f678604c9820c..f8c0fd4ce0bebf 100644 --- a/src/tests/JIT/jit64/regress/vsw/336666/test1.il +++ b/src/tests/JIT/jit64/regress/vsw/336666/test1.il @@ -6,6 +6,7 @@ .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) .ver 4:0:0:0 } +.assembly extern xunit.core {} @@ -20,8 +21,7 @@ .ver 2:0:3600:0 } -.assembly foo {} -.module foo.exe +.assembly 'test1_336666' {} // We inline the call chain foo()->Throw(). This causes the DFS reader @@ -30,8 +30,12 @@ +.class public auto ansi test1 { .method public hidebysig static int32 Main() cil managed { + .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( + 01 00 00 00 + ) .entrypoint ldc.i4 100 @@ -44,6 +48,7 @@ call void [System.Console]System.Console::WriteLine(string) ret } +} diff --git a/src/tests/JIT/jit64/regress/vsw/336666/test1_336666.ilproj b/src/tests/JIT/jit64/regress/vsw/336666/test1_336666.ilproj new file mode 100644 index 00000000000000..5910d012ac1933 --- /dev/null +++ b/src/tests/JIT/jit64/regress/vsw/336666/test1_336666.ilproj @@ -0,0 +1,12 @@ + + + 1 + + + PdbOnly + True + + + + + diff --git a/src/tests/JIT/jit64/regress/vsw/373472/test.cs b/src/tests/JIT/jit64/regress/vsw/373472/test.cs index a02de55c9ebfae..685d783946629a 100644 --- a/src/tests/JIT/jit64/regress/vsw/373472/test.cs +++ b/src/tests/JIT/jit64/regress/vsw/373472/test.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; // This test is used to try out very large decrementing loop strides. The strides cannot be negated if the integer // is too large. For example, a stride of 0xA0000000 cannot be turned into a signed number. For the most @@ -10,7 +11,8 @@ public class StrideTest { - public static int Main() + [Fact] + public static int TestEntryPoint() { bool pass = true; pass &= Test1(); diff --git a/src/tests/JIT/jit64/regress/vsw/373472/test.il b/src/tests/JIT/jit64/regress/vsw/373472/test.il index 8e55964cb1e6d7..8dca0055a4f0e2 100644 --- a/src/tests/JIT/jit64/regress/vsw/373472/test.il +++ b/src/tests/JIT/jit64/regress/vsw/373472/test.il @@ -17,7 +17,7 @@ .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. .ver 4:0:0:0 } -.assembly test +.assembly 'test_il' { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 ) .custom instance void [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = ( 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx diff --git a/src/tests/JIT/jit64/regress/vsw/373472/test.csproj b/src/tests/JIT/jit64/regress/vsw/373472/test_373472.csproj similarity index 74% rename from src/tests/JIT/jit64/regress/vsw/373472/test.csproj rename to src/tests/JIT/jit64/regress/vsw/373472/test_373472.csproj index 5afe2ed82dcc9b..be2eba97b4604c 100644 --- a/src/tests/JIT/jit64/regress/vsw/373472/test.csproj +++ b/src/tests/JIT/jit64/regress/vsw/373472/test_373472.csproj @@ -1,7 +1,4 @@ - - Exe - Full False diff --git a/src/tests/JIT/jit64/regress/vsw/373472/test_il.ilproj b/src/tests/JIT/jit64/regress/vsw/373472/test_il.ilproj index 9aa6e0445e962c..fee982ae174c57 100644 --- a/src/tests/JIT/jit64/regress/vsw/373472/test_il.ilproj +++ b/src/tests/JIT/jit64/regress/vsw/373472/test_il.ilproj @@ -1,7 +1,4 @@ - - Exe - Full False diff --git a/src/tests/JIT/jit64/regress/vsw/404708/test.il b/src/tests/JIT/jit64/regress/vsw/404708/test.il index e8bf2f57c9af68..9e8c2e417b0671 100644 --- a/src/tests/JIT/jit64/regress/vsw/404708/test.il +++ b/src/tests/JIT/jit64/regress/vsw/404708/test.il @@ -9,11 +9,11 @@ .ver 4:0:0:0 } -.assembly 'test' {} +.assembly 'test_404708' {} .namespace Test { - .class private auto ansi beforefieldinit Class1 extends [mscorlib]System.Object + .class public auto ansi beforefieldinit Class1 extends [mscorlib]System.Object { .method public hidebysig specialname rtspecialname instance void .ctor() cil managed diff --git a/src/tests/JIT/jit64/regress/vsw/404708/test.ilproj b/src/tests/JIT/jit64/regress/vsw/404708/test.ilproj deleted file mode 100644 index a2b2ec80f435e1..00000000000000 --- a/src/tests/JIT/jit64/regress/vsw/404708/test.ilproj +++ /dev/null @@ -1,13 +0,0 @@ - - - Exe - 1 - - - PdbOnly - True - - - - - diff --git a/src/tests/JIT/jit64/regress/vsw/404708/test_404708.ilproj b/src/tests/JIT/jit64/regress/vsw/404708/test_404708.ilproj new file mode 100644 index 00000000000000..6db1ac4e7733fe --- /dev/null +++ b/src/tests/JIT/jit64/regress/vsw/404708/test_404708.ilproj @@ -0,0 +1,12 @@ + + + 1 + + + PdbOnly + True + + + + + diff --git a/src/tests/JIT/jit64/regress/vsw/460412/test.il b/src/tests/JIT/jit64/regress/vsw/460412/test.il index 316b4c66d6e656..c7a11961df4cdf 100644 --- a/src/tests/JIT/jit64/regress/vsw/460412/test.il +++ b/src/tests/JIT/jit64/regress/vsw/460412/test.il @@ -18,7 +18,7 @@ .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. .ver 2:0:0:0 } -.assembly 'test' +.assembly 'test_460412' { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 ) .hash algorithm 0x00008004 diff --git a/src/tests/JIT/jit64/regress/vsw/460412/test.ilproj b/src/tests/JIT/jit64/regress/vsw/460412/test.ilproj deleted file mode 100644 index a2b2ec80f435e1..00000000000000 --- a/src/tests/JIT/jit64/regress/vsw/460412/test.ilproj +++ /dev/null @@ -1,13 +0,0 @@ - - - Exe - 1 - - - PdbOnly - True - - - - - diff --git a/src/tests/JIT/jit64/regress/vsw/460412/test_460412.ilproj b/src/tests/JIT/jit64/regress/vsw/460412/test_460412.ilproj new file mode 100644 index 00000000000000..6db1ac4e7733fe --- /dev/null +++ b/src/tests/JIT/jit64/regress/vsw/460412/test_460412.ilproj @@ -0,0 +1,12 @@ + + + 1 + + + PdbOnly + True + + + + + diff --git a/src/tests/JIT/jit64/regress/vsw/471729/test.cs b/src/tests/JIT/jit64/regress/vsw/471729/test.cs index 3889958b9f755a..a99219e3e036b9 100644 --- a/src/tests/JIT/jit64/regress/vsw/471729/test.cs +++ b/src/tests/JIT/jit64/regress/vsw/471729/test.cs @@ -2,8 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; -internal static class Repro +public static class Repro { private struct S { @@ -32,7 +33,8 @@ private static void Test(bool f) } } - private static int Main() + [Fact] + public static int TestEntryPoint() { int rc = 1; try diff --git a/src/tests/JIT/jit64/regress/vsw/102964/test.csproj b/src/tests/JIT/jit64/regress/vsw/471729/test_471729.csproj similarity index 88% rename from src/tests/JIT/jit64/regress/vsw/102964/test.csproj rename to src/tests/JIT/jit64/regress/vsw/471729/test_471729.csproj index 0c412f2d213711..a10728d944d6f5 100644 --- a/src/tests/JIT/jit64/regress/vsw/102964/test.csproj +++ b/src/tests/JIT/jit64/regress/vsw/471729/test_471729.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/517867/test.cs b/src/tests/JIT/jit64/regress/vsw/517867/test.cs index 912efeeaf2a972..670e4619da386d 100644 --- a/src/tests/JIT/jit64/regress/vsw/517867/test.cs +++ b/src/tests/JIT/jit64/regress/vsw/517867/test.cs @@ -1,6 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +using Xunit; public class Test_test { private int _counter = 0; @@ -43,7 +44,8 @@ public int foo() } - public static int Main() + [Fact] + public static int TestEntryPoint() { Test_test obj = new Test_test(); int val = obj.func(1); diff --git a/src/tests/JIT/jit64/regress/vsw/543229/test.csproj b/src/tests/JIT/jit64/regress/vsw/517867/test_517867.csproj similarity index 89% rename from src/tests/JIT/jit64/regress/vsw/543229/test.csproj rename to src/tests/JIT/jit64/regress/vsw/517867/test_517867.csproj index d7cbe7034b9bb2..d377cbdff470ec 100644 --- a/src/tests/JIT/jit64/regress/vsw/543229/test.csproj +++ b/src/tests/JIT/jit64/regress/vsw/517867/test_517867.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/524070/test1.cs b/src/tests/JIT/jit64/regress/vsw/524070/test1.cs index 4257dd86945b17..a81caa88ab58b9 100644 --- a/src/tests/JIT/jit64/regress/vsw/524070/test1.cs +++ b/src/tests/JIT/jit64/regress/vsw/524070/test1.cs @@ -1,6 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +using Xunit; public class Test_test1 { public int func(int type) @@ -223,7 +224,8 @@ public int func(int type) return type; } - public static int Main() + [Fact] + public static int TestEntryPoint() { Test_test1 test = new Test_test1(); if (test.func(-1) == -1) diff --git a/src/tests/JIT/jit64/regress/vsw/524070/test1.csproj b/src/tests/JIT/jit64/regress/vsw/524070/test1_524070.csproj similarity index 89% rename from src/tests/JIT/jit64/regress/vsw/524070/test1.csproj rename to src/tests/JIT/jit64/regress/vsw/524070/test1_524070.csproj index 32cd5fabb57e49..65dc88d717493c 100644 --- a/src/tests/JIT/jit64/regress/vsw/524070/test1.csproj +++ b/src/tests/JIT/jit64/regress/vsw/524070/test1_524070.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/524070/test2.cs b/src/tests/JIT/jit64/regress/vsw/524070/test2.cs index 573c0905a9775c..0c1710ce17447b 100644 --- a/src/tests/JIT/jit64/regress/vsw/524070/test2.cs +++ b/src/tests/JIT/jit64/regress/vsw/524070/test2.cs @@ -1,6 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +using Xunit; public class Test_test2 { public int func(int type) @@ -10509,7 +10510,8 @@ public int func(int type) return type; } - public static int Main() + [Fact] + public static int TestEntryPoint() { Test_test2 test = new Test_test2(); if (test.func(-1) == -1) diff --git a/src/tests/JIT/jit64/regress/vsw/524070/test2.csproj b/src/tests/JIT/jit64/regress/vsw/524070/test2_524070.csproj similarity index 89% rename from src/tests/JIT/jit64/regress/vsw/524070/test2.csproj rename to src/tests/JIT/jit64/regress/vsw/524070/test2_524070.csproj index 4c719ce2d08dd8..609c535360f3c9 100644 --- a/src/tests/JIT/jit64/regress/vsw/524070/test2.csproj +++ b/src/tests/JIT/jit64/regress/vsw/524070/test2_524070.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/528315/simple-repro.cs b/src/tests/JIT/jit64/regress/vsw/528315/simple-repro.cs index 64e439b216e971..7b45c5ebf647a2 100644 --- a/src/tests/JIT/jit64/regress/vsw/528315/simple-repro.cs +++ b/src/tests/JIT/jit64/regress/vsw/528315/simple-repro.cs @@ -1,6 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +using Xunit; internal enum NodeType { True, False, Not, Other @@ -30,9 +31,10 @@ public Node Conditional(Node condition, Node trueBranch, Node falseBranch) return falseBranch; //<- should return the original trueBranch } - private class Test_simple_repro + public class Test_simple_repro { - public static int Main() + [Fact] + public static int TestEntryPoint() { NodeFactory f = new NodeFactory(); diff --git a/src/tests/JIT/jit64/regress/vsw/528315/simple-repro.csproj b/src/tests/JIT/jit64/regress/vsw/528315/simple-repro.csproj index 219ac8407b7717..38fe99091a13b2 100644 --- a/src/tests/JIT/jit64/regress/vsw/528315/simple-repro.csproj +++ b/src/tests/JIT/jit64/regress/vsw/528315/simple-repro.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/534486/exchange.il b/src/tests/JIT/jit64/regress/vsw/534486/exchange.il index 85198a691a5002..c117a5e511eef6 100644 --- a/src/tests/JIT/jit64/regress/vsw/534486/exchange.il +++ b/src/tests/JIT/jit64/regress/vsw/534486/exchange.il @@ -2,13 +2,14 @@ // The .NET Foundation licenses this file to you under the MIT license. .assembly extern mscorlib { } +.assembly extern xunit.core {} .assembly extern System.Console { .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) .ver 4:0:0:0 } -.assembly Stack +.assembly 'exchange' { } @@ -17,8 +18,12 @@ ret } +.class public auto ansi exchange { .method public static int32 Main() { + .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( + 01 00 00 00 + ) .entrypoint .locals init ( @@ -50,5 +55,6 @@ ldc.i4 100 ret } +} diff --git a/src/tests/JIT/jit64/regress/vsw/534486/exchange.ilproj b/src/tests/JIT/jit64/regress/vsw/534486/exchange.ilproj index 73863182693b42..bf9a1638f76017 100644 --- a/src/tests/JIT/jit64/regress/vsw/534486/exchange.ilproj +++ b/src/tests/JIT/jit64/regress/vsw/534486/exchange.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/538615/test1.cs b/src/tests/JIT/jit64/regress/vsw/538615/test1.cs index d963329ac30329..30ad0b61960232 100644 --- a/src/tests/JIT/jit64/regress/vsw/538615/test1.cs +++ b/src/tests/JIT/jit64/regress/vsw/538615/test1.cs @@ -22,10 +22,16 @@ //////////////////////////////////////////////////////////////// using System; +using System.Runtime.CompilerServices; +using Xunit; public class Test { - public static int Main(string[] args) + [Fact] + public static int TestEntryPoint() => Run(new string[0]); + + [MethodImpl(MethodImplOptions.NoInlining)] + public static int Run(string[] args) { int retCode = 100; @@ -42,7 +48,7 @@ public static int Main(string[] args) return retCode; } - public static void Check(int i) + internal static void Check(int i) { int nav = i; int[] av = new int[8]; diff --git a/src/tests/JIT/jit64/regress/vsw/541067/test1.csproj b/src/tests/JIT/jit64/regress/vsw/538615/test1_538615.csproj similarity index 89% rename from src/tests/JIT/jit64/regress/vsw/541067/test1.csproj rename to src/tests/JIT/jit64/regress/vsw/538615/test1_538615.csproj index 32cd5fabb57e49..65dc88d717493c 100644 --- a/src/tests/JIT/jit64/regress/vsw/541067/test1.csproj +++ b/src/tests/JIT/jit64/regress/vsw/538615/test1_538615.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/539509/test1.cs b/src/tests/JIT/jit64/regress/vsw/539509/test1.cs index ce78d331ab1f9b..f66250eba152d3 100644 --- a/src/tests/JIT/jit64/regress/vsw/539509/test1.cs +++ b/src/tests/JIT/jit64/regress/vsw/539509/test1.cs @@ -35,6 +35,7 @@ using System; using System.Collections; using System.Runtime.InteropServices; +using Xunit; class ApplicationException : Exception { } @@ -615,7 +616,8 @@ public void Method1(ref uint[][][,] param1, ref String[][] param2, ref char[,] public class App { - private static int Main() + [Fact] + public static int TestEntryPoint() { try { diff --git a/src/tests/JIT/jit64/regress/vsw/539509/test1.csproj b/src/tests/JIT/jit64/regress/vsw/539509/test1_539509.csproj similarity index 74% rename from src/tests/JIT/jit64/regress/vsw/539509/test1.csproj rename to src/tests/JIT/jit64/regress/vsw/539509/test1_539509.csproj index 96aec5e92f575d..ab0270d2e56a82 100644 --- a/src/tests/JIT/jit64/regress/vsw/539509/test1.csproj +++ b/src/tests/JIT/jit64/regress/vsw/539509/test1_539509.csproj @@ -1,7 +1,4 @@ - - Exe - Full False diff --git a/src/tests/JIT/jit64/regress/vsw/541067/test1.cs b/src/tests/JIT/jit64/regress/vsw/541067/test1.cs index 07a96743919bed..ff70fda1d51226 100644 --- a/src/tests/JIT/jit64/regress/vsw/541067/test1.cs +++ b/src/tests/JIT/jit64/regress/vsw/541067/test1.cs @@ -26,12 +26,13 @@ //////////////////////////////////////////////////////////////// using System; +using Xunit; namespace AutoGen { public class Program { - static public void Test() + internal static void Test() { int[] a = new int[1]; a[0] = 0; @@ -53,7 +54,8 @@ static public void Test() } - public static int Main() + [Fact] + public static int TestEntryPoint() { try { diff --git a/src/tests/JIT/jit64/regress/vsw/538615/test1.csproj b/src/tests/JIT/jit64/regress/vsw/541067/test1_541067.csproj similarity index 89% rename from src/tests/JIT/jit64/regress/vsw/538615/test1.csproj rename to src/tests/JIT/jit64/regress/vsw/541067/test1_541067.csproj index 32cd5fabb57e49..65dc88d717493c 100644 --- a/src/tests/JIT/jit64/regress/vsw/538615/test1.csproj +++ b/src/tests/JIT/jit64/regress/vsw/541067/test1_541067.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/543229/test.cs b/src/tests/JIT/jit64/regress/vsw/543229/test.cs index b21973ab0515fb..f6a781f8020f46 100644 --- a/src/tests/JIT/jit64/regress/vsw/543229/test.cs +++ b/src/tests/JIT/jit64/regress/vsw/543229/test.cs @@ -3,6 +3,7 @@ using System; using AutoGen; +using Xunit; // We were receiving an assert on IA64 because the code we were using to determine if a range // check statically fails was invalid. @@ -288,7 +289,8 @@ public virtual int Run() } return 100; } - public static int Main() + [Fact] + public static int TestEntryPoint() { Program prog = new Program(); int rc = prog.Run(); diff --git a/src/tests/JIT/jit64/regress/vsw/517867/test.csproj b/src/tests/JIT/jit64/regress/vsw/543229/test_543229.csproj similarity index 89% rename from src/tests/JIT/jit64/regress/vsw/517867/test.csproj rename to src/tests/JIT/jit64/regress/vsw/543229/test_543229.csproj index d7cbe7034b9bb2..d377cbdff470ec 100644 --- a/src/tests/JIT/jit64/regress/vsw/517867/test.csproj +++ b/src/tests/JIT/jit64/regress/vsw/543229/test_543229.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/543645/test.il b/src/tests/JIT/jit64/regress/vsw/543645/test.il index 1489f3b7a99086..202fec8dd852e3 100644 --- a/src/tests/JIT/jit64/regress/vsw/543645/test.il +++ b/src/tests/JIT/jit64/regress/vsw/543645/test.il @@ -15,7 +15,7 @@ { .ver 0:0:0:0 } -.assembly 'test' +.assembly 'test_543645' { .ver 0:0:0:0 } @@ -27,11 +27,10 @@ -.class private auto ansi beforefieldinit Overflow +.class public auto ansi beforefieldinit Overflow extends [mscorlib]System.Object { - .method private hidebysig static int32 - Main() cil managed + .method public hidebysig static int32 Main() cil managed { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/regress/vsw/543645/test.ilproj b/src/tests/JIT/jit64/regress/vsw/543645/test_543645.ilproj similarity index 75% rename from src/tests/JIT/jit64/regress/vsw/543645/test.ilproj rename to src/tests/JIT/jit64/regress/vsw/543645/test_543645.ilproj index d41d0a83c13fd0..9982120d6daa1f 100644 --- a/src/tests/JIT/jit64/regress/vsw/543645/test.ilproj +++ b/src/tests/JIT/jit64/regress/vsw/543645/test_543645.ilproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly True diff --git a/src/tests/JIT/jit64/regress/vsw/549880/test.cs b/src/tests/JIT/jit64/regress/vsw/549880/test.cs index 5d49dc7356ff66..0aa6f0652d7c40 100644 --- a/src/tests/JIT/jit64/regress/vsw/549880/test.cs +++ b/src/tests/JIT/jit64/regress/vsw/549880/test.cs @@ -2,12 +2,14 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; namespace RNG { - internal class Test + public class Test { - private static int Main() + [Fact] + public static int TestEntryPoint() { return foo(10, 20, 30, 40, 50); } diff --git a/src/tests/JIT/jit64/regress/vsw/329169/test.csproj b/src/tests/JIT/jit64/regress/vsw/549880/test_549880.csproj similarity index 88% rename from src/tests/JIT/jit64/regress/vsw/329169/test.csproj rename to src/tests/JIT/jit64/regress/vsw/549880/test_549880.csproj index 0c412f2d213711..a10728d944d6f5 100644 --- a/src/tests/JIT/jit64/regress/vsw/329169/test.csproj +++ b/src/tests/JIT/jit64/regress/vsw/549880/test_549880.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/552940/test.il b/src/tests/JIT/jit64/regress/vsw/552940/test.il index 8136206597938e..328ffbe93949f9 100644 --- a/src/tests/JIT/jit64/regress/vsw/552940/test.il +++ b/src/tests/JIT/jit64/regress/vsw/552940/test.il @@ -9,11 +9,11 @@ .assembly extern xunit.core {} .assembly extern mscorlib {} .assembly extern common {} -.assembly test {} +.assembly 'test_552940' {} -.class private auto ansi beforefieldinit Program +.class public auto ansi beforefieldinit Program extends [mscorlib]System.Object { .method public hidebysig static int32 Test(int32 count) cil managed @@ -74,8 +74,7 @@ IL_0023: ret } - .method private hidebysig static int32 - Main() cil managed + .method public hidebysig static int32 Main() cil managed { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/regress/vsw/552940/test.ilproj b/src/tests/JIT/jit64/regress/vsw/552940/test.ilproj deleted file mode 100644 index a2b2ec80f435e1..00000000000000 --- a/src/tests/JIT/jit64/regress/vsw/552940/test.ilproj +++ /dev/null @@ -1,13 +0,0 @@ - - - Exe - 1 - - - PdbOnly - True - - - - - diff --git a/src/tests/JIT/jit64/regress/vsw/552940/test_552940.ilproj b/src/tests/JIT/jit64/regress/vsw/552940/test_552940.ilproj new file mode 100644 index 00000000000000..6db1ac4e7733fe --- /dev/null +++ b/src/tests/JIT/jit64/regress/vsw/552940/test_552940.ilproj @@ -0,0 +1,12 @@ + + + 1 + + + PdbOnly + True + + + + + diff --git a/src/tests/JIT/jit64/regress/vsw/560402/opadd.cs b/src/tests/JIT/jit64/regress/vsw/560402/opadd.cs index 4f037e6f6283ad..5104e8543cbcc4 100644 --- a/src/tests/JIT/jit64/regress/vsw/560402/opadd.cs +++ b/src/tests/JIT/jit64/regress/vsw/560402/opadd.cs @@ -2,8 +2,10 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using System.Runtime.CompilerServices; +using Xunit; -internal unsafe class Test +public unsafe class Test { private static uint GetIndex(int v) { @@ -22,7 +24,11 @@ private static uint GetIndex(int v) return i; } - public static int Main(string[] args) + [Fact] + public static int TestEntryPoint() => Run(new string[0]); + + [MethodImpl(MethodImplOptions.NoInlining)] + public static int Run(string[] args) { byte* table = stackalloc byte[257]; diff --git a/src/tests/JIT/jit64/regress/vsw/560402/opadd.csproj b/src/tests/JIT/jit64/regress/vsw/560402/opadd.csproj index e7c7ec8648b55d..e739876b9d2ee0 100644 --- a/src/tests/JIT/jit64/regress/vsw/560402/opadd.csproj +++ b/src/tests/JIT/jit64/regress/vsw/560402/opadd.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/560402/opmul.cs b/src/tests/JIT/jit64/regress/vsw/560402/opmul.cs index a7f5864bbc22d0..805530c4c3afce 100644 --- a/src/tests/JIT/jit64/regress/vsw/560402/opmul.cs +++ b/src/tests/JIT/jit64/regress/vsw/560402/opmul.cs @@ -2,10 +2,16 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using System.Runtime.CompilerServices; +using Xunit; -internal unsafe class Test +public unsafe class Test { - public static int Main(string[] args) + [Fact] + public static int TestEntryPoint() => Run(new string[0]); + + [MethodImpl(MethodImplOptions.NoInlining)] + public static int Run(string[] args) { byte* table = stackalloc byte[257]; diff --git a/src/tests/JIT/jit64/regress/vsw/560402/opmul.csproj b/src/tests/JIT/jit64/regress/vsw/560402/opmul.csproj index bc2f4df5d2703f..22840d9c1d0bc2 100644 --- a/src/tests/JIT/jit64/regress/vsw/560402/opmul.csproj +++ b/src/tests/JIT/jit64/regress/vsw/560402/opmul.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/560402/opsub.cs b/src/tests/JIT/jit64/regress/vsw/560402/opsub.cs index 3e205efe9d5d82..8e0e2dff9a9ccc 100644 --- a/src/tests/JIT/jit64/regress/vsw/560402/opsub.cs +++ b/src/tests/JIT/jit64/regress/vsw/560402/opsub.cs @@ -2,8 +2,10 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using System.Runtime.CompilerServices; +using Xunit; -internal unsafe class Test +public unsafe class Test { private static uint GetIndex(int v) { @@ -22,7 +24,11 @@ private static uint GetIndex(int v) return i; } - public static int Main(string[] args) + [Fact] + public static int TestEntryPoint() => Run(new string[0]); + + [MethodImpl(MethodImplOptions.NoInlining)] + public static int Run(string[] args) { byte* table = stackalloc byte[257]; diff --git a/src/tests/JIT/jit64/regress/vsw/560402/opsub.csproj b/src/tests/JIT/jit64/regress/vsw/560402/opsub.csproj index 80d9b0f2ad32ad..e731ea4fda9391 100644 --- a/src/tests/JIT/jit64/regress/vsw/560402/opsub.csproj +++ b/src/tests/JIT/jit64/regress/vsw/560402/opsub.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/568666/test.csproj b/src/tests/JIT/jit64/regress/vsw/568666/test_568666.csproj similarity index 95% rename from src/tests/JIT/jit64/regress/vsw/568666/test.csproj rename to src/tests/JIT/jit64/regress/vsw/568666/test_568666.csproj index fab84f019e9327..973cb27bd4610b 100644 --- a/src/tests/JIT/jit64/regress/vsw/568666/test.csproj +++ b/src/tests/JIT/jit64/regress/vsw/568666/test_568666.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/568666/use.cs b/src/tests/JIT/jit64/regress/vsw/568666/use.cs index 71f130a90caea7..f1232ab9ff7291 100644 --- a/src/tests/JIT/jit64/regress/vsw/568666/use.cs +++ b/src/tests/JIT/jit64/regress/vsw/568666/use.cs @@ -5,10 +5,12 @@ extern alias Library2; using System; +using Xunit; -internal static class Use +public static class Use { - private static int Main() + [Fact] + public static int TestEntryPoint() { int result = 100; Console.WriteLine(Library1.Library.Name); diff --git a/src/tests/JIT/jit64/regress/vsw/601425/stret.cs b/src/tests/JIT/jit64/regress/vsw/601425/stret.cs index 60a8e11896ce8f..7fa6975c3d9aa0 100644 --- a/src/tests/JIT/jit64/regress/vsw/601425/stret.cs +++ b/src/tests/JIT/jit64/regress/vsw/601425/stret.cs @@ -3,6 +3,7 @@ using System; using System.Runtime.InteropServices; +using Xunit; //force struct size=22 otherwise with padding struct will be 24 and never hit bug [StructLayout(LayoutKind.Sequential, Size = 22)] @@ -57,7 +58,8 @@ public static VType InitVType(long v1, long v2, int v3, short v4) return vt; } - public static int Main() + [Fact] + public static int TestEntryPoint() { long v1 = 4444; long v2 = 2222; diff --git a/src/tests/JIT/jit64/regress/vsw/601425/stret.csproj b/src/tests/JIT/jit64/regress/vsw/601425/stret.csproj index adfd9f14918b52..97b17ef5f39e01 100644 --- a/src/tests/JIT/jit64/regress/vsw/601425/stret.csproj +++ b/src/tests/JIT/jit64/regress/vsw/601425/stret.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/606733/Bug606733.ilproj b/src/tests/JIT/jit64/regress/vsw/606733/Bug606733.ilproj index 87c65039326bd4..bfd071dc56026c 100644 --- a/src/tests/JIT/jit64/regress/vsw/606733/Bug606733.ilproj +++ b/src/tests/JIT/jit64/regress/vsw/606733/Bug606733.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/607586/607586.il b/src/tests/JIT/jit64/regress/vsw/607586/607586.il index f7afcc689cb2db..98608f01c4b5cd 100644 --- a/src/tests/JIT/jit64/regress/vsw/607586/607586.il +++ b/src/tests/JIT/jit64/regress/vsw/607586/607586.il @@ -29,7 +29,7 @@ .class public auto ansi beforefieldinit Class extends [mscorlib]System.Object { - .method private hidebysig static int32 Main() cil managed + .method public hidebysig static int32 Main() cil managed { .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = ( 01 00 00 00 diff --git a/src/tests/JIT/jit64/regress/vsw/607586/607586.ilproj b/src/tests/JIT/jit64/regress/vsw/607586/607586.ilproj index 744f920332c041..21624cb0a8fd9d 100644 --- a/src/tests/JIT/jit64/regress/vsw/607586/607586.ilproj +++ b/src/tests/JIT/jit64/regress/vsw/607586/607586.ilproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/regress/vsw/610378/BigFrame.cs b/src/tests/JIT/jit64/regress/vsw/610378/BigFrame.cs index f189e685b49b4e..c92594bbe2cbd2 100644 --- a/src/tests/JIT/jit64/regress/vsw/610378/BigFrame.cs +++ b/src/tests/JIT/jit64/regress/vsw/610378/BigFrame.cs @@ -14,6 +14,7 @@ using System; using System.Runtime.InteropServices; using System.Text; +using Xunit; namespace BigFrame { @@ -94,7 +95,8 @@ public static int SmallFrameSize(float farg1, float farg2) iret = 666; return iret; } - public static int Main() + [Fact] + public static int TestEntryPoint() { int iret = 100; float f1 = 1.1F; diff --git a/src/tests/JIT/jit64/regress/vsw/610378/vsw610378.csproj b/src/tests/JIT/jit64/regress/vsw/610378/vsw610378.csproj index cbd31255c93c44..50e2812cc17195 100644 --- a/src/tests/JIT/jit64/regress/vsw/610378/vsw610378.csproj +++ b/src/tests/JIT/jit64/regress/vsw/610378/vsw610378.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow01.cs b/src/tests/JIT/jit64/rtchecks/overflow/overflow01.cs index 769e77cfbb27b7..8017389c17ccf3 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow01.cs +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow01.cs @@ -2,8 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; -internal class OVFTest +public class OVFTest { static public volatile bool rtv; @@ -148,7 +149,8 @@ private static ulong Test_ulong(ulong a) } } - private static int Main() + [Fact] + public static int TestEntryPoint() { #if OP_DIV const string op = "div.ovf"; diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow01_add.csproj b/src/tests/JIT/jit64/rtchecks/overflow/overflow01_add.csproj index 13abc20dc11220..a25776abad61fb 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow01_add.csproj +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow01_add.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow01_div.csproj b/src/tests/JIT/jit64/rtchecks/overflow/overflow01_div.csproj index d98ff356c7edbe..7dd331ceff57f0 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow01_div.csproj +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow01_div.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow01_mul.csproj b/src/tests/JIT/jit64/rtchecks/overflow/overflow01_mul.csproj index 8c8b60b9ef667b..d3a8c957b82546 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow01_mul.csproj +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow01_mul.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow01_sub.csproj b/src/tests/JIT/jit64/rtchecks/overflow/overflow01_sub.csproj index d82f88ffc5a66f..bc1efe5badc0bb 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow01_sub.csproj +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow01_sub.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow02.cs b/src/tests/JIT/jit64/rtchecks/overflow/overflow02.cs index b77e24a582ee46..5cdf52f06fd0e5 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow02.cs +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow02.cs @@ -2,8 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; -internal class OVFTest +public class OVFTest { static public volatile bool rtv; @@ -156,7 +157,8 @@ private static ulong Test_ulong() } } - private static int Main() + [Fact] + public static int TestEntryPoint() { #if OP_DIV const string op = "div.ovf"; diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow02_add.csproj b/src/tests/JIT/jit64/rtchecks/overflow/overflow02_add.csproj index e2ec4f9099e146..b4fb1489434d23 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow02_add.csproj +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow02_add.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow02_div.csproj b/src/tests/JIT/jit64/rtchecks/overflow/overflow02_div.csproj index 38015d0ab62c6c..9227a0e8fbc0ca 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow02_div.csproj +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow02_div.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow02_mul.csproj b/src/tests/JIT/jit64/rtchecks/overflow/overflow02_mul.csproj index 314b31bc3a8fc0..250324e9729b04 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow02_mul.csproj +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow02_mul.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow02_sub.csproj b/src/tests/JIT/jit64/rtchecks/overflow/overflow02_sub.csproj index 9dcf44a6aa0da3..79af346f86754d 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow02_sub.csproj +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow02_sub.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow03.cs b/src/tests/JIT/jit64/rtchecks/overflow/overflow03.cs index 5bcabdb1d8b0e5..9e280491b91269 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow03.cs +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow03.cs @@ -2,8 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; -internal class OVFTest +public class OVFTest { static public volatile bool rtv; @@ -324,7 +325,8 @@ private static ulong Test_ulong(ulong a) } } - private static int Main() + [Fact] + public static int TestEntryPoint() { #if OP_DIV const string op = "div.ovf"; diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow03_add.csproj b/src/tests/JIT/jit64/rtchecks/overflow/overflow03_add.csproj index 3a6bd2385cf599..086e105de0a31a 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow03_add.csproj +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow03_add.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow03_div.csproj b/src/tests/JIT/jit64/rtchecks/overflow/overflow03_div.csproj index eccc4fcf4461a4..924a1fd8294efe 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow03_div.csproj +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow03_div.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow03_mul.csproj b/src/tests/JIT/jit64/rtchecks/overflow/overflow03_mul.csproj index 16a8d95e2c212d..696aae70198c34 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow03_mul.csproj +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow03_mul.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow03_sub.csproj b/src/tests/JIT/jit64/rtchecks/overflow/overflow03_sub.csproj index 6554b2b56278b4..38c91474b18a63 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow03_sub.csproj +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow03_sub.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow04.cs b/src/tests/JIT/jit64/rtchecks/overflow/overflow04.cs index b4c968f953864a..8cff6829de8e61 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow04.cs +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow04.cs @@ -2,8 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; +using Xunit; -internal class OVFTest +public class OVFTest { static public volatile bool rtv; @@ -141,7 +142,8 @@ private static ulong Test_ulong(ulong a) } - private static int Main() + [Fact] + public static int TestEntryPoint() { #if OP_DIV const string op = "div.ovf"; diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow04_add.csproj b/src/tests/JIT/jit64/rtchecks/overflow/overflow04_add.csproj index 92a71101fa6da8..c9a46847a75728 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow04_add.csproj +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow04_add.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow04_div.csproj b/src/tests/JIT/jit64/rtchecks/overflow/overflow04_div.csproj index 6892331c8c9360..fb21c73f8454ea 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow04_div.csproj +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow04_div.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow04_mul.csproj b/src/tests/JIT/jit64/rtchecks/overflow/overflow04_mul.csproj index 6cabb620a84749..32042cad7ceb77 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow04_mul.csproj +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow04_mul.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/rtchecks/overflow/overflow04_sub.csproj b/src/tests/JIT/jit64/rtchecks/overflow/overflow04_sub.csproj index 32d613c2309a02..2d6d4f6a19b4ab 100644 --- a/src/tests/JIT/jit64/rtchecks/overflow/overflow04_sub.csproj +++ b/src/tests/JIT/jit64/rtchecks/overflow/overflow04_sub.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox001.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox001.cs index c92b6aae9f9cc0..67d1fb954b24e8 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox001.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox001.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((char?)o, Helper.Create(default(char))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { char? s = Helper.Create(default(char)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox001.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox001.csproj index 571ee9288448bb..5a3058f1d8add0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox001.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox001.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox002.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox002.cs index 1474b8104ac823..ede0c0869850f3 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox002.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox002.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((bool?)o, Helper.Create(default(bool))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { bool? s = Helper.Create(default(bool)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox002.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox002.csproj index 04713c0f936aab..5f5b565e74ab6c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox002.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox002.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox003.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox003.cs index 8b87775c8a71d6..1efcbe9c6149e1 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox003.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox003.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((byte?)o, Helper.Create(default(byte))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { byte? s = Helper.Create(default(byte)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox003.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox003.csproj index b155b98a3368b6..738949a6677e68 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox003.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox003.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox004.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox004.cs index 5fd553b3549a48..93eb1270ae528c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox004.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox004.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((sbyte?)o, Helper.Create(default(sbyte))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { sbyte? s = Helper.Create(default(sbyte)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox004.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox004.csproj index 6a9ab43674d495..1f2c8bec81e29c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox004.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox004.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox005.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox005.cs index c732c9e1098c38..8fe00b04091c69 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox005.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox005.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((short?)o, Helper.Create(default(short))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { short? s = Helper.Create(default(short)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox005.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox005.csproj index 4b9b3831096e25..d426069b8dacc2 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox005.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox005.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox006.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox006.cs index 6b72c872c8e9c5..53455db7c629cc 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox006.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox006.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ushort?)o, Helper.Create(default(ushort))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ushort? s = Helper.Create(default(ushort)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox006.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox006.csproj index dd88d62844a170..bd87224322ea31 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox006.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox006.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox007.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox007.cs index 75514d865d7268..462dcdb90fb048 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox007.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox007.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((int?)o, Helper.Create(default(int))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { int? s = Helper.Create(default(int)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox007.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox007.csproj index 0af8c9fb9d63a3..67d8f6f18a909a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox007.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox007.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox008.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox008.cs index a898634b7c4f13..5d9dce7e7747da 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox008.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox008.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((uint?)o, Helper.Create(default(uint))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { uint? s = Helper.Create(default(uint)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox008.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox008.csproj index e16f2345f222fc..7ce93e40e74f25 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox008.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox008.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox009.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox009.cs index b7a1163500d58b..e62b7ff44b1b23 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox009.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox009.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((long?)o, Helper.Create(default(long))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { long? s = Helper.Create(default(long)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox009.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox009.csproj index e57b9e0e181479..5d89bdb7ccf8be 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox009.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox009.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox010.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox010.cs index 2a85d58ec45b36..8f2cc2fc9ad187 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox010.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox010.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ulong?)o, Helper.Create(default(ulong))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ulong? s = Helper.Create(default(ulong)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox010.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox010.csproj index b8263a2a59118f..398c6d42d7a2ac 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox010.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox010.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox011.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox011.cs index baf7c2c0701b66..41a21f391d6b0c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox011.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox011.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((float?)o, Helper.Create(default(float))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { float? s = Helper.Create(default(float)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox011.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox011.csproj index 4eddab37eace61..ef5ed028f64bc9 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox011.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox011.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox012.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox012.cs index bcc12bd4fa47a4..0ddcee4045583c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox012.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox012.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((double?)o, Helper.Create(default(double))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { double? s = Helper.Create(default(double)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox012.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox012.csproj index 82da60b8a7cc1f..699ccce9f2873d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox012.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox012.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox013.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox013.cs index f8b94aa10ccc40..9e0cbc3d68632f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox013.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox013.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((decimal?)o, Helper.Create(default(decimal))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { decimal? s = Helper.Create(default(decimal)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox013.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox013.csproj index 16c26a7ecd391a..2f97c38c93db31 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox013.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox013.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox014.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox014.cs index bdf8cc816f4b7a..2f61145b5d7b12 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox014.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox014.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((IntPtr?)o, Helper.Create(default(IntPtr))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { IntPtr? s = Helper.Create(default(IntPtr)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox014.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox014.csproj index af8394e07c069b..43dee74967f07c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox014.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox014.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox015.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox015.cs index 8ff8c5d33e8217..7eb12245aa89d6 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox015.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox015.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((UIntPtr?)o, Helper.Create(default(UIntPtr))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { UIntPtr? s = Helper.Create(default(UIntPtr)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox015.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox015.csproj index 76c9b14eb2421d..b0fb28b092bbc0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox015.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox015.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox016.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox016.cs index 361bc8717586de..8e53c16f858b71 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox016.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox016.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((Guid?)o, Helper.Create(default(Guid))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { Guid? s = Helper.Create(default(Guid)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox016.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox016.csproj index f4f61b94eb919e..23d6c7e6133db5 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox016.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox016.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox017.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox017.cs index 66563c286e1c5b..e05edd7d04abdf 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox017.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox017.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((GCHandle?)o, Helper.Create(default(GCHandle))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { GCHandle? s = Helper.Create(default(GCHandle)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox017.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox017.csproj index 02b4134d5d7e91..473cf6671e872b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox017.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox017.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox018.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox018.cs index 0314ac46822f6d..3c8ec25ec42f0e 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox018.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox018.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ByteE?)o, Helper.Create(default(ByteE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ByteE? s = Helper.Create(default(ByteE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox018.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox018.csproj index 6485d2991c924f..2eca272e8774e3 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox018.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox018.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox019.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox019.cs index 46199306538a41..6f5fa9b592ecd1 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox019.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox019.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((IntE?)o, Helper.Create(default(IntE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { IntE? s = Helper.Create(default(IntE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox019.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox019.csproj index 3313d3fc7b097e..17f3afca724dfb 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox019.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox019.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox020.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox020.cs index ed845c68de0040..4024dc196f1514 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox020.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox020.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((LongE?)o, Helper.Create(default(LongE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { LongE? s = Helper.Create(default(LongE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox020.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox020.csproj index 6d346f9e53bcb4..23433abcb1165d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox020.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox020.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox021.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox021.cs index 22b591e8c0c475..cf519051ea8ec6 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox021.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox021.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((EmptyStruct?)o, Helper.Create(default(EmptyStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { EmptyStruct? s = Helper.Create(default(EmptyStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox021.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox021.csproj index 3a71303a331098..cf7f1c00bcde13 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox021.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox021.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox022.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox022.cs index ccb04645728d9d..730c0a0fb83386 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox022.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox022.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NotEmptyStruct?)o, Helper.Create(default(NotEmptyStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStruct? s = Helper.Create(default(NotEmptyStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox022.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox022.csproj index ae842c2b7a56c2..21b5d5945d3487 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox022.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox022.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox023.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox023.cs index d81556bd72363a..344992ea2419e4 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox023.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox023.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NotEmptyStructQ?)o, Helper.Create(default(NotEmptyStructQ))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructQ? s = Helper.Create(default(NotEmptyStructQ)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox023.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox023.csproj index 2ddbf1d1330eb3..718dbf6bba5096 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox023.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox023.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox024.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox024.cs index 3b983bbed7d91a..e04ad596633e11 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox024.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox024.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NotEmptyStructA?)o, Helper.Create(default(NotEmptyStructA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructA? s = Helper.Create(default(NotEmptyStructA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox024.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox024.csproj index 879aadff580660..f30096b28270f9 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox024.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox024.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox025.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox025.cs index 9a036722d904cc..908e2737686fa0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox025.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox025.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NotEmptyStructQA?)o, Helper.Create(default(NotEmptyStructQA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructQA? s = Helper.Create(default(NotEmptyStructQA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox025.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox025.csproj index 575f59084e293f..09c7534738bee9 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox025.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox025.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox026.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox026.cs index 197f496392029a..bd21082d73c2ba 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox026.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox026.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((EmptyStructGen?)o, Helper.Create(default(EmptyStructGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { EmptyStructGen? s = Helper.Create(default(EmptyStructGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox026.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox026.csproj index e7bf3140cb4b76..0755f6ebb123a7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox026.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox026.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox027.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox027.cs index 9bcb5b54bf9bb5..0301dee5585eb3 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox027.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox027.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NotEmptyStructGen?)o, Helper.Create(default(NotEmptyStructGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructGen? s = Helper.Create(default(NotEmptyStructGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox027.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox027.csproj index f44a476c848af8..a393d3d7d1182b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox027.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox027.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox028.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox028.cs index 50bce1e1ccf914..b8f005ae26d66b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox028.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox028.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NotEmptyStructConstrainedGen?)o, Helper.Create(default(NotEmptyStructConstrainedGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGen? s = Helper.Create(default(NotEmptyStructConstrainedGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox028.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox028.csproj index 4e92f5d6cd8e37..425c8db11c0f5e 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox028.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox028.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox029.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox029.cs index a0ccda730f8516..5dfd7bfa7d8e01 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox029.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox029.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NotEmptyStructConstrainedGenA?)o, Helper.Create(default(NotEmptyStructConstrainedGenA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenA? s = Helper.Create(default(NotEmptyStructConstrainedGenA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox029.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox029.csproj index 00cee7a45ed18a..cebc5e0c4b3f3f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox029.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox029.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox030.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox030.cs index bd3e2815ce2128..6a017c5f49ae85 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox030.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox030.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NotEmptyStructConstrainedGenQ?)o, Helper.Create(default(NotEmptyStructConstrainedGenQ))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenQ? s = Helper.Create(default(NotEmptyStructConstrainedGenQ)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox030.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox030.csproj index dd669ed2c4e1ea..0a243a54dcaf8d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox030.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox030.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox031.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox031.cs index d32e3dd65727b3..9879c75f7cebf2 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox031.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox031.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NotEmptyStructConstrainedGenQA?)o, Helper.Create(default(NotEmptyStructConstrainedGenQA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenQA? s = Helper.Create(default(NotEmptyStructConstrainedGenQA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox031.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox031.csproj index 497cc045ffffeb..22ac65e491f370 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox031.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox031.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox032.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox032.cs index 815dbd293622bd..0abc9809e2fd02 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox032.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox032.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NestedStruct?)o, Helper.Create(default(NestedStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NestedStruct? s = Helper.Create(default(NestedStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox032.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox032.csproj index a904f483a9f051..17a7e59346178d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox032.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox032.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox033.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox033.cs index 89887c865b699e..0fed998fec0c34 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox033.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox033.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NestedStructGen?)o, Helper.Create(default(NestedStructGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NestedStructGen? s = Helper.Create(default(NestedStructGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox033.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox033.csproj index d20257a7e0ac2c..37aec9a164fa9d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox033.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox033.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox034.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox034.cs index ff0fd756a96ee0..1d7be09dcf3daf 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox034.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox034.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ExplicitFieldOffsetStruct?)o, Helper.Create(default(ExplicitFieldOffsetStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ExplicitFieldOffsetStruct? s = Helper.Create(default(ExplicitFieldOffsetStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox034.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox034.csproj index 764b5f462679ae..12221096becd43 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox034.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox034.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox037.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox037.cs index f967c05114a01b..e780a39ce04e9e 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox037.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox037.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((MarshalAsStruct?)o, Helper.Create(default(MarshalAsStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { MarshalAsStruct? s = Helper.Create(default(MarshalAsStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox037.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox037.csproj index 2ed3b6eb89e884..5b23a8bf475ed6 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox037.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox037.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox038.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox038.cs index 05ab564e510eaa..228507864061a1 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox038.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox038.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ImplementOneInterface?)o, Helper.Create(default(ImplementOneInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementOneInterface? s = Helper.Create(default(ImplementOneInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox038.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox038.csproj index 2832ef7f0b90c5..43309bb834d7e0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox038.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox038.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox039.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox039.cs index f19275a967181b..0c32c43a00d1e3 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox039.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox039.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ImplementTwoInterface?)o, Helper.Create(default(ImplementTwoInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementTwoInterface? s = Helper.Create(default(ImplementTwoInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox039.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox039.csproj index a4bfb6ebc1a968..b2349400224b02 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox039.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox039.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox040.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox040.cs index 3506f1dd8ce444..6c6f93104ca1a7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox040.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox040.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ImplementOneInterfaceGen?)o, Helper.Create(default(ImplementOneInterfaceGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementOneInterfaceGen? s = Helper.Create(default(ImplementOneInterfaceGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox040.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox040.csproj index c5d41d51f2a114..00674929934220 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox040.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox040.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox041.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox041.cs index ec262cb1860c5f..f60b4daa25a113 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox041.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox041.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ImplementTwoInterfaceGen?)o, Helper.Create(default(ImplementTwoInterfaceGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementTwoInterfaceGen? s = Helper.Create(default(ImplementTwoInterfaceGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox041.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox041.csproj index 11dd96d605dbe4..4eedecc129b9ef 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox041.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox041.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox042.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox042.cs index 44f28aac4c82a8..db6b92fbb931bb 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox042.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox042.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ImplementAllInterface?)o, Helper.Create(default(ImplementAllInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementAllInterface? s = Helper.Create(default(ImplementAllInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox042.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox042.csproj index 49e3c5ef42f6c2..071069bb694215 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox042.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox042.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox043.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox043.cs index d00dd8b15914cf..c393f0c3c4a357 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox043.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox043.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((WithMultipleGCHandleStruct?)o, Helper.Create(default(WithMultipleGCHandleStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { WithMultipleGCHandleStruct? s = Helper.Create(default(WithMultipleGCHandleStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox043.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox043.csproj index 8434ff9580f4cd..70a99307375cf5 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox043.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox043.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox044.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox044.cs index eef5fef9804131..782247e254d613 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox044.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox044.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((WithOnlyFXTypeStruct?)o, Helper.Create(default(WithOnlyFXTypeStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { WithOnlyFXTypeStruct? s = Helper.Create(default(WithOnlyFXTypeStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox044.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox044.csproj index bc4c26b9110783..c663ca8c8bf79d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox044.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox044.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox045.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox045.cs index 8c743a2ccf8490..0cbfc3a2f2a2db 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox045.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox045.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((MixedAllStruct?)o, Helper.Create(default(MixedAllStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { MixedAllStruct? s = Helper.Create(default(MixedAllStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox045.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox045.csproj index 298fdd4c59da70..9c6e69fc927deb 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox045.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox045.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum001.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum001.cs index 42509e92469b09..170a4803795027 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum001.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum001.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(Enum o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(Enum o) return Helper.Compare((IntE?)o, Helper.Create(default(IntE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { IntE? s = Helper.Create(default(IntE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum001.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum001.csproj index 64d0581c1adc34..a1033462324474 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum001.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum001.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum002.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum002.cs index b595239aafb372..d0f2a00f312ed7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum002.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum002.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(Enum o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(Enum o) return Helper.Compare((ByteE?)o, Helper.Create(default(ByteE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ByteE? s = Helper.Create(default(ByteE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum002.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum002.csproj index ed385fa5e2ba72..52f16cd6ff5228 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum002.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum002.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum003.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum003.cs index ee733b0bdc2e19..8cc87a60dc3f62 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum003.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum003.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(Enum o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(Enum o) return Helper.Compare((LongE?)o, Helper.Create(default(LongE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { LongE? s = Helper.Create(default(LongE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum003.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum003.csproj index e49016830f3c77..06cad8c92ed161 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum003.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/enum/box-unbox-enum003.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics001.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics001.cs index 583afe3d581d22..c529a92093824f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics001.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics001.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((char?)(object)o, Helper.Create(default(char))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { char? s = Helper.Create(default(char)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics001.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics001.csproj index b1ddf1ad794038..6281cad074ae47 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics001.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics001.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics002.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics002.cs index 6c38c63dd8c1a8..635a05a7a385f8 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics002.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics002.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((bool?)(object)o, Helper.Create(default(bool))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { bool? s = Helper.Create(default(bool)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics002.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics002.csproj index 863221a33128b3..44a019f4b7ae26 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics002.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics002.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics003.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics003.cs index f085a10d87d42a..af2ef6c1938c80 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics003.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics003.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((byte?)(object)o, Helper.Create(default(byte))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { byte? s = Helper.Create(default(byte)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics003.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics003.csproj index 51afea9fc9d713..a206ac6ceb433d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics003.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics003.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics004.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics004.cs index 0adfb5d531c4bc..510f204b6efbe7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics004.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics004.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((sbyte?)(object)o, Helper.Create(default(sbyte))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { sbyte? s = Helper.Create(default(sbyte)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics004.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics004.csproj index 9ab96fc0cffd77..3b91c11cd92997 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics004.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics004.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics005.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics005.cs index cb505c55381c5d..f061307820dbfb 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics005.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics005.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((short?)(object)o, Helper.Create(default(short))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { short? s = Helper.Create(default(short)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics005.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics005.csproj index d07a36d20f1133..222e1b94f269b9 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics005.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics005.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics006.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics006.cs index d52a2440f8b46b..82982a5755b1bc 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics006.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics006.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((ushort?)(object)o, Helper.Create(default(ushort))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ushort? s = Helper.Create(default(ushort)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics006.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics006.csproj index 7c94f29b419c28..d4998e200d31fc 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics006.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics006.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics007.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics007.cs index a578b545bb67ed..dfab55e85e46ce 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics007.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics007.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((int?)(object)o, Helper.Create(default(int))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { int? s = Helper.Create(default(int)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics007.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics007.csproj index 50e98c3f9b6ad6..4853ddc857d401 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics007.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics007.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics008.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics008.cs index 71e18111207183..9240892fbf9dca 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics008.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics008.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((uint?)(object)o, Helper.Create(default(uint))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { uint? s = Helper.Create(default(uint)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics008.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics008.csproj index e62c9c9d8c7993..e8185c9a6ba735 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics008.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics008.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics009.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics009.cs index e53f371be624c7..407c8110758252 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics009.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics009.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((long?)(object)o, Helper.Create(default(long))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { long? s = Helper.Create(default(long)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics009.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics009.csproj index 79aad3eb871972..0108da36b1ceb2 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics009.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics009.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics010.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics010.cs index a91a32e7b4c5db..594ed85e8cbe59 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics010.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics010.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((ulong?)(object)o, Helper.Create(default(ulong))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ulong? s = Helper.Create(default(ulong)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics010.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics010.csproj index 3ba23acd55eefa..55081b92b73ed2 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics010.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics010.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics011.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics011.cs index 54f033060769f1..9eb4c77cede645 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics011.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics011.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((float?)(object)o, Helper.Create(default(float))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { float? s = Helper.Create(default(float)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics011.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics011.csproj index 4630c49cefec3b..44461771054523 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics011.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics011.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics012.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics012.cs index 1b198999dff205..3dea11e77eeb5b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics012.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics012.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((double?)(object)o, Helper.Create(default(double))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { double? s = Helper.Create(default(double)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics012.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics012.csproj index b42ec17915b457..83b09d87fbaa09 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics012.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics012.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics013.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics013.cs index 69b71866df294f..0df3cc35364d97 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics013.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics013.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((decimal?)(object)o, Helper.Create(default(decimal))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { decimal? s = Helper.Create(default(decimal)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics013.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics013.csproj index 40a23602541ceb..48604895306136 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics013.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics013.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics014.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics014.cs index 405aef24bc6bf5..47307ee509fa83 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics014.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics014.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((IntPtr?)(object)o, Helper.Create(default(IntPtr))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { IntPtr? s = Helper.Create(default(IntPtr)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics014.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics014.csproj index 98decf7b3fa30c..fa3e351da26303 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics014.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics014.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics015.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics015.cs index fdf30aca1fa98c..66efaec9802d1b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics015.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics015.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((UIntPtr?)(object)o, Helper.Create(default(UIntPtr))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { UIntPtr? s = Helper.Create(default(UIntPtr)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics015.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics015.csproj index 7befccc14ec071..c37242597d551f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics015.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics015.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics016.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics016.cs index 76f874533b9b1a..3324e0a1740cca 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics016.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics016.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((Guid?)(object)o, Helper.Create(default(Guid))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { Guid? s = Helper.Create(default(Guid)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics016.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics016.csproj index 9307ca70e64a4b..ddb77c4f99f495 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics016.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics016.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics017.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics017.cs index 50484c3bbb02ec..522dd2e41c7941 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics017.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics017.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((GCHandle?)(object)o, Helper.Create(default(GCHandle))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { GCHandle? s = Helper.Create(default(GCHandle)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics017.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics017.csproj index 09a1ad2c58634c..45db2ff9406a05 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics017.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics017.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics018.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics018.cs index cd425f7f8d0adb..74ef57d0e75f53 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics018.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics018.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((ByteE?)(object)o, Helper.Create(default(ByteE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ByteE? s = Helper.Create(default(ByteE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics018.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics018.csproj index 7d68b13ede5931..c8b45587ee4f1a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics018.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics018.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics019.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics019.cs index 3975093ed8bbf9..48b3413ae07192 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics019.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics019.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((IntE?)(object)o, Helper.Create(default(IntE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { IntE? s = Helper.Create(default(IntE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics019.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics019.csproj index ea8e2f66d82034..3bb3b7780ee661 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics019.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics019.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics020.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics020.cs index a7ab5cecd11bd2..6497c2e631a5a6 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics020.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics020.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((LongE?)(object)o, Helper.Create(default(LongE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { LongE? s = Helper.Create(default(LongE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics020.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics020.csproj index e8a7e7196d3389..8440cf50afd82f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics020.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics020.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics021.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics021.cs index 5eba48714e508c..fbad3080eba088 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics021.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics021.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((EmptyStruct?)(object)o, Helper.Create(default(EmptyStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { EmptyStruct? s = Helper.Create(default(EmptyStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics021.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics021.csproj index 4593804f0edf33..6a33ad5575aaa7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics021.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics021.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics022.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics022.cs index d9efb876ca0f55..390e442b6c06af 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics022.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics022.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NotEmptyStruct?)(object)o, Helper.Create(default(NotEmptyStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStruct? s = Helper.Create(default(NotEmptyStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics022.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics022.csproj index 779926254980a7..92eecea1aa2e91 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics022.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics022.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics023.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics023.cs index e797ce0d6960ea..fb9404c56ae106 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics023.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics023.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NotEmptyStructQ?)(object)o, Helper.Create(default(NotEmptyStructQ))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructQ? s = Helper.Create(default(NotEmptyStructQ)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics023.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics023.csproj index 64761a2692ccec..32635a2d7f1d21 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics023.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics023.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics024.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics024.cs index f1a11aedc76949..3f6904acc33ddb 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics024.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics024.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NotEmptyStructA?)(object)o, Helper.Create(default(NotEmptyStructA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructA? s = Helper.Create(default(NotEmptyStructA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics024.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics024.csproj index 397b1dc853fc5e..d0a617020428af 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics024.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics024.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics025.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics025.cs index 8b3c73fc808195..e517a2f6b7d553 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics025.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics025.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NotEmptyStructQA?)(object)o, Helper.Create(default(NotEmptyStructQA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructQA? s = Helper.Create(default(NotEmptyStructQA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics025.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics025.csproj index e0a07846e4e2ec..fd7360cbbca15a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics025.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics025.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics026.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics026.cs index 5f510d77597031..d859dcdf2f7dd6 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics026.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics026.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((EmptyStructGen?)(object)o, Helper.Create(default(EmptyStructGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { EmptyStructGen? s = Helper.Create(default(EmptyStructGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics026.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics026.csproj index 484f29113ec844..e143932f93b7e7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics026.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics026.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics027.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics027.cs index 7a9e630ba7ec88..06fe6b087f16e5 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics027.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics027.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NotEmptyStructGen?)(object)o, Helper.Create(default(NotEmptyStructGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructGen? s = Helper.Create(default(NotEmptyStructGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics027.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics027.csproj index 2d38790f748a91..826c069c0e7885 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics027.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics027.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics028.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics028.cs index 8b5fbc49b55c53..97d6f85c8cad83 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics028.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics028.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NotEmptyStructConstrainedGen?)(object)o, Helper.Create(default(NotEmptyStructConstrainedGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGen? s = Helper.Create(default(NotEmptyStructConstrainedGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics028.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics028.csproj index 017dba094c407f..144184cf05ccd5 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics028.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics028.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics029.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics029.cs index 4350580df3c9f2..5843d5c0c5bdfa 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics029.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics029.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NotEmptyStructConstrainedGenA?)(object)o, Helper.Create(default(NotEmptyStructConstrainedGenA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenA? s = Helper.Create(default(NotEmptyStructConstrainedGenA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics029.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics029.csproj index 48b94f0830e0f9..0c2af935f91783 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics029.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics029.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics030.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics030.cs index ee8d9584335de1..7c80ad1a8c71cb 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics030.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics030.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NotEmptyStructConstrainedGenQ?)(object)o, Helper.Create(default(NotEmptyStructConstrainedGenQ))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenQ? s = Helper.Create(default(NotEmptyStructConstrainedGenQ)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics030.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics030.csproj index db6e93f2a28406..c03b510238d6ab 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics030.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics030.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics031.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics031.cs index c1d83b1a1b3fe0..dd032df501e2e2 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics031.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics031.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NotEmptyStructConstrainedGenQA?)(object)o, Helper.Create(default(NotEmptyStructConstrainedGenQA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenQA? s = Helper.Create(default(NotEmptyStructConstrainedGenQA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics031.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics031.csproj index 3786cfc7fe98bd..118aea348a61b5 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics031.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics031.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics032.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics032.cs index 6f30730fd6a90b..1042a2342414b7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics032.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics032.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NestedStruct?)(object)o, Helper.Create(default(NestedStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NestedStruct? s = Helper.Create(default(NestedStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics032.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics032.csproj index 7d87cf7b764806..37f45db379d4ac 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics032.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics032.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics033.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics033.cs index 1853d402d844b4..283406c299b1cf 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics033.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics033.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NestedStructGen?)(object)o, Helper.Create(default(NestedStructGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NestedStructGen? s = Helper.Create(default(NestedStructGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics033.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics033.csproj index 614e0bad071eff..5e194153527bdb 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics033.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics033.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics034.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics034.cs index 52d3eee3152233..d307ab5f162590 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics034.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics034.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((ExplicitFieldOffsetStruct?)(object)o, Helper.Create(default(ExplicitFieldOffsetStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ExplicitFieldOffsetStruct? s = Helper.Create(default(ExplicitFieldOffsetStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics034.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics034.csproj index b6b1a184d1a819..28b0f38295731b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics034.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics034.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics037.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics037.cs index ce0a6c715322a1..9677c957a67dff 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics037.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics037.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((MarshalAsStruct?)(object)o, Helper.Create(default(MarshalAsStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { MarshalAsStruct? s = Helper.Create(default(MarshalAsStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics037.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics037.csproj index d6b90a976611f4..380ef61b2975da 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics037.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics037.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics038.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics038.cs index 96d6aea08b4525..5e8ae273fd5424 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics038.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics038.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((ImplementOneInterface?)(object)o, Helper.Create(default(ImplementOneInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementOneInterface? s = Helper.Create(default(ImplementOneInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics038.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics038.csproj index 43d91e4f6df4e7..df012f6fa34ae5 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics038.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics038.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics039.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics039.cs index a26052726f3f9a..83a5ea9a68534f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics039.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics039.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((ImplementTwoInterface?)(object)o, Helper.Create(default(ImplementTwoInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementTwoInterface? s = Helper.Create(default(ImplementTwoInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics039.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics039.csproj index b3a468ee9b56c9..495e5c132b00d3 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics039.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics039.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics040.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics040.cs index 297bb57ef76a68..10614ce89e7ef0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics040.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics040.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((ImplementOneInterfaceGen?)(object)o, Helper.Create(default(ImplementOneInterfaceGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementOneInterfaceGen? s = Helper.Create(default(ImplementOneInterfaceGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics040.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics040.csproj index e8774dac59d9b5..83fc6424256067 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics040.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics040.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics041.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics041.cs index fcd84d2c7f8344..2beeda0936926a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics041.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics041.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((ImplementTwoInterfaceGen?)(object)o, Helper.Create(default(ImplementTwoInterfaceGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementTwoInterfaceGen? s = Helper.Create(default(ImplementTwoInterfaceGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics041.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics041.csproj index 66b44daba7a059..3e3a1411cbd82e 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics041.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics041.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics042.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics042.cs index 48a081af500248..6c387ae9a4d0d5 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics042.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics042.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((ImplementAllInterface?)(object)o, Helper.Create(default(ImplementAllInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementAllInterface? s = Helper.Create(default(ImplementAllInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics042.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics042.csproj index 63a84aac78a381..7f3ccec74d1ff3 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics042.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics042.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics043.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics043.cs index 11b842f989ffcc..2de03f5d971155 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics043.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics043.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((WithMultipleGCHandleStruct?)(object)o, Helper.Create(default(WithMultipleGCHandleStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { WithMultipleGCHandleStruct? s = Helper.Create(default(WithMultipleGCHandleStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics043.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics043.csproj index 9efda60fe54302..904cd4ed2c21d3 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics043.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics043.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics044.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics044.cs index be4926e2b70a91..8fb2fbffb42554 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics044.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics044.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((WithOnlyFXTypeStruct?)(object)o, Helper.Create(default(WithOnlyFXTypeStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { WithOnlyFXTypeStruct? s = Helper.Create(default(WithOnlyFXTypeStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics044.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics044.csproj index 3f84452317d64b..1b8884108fb72f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics044.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics044.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics045.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics045.cs index 0c4938d327b377..c989c6a57354cc 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics045.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics045.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((MixedAllStruct?)(object)o, Helper.Create(default(MixedAllStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { MixedAllStruct? s = Helper.Create(default(MixedAllStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics045.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics045.csproj index 6e5280ba941ed8..402d37eea6cb71 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics045.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/generics/box-unbox-generics045.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface001.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface001.cs index 9c9270bcaf3077..30c900c856d9ac 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface001.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface001.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(IEmpty o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(IEmpty o) return Helper.Compare((ImplementOneInterface?)o, Helper.Create(default(ImplementOneInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementOneInterface? s = Helper.Create(default(ImplementOneInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface001.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface001.csproj index 469c091803979c..784e1fafedcf91 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface001.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface001.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface002.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface002.cs index 192e4f07281c45..ccadce0cd28400 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface002.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface002.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(IEmpty o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(IEmpty o) return Helper.Compare((ImplementTwoInterface?)o, Helper.Create(default(ImplementTwoInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementTwoInterface? s = Helper.Create(default(ImplementTwoInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface002.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface002.csproj index 3b38e23903fbd7..d46463e2253130 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface002.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface002.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface003.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface003.cs index aa1480b0cff40b..1ca42d5328e998 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface003.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface003.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(IEmptyGen o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(IEmptyGen o) return Helper.Compare((ImplementOneInterfaceGen?)o, Helper.Create(default(ImplementOneInterfaceGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementOneInterfaceGen? s = Helper.Create(default(ImplementOneInterfaceGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface003.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface003.csproj index 8432722bd867a8..6ba9b541d749e0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface003.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface003.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface004.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface004.cs index d8de23f460edf3..1c497166824527 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface004.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface004.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(IEmptyGen o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(IEmptyGen o) return Helper.Compare((ImplementTwoInterfaceGen?)o, Helper.Create(default(ImplementTwoInterfaceGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementTwoInterfaceGen? s = Helper.Create(default(ImplementTwoInterfaceGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface004.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface004.csproj index 1c8254ea214ee3..716a943ae55a68 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface004.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface004.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface005.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface005.cs index e63a0c0bf6b696..8a1b51435aaf3f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface005.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface005.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(IEmpty o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(IEmpty o) return Helper.Compare((ImplementAllInterface?)o, Helper.Create(default(ImplementAllInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementAllInterface? s = Helper.Create(default(ImplementAllInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface005.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface005.csproj index 6637c5c3032a8f..1b2d7291f0bbd0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface005.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface005.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface006.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface006.cs index 959b46871571d2..3dc34e1423b945 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface006.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface006.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(IComparable o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(IComparable o) return Helper.Compare((char?)o, Helper.Create(default(char))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { char? s = Helper.Create(default(char)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface006.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface006.csproj index 81062f961abd51..5ce7871a7a9f42 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface006.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface006.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface007.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface007.cs index 56d34184e0b80c..6668001744339e 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface007.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface007.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(IComparable o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(IComparable o) return Helper.Compare((bool?)o, Helper.Create(default(bool))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { bool? s = Helper.Create(default(bool)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface007.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface007.csproj index 31b228b21cbcea..42e09f0454e7f5 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface007.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface007.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface008.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface008.cs index c90381230eb3cb..ddffe3f7caf685 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface008.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface008.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(IComparable o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(IComparable o) return Helper.Compare((byte?)o, Helper.Create(default(byte))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { byte? s = Helper.Create(default(byte)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface008.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface008.csproj index 72b9858101a28b..9e1c6f42e18127 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface008.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface008.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface009.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface009.cs index d8bd1467ff7fd3..ff66f2a4f51513 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface009.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface009.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(IComparable o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(IComparable o) return Helper.Compare((sbyte?)o, Helper.Create(default(sbyte))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { sbyte? s = Helper.Create(default(sbyte)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface009.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface009.csproj index 66e92eab6a6dd4..d9b11207682a94 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface009.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface009.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface010.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface010.cs index 889c297535dd65..82c7bc0be96dcb 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface010.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface010.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(IComparable o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(IComparable o) return Helper.Compare((short?)o, Helper.Create(default(short))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { short? s = Helper.Create(default(short)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface010.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface010.csproj index 54ae3b3499af08..8f5048257a7a3a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface010.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface010.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface011.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface011.cs index 23839d8e3d31c9..9bf924580578ad 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface011.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface011.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(IComparable o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(IComparable o) return Helper.Compare((ushort?)o, Helper.Create(default(ushort))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ushort? s = Helper.Create(default(ushort)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface011.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface011.csproj index 40bda9e8f90a99..7b5d7328e450c7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface011.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface011.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface012.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface012.cs index 50abce31a775de..7eb55d4c49f432 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface012.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface012.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(IComparable o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(IComparable o) return Helper.Compare((int?)o, Helper.Create(default(int))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { int? s = Helper.Create(default(int)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface012.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface012.csproj index 7e637b59caa5a0..26524bd114a769 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface012.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface012.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface013.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface013.cs index aab4d2d88d4ac6..9713faacc66507 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface013.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface013.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(IComparable o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(IComparable o) return Helper.Compare((uint?)o, Helper.Create(default(uint))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { uint? s = Helper.Create(default(uint)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface013.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface013.csproj index d53af57156caa1..a0dcdff2398119 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface013.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface013.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface014.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface014.cs index d2826c3da62704..c15438480b20e7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface014.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface014.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(IComparable o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(IComparable o) return Helper.Compare((long?)o, Helper.Create(default(long))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { long? s = Helper.Create(default(long)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface014.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface014.csproj index efbc583c744e64..04bef4c8e8ae3d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface014.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface014.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface015.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface015.cs index 9f601de102a885..69dbde5e2964fe 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface015.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface015.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(IComparable o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(IComparable o) return Helper.Compare((ulong?)o, Helper.Create(default(ulong))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ulong? s = Helper.Create(default(ulong)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface015.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface015.csproj index c0a52e30141e28..ba5555408fa970 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface015.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface015.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface016.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface016.cs index c6867bf48658b9..9413cf1e9fc772 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface016.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface016.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(IComparable o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(IComparable o) return Helper.Compare((float?)o, Helper.Create(default(float))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { float? s = Helper.Create(default(float)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface016.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface016.csproj index 744ca5b11bfa93..2803eb435d17d1 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface016.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface016.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface017.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface017.cs index 80f18fc8c1daa8..2fc6d1cc96abcb 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface017.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface017.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(IComparable o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(IComparable o) return Helper.Compare((double?)o, Helper.Create(default(double))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { double? s = Helper.Create(default(double)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface017.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface017.csproj index 9d457b40f2073d..14e8b63bcff75f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface017.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface017.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface018.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface018.cs index dbaf52a3eafee9..e9fbfb9753e505 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface018.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface018.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(IComparable o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(IComparable o) return Helper.Compare((decimal?)o, Helper.Create(default(decimal))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { decimal? s = Helper.Create(default(decimal)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface018.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface018.csproj index 79bcc1c52ffa8a..ccdb618d65386f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface018.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface018.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null001.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null001.cs index c30527e8fa8cca..43a8522b61946b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null001.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null001.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((char?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { char? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null001.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null001.csproj index a6fbd8c8470b92..8ac596fbbdf720 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null001.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null001.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null002.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null002.cs index 23d6aee715390e..159af3f7af7aa2 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null002.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null002.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((bool?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { bool? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null002.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null002.csproj index 098d6b079950cc..f4de49f28ce432 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null002.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null002.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null003.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null003.cs index 448867ac821f46..3206a16e6acdaa 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null003.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null003.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((byte?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { byte? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null003.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null003.csproj index 320faf547e10a9..85152b8a39247c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null003.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null003.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null004.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null004.cs index edde663e35074e..f423891a4fe5ae 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null004.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null004.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((sbyte?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { sbyte? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null004.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null004.csproj index ab6218b7742f73..c5c5bf5accb2f4 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null004.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null004.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null005.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null005.cs index 4353acb03ad43a..cf87cb8b5cd013 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null005.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null005.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((short?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { short? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null005.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null005.csproj index a0bac9b27ab882..9ccec2c0389308 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null005.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null005.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null006.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null006.cs index d544b0d82068a6..25eedae32ffa79 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null006.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null006.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((ushort?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { ushort? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null006.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null006.csproj index bb6c110da18c70..0d70e4c6ff1a24 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null006.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null006.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null007.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null007.cs index e84e2d9d6b61e4..155cd7b996c78d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null007.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null007.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((int?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { int? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null007.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null007.csproj index 169886b5cb5c87..83028ff811701d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null007.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null007.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null008.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null008.cs index 19e4db996d9e08..ddbf2f85007eff 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null008.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null008.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((uint?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { uint? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null008.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null008.csproj index e0c80a1d931c5e..77c5f8ba63d470 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null008.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null008.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null009.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null009.cs index 773c271a3413a6..e0a74ff62bad67 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null009.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null009.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((long?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { long? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null009.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null009.csproj index 6a562ac6edc666..f44b068674d13c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null009.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null009.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null010.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null010.cs index 3cb29bb79318f9..f87732a425bb74 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null010.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null010.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((ulong?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { ulong? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null010.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null010.csproj index e1ea3b31905f0c..561f6641b1424d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null010.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null010.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null011.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null011.cs index d6472fd08d32a5..c82a5a0f12a336 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null011.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null011.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((float?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { float? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null011.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null011.csproj index 3aa26a1b91bbcf..6a11afaeb1aa41 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null011.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null011.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null012.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null012.cs index 66178206db1c44..2c3339d8087e77 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null012.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null012.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((double?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { double? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null012.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null012.csproj index 8904da04f3ce03..dea8c967a306bf 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null012.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null012.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null013.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null013.cs index f6162afee2620e..2ca41c8b85f496 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null013.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null013.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((decimal?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { decimal? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null013.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null013.csproj index d729da63c85ed9..1e922499afe968 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null013.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null013.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null014.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null014.cs index 7fad047678d7dd..e04c9b5485104d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null014.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null014.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((IntPtr?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { IntPtr? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null014.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null014.csproj index 7c15415e340fe7..18715afdd17499 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null014.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null014.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null015.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null015.cs index 211d1d263fab1e..5b958b3a533079 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null015.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null015.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((UIntPtr?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { UIntPtr? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null015.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null015.csproj index 0d07747e731a01..87c13d576fc660 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null015.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null015.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null016.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null016.cs index fac2afdcc49287..bf5f0104e53318 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null016.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null016.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((Guid?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { Guid? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null016.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null016.csproj index 7c469ea0a31792..96108337d85c58 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null016.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null016.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null017.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null017.cs index 169093a4b5385d..8f2b265421ac83 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null017.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null017.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((GCHandle?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { GCHandle? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null017.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null017.csproj index 6f57deaf07ec5d..7ca33e35e06c94 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null017.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null017.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null018.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null018.cs index 3a1a39d608a83f..c500c69b51b823 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null018.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null018.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((ByteE?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { ByteE? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null018.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null018.csproj index 97b8f2650c63d5..cd7a3fd731f6c9 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null018.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null018.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null019.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null019.cs index 32e0fba5e6cc41..abe5f8e793ef79 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null019.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null019.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((IntE?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { IntE? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null019.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null019.csproj index 5146c59109d403..d9df35f72f7eee 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null019.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null019.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null020.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null020.cs index c4ce9f2c35e742..6f8940edf5f184 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null020.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null020.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((LongE?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { LongE? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null020.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null020.csproj index 79f4a107a7ba3d..6001a51bcd6b8d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null020.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null020.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null021.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null021.cs index 6235fea2834bc3..f05e5d234c3463 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null021.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null021.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((EmptyStruct?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { EmptyStruct? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null021.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null021.csproj index 17feeb9e0dce27..7bc6f4884e7ab1 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null021.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null021.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null022.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null022.cs index 03ca81610c274a..8f15680a380479 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null022.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null022.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((NotEmptyStruct?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStruct? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null022.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null022.csproj index 60759bae287686..1b1931cbc87f3f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null022.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null022.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null023.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null023.cs index ed29a707927c58..30a22e9c02220d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null023.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null023.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((NotEmptyStructQ?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructQ? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null023.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null023.csproj index 3c8b6ec39c4e04..cfb94f0fb73242 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null023.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null023.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null024.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null024.cs index 86b3cb65fe4b1a..966c1093635d84 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null024.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null024.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((NotEmptyStructA?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructA? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null024.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null024.csproj index ec562eaf497d4f..b145e55ec0c0f0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null024.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null024.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null025.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null025.cs index 28ea043e591550..88250dd3be588c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null025.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null025.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((NotEmptyStructQA?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructQA? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null025.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null025.csproj index 608c5b973696dc..7995a611f139ae 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null025.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null025.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null026.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null026.cs index 3fa196059e4c30..88755142d2e2d7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null026.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null026.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((EmptyStructGen?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { EmptyStructGen? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null026.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null026.csproj index b26627cc457249..d50151e050aaa8 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null026.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null026.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null027.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null027.cs index 112de1f09b5d09..44364de6453449 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null027.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null027.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((NotEmptyStructGen?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructGen? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null027.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null027.csproj index 41924b26f3ad76..5e7d3108bc1e47 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null027.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null027.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null028.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null028.cs index cc6da22d5db3d5..7932eae7a1253e 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null028.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null028.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((NotEmptyStructConstrainedGen?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGen? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null028.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null028.csproj index 304a66302d9669..9fa6cb46a5de93 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null028.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null028.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null029.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null029.cs index ebcb7153dc8b19..7bcc540a504117 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null029.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null029.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((NotEmptyStructConstrainedGenA?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenA? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null029.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null029.csproj index e2cdcf1b4f6189..ed421a8fe8a937 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null029.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null029.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null030.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null030.cs index cd63e5a5c56b59..f2086278194ef4 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null030.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null030.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((NotEmptyStructConstrainedGenQ?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenQ? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null030.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null030.csproj index 921d22f27f76a9..dadd83438b02da 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null030.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null030.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null031.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null031.cs index 9ceaa603e33024..11b8c152ec3cc3 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null031.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null031.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((NotEmptyStructConstrainedGenQA?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenQA? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null031.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null031.csproj index 2cf854125526a5..9e270699098942 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null031.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null031.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null032.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null032.cs index 9c2473e082dd2b..cb6d1217df5d92 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null032.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null032.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((NestedStruct?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NestedStruct? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null032.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null032.csproj index 493984c1113508..646d6a2d5f23ea 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null032.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null032.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null033.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null033.cs index 760eb831504f5d..ecaca50aeafcfa 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null033.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null033.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((NestedStructGen?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NestedStructGen? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null033.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null033.csproj index d009cc86bf2494..441a2eaa8a4667 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null033.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null033.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null034.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null034.cs index 597410c2a1add2..8861feddf06d85 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null034.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null034.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((ExplicitFieldOffsetStruct?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { ExplicitFieldOffsetStruct? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null034.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null034.csproj index 3098ab74d1c82d..1d603a04f19727 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null034.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null034.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null037.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null037.cs index 40395840e9aa55..94d596672eeee6 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null037.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null037.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((MarshalAsStruct?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { MarshalAsStruct? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null037.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null037.csproj index cc46c76d370d6b..ff162b7af691a3 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null037.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null037.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null038.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null038.cs index 9cd9b6d60ddac9..335ce8761230a4 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null038.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null038.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((ImplementOneInterface?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementOneInterface? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null038.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null038.csproj index c3e6b424b6b671..a2a929fbf86262 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null038.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null038.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null039.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null039.cs index ed8d4b36384f19..013ef56322defd 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null039.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null039.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((ImplementTwoInterface?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementTwoInterface? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null039.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null039.csproj index 69f3a718fc5937..05a98978b6046b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null039.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null039.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null040.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null040.cs index 32009ab74300d5..965001749b29e7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null040.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null040.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((ImplementOneInterfaceGen?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementOneInterfaceGen? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null040.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null040.csproj index 48525632a5c4de..f4e4e0604c8496 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null040.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null040.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null041.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null041.cs index 726d7db39f2589..3b71a467f65c7f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null041.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null041.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((ImplementTwoInterfaceGen?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementTwoInterfaceGen? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null041.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null041.csproj index 0614d6acb66557..d2660b21b01fe0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null041.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null041.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null042.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null042.cs index 99f8c37f77453f..85e5dae7e39483 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null042.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null042.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((ImplementAllInterface?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementAllInterface? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null042.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null042.csproj index 17a7040af590e9..6daa761d6c9321 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null042.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null042.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null043.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null043.cs index 05b812760777ff..68856d84e08c69 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null043.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null043.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((WithMultipleGCHandleStruct?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { WithMultipleGCHandleStruct? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null043.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null043.csproj index f8fff38835bf9a..056dde180d6b2a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null043.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null043.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null044.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null044.cs index 2cbb5d6a83f69a..c0141a9a7ba330 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null044.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null044.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((WithOnlyFXTypeStruct?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { WithOnlyFXTypeStruct? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null044.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null044.csproj index 3eda330c18d618..4d081823cd8cc3 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null044.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null044.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null045.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null045.cs index 15945ded0acdd9..21be0b9dfe9447 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null045.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null045.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((MixedAllStruct?)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { MixedAllStruct? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null045.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null045.csproj index 9ace061ec5e78d..3c1d65d155f774 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null045.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null045.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value001.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value001.cs index bcae8da265aa7a..e5da38be690a2f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value001.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value001.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((char?)o, Helper.Create(default(char))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { char? s = Helper.Create(default(char)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value001.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value001.csproj index 0ddc44d7cf56da..4a470764f4ab08 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value001.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value001.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value002.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value002.cs index 9a186da137b1b5..c9bde68760fc15 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value002.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value002.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((bool?)o, Helper.Create(default(bool))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { bool? s = Helper.Create(default(bool)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value002.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value002.csproj index 924f8f45017cb6..47e671b4809564 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value002.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value002.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value003.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value003.cs index 498f7c7a7cd024..b2bef380779ca9 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value003.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value003.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((byte?)o, Helper.Create(default(byte))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { byte? s = Helper.Create(default(byte)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value003.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value003.csproj index 199c0cc5e63510..7c73677bdedf47 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value003.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value003.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value004.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value004.cs index e6a6a9f4c890a5..3b7c8b4e20cadf 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value004.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value004.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((sbyte?)o, Helper.Create(default(sbyte))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { sbyte? s = Helper.Create(default(sbyte)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value004.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value004.csproj index 2d41c35be79ecb..03a8937ba0acb9 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value004.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value004.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value005.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value005.cs index 01d83b0f5c65ca..720d22bfcd3ab2 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value005.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value005.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((short?)o, Helper.Create(default(short))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { short? s = Helper.Create(default(short)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value005.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value005.csproj index 6bab1d00bbf483..36c363287dd7c5 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value005.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value005.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value006.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value006.cs index e343fe5914ef5e..0b78f7632d56a2 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value006.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value006.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((ushort?)o, Helper.Create(default(ushort))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ushort? s = Helper.Create(default(ushort)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value006.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value006.csproj index 0f54bfd36f173a..13086b7d99fc02 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value006.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value006.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value007.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value007.cs index ecbd9a019f0512..bd6ed0d1655115 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value007.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value007.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((int?)o, Helper.Create(default(int))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { int? s = Helper.Create(default(int)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value007.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value007.csproj index 2f245b193c5c82..c4df8e33d3355d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value007.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value007.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value008.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value008.cs index cdbad5951a643e..36b0fec61ba7d1 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value008.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value008.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((uint?)o, Helper.Create(default(uint))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { uint? s = Helper.Create(default(uint)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value008.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value008.csproj index 37d41c101eaa21..4eeb5c041c94fd 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value008.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value008.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value009.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value009.cs index d0249691ebafec..8cf81b19461d42 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value009.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value009.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((long?)o, Helper.Create(default(long))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { long? s = Helper.Create(default(long)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value009.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value009.csproj index 7ce9a945d8058c..48dd8ffb87f22b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value009.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value009.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value010.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value010.cs index c855c59952c402..cc9eeb8f8c1cc4 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value010.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value010.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((ulong?)o, Helper.Create(default(ulong))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ulong? s = Helper.Create(default(ulong)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value010.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value010.csproj index da964374ca9ca8..da9665ed1d96dc 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value010.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value010.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value011.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value011.cs index ef2c6afb454c55..d00a040fc86f5d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value011.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value011.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((float?)o, Helper.Create(default(float))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { float? s = Helper.Create(default(float)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value011.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value011.csproj index e1b86f795015a2..341907e2e00b7f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value011.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value011.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value012.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value012.cs index 53a884e2a1bc30..6e008a124137cf 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value012.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value012.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((double?)o, Helper.Create(default(double))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { double? s = Helper.Create(default(double)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value012.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value012.csproj index a2b92c65098590..dca550b1a907e1 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value012.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value012.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value013.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value013.cs index b0f581dda15997..48930380f45a72 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value013.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value013.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((decimal?)o, Helper.Create(default(decimal))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { decimal? s = Helper.Create(default(decimal)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value013.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value013.csproj index 0e1cc70b7e9ada..912e8e9cf88373 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value013.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value013.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value014.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value014.cs index 4af5a87300b68b..4e24ac1b442f33 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value014.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value014.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((IntPtr?)o, Helper.Create(default(IntPtr))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { IntPtr? s = Helper.Create(default(IntPtr)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value014.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value014.csproj index a1671b25109570..a7dd4e04d30fb4 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value014.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value014.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value015.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value015.cs index 8840305cedf481..51f0fdb40bb025 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value015.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value015.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((UIntPtr?)o, Helper.Create(default(UIntPtr))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { UIntPtr? s = Helper.Create(default(UIntPtr)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value015.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value015.csproj index fa15ee0615c523..7ecf44578536e0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value015.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value015.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value016.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value016.cs index cfbd94aef3fd9b..28e5d610e28a05 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value016.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value016.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((Guid?)o, Helper.Create(default(Guid))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { Guid? s = Helper.Create(default(Guid)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value016.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value016.csproj index 355bc907d799e4..89059323a477ec 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value016.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value016.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value017.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value017.cs index 7be6228399c338..3e87645feeef41 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value017.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value017.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((GCHandle?)o, Helper.Create(default(GCHandle))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { GCHandle? s = Helper.Create(default(GCHandle)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value017.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value017.csproj index 680644b6d4bd98..45d25ccc30378f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value017.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value017.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value018.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value018.cs index dc2b5c83e488d2..dcd094cc810cb1 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value018.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value018.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((ByteE?)o, Helper.Create(default(ByteE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ByteE? s = Helper.Create(default(ByteE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value018.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value018.csproj index 7334df848a9c43..c67286bafb5c7c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value018.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value018.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value019.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value019.cs index bbc5e1d053e7f3..62e48775d79a99 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value019.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value019.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((IntE?)o, Helper.Create(default(IntE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { IntE? s = Helper.Create(default(IntE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value019.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value019.csproj index 5897219525b048..53939d52d93703 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value019.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value019.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value020.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value020.cs index fe7d7aacc3c85b..f7399b10eb4af3 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value020.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value020.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((LongE?)o, Helper.Create(default(LongE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { LongE? s = Helper.Create(default(LongE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value020.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value020.csproj index ac3defb7bd35ba..d62768851c2aec 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value020.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value020.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value021.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value021.cs index 7f75ce4cad09e7..002bb22ed809d2 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value021.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value021.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((EmptyStruct?)o, Helper.Create(default(EmptyStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { EmptyStruct? s = Helper.Create(default(EmptyStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value021.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value021.csproj index 3c7a8a1e9db8ee..ca56c6c9373e40 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value021.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value021.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value022.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value022.cs index 39d8a019b97af5..bd3bccb9960d94 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value022.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value022.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((NotEmptyStruct?)o, Helper.Create(default(NotEmptyStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStruct? s = Helper.Create(default(NotEmptyStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value022.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value022.csproj index 84aabde1ac5c29..fd7f02f4ea5a79 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value022.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value022.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value023.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value023.cs index 523eebb99e16b5..4b16214ee20ae2 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value023.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value023.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((NotEmptyStructQ?)o, Helper.Create(default(NotEmptyStructQ))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructQ? s = Helper.Create(default(NotEmptyStructQ)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value023.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value023.csproj index e59a65be2d6421..e84631e0e84423 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value023.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value023.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value024.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value024.cs index 69ea842cac3e4e..c24aa5c6002f68 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value024.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value024.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((NotEmptyStructA?)o, Helper.Create(default(NotEmptyStructA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructA? s = Helper.Create(default(NotEmptyStructA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value024.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value024.csproj index cb055ebdbf2f69..95c99734a9fb15 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value024.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value024.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value025.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value025.cs index 3fadf6cf5efd22..d6302a67d781d7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value025.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value025.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((NotEmptyStructQA?)o, Helper.Create(default(NotEmptyStructQA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructQA? s = Helper.Create(default(NotEmptyStructQA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value025.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value025.csproj index 3d50e9d88760f4..e3bc174b023094 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value025.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value025.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value026.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value026.cs index a2340e265615c4..5408f411426b41 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value026.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value026.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((EmptyStructGen?)o, Helper.Create(default(EmptyStructGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { EmptyStructGen? s = Helper.Create(default(EmptyStructGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value026.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value026.csproj index 31076e6cbb7d44..2805389ef70cec 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value026.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value026.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value027.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value027.cs index 3d95d2e5fbafe6..2a2f3a659d0843 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value027.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value027.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((NotEmptyStructGen?)o, Helper.Create(default(NotEmptyStructGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructGen? s = Helper.Create(default(NotEmptyStructGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value027.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value027.csproj index dbe41c5b80d985..ddeca3fd12d99d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value027.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value027.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value028.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value028.cs index d9781ad8cfc9b3..61f2ccf4b7e2d4 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value028.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value028.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((NotEmptyStructConstrainedGen?)o, Helper.Create(default(NotEmptyStructConstrainedGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGen? s = Helper.Create(default(NotEmptyStructConstrainedGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value028.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value028.csproj index 2e139f2cf52136..dc56fb9dbdcd05 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value028.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value028.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value029.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value029.cs index 4baf26180400e0..95208bcd1c58a0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value029.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value029.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((NotEmptyStructConstrainedGenA?)o, Helper.Create(default(NotEmptyStructConstrainedGenA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenA? s = Helper.Create(default(NotEmptyStructConstrainedGenA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value029.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value029.csproj index eca2064a6560f6..64082823f98db5 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value029.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value029.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value030.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value030.cs index 5f7f1654e5800a..aff0dfc2a2519b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value030.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value030.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((NotEmptyStructConstrainedGenQ?)o, Helper.Create(default(NotEmptyStructConstrainedGenQ))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenQ? s = Helper.Create(default(NotEmptyStructConstrainedGenQ)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value030.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value030.csproj index 95ec353a2030a6..d0353933189a08 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value030.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value030.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value031.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value031.cs index 464fe733efd7bd..2aa86b9b524aa8 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value031.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value031.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((NotEmptyStructConstrainedGenQA?)o, Helper.Create(default(NotEmptyStructConstrainedGenQA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenQA? s = Helper.Create(default(NotEmptyStructConstrainedGenQA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value031.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value031.csproj index 64ade26f55fea4..8da1f0fcf08275 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value031.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value031.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value032.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value032.cs index 6d55a591783993..5eb3dc6017c914 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value032.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value032.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((NestedStruct?)o, Helper.Create(default(NestedStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NestedStruct? s = Helper.Create(default(NestedStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value032.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value032.csproj index f2f1b919ea38fc..4ed9e095003063 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value032.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value032.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value033.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value033.cs index bcb3943d9a6838..0da486dfff64f5 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value033.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value033.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((NestedStructGen?)o, Helper.Create(default(NestedStructGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NestedStructGen? s = Helper.Create(default(NestedStructGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value033.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value033.csproj index 770e9e59410dca..fcbf65fe970942 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value033.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value033.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value034.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value034.cs index 768c329ebfa16b..8a6914f8b9abed 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value034.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value034.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((ExplicitFieldOffsetStruct?)o, Helper.Create(default(ExplicitFieldOffsetStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ExplicitFieldOffsetStruct? s = Helper.Create(default(ExplicitFieldOffsetStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value034.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value034.csproj index 58d310e9887462..bdd3ce982f4f40 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value034.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value034.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value037.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value037.cs index 351a0344c76e82..5c4622e1fc16e9 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value037.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value037.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((MarshalAsStruct?)o, Helper.Create(default(MarshalAsStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { MarshalAsStruct? s = Helper.Create(default(MarshalAsStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value037.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value037.csproj index 995deb07a1baee..b2e3ab54a20842 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value037.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value037.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value038.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value038.cs index 0c35e9dc750b05..6f0f673190a7c7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value038.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value038.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((ImplementOneInterface?)o, Helper.Create(default(ImplementOneInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementOneInterface? s = Helper.Create(default(ImplementOneInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value038.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value038.csproj index 8736d46aa6ace9..024ec881652cce 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value038.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value038.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value039.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value039.cs index d0fd1928b3921f..a1fb67041e6369 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value039.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value039.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((ImplementTwoInterface?)o, Helper.Create(default(ImplementTwoInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementTwoInterface? s = Helper.Create(default(ImplementTwoInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value039.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value039.csproj index 3ac8504a3f31a9..71a16348ee7c72 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value039.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value039.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value040.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value040.cs index c0c010c7cdb47f..98ddd8236d4d0f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value040.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value040.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((ImplementOneInterfaceGen?)o, Helper.Create(default(ImplementOneInterfaceGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementOneInterfaceGen? s = Helper.Create(default(ImplementOneInterfaceGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value040.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value040.csproj index b562322f173bec..03d24a1c1bfee2 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value040.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value040.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value041.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value041.cs index b881f53bdf96ca..56f27b48a77dda 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value041.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value041.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((ImplementTwoInterfaceGen?)o, Helper.Create(default(ImplementTwoInterfaceGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementTwoInterfaceGen? s = Helper.Create(default(ImplementTwoInterfaceGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value041.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value041.csproj index c23d9404c3fefa..b8cfceb1d12b2a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value041.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value041.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value042.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value042.cs index c281695e2ba314..a65a7cba29c62f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value042.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value042.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((ImplementAllInterface?)o, Helper.Create(default(ImplementAllInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementAllInterface? s = Helper.Create(default(ImplementAllInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value042.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value042.csproj index 27235e00fc6fca..e7462dad067408 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value042.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value042.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value043.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value043.cs index fc020e7cc26a6e..c9477a94edde14 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value043.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value043.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((WithMultipleGCHandleStruct?)o, Helper.Create(default(WithMultipleGCHandleStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { WithMultipleGCHandleStruct? s = Helper.Create(default(WithMultipleGCHandleStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value043.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value043.csproj index 2e1f306786f3b1..b44bd43e20eaa5 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value043.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value043.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value044.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value044.cs index 8c6590988b368e..b7b5657a4ce5e7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value044.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value044.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((WithOnlyFXTypeStruct?)o, Helper.Create(default(WithOnlyFXTypeStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { WithOnlyFXTypeStruct? s = Helper.Create(default(WithOnlyFXTypeStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value044.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value044.csproj index 47e4200d7fb3ca..7d488f7d7663fe 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value044.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value044.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value045.cs b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value045.cs index 535ea712868958..2bbede349d6e36 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value045.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value045.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(ValueType o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(ValueType o) return Helper.Compare((MixedAllStruct?)o, Helper.Create(default(MixedAllStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { MixedAllStruct? s = Helper.Create(default(MixedAllStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value045.csproj b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value045.csproj index beca930cab3d48..c901fb696ae2d8 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value045.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value045.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass001.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass001.cs index b93cf124a53f86..1fdea1222e4555 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass001.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass001.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((char?)(ValueType)o, Helper.Create(default(char))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { char? s = Helper.Create(default(char)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass001.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass001.csproj index 9034c82a352800..2c4f4d2a0120ea 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass001.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass001.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass002.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass002.cs index c78a3a295681c7..ceb5ad5f062f67 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass002.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass002.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((bool?)(ValueType)o, Helper.Create(default(bool))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { bool? s = Helper.Create(default(bool)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass002.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass002.csproj index 7fb831ad1187dc..2e2eb3e1dc24f0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass002.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass002.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass003.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass003.cs index ea78faa95d194b..a58ce8c4088c6f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass003.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass003.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((byte?)(ValueType)o, Helper.Create(default(byte))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { byte? s = Helper.Create(default(byte)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass003.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass003.csproj index bf1e49128559b6..7f9992d5c8d05d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass003.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass003.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass004.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass004.cs index 73b193d46500e3..97ff98655c0e88 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass004.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass004.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((sbyte?)(ValueType)o, Helper.Create(default(sbyte))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { sbyte? s = Helper.Create(default(sbyte)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass004.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass004.csproj index a37022784c2355..8858a69f6ed194 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass004.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass004.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass005.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass005.cs index 829f4fbb72a1d6..7122e73bdeae65 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass005.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass005.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((short?)(ValueType)o, Helper.Create(default(short))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { short? s = Helper.Create(default(short)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass005.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass005.csproj index dfc8f65d07b904..88305866558679 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass005.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass005.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass006.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass006.cs index 34eaf75278c7bd..9d03c2dc36a4ed 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass006.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass006.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ushort?)(ValueType)o, Helper.Create(default(ushort))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ushort? s = Helper.Create(default(ushort)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass006.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass006.csproj index bd681731f414c2..cfed912e2d437d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass006.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass006.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass007.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass007.cs index 33a2b8542a1d32..59d69506ef8b2f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass007.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass007.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((int?)(ValueType)o, Helper.Create(default(int))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { int? s = Helper.Create(default(int)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass007.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass007.csproj index c871c8d68f7522..da8b1cf3855576 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass007.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass007.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass008.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass008.cs index 3de5dcc5fc1437..7f82fe892366e7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass008.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass008.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((uint?)(ValueType)o, Helper.Create(default(uint))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { uint? s = Helper.Create(default(uint)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass008.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass008.csproj index 8ae36b3db682d7..19f7decbfe333a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass008.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass008.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass009.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass009.cs index c7af3b7c3c6f9d..d0239eda6b2135 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass009.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass009.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((long?)(ValueType)o, Helper.Create(default(long))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { long? s = Helper.Create(default(long)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass009.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass009.csproj index e905b96603172c..b934218ec9b284 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass009.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass009.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass010.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass010.cs index 8db3a406c4e73f..890dedad1ac417 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass010.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass010.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ulong?)(ValueType)o, Helper.Create(default(ulong))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ulong? s = Helper.Create(default(ulong)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass010.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass010.csproj index 05a1df20f44da0..ecb4a6713f810a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass010.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass010.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass011.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass011.cs index 26b1f54f23a6d7..44eb4a52eb4643 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass011.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass011.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((float?)(ValueType)o, Helper.Create(default(float))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { float? s = Helper.Create(default(float)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass011.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass011.csproj index e2453af650fc6e..f4bedfa7ca71fb 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass011.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass011.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass012.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass012.cs index 9d769d17691d92..f326e94f736bf7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass012.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass012.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((double?)(ValueType)o, Helper.Create(default(double))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { double? s = Helper.Create(default(double)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass012.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass012.csproj index 0005d0741ce945..ed48e752caa186 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass012.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass012.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass013.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass013.cs index 1f349b44d1ae48..e11f0ea91d8007 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass013.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass013.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((decimal?)(ValueType)o, Helper.Create(default(decimal))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { decimal? s = Helper.Create(default(decimal)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass013.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass013.csproj index 9265936dd6380b..6eadee481c247e 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass013.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass013.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass014.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass014.cs index b71e89f9928667..e538a9d06d3a6a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass014.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass014.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((IntPtr?)(ValueType)o, Helper.Create(default(IntPtr))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { IntPtr? s = Helper.Create(default(IntPtr)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass014.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass014.csproj index 6eddebe92427f5..2525392fbc8c2f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass014.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass014.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass015.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass015.cs index a76a3715064731..92fe40f88c5e8d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass015.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass015.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((UIntPtr?)(ValueType)o, Helper.Create(default(UIntPtr))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { UIntPtr? s = Helper.Create(default(UIntPtr)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass015.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass015.csproj index 16003aa733d6f7..aa9f5ad433eae5 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass015.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass015.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass016.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass016.cs index a019138dccefb4..1d8ba5e288519d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass016.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass016.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((Guid?)(ValueType)o, Helper.Create(default(Guid))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { Guid? s = Helper.Create(default(Guid)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass016.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass016.csproj index c4bd90bd201dcd..82c383b393c60d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass016.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass016.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass017.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass017.cs index 5217156797cec2..9d38b2089f12d9 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass017.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass017.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((GCHandle?)(ValueType)o, Helper.Create(default(GCHandle))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { GCHandle? s = Helper.Create(default(GCHandle)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass017.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass017.csproj index adacee7e62a3bb..bae54f35314ed1 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass017.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass017.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass018.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass018.cs index 5d0ca4732e5103..20dfb808ea0deb 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass018.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass018.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ByteE?)(ValueType)o, Helper.Create(default(ByteE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ByteE? s = Helper.Create(default(ByteE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass018.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass018.csproj index d1bf2741a22381..37893e04932c7a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass018.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass018.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass019.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass019.cs index a0fe37e274027d..5763a598b961f3 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass019.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass019.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((IntE?)(ValueType)o, Helper.Create(default(IntE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { IntE? s = Helper.Create(default(IntE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass019.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass019.csproj index cad75cb249cac2..d869835e1e3853 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass019.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass019.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass020.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass020.cs index 93e73bef7325bf..edd80e42dcf39a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass020.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass020.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((LongE?)(ValueType)o, Helper.Create(default(LongE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { LongE? s = Helper.Create(default(LongE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass020.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass020.csproj index 7f742066e2f2f5..ee52d8370f97a9 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass020.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass020.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass021.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass021.cs index d62b4f4480287e..d4c48a86d39a1a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass021.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass021.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((EmptyStruct?)(ValueType)o, Helper.Create(default(EmptyStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { EmptyStruct? s = Helper.Create(default(EmptyStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass021.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass021.csproj index 7c0fa000396c12..776948a590e897 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass021.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass021.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass022.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass022.cs index ee2e18fd0a0ddf..4a89c8cd4ffc0f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass022.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass022.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NotEmptyStruct?)(ValueType)o, Helper.Create(default(NotEmptyStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStruct? s = Helper.Create(default(NotEmptyStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass022.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass022.csproj index 3991770e5cff7e..27d6f11d12aa6c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass022.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass022.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass023.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass023.cs index d4545bdef0397f..80c009dd6bfc08 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass023.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass023.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NotEmptyStructQ?)(ValueType)o, Helper.Create(default(NotEmptyStructQ))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructQ? s = Helper.Create(default(NotEmptyStructQ)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass023.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass023.csproj index c882410aeaff3a..d40cdd653d8443 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass023.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass023.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass024.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass024.cs index 6dc0655916ab8d..c2e7cb13f3e1c1 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass024.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass024.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NotEmptyStructA?)(ValueType)o, Helper.Create(default(NotEmptyStructA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructA? s = Helper.Create(default(NotEmptyStructA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass024.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass024.csproj index 35f3b6bf1236c9..91260af0a30eba 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass024.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass024.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass025.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass025.cs index 31a9261f5b9fb9..13bb61bd472510 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass025.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass025.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NotEmptyStructQA?)(ValueType)o, Helper.Create(default(NotEmptyStructQA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructQA? s = Helper.Create(default(NotEmptyStructQA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass025.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass025.csproj index 749e13a155cf33..156b104dcce83e 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass025.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass025.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass026.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass026.cs index dc61c6e1d0a1a9..d2cfbf82dec668 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass026.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass026.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((EmptyStructGen?)(ValueType)o, Helper.Create(default(EmptyStructGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { EmptyStructGen? s = Helper.Create(default(EmptyStructGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass026.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass026.csproj index c3ce5dc018df0d..70750d1b27a059 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass026.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass026.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass027.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass027.cs index 710faf39dce075..200fb97e61208a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass027.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass027.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NotEmptyStructGen?)(ValueType)o, Helper.Create(default(NotEmptyStructGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructGen? s = Helper.Create(default(NotEmptyStructGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass027.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass027.csproj index d815d922ea8f97..e9d99f233a7356 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass027.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass027.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass028.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass028.cs index 55e10a1a497c16..7ccb7e89494f0e 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass028.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass028.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NotEmptyStructConstrainedGen?)(ValueType)o, Helper.Create(default(NotEmptyStructConstrainedGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGen? s = Helper.Create(default(NotEmptyStructConstrainedGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass028.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass028.csproj index e548e78d16869b..a729a7a6d8863a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass028.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass028.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass029.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass029.cs index d134c06023dd36..7be42fd509578e 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass029.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass029.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NotEmptyStructConstrainedGenA?)(ValueType)o, Helper.Create(default(NotEmptyStructConstrainedGenA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenA? s = Helper.Create(default(NotEmptyStructConstrainedGenA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass029.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass029.csproj index 6ca630ba91d96d..6424f7281b223b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass029.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass029.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass030.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass030.cs index 965a0fbb85a097..b848d6ec702cdb 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass030.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass030.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NotEmptyStructConstrainedGenQ?)(ValueType)o, Helper.Create(default(NotEmptyStructConstrainedGenQ))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenQ? s = Helper.Create(default(NotEmptyStructConstrainedGenQ)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass030.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass030.csproj index e73a69a6abf7ff..247e24e9ab0908 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass030.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass030.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass031.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass031.cs index e091cc0b3e0ba2..2b8ca986a3d97a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass031.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass031.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NotEmptyStructConstrainedGenQA?)(ValueType)o, Helper.Create(default(NotEmptyStructConstrainedGenQA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenQA? s = Helper.Create(default(NotEmptyStructConstrainedGenQA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass031.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass031.csproj index f9a84b5ec7d50d..526b46a25e1dfc 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass031.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass031.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass032.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass032.cs index d9413e1bc45535..bb3fabab3297c7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass032.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass032.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NestedStruct?)(ValueType)o, Helper.Create(default(NestedStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NestedStruct? s = Helper.Create(default(NestedStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass032.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass032.csproj index 54dd4910cd5859..bc4c885ec6b467 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass032.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass032.csproj @@ -1,7 +1,4 @@ - - Exe - PdbOnly diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass033.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass033.cs index 06ee176a812054..0496aafa87de3f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass033.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass033.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((NestedStructGen?)(ValueType)o, Helper.Create(default(NestedStructGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NestedStructGen? s = Helper.Create(default(NestedStructGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass033.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass033.csproj index a4b7c40534fa4f..46ccdebe0895bf 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass033.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass033.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass034.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass034.cs index 228aa7b33cc71c..5e0f2a50e05f40 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass034.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass034.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ExplicitFieldOffsetStruct?)(ValueType)o, Helper.Create(default(ExplicitFieldOffsetStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ExplicitFieldOffsetStruct? s = Helper.Create(default(ExplicitFieldOffsetStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass034.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass034.csproj index 4966f3fba918f3..4a49114a58b316 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass034.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass034.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass037.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass037.cs index 9c68775886c296..2b9b0cfdf296c0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass037.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass037.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((MarshalAsStruct?)(ValueType)o, Helper.Create(default(MarshalAsStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { MarshalAsStruct? s = Helper.Create(default(MarshalAsStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass037.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass037.csproj index 5b4ad55fca6bf3..27a904854a7ed1 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass037.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass037.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass038.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass038.cs index 385c7a0f87eefc..6c395fb2c6ed3f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass038.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass038.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ImplementOneInterface?)(ValueType)o, Helper.Create(default(ImplementOneInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementOneInterface? s = Helper.Create(default(ImplementOneInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass038.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass038.csproj index cbe0dfb2b79c61..2895d5e8c77754 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass038.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass038.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass039.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass039.cs index 03e1db542fa9e5..5c04d102336b22 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass039.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass039.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ImplementTwoInterface?)(ValueType)o, Helper.Create(default(ImplementTwoInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementTwoInterface? s = Helper.Create(default(ImplementTwoInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass039.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass039.csproj index 212430279644f2..a19f350c2a9f99 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass039.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass039.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass040.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass040.cs index dd5916a346b97c..7d44e31437836f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass040.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass040.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ImplementOneInterfaceGen?)(ValueType)o, Helper.Create(default(ImplementOneInterfaceGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementOneInterfaceGen? s = Helper.Create(default(ImplementOneInterfaceGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass040.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass040.csproj index 1dbffa39a32067..a716393afaa67d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass040.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass040.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass041.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass041.cs index de998d7cb3ef39..27fe58cd750d9b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass041.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass041.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ImplementTwoInterfaceGen?)(ValueType)o, Helper.Create(default(ImplementTwoInterfaceGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementTwoInterfaceGen? s = Helper.Create(default(ImplementTwoInterfaceGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass041.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass041.csproj index 91860b71db9c24..3925dd510ddb1c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass041.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass041.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass042.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass042.cs index 525f8902cacfc5..3ae7d67f316d3d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass042.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass042.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ImplementAllInterface?)(ValueType)o, Helper.Create(default(ImplementAllInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementAllInterface? s = Helper.Create(default(ImplementAllInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass042.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass042.csproj index cc28b603c3ad65..cb45d2efd956bf 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass042.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass042.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass043.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass043.cs index 8fb2deae4bea5d..741199e94f5375 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass043.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass043.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((WithMultipleGCHandleStruct?)(ValueType)o, Helper.Create(default(WithMultipleGCHandleStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { WithMultipleGCHandleStruct? s = Helper.Create(default(WithMultipleGCHandleStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass043.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass043.csproj index f82c0af39de153..358db7881311a0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass043.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass043.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass044.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass044.cs index cd67c35d534ad7..88686b3eeb94b2 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass044.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass044.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((WithOnlyFXTypeStruct?)(ValueType)o, Helper.Create(default(WithOnlyFXTypeStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { WithOnlyFXTypeStruct? s = Helper.Create(default(WithOnlyFXTypeStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass044.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass044.csproj index 60ad1a131b5bba..e0a1133ca86927 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass044.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass044.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass045.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass045.cs index 535a51252af5de..8c874485aba724 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass045.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass045.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((MixedAllStruct?)(ValueType)o, Helper.Create(default(MixedAllStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { MixedAllStruct? s = Helper.Create(default(MixedAllStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass045.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass045.csproj index b5c14c0c74255f..643d45a614c45d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass045.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/castclass/castclass045.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum001.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum001.cs index 5e40b942787f1d..9f04e4540be42c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum001.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum001.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((IntE?)(Enum)o, Helper.Create(default(IntE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { IntE? s = Helper.Create(default(IntE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum001.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum001.csproj index c470c4c16c0163..d8289522d6daf9 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum001.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum001.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum002.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum002.cs index 48e172668b3bd5..9b325bbf32efcc 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum002.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum002.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ByteE?)(Enum)o, Helper.Create(default(ByteE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ByteE? s = Helper.Create(default(ByteE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum002.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum002.csproj index b59d1fdc1d6b76..049d26d1749d10 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum002.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum002.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum003.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum003.cs index 8bcb573bc542a8..3a35b6dd2708af 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum003.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum003.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((LongE?)(Enum)o, Helper.Create(default(LongE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { LongE? s = Helper.Create(default(LongE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum003.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum003.csproj index 07ce45a40cd463..1a44661cd7cb8d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum003.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/enum/castclass-enum003.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics001.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics001.cs index b1213b39c8fbab..5004f37efd212e 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics001.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics001.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((char?)(ValueType)(object)o, Helper.Create(default(char))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { char? s = Helper.Create(default(char)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics001.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics001.csproj index ca28b7955fbf0c..e3c0eb490850ee 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics001.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics001.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics002.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics002.cs index 518aead87cb0aa..c0b2bf843a11e6 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics002.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics002.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((bool?)(ValueType)(object)o, Helper.Create(default(bool))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { bool? s = Helper.Create(default(bool)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics002.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics002.csproj index c39565b4310ab6..64469695d5c5c4 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics002.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics002.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics003.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics003.cs index 146b378c9276af..c35d047fa8272c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics003.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics003.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((byte?)(ValueType)(object)o, Helper.Create(default(byte))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { byte? s = Helper.Create(default(byte)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics003.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics003.csproj index 42d8b8b28f249c..405f10f8885e9b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics003.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics003.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics004.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics004.cs index e63c3e41a44263..cdeaf27628f6f8 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics004.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics004.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((sbyte?)(ValueType)(object)o, Helper.Create(default(sbyte))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { sbyte? s = Helper.Create(default(sbyte)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics004.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics004.csproj index 53b578592b007f..240c11ca14da97 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics004.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics004.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics005.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics005.cs index 3ed73cdbe5805f..5ea436c2511df5 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics005.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics005.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((short?)(ValueType)(object)o, Helper.Create(default(short))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { short? s = Helper.Create(default(short)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics005.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics005.csproj index a4094f896b32cf..8e841ca105dc3c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics005.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics005.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics006.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics006.cs index bc571e732da338..d4718fe0550cbf 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics006.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics006.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((ushort?)(ValueType)(object)o, Helper.Create(default(ushort))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ushort? s = Helper.Create(default(ushort)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics006.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics006.csproj index 405dd1b78b2589..311603d3a97a82 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics006.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics006.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics007.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics007.cs index cb56e6f73ad592..3a6a2bc8e0975a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics007.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics007.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((int?)(ValueType)(object)o, Helper.Create(default(int))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { int? s = Helper.Create(default(int)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics007.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics007.csproj index 0b10c5f2bd7187..df843f1f2a1bec 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics007.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics007.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics008.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics008.cs index eeb7fc9460a79d..779f8ceb12c216 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics008.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics008.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((uint?)(ValueType)(object)o, Helper.Create(default(uint))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { uint? s = Helper.Create(default(uint)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics008.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics008.csproj index e35b7670f93ee5..ad3725a68b778a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics008.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics008.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics009.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics009.cs index 704bd377e64f19..f50d132448ed93 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics009.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics009.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((long?)(ValueType)(object)o, Helper.Create(default(long))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { long? s = Helper.Create(default(long)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics009.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics009.csproj index 952a42481bc384..36dbe7b7b74a1a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics009.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics009.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics010.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics010.cs index 34c96ea47476c7..d24fb613bb09c2 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics010.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics010.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((ulong?)(ValueType)(object)o, Helper.Create(default(ulong))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ulong? s = Helper.Create(default(ulong)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics010.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics010.csproj index 776ef95f95bd78..69da72b2b65c09 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics010.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics010.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics011.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics011.cs index 68489efa14b93b..2930d21e67e1ff 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics011.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics011.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((float?)(ValueType)(object)o, Helper.Create(default(float))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { float? s = Helper.Create(default(float)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics011.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics011.csproj index c0e7a8169ae7b9..48882c9a318e73 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics011.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics011.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics012.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics012.cs index ece9fde7cdd78e..2626475c1a4ac9 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics012.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics012.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((double?)(ValueType)(object)o, Helper.Create(default(double))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { double? s = Helper.Create(default(double)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics012.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics012.csproj index 69ccb946735e63..6d76e83de3fbf7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics012.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics012.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics013.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics013.cs index a99bc525a9ff08..5aa063840ce03b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics013.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics013.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((decimal?)(ValueType)(object)o, Helper.Create(default(decimal))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { decimal? s = Helper.Create(default(decimal)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics013.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics013.csproj index 01bc940f6ad92b..db8b52c1f5c918 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics013.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics013.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics014.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics014.cs index 37d810803deffb..fcbbb21416e5b1 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics014.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics014.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((IntPtr?)(ValueType)(object)o, Helper.Create(default(IntPtr))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { IntPtr? s = Helper.Create(default(IntPtr)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics014.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics014.csproj index b821f0081217fd..68b0f82ebdd80f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics014.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics014.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics015.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics015.cs index 9ade3e6178c31a..243d3adbdd5468 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics015.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics015.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((UIntPtr?)(ValueType)(object)o, Helper.Create(default(UIntPtr))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { UIntPtr? s = Helper.Create(default(UIntPtr)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics015.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics015.csproj index 3ad596bd15645d..b9a645a507817d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics015.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics015.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics016.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics016.cs index a4bbe29e3343e0..8e6c6ef4945e71 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics016.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics016.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((Guid?)(ValueType)(object)o, Helper.Create(default(Guid))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { Guid? s = Helper.Create(default(Guid)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics016.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics016.csproj index 1fa03d32f6717e..d2c91eb46b3e5f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics016.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics016.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics017.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics017.cs index 4300aeb5fa443f..224f17d2b69e21 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics017.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics017.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((GCHandle?)(ValueType)(object)o, Helper.Create(default(GCHandle))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { GCHandle? s = Helper.Create(default(GCHandle)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics017.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics017.csproj index d5c2c4d528ebce..d6799dd7564b45 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics017.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics017.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics018.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics018.cs index 0cc687dfdc15ae..522b2f65c094f0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics018.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics018.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((ByteE?)(ValueType)(object)o, Helper.Create(default(ByteE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ByteE? s = Helper.Create(default(ByteE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics018.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics018.csproj index 2ba1b1a4569105..f252c08ba8cabf 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics018.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics018.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics019.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics019.cs index bf715faaca11af..d6bc3f1a73577c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics019.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics019.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((IntE?)(ValueType)(object)o, Helper.Create(default(IntE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { IntE? s = Helper.Create(default(IntE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics019.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics019.csproj index 76b3549549a348..523783eccc6ccd 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics019.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics019.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics020.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics020.cs index f7262e28689800..eb51cecfcad0ee 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics020.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics020.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((LongE?)(ValueType)(object)o, Helper.Create(default(LongE))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { LongE? s = Helper.Create(default(LongE)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics020.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics020.csproj index 04af4b5dd67074..796fd9eca6c56b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics020.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics020.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics021.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics021.cs index 6aa6fb3187075a..7a186297ea46ad 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics021.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics021.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((EmptyStruct?)(ValueType)(object)o, Helper.Create(default(EmptyStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { EmptyStruct? s = Helper.Create(default(EmptyStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics021.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics021.csproj index 1490a5427091a8..e834c6518fc140 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics021.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics021.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics022.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics022.cs index b44a31af9439cb..a721424067863d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics022.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics022.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NotEmptyStruct?)(ValueType)(object)o, Helper.Create(default(NotEmptyStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStruct? s = Helper.Create(default(NotEmptyStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics022.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics022.csproj index 557f84f6a8675e..15d3ea984b8822 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics022.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics022.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics023.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics023.cs index b927c49ef59dd7..425441a850eed5 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics023.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics023.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NotEmptyStructQ?)(ValueType)(object)o, Helper.Create(default(NotEmptyStructQ))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructQ? s = Helper.Create(default(NotEmptyStructQ)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics023.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics023.csproj index 750d1807f1de4c..a76eea86a30d8c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics023.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics023.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics024.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics024.cs index 4d3474adb1d49d..7d15d30550fcd0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics024.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics024.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NotEmptyStructA?)(ValueType)(object)o, Helper.Create(default(NotEmptyStructA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructA? s = Helper.Create(default(NotEmptyStructA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics024.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics024.csproj index 0aefa9e79b318e..b053380c970983 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics024.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics024.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics025.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics025.cs index e5626e9cc85036..437e5c45107e4b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics025.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics025.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NotEmptyStructQA?)(ValueType)(object)o, Helper.Create(default(NotEmptyStructQA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructQA? s = Helper.Create(default(NotEmptyStructQA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics025.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics025.csproj index 2e55dd92ff9903..0316128fda8ea5 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics025.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics025.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics026.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics026.cs index bbea3675dd811e..577db280ccb572 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics026.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics026.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((EmptyStructGen?)(ValueType)(object)o, Helper.Create(default(EmptyStructGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { EmptyStructGen? s = Helper.Create(default(EmptyStructGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics026.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics026.csproj index f7e4cd6a96fead..ba866d28f19b78 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics026.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics026.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics027.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics027.cs index b3e8a0f3d287b1..0fa5565ec462f8 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics027.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics027.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NotEmptyStructGen?)(ValueType)(object)o, Helper.Create(default(NotEmptyStructGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructGen? s = Helper.Create(default(NotEmptyStructGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics027.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics027.csproj index 7eb6e9c5369208..6f7d473bbb674f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics027.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics027.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics028.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics028.cs index dc2566538a8a6c..ec9f6d6b136f44 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics028.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics028.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NotEmptyStructConstrainedGen?)(ValueType)(object)o, Helper.Create(default(NotEmptyStructConstrainedGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGen? s = Helper.Create(default(NotEmptyStructConstrainedGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics028.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics028.csproj index 80294dfd25fe3e..8bed70634450e6 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics028.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics028.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics029.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics029.cs index 0d022d2c08d2c6..dfe8e1d3ba6f12 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics029.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics029.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NotEmptyStructConstrainedGenA?)(ValueType)(object)o, Helper.Create(default(NotEmptyStructConstrainedGenA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenA? s = Helper.Create(default(NotEmptyStructConstrainedGenA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics029.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics029.csproj index fa321d0d33cead..405df434f88f91 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics029.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics029.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics030.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics030.cs index da67d586a2f330..edc5857b9aeaf3 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics030.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics030.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NotEmptyStructConstrainedGenQ?)(ValueType)(object)o, Helper.Create(default(NotEmptyStructConstrainedGenQ))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenQ? s = Helper.Create(default(NotEmptyStructConstrainedGenQ)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics030.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics030.csproj index 4db1d9781709e9..830c67821b20d4 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics030.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics030.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics031.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics031.cs index 6b5d9ff01f69f9..1dfdf576e9e2f7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics031.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics031.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NotEmptyStructConstrainedGenQA?)(ValueType)(object)o, Helper.Create(default(NotEmptyStructConstrainedGenQA))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenQA? s = Helper.Create(default(NotEmptyStructConstrainedGenQA)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics031.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics031.csproj index 85dcb0cde78c6c..e5560aa9f84016 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics031.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics031.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics032.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics032.cs index e67d55fa45b623..312352911e91ca 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics032.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics032.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NestedStruct?)(ValueType)(object)o, Helper.Create(default(NestedStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NestedStruct? s = Helper.Create(default(NestedStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics032.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics032.csproj index f067f8aab5d6ab..8d4bb13bca6764 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics032.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics032.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics033.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics033.cs index f92eae3534e698..c91ba39aabab13 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics033.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics033.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((NestedStructGen?)(ValueType)(object)o, Helper.Create(default(NestedStructGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { NestedStructGen? s = Helper.Create(default(NestedStructGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics033.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics033.csproj index 625b7570f4bfa6..8395e3da39f0b3 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics033.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics033.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics034.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics034.cs index 4743e63bac6e50..74f863d8fc826f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics034.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics034.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((ExplicitFieldOffsetStruct?)(ValueType)(object)o, Helper.Create(default(ExplicitFieldOffsetStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ExplicitFieldOffsetStruct? s = Helper.Create(default(ExplicitFieldOffsetStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics034.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics034.csproj index 4524d83ccaf787..ad8555eb2c5ff0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics034.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics034.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics037.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics037.cs index ac87133c3ca00f..4a09fef0c8bb96 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics037.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics037.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((MarshalAsStruct?)(ValueType)(object)o, Helper.Create(default(MarshalAsStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { MarshalAsStruct? s = Helper.Create(default(MarshalAsStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics037.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics037.csproj index 26540575dd8400..0b0146f4911cd6 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics037.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics037.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics038.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics038.cs index 77006be82a881b..099a3ed205440c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics038.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics038.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((ImplementOneInterface?)(ValueType)(object)o, Helper.Create(default(ImplementOneInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementOneInterface? s = Helper.Create(default(ImplementOneInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics038.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics038.csproj index a32b629b44cf53..fe2e74e3302f34 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics038.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics038.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics039.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics039.cs index ce4100bed6bfc0..5e264212d2e700 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics039.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics039.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((ImplementTwoInterface?)(ValueType)(object)o, Helper.Create(default(ImplementTwoInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementTwoInterface? s = Helper.Create(default(ImplementTwoInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics039.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics039.csproj index 83fd5b12667ae4..e61887e7ccfc99 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics039.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics039.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics040.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics040.cs index 45e998e3215846..6fb8e938b3617c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics040.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics040.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((ImplementOneInterfaceGen?)(ValueType)(object)o, Helper.Create(default(ImplementOneInterfaceGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementOneInterfaceGen? s = Helper.Create(default(ImplementOneInterfaceGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics040.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics040.csproj index fc1657dc84d830..147aab6787f265 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics040.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics040.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics041.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics041.cs index 659d8d2717ea4c..4c16d417c1c5eb 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics041.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics041.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((ImplementTwoInterfaceGen?)(ValueType)(object)o, Helper.Create(default(ImplementTwoInterfaceGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementTwoInterfaceGen? s = Helper.Create(default(ImplementTwoInterfaceGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics041.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics041.csproj index 1179f46faf7618..8c9bfa09f3303f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics041.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics041.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics042.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics042.cs index 79683b15b9d1cd..b333f8fd09105c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics042.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics042.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((ImplementAllInterface?)(ValueType)(object)o, Helper.Create(default(ImplementAllInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementAllInterface? s = Helper.Create(default(ImplementAllInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics042.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics042.csproj index f2b2a6aa4f44c9..00a3add1b94387 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics042.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics042.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics043.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics043.cs index 8a7b101f7e9d11..ff562a778bc10c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics043.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics043.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((WithMultipleGCHandleStruct?)(ValueType)(object)o, Helper.Create(default(WithMultipleGCHandleStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { WithMultipleGCHandleStruct? s = Helper.Create(default(WithMultipleGCHandleStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics043.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics043.csproj index 31200af7c9b5dc..04fd325fd847b7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics043.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics043.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics044.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics044.cs index da155c5f59489d..930d096841989b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics044.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics044.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((WithOnlyFXTypeStruct?)(ValueType)(object)o, Helper.Create(default(WithOnlyFXTypeStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { WithOnlyFXTypeStruct? s = Helper.Create(default(WithOnlyFXTypeStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics044.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics044.csproj index e0f14db9775d53..852ccb69952898 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics044.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics044.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics045.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics045.cs index cf5c3204d9aedf..6d084ea1e46054 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics045.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics045.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(T o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(T o) return Helper.Compare((MixedAllStruct?)(ValueType)(object)o, Helper.Create(default(MixedAllStruct))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { MixedAllStruct? s = Helper.Create(default(MixedAllStruct)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics045.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics045.csproj index ea764ded8de2d3..22e8508653de94 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics045.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/generics/castclass-generics045.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface001.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface001.cs index 20651259e51f6a..d9c3e4cc1e83dc 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface001.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface001.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ImplementOneInterface?)(IEmpty)o, Helper.Create(default(ImplementOneInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementOneInterface? s = Helper.Create(default(ImplementOneInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface001.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface001.csproj index 8abfbb4bb37c72..3765f56e4c54b9 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface001.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface001.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface002.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface002.cs index 42ca078f86b4cc..6c76460f2ce6ec 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface002.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface002.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ImplementTwoInterface?)(IEmpty)o, Helper.Create(default(ImplementTwoInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementTwoInterface? s = Helper.Create(default(ImplementTwoInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface002.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface002.csproj index 19616a85fcce72..289fa3d2931a65 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface002.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface002.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface003.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface003.cs index 2fb32d4882eac1..1f30db87a8154e 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface003.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface003.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ImplementOneInterfaceGen?)(IEmptyGen)o, Helper.Create(default(ImplementOneInterfaceGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementOneInterfaceGen? s = Helper.Create(default(ImplementOneInterfaceGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface003.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface003.csproj index 5d38afed53c23b..89d9f4da3ab358 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface003.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface003.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface004.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface004.cs index c142910e88a153..7240d7e0614e29 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface004.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface004.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ImplementTwoInterfaceGen?)(IEmptyGen)o, Helper.Create(default(ImplementTwoInterfaceGen))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementTwoInterfaceGen? s = Helper.Create(default(ImplementTwoInterfaceGen)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface004.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface004.csproj index b5fb542e164503..ca1eaa6a66ef53 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface004.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface004.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface005.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface005.cs index fafe395abdebe4..3b4fa4d1cc157f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface005.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface005.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ImplementAllInterface?)(IEmpty)o, Helper.Create(default(ImplementAllInterface))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementAllInterface? s = Helper.Create(default(ImplementAllInterface)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface005.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface005.csproj index bf8ebd034ac0d3..973eb56472b875 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface005.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface005.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface006.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface006.cs index 63c2e71eb60816..da2731ef251cc4 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface006.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface006.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((char?)(IComparable)o, Helper.Create(default(char))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { char? s = Helper.Create(default(char)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface006.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface006.csproj index 5d26cd86bf5b2c..44e69108001ee3 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface006.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface006.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface007.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface007.cs index 7400f354c2adb2..effd769d645c4d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface007.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface007.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((bool?)(IComparable)o, Helper.Create(default(bool))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { bool? s = Helper.Create(default(bool)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface007.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface007.csproj index bb9415ea6fa621..048b15522c2422 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface007.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface007.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface008.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface008.cs index e1143dcc508f8b..188932bf3f9af7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface008.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface008.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((byte?)(IComparable)o, Helper.Create(default(byte))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { byte? s = Helper.Create(default(byte)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface008.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface008.csproj index 9c28664c0beafb..4fa72c9969876d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface008.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface008.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface009.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface009.cs index 615be19f86c504..e5f5a788fd77bd 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface009.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface009.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((sbyte?)(IComparable)o, Helper.Create(default(sbyte))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { sbyte? s = Helper.Create(default(sbyte)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface009.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface009.csproj index e0b0a3937cd064..b07e01ed7d4ed0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface009.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface009.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface010.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface010.cs index 4bb65ef18052b4..457c06fa568482 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface010.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface010.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((short?)(IComparable)o, Helper.Create(default(short))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { short? s = Helper.Create(default(short)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface010.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface010.csproj index d9174c6414c267..560396abefda47 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface010.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface010.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface011.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface011.cs index d4d9a897036a92..e1858a83365b47 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface011.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface011.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ushort?)(IComparable)o, Helper.Create(default(ushort))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ushort? s = Helper.Create(default(ushort)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface011.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface011.csproj index 560a2b588314f5..9f53161c094faa 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface011.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface011.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface012.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface012.cs index 0609c29d492508..3893b2f35523a3 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface012.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface012.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((int?)(IComparable)o, Helper.Create(default(int))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { int? s = Helper.Create(default(int)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface012.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface012.csproj index bf02bfdec4ef05..b338342d632647 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface012.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface012.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface013.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface013.cs index 70eabf7addc16c..707b00aa9de7d5 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface013.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface013.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((uint?)(IComparable)o, Helper.Create(default(uint))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { uint? s = Helper.Create(default(uint)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface013.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface013.csproj index 3f862e07bb5de9..c3b53b2919c4e9 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface013.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface013.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface014.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface014.cs index 1ccff0c693b7c2..5e0d546cac74a9 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface014.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface014.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((long?)(IComparable)o, Helper.Create(default(long))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { long? s = Helper.Create(default(long)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface014.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface014.csproj index 304fd6a8e3d834..05258fbb546d72 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface014.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface014.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface015.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface015.cs index 496b664811243d..414114b24d259f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface015.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface015.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((ulong?)(IComparable)o, Helper.Create(default(ulong))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { ulong? s = Helper.Create(default(ulong)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface015.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface015.csproj index 314cb58a0fff1c..79a47a35be7387 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface015.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface015.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface016.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface016.cs index 6eb0002bd3a371..7567f999a4cf18 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface016.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface016.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((float?)(IComparable)o, Helper.Create(default(float))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { float? s = Helper.Create(default(float)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface016.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface016.csproj index 482da58b423d06..de61d3baa2c545 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface016.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface016.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface017.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface017.cs index 9334da12c85240..6bcb0a2bd7c4dc 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface017.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface017.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -26,7 +27,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((double?)(IComparable)o, Helper.Create(default(double))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { double? s = Helper.Create(default(double)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface017.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface017.csproj index 566f2d1651be67..11b712b75732ac 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface017.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface017.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface018.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface018.cs index a131b7acee21a5..5da7ea6ab445ea 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface018.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface018.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQ(object o) { @@ -17,7 +18,8 @@ private static bool BoxUnboxToQ(object o) return Helper.Compare((decimal?)(IComparable)o, Helper.Create(default(decimal))); } - private static int Main() + [Fact] + public static int TestEntryPoint() { decimal? s = Helper.Create(default(decimal)); diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface018.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface018.csproj index 9fba31ee24d7d0..acc62e974becee 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface018.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/interface/castclass-interface018.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null001.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null001.cs index b70a8432e0a837..05ce98f0f5d038 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null001.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null001.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((char?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { char? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null001.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null001.csproj index 541a19a81ebb1d..85756d0076623f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null001.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null001.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null002.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null002.cs index 3ae7ea23af548a..45bdd481bb1a3f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null002.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null002.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((bool?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { bool? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null002.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null002.csproj index d9a4d24e367899..59a14c5a9ea3b8 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null002.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null002.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null003.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null003.cs index d26b424915e706..a41f9244f7561d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null003.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null003.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((byte?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { byte? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null003.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null003.csproj index 24f90decfd0f50..029d8a1f8d4060 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null003.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null003.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null004.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null004.cs index 9780f6ffd4c2eb..f4a4f6e08fa94b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null004.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null004.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((sbyte?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { sbyte? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null004.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null004.csproj index ce899414e3ab00..d375accac1005f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null004.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null004.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null005.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null005.cs index 1e3a0e0ea7ee6d..021b587ad587e5 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null005.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null005.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((short?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { short? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null005.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null005.csproj index a5fe42664f1d16..8e6727a131db79 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null005.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null005.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null006.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null006.cs index 093de436930c8d..34184adebc02bd 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null006.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null006.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((ushort?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { ushort? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null006.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null006.csproj index 46de0759b4e35e..fb148e4b16c9f2 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null006.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null006.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null007.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null007.cs index deabbe07cc5fd2..a19880419b2cfc 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null007.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null007.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((int?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { int? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null007.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null007.csproj index bfd9fdd0f21657..449384e0eb36f9 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null007.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null007.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null008.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null008.cs index 8aa825b553f22f..f1a60421ad2cd7 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null008.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null008.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((uint?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { uint? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null008.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null008.csproj index 9bdddec1d3adf3..d595e743511c04 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null008.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null008.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null009.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null009.cs index 9e1ba9c0e45bb9..9b3fe40258f6f4 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null009.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null009.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((long?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { long? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null009.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null009.csproj index 464d592f61daf0..958dd95b29eb6c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null009.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null009.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null010.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null010.cs index 25965ff206931d..bf22dbb0d5fefd 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null010.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null010.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((ulong?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { ulong? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null010.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null010.csproj index aff83c6ceecb68..72038d55b98048 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null010.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null010.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null011.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null011.cs index 472bf0cf71503f..a17ea3cbf5c894 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null011.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null011.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((float?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { float? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null011.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null011.csproj index 743531ad2dbb57..3ff9c17a7bf83d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null011.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null011.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null012.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null012.cs index 2bed55963568a6..8069d00a6465ab 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null012.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null012.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((double?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { double? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null012.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null012.csproj index e074b3bd94b8fd..49a9eb88dc84ab 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null012.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null012.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null013.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null013.cs index f5da020d53a72b..b5845142edd1eb 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null013.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null013.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((decimal?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { decimal? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null013.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null013.csproj index 6a28ff2a30e793..ffcb9847bde319 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null013.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null013.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null014.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null014.cs index d30eb9362f567c..7a815c2da4a9eb 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null014.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null014.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((IntPtr?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { IntPtr? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null014.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null014.csproj index 30eddcd5cc46d2..23b8bc8b69b0ef 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null014.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null014.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null015.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null015.cs index 121af70934cc9f..65aa34a805a63f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null015.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null015.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((UIntPtr?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { UIntPtr? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null015.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null015.csproj index 318de40c0360fa..fcfa7815fc6a7d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null015.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null015.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null016.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null016.cs index 6a120ea9d8337e..7a70258e5a95e1 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null016.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null016.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((Guid?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { Guid? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null016.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null016.csproj index 04fccaacc4184e..116e7a554b43fb 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null016.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null016.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null017.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null017.cs index 2dddba398deea3..e47b3da88f6374 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null017.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null017.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((GCHandle?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { GCHandle? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null017.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null017.csproj index bd14b8c49f2a23..bc1571090b8b79 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null017.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null017.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null018.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null018.cs index 1222d479da24d4..314b23ce97b8de 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null018.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null018.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((ByteE?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { ByteE? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null018.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null018.csproj index 5977328823b5e3..8c6a939d34a190 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null018.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null018.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null019.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null019.cs index babec32b1f30bf..a39c1d4e0ef711 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null019.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null019.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((IntE?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { IntE? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null019.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null019.csproj index 60ec5ea92a27b1..7a31d6b4f05d31 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null019.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null019.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null020.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null020.cs index 7c2f8d0fba2dc4..8b7417c98b73cb 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null020.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null020.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((LongE?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { LongE? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null020.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null020.csproj index e549127e0ae9a2..b0296f6e9d705b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null020.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null020.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null021.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null021.cs index ca5f0f60f96c16..85e61b22579db9 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null021.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null021.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((EmptyStruct?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { EmptyStruct? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null021.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null021.csproj index dde0e2b2179a6b..2bc05f51655de6 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null021.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null021.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null022.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null022.cs index dc9e2e3e210641..ad81f90aaef0ef 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null022.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null022.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((NotEmptyStruct?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStruct? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null022.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null022.csproj index bf23f209b68d4c..0f3e2453ff7e52 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null022.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null022.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null023.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null023.cs index 409996df014a13..33bf426e301813 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null023.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null023.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((NotEmptyStructQ?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructQ? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null023.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null023.csproj index ee0233a862c1cd..257df352e946ba 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null023.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null023.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null024.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null024.cs index f1e93be4cb7cc6..052fd3087d509b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null024.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null024.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((NotEmptyStructA?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructA? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null024.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null024.csproj index 3efa451b6b82e9..5ef7aeeede2a52 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null024.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null024.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null025.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null025.cs index c5af351483644c..4bc83817d06138 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null025.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null025.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((NotEmptyStructQA?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructQA? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null025.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null025.csproj index e67953d2fbf872..83472c4db2341b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null025.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null025.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null026.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null026.cs index bbb9701798f6c6..c30ded7c4f6135 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null026.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null026.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((EmptyStructGen?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { EmptyStructGen? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null026.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null026.csproj index dd0dafbccca7ec..35e34715c0e849 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null026.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null026.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null027.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null027.cs index e60c0b13580a7c..c7df905febb434 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null027.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null027.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((NotEmptyStructGen?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructGen? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null027.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null027.csproj index 5a43608234d4ff..3fea25f06fdb77 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null027.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null027.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null028.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null028.cs index 48b79ecb57a363..fc497cc6cf0567 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null028.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null028.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((NotEmptyStructConstrainedGen?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGen? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null028.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null028.csproj index d7d58a09c97d20..04a558189dd13d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null028.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null028.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null029.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null029.cs index 51065e727a7b74..add613e4b83c1c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null029.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null029.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((NotEmptyStructConstrainedGenA?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenA? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null029.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null029.csproj index 19df26bee64051..3fb98157d54765 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null029.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null029.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null030.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null030.cs index 1301b6059a7c89..5debe9f014c511 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null030.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null030.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((NotEmptyStructConstrainedGenQ?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenQ? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null030.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null030.csproj index da42cc6ea5604c..78197862779448 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null030.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null030.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null031.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null031.cs index 7deddab58ac169..c01e6ddc94f9a6 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null031.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null031.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((NotEmptyStructConstrainedGenQA?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NotEmptyStructConstrainedGenQA? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null031.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null031.csproj index 2513424b05be9b..97c6fddd5275db 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null031.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null031.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null032.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null032.cs index cafc0f70be8b13..a06ab30c051496 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null032.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null032.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((NestedStruct?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NestedStruct? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null032.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null032.csproj index 5a5a31cedce189..453b5b4cd55fe6 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null032.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null032.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null033.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null033.cs index 101ee19f3e7dec..73dba540d56714 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null033.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null033.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((NestedStructGen?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { NestedStructGen? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null033.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null033.csproj index 3a03315afea59e..9c27d50c7de578 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null033.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null033.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null034.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null034.cs index 53a381ee582e0c..c856ad728bb71a 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null034.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null034.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((ExplicitFieldOffsetStruct?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { ExplicitFieldOffsetStruct? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null034.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null034.csproj index 431eb35a36ae5f..edb115d146f3f2 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null034.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null034.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null037.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null037.cs index 8dc02eaa961ebb..277f0118fc960d 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null037.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null037.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((MarshalAsStruct?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { MarshalAsStruct? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null037.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null037.csproj index 839391f36fb7bf..ebb28f7d126e44 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null037.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null037.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null038.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null038.cs index 50f1b8f3e7bb9f..9fba3aac0f3c67 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null038.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null038.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((ImplementOneInterface?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementOneInterface? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null038.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null038.csproj index b14ea9c1b1ef3e..f8e547091ff3fa 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null038.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null038.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null039.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null039.cs index 2e058d56a7cabf..55bb3c8d8980be 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null039.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null039.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((ImplementTwoInterface?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementTwoInterface? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null039.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null039.csproj index e807b02ea04b9d..0bd272ad3b45dc 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null039.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null039.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null040.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null040.cs index 0f4f757b936c87..f9d9828687e5e0 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null040.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null040.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((ImplementOneInterfaceGen?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementOneInterfaceGen? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null040.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null040.csproj index f7648d096ae570..bc36d18f0447ad 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null040.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null040.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null041.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null041.cs index 28d78de7c0465b..5b5d33b0e0ef41 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null041.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null041.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((ImplementTwoInterfaceGen?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementTwoInterfaceGen? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null041.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null041.csproj index 9b632a86f2178f..ecc00d1a70686b 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null041.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null041.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null042.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null042.cs index 326840aabce193..3b2074e9c2001c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null042.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null042.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((ImplementAllInterface?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { ImplementAllInterface? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null042.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null042.csproj index c677def5747f7a..7b0056ae639245 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null042.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null042.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null043.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null043.cs index 7b474cfdaea6f9..a6a699ee07878f 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null043.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null043.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((WithMultipleGCHandleStruct?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { WithMultipleGCHandleStruct? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null043.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null043.csproj index d25cb91d6ed6e0..2a378eeaad33f3 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null043.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null043.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null044.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null044.cs index 6fed2473d243c5..ca08a918f3926c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null044.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null044.cs @@ -4,8 +4,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -27,7 +28,8 @@ private static bool BoxUnboxToQ(object o) return ((WithOnlyFXTypeStruct?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { WithOnlyFXTypeStruct? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null044.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null044.csproj index a5f3cbbabe8051..8e25dafedf79b2 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null044.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null044.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null045.cs b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null045.cs index efa8298df44e6d..0e2cf16996964c 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null045.cs +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null045.cs @@ -13,8 +13,9 @@ using System.Runtime.InteropServices; using System; +using Xunit; -internal class NullableTest +public class NullableTest { private static bool BoxUnboxToNQGen(T o) { @@ -36,7 +37,8 @@ private static bool BoxUnboxToQ(object o) return ((MixedAllStruct?)(ValueType)o) == null; } - private static int Main() + [Fact] + public static int TestEntryPoint() { MixedAllStruct? s = null; diff --git a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null045.csproj b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null045.csproj index e2cf34508528a5..518792fb5f8700 100644 --- a/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null045.csproj +++ b/src/tests/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null045.csproj @@ -1,6 +1,5 @@ - Exe 1 diff --git a/src/tests/JIT/jit64/verif/sniff/fg/ver_fg_13.il b/src/tests/JIT/jit64/verif/sniff/fg/ver_fg_13.il index b755e9fd499fd3..5b78918c552297 100644 --- a/src/tests/JIT/jit64/verif/sniff/fg/ver_fg_13.il +++ b/src/tests/JIT/jit64/verif/sniff/fg/ver_fg_13.il @@ -14,7 +14,7 @@ .assembly 'ver_fg_13' { } -.class private auto ansi beforefieldinit test +.class public auto ansi beforefieldinit test extends [mscorlib]System.Object { .method public static int32 Main() cil managed diff --git a/src/tests/JIT/jit64/verif/sniff/fg/ver_fg_13.ilproj b/src/tests/JIT/jit64/verif/sniff/fg/ver_fg_13.ilproj index 69955f2377dbfb..185a5ce1f7e322 100644 --- a/src/tests/JIT/jit64/verif/sniff/fg/ver_fg_13.ilproj +++ b/src/tests/JIT/jit64/verif/sniff/fg/ver_fg_13.ilproj @@ -1,6 +1,7 @@ - Exe + + true PdbOnly diff --git a/src/tests/JIT/opt/JitMinOpts/Regression/GitHub_42719_opt.ilproj b/src/tests/JIT/opt/JitMinOpts/Regression/GitHub_42719_il_r.ilproj similarity index 100% rename from src/tests/JIT/opt/JitMinOpts/Regression/GitHub_42719_opt.ilproj rename to src/tests/JIT/opt/JitMinOpts/Regression/GitHub_42719_il_r.ilproj diff --git a/src/tests/issues.targets b/src/tests/issues.targets index 1ee581384a107c..b7214078e9c601 100644 --- a/src/tests/issues.targets +++ b/src/tests/issues.targets @@ -1804,13 +1804,13 @@ needs triage - + needs triage - + needs triage - + needs triage @@ -3623,6 +3623,9 @@ https://github.com/dotnet/runtime/issues/41472 + + Allocates large contiguous array that is not consistently available + needs triage