diff --git a/src/tests/Common/CLRTest.Execute.Bash.targets b/src/tests/Common/CLRTest.Execute.Bash.targets index 89e893539e69d..dbe3a058c8a21 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 7ae089a0ae72e..74325b97fb9f8 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 6bd9586b89573..a0a84e7b29537 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 d46a396a8a3ce..fbcd8090fa8d5 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 0842e4378d663..27a209663bfff 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 0000000000000..689ebf8db31e1 --- /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 fe26189b79932..eac4251c7c154 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 cab0a418443f4..221b99c432a70 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 ea58e3efb7b0d..59b3884f66b5c 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 81ebaed8c56fd..7b0e0dc00bbf5 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 2abef8da58907..b402c1721af91 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 7413b946342d9..a6fe1d7d6f118 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 d5eba66acbfef..89da882b61d86 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 f52038eeb4d59..2b94e33db9d5e 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 8c7002f8ae7ad..76b5ee9960374 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 354fb3bec09f2..289f3e4eb5608 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 0c988b857a05a..fbe4e9dfe426b 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 1bf95156761b1..7224eea4859f9 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 0205c4188ecbe..7d126d8ebaa2d 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 d446846d89974..6f265c44b362f 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 13c507b0746e4..e3c87327b0b46 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 0eb70159c13ea..cc2454d5d4ddf 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 20c9dc98a6dea..f8b85e4d228fa 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 3226227fd3a17..991cc42b56fae 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 0bbd4157df6af..b2ea1f3aeb204 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 0604aae8d230d..016f047b999c3 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 7af83ce878a37..7e6d51a809fe4 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 b1f597138b9e3..e3698288cde18 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 ce7e56c3e9bd0..8b669192922dc 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 eabd2ffe545c7..64d8d22bd97fd 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 23bd18f021148..706bdec58308b 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 12ead3e0efeb7..a7ab36a689aa8 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 870efffc434e8..fb9a8e3016e6a 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 b362ae0f79f20..e370099ee6d07 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 429b7e5a039ab..0963e12ad2e41 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 2b321f329b308..0e23543a18e13 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 f16ac19886792..e8b608b208fd8 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 6121cad324710..13aa0841f6081 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 93a7d72cef9dd..0f929f5dd9895 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 949d0aa0fe212..6136f7d0de69e 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 36bb329806798..373cf57c2b48c 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 d5d62381d2aa9..a8e3f9279cd31 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 6e03e2ec7f35c..6381f6c052643 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 80ec7871d75c4..80a870e067059 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 3bde6b36b6951..f63a530012f95 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 1362330f45a03..b5c926a71a052 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 ba23a23c47134..ce18dce2cd3c6 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 e472705b780ba..34dfc76d56579 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 2af3d9d274f89..f33211168387d 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 2bac4789f1962..ad84290bc975b 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 a59fa59d7a042..f9a709cc162e3 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 3aede1c19c755..00d47b609c682 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 62d0e0258e1be..8b2acff7dabbd 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 804cf1438027e..8fa3894ee6a7b 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 01d5eecf4b31d..be864690a8120 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 1b10f36cc50ab..48cb444e7287f 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 d13f85957ed90..2ab9db2b73a74 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 9bbe873ad319a..0f00b45e7125e 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 0721b947ce1bd..48e4bf310650c 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 cf3c03d18d1e7..b8f887cb30f91 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 d8118e5f99dcb..7d5dcad9ecf00 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 f81a299a1956d..fe1b0f609cbe6 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 66bddac320848..6053339a3ccff 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 e72ba963b9a0e..5aa9b84662b48 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 f22448b7ad86e..919d4676d908c 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 8875c7555efa2..ddabefa90d206 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 3dde3511bfd4f..67ee8ffc3ac16 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 06fd701de73cd..2042c53325e0a 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 e2b31f5905059..d1ac52ebc7c69 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 f778c98aad958..5d6e64a621d80 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 6c73cc5c8df58..facbf49ef24ae 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 ef02227341082..3d5b1c3150297 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 b8d906581e640..185b65bccb934 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 671ec09ff185a..405ccfbe51367 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 b53f1801a3809..40d4be7cc0ce3 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 c4d8c4bf565d9..fafda598c3a1f 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 6675ce9fe6627..a26e4e82f6fdc 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 b8bdc7d0be04d..0d1516f653f02 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 e2e5beefdfbf8..552157faab575 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 1b9e348af15c2..0c79c7a30bf23 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 d12c8c08028e0..eba5fc51854d1 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 28324826b7c2e..d2f935b23ce7b 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 cc1adf143f79e..095ab93c896a0 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 6a84ec284ab4a..cc313c561b50a 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 62c34143845e4..b095a5bc00487 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 0a6ca852ed441..6e215a04c2469 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 b7e7866669791..49d09fed3ce01 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 45380fce24f30..f3a75ebe9f71e 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 200829879f898..a2b090dd454be 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 c8552b0c7283c..ffcafbb58f598 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 3ed4ffce8d0aa..e675f62ff79bf 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 9bc22a7b87c1e..a9745d61003ae 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 1b022844d422f..f477811140a30 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 26cee5e7e30b0..c7491a8b0ccf2 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 c90655abf1a98..82b773cb86af1 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 f0616abe873d0..57852b47e385d 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 ddfb54af990b0..96db162b80ac4 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 f929ec2077654..8df1a99a62056 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 bf7a844ea28b8..78a4b69bb5dc7 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 ee0f8d32f6236..96c016fcbc1d4 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 15ecf7b8f12c3..6de9b91fd406f 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 2cabea838bff2..f12ce8f7c39d9 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 350c721adc91c..a091e768dadeb 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 122ffaa363ac7..2c6811a82cc5d 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 d308a85cb3b02..6f9f0a6512161 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 86528660c4155..d9f9b032ac35b 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 a720b0a5fd0f6..b781debe4def4 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 0de33c5a3d930..a76234f76a8c9 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 3b358973919d3..e2c54aae29322 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 6a1551e7fa57b..b2cfbf1e8b9d1 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 508492fba11bf..0040d3b4a2ef3 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 6ff2aa53045a0..e07f0f4cd0199 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 b3b90a27ec8a5..bf07a5d952e5f 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 a9f37f72ad6af..e5192e1839e5d 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 5204f5f014529..5387cddbaf9e1 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 201e509d6c4d1..0e87c5cbd064e 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 37847b2965dc4..3af08315dde5e 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 e59df7ce295b5..1bf405a9e2e36 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 2c9dd53b2c51a..cda6dea35fa0c 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 238daace46574..ae6ba5a4dbd21 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 4d3175c0099d4..4afd0031d315e 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 803195402b3ee..b82155b9e5288 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 37752dc1665ea..443702a067100 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 7d8462146d0c6..496c62475148b 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 e0d402fb7d3a0..531dd54f30a33 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 56ae113582322..e124e0fb04c05 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 d6d526cc51a51..049e65911bb00 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 b5f370a44ea15..40d4125613c15 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 88a2d71a9b984..26c9d60cbbc81 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 6b4d25848d609..6a9696ba4f9d6 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 6b3050c99bb11..ff2c76aa32762 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 c9efa4576d6d2..bd4fa3269d86f 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 1c39d5835571d..e46220d894122 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 69fd7b04e53a2..4b52fa0525c4b 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 95ae957f0a4bf..c8ef7c961de59 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 6af8350142909..9d0ec18e32b87 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 986a10a489cd1..a72cb70668a4c 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 08779e2ad4311..e771d70f1ff4f 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 8f4e07a369891..2b675acb1a3ef 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 ca7597b23c5bf..40be97ffe6f09 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 96018315b9fc9..047b59d38eefd 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 324f97f51e002..506cde85062ec 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 1ba27a8d3f2f6..41c1fb1168e38 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 e3306f584d668..556da270733ea 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 0e7a74619c785..78dfc55f79f5b 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 04559f68fc071..5081b197216d7 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 3d648f95e3a07..83b93eb0fed06 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 575d07aa979b2..e69fbf6bcfdaf 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 79878567f7247..8ed9d74c2b557 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 6316d0bf9a5d1..d66dbc6aeb444 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 04967e2be8427..c768fa08d97e3 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 361f584655802..6d89a337e1f44 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 ee673302dd904..331c2e5101f98 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 defcf3c02d7c9..b5bf43fb25281 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 bf35da56452ec..c5946c5c85b47 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 bbd893d8ce9bb..fd33fb8759fc7 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 08ca92f95fb0b..c7fa537000ebd 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 16ac6ced062a7..ed0a0311ba484 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 d93203aadc31a..b7a54d5f5b06b 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 7a83530039edb..fd64853856e07 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 b23f936d2ec0a..386bec0f80d11 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 28574543a6067..fce51deadd951 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 9cae36161161a..fbf1b510169a2 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 0b351883d0e0d..72beb84e9eb5b 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 54b9dae2b9f65..2349df810def6 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 047bf9917f798..74e122474c651 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 f0b12213abe12..3c80f27ad9597 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 47974591273f9..e4afe984d7604 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 352c02bbccbf1..5430229f1c63b 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 0eb860f2bcdde..f201422b30c36 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 238ae703697c9..634739d6051a1 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 c1a1c7075f08d..f167c6d424573 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 05fc0ed0b088f..e99bce4d15ca5 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 1bcd8bcc37811..7161361ba9998 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 8a5d938042e93..aa9053f500538 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 0ea2b849736c5..be3e96df2c1d5 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 89017af4846c8..b0fecf0af02c9 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 e5d608b3ab51c..cc5da57fb169a 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 39327b208c270..ccce9811a6f73 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 9c639a665bd06..906f0bbf86849 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 ea4a48bdac457..c593606a17b5c 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 35adfab5fcc12..a635db981ea39 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 5236ce565deee..582e53e3eb671 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 54b873b96ba4d..37ff26a2f6f88 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 77822c6900272..97219764516b2 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 dea745f17b4cc..4cea5e3306f68 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 9d6a259435329..207d410101c76 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 d7774fa8cd9fb..bb98f91a46547 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 a5aee9cce7cfc..8275941336d89 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 39f44a78e3d71..f95dd01a9fcc2 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 497a2b0455a6b..c2965ba09e5c4 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 a41694a3dcc59..d80245b59dc8c 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 dc651c9614b75..fc86c9aefb9c2 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 7a7221401f840..533a091402b7e 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 e18ee089dc24f..7c08be426f592 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 f746bf30d8697..bc5dcbf4bb342 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 5a8fdb12890b0..2af9ddd6be04f 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 ac140cb293992..fb35d9564a903 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 4162a7e21dbda..2c61b708a5132 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 d8ec3027a90f2..c62c9bc56db0c 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 f3eeaac4f4b3d..9bf6b8b3c1f83 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 47432d35b81ec..89901892c76e0 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 aa1c6b56faf28..3202fe597f3ee 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 f237c4412d66f..d596b7115d8fa 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 03ce50cdbb47d..88dc54e28c50f 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 724bb9fa31d66..378d300ff576a 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 636f3e325e927..ca1238c0fecf3 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 07d4f13c84ff8..b2d613f90f04c 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 f3d9c93f5c64d..75174b019d00e 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 ca8b621388145..f04bede853f63 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 3fb87bd0e73d4..ec0fa053fb39a 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 c470c81db6a69..d82380d9f192b 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 8d24dbdf510e5..144281b7875e2 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 2dc35782c00fb..59283283f6645 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 7a503ed98f243..8b1500bee41bd 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 71791560ba65b..6937ea9846c44 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 41ae82058ff83..f6446a53f58d6 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 f93723c700d59..1623da04f2371 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 89e8b854a3dc0..8651e5abb2362 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 d3d6ecb8a1ef6..05fe26037aedc 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 7ca74cecbff0f..376fac88591a5 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 b052cf34429ad..3a5893f6b336a 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 4f01abdad769e..bdc39b8eed92d 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 30bd95a2e3b30..1760d3f7cda87 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 289f8ac319f5f..36e3ae5e205fe 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 afcf87f602afc..7b409dab0296d 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 c8aa1b5895416..21bdad87843d1 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 65f5827c03954..3a46ef05347e0 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 f4732e0813c9f..c6033cb970464 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 7cd93d0a91f24..84e865a88838d 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 8e2a0b1286c10..74b537d8b2639 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 3cec49a1b32ea..881ce73bf9436 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 9cb9c98a27c17..6057799056c1c 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 e04a6eaaa1e5d..52473178f8fd2 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 2d15bd389ba8a..5d58fc8c40c78 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 155a6ed583ac7..1936c66fad236 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 8a4cdb8470116..1a65c41462454 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 ca2de07eb8107..b7014d2d55a77 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 d839f41d431d9..dd86636852166 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 8ed1df245a285..58a0024122da4 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 70079b09699f7..4c801ae1c82cd 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 614c07956ddc8..87dea2be99c91 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 5fc50df61d083..c7a3766513dde 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 646a666feea1c..c6bc2ee580772 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 abc1b723372fd..6ef20ef810fd3 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 6613bbc0f68ba..2944fb62db9b6 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 26387fc5bda62..26489292994b2 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 61fa7a2db8ed1..5880bc518be6b 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 80e1cbb862392..3ade2557c3440 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 c04d0fbd3be7c..ab8d8362eed0f 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 23cd4a5908b3e..37b53b18061be 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 c9c05ee736e30..08537b15adf6d 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 88761f67dea22..29c506b2790ed 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 cb2cc2023b38e..f7bee9a3c8ebb 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 fe7b8390339c8..5b35cddcbd1b7 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 de8c7b53b0d57..b746c42d03f05 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 44a1283507766..2f0bf8a33c4ee 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 206b553669a82..7c13fd93eee3f 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 95e990067a6cf..f229cf11b9e52 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 23886a02c2c4b..f4688126ad5a2 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 25cdd37bee2b6..ab9e02a15a32f 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 ee66699b9b2e8..78db6548a48a3 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 adca605faa686..76ea59e3367dd 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 8550fc801304a..c1ac53c6a2a91 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 33d51a8f4e4ee..0a4b1bb9ef81d 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 7fb1136188ba5..f3ef987c7d7cf 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 87aa54552dc49..12f349c76d0c3 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 ff65421d5563b..b2436fd19f2dc 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 8adc3ffacc2c5..4fab292dad1f8 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 2b2f8adca91c9..0ef9745f42f1c 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 d85374ed29c16..f59fe94898832 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 b626d7d21329a..e3e328cd7371c 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 c3eaa8e0035a8..e16007034ccdd 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 39df709d33c2b..9defb84da1599 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 07cdaf900162b..39faf9a40c6c0 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 9c0dddb8e466f..1d759d6c64a7f 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 7efcff8dc819c..45b47e04deb0b 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 9afe9ec5f00ab..41a82f7852d95 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 3c41c78802b92..ce30f22c8b090 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 f2f311f9e5697..6649b58ad6573 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 286fb3bbf8f84..773e14e2351ce 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 4be890bfa9571..50e7f3350334c 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 72de2149a0c58..122edeb93386d 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 e204ef4de7c2a..f225a846db1e6 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 ed5b96be95786..609b3debadd64 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 93628edd5b8ad..75b3829d2f55d 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 c3711bfd40dcc..1797059ceb61e 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 6db214e8dab0a..25d5a609adf8e 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 1847eb56b2dd0..de482963feb9b 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 7b4618095f8e8..a0727f248a657 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 3370cfc27d21d..b7feb453e131f 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 c582f09defe9c..b37107a2230d3 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 53638ee350696..b381d0fdc0d49 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 de372db65f5fa..5d9ae737edaa9 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 ebce7e82dde4b..ba796caf8ea07 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 112c6f605ce6e..cebf000e1f8de 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 ab6030c9dfed8..0e53832540687 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 e904af3d1418b..4579f26a8b3b3 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 c98b44b10b919..0a71ab9979856 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 a7919e32c98a7..b0c69e2b4f510 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 d3735034b4e90..9515e62f30c00 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 0882ef2e8fa0d..4709e657f0bec 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 20ba103a6585d..8830166d0fbf7 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 e9e84767f9036..f7fca77a1bbe7 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 393661beec333..dd28b44c9bda9 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 9b24b7d805944..2274ac7a563ab 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 132304d8bb1ec..880da0d0b39ad 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 36174ac6c8eb7..da8252509ce4f 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 d43d0ddd3d307..d2accffa7d120 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 3751d89161459..c0713710cb07a 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 b92d3287a8889..c6d315db21e7a 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 8c001d38f5b0d..99de5e20f0a2d 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 21c8480f7f64f..9a22a6c926b15 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 8e3b829a7d3b9..4d9ffeaaa94bf 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 790bec5943081..3423642662924 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 1ce79f9c4d75f..ceb7184cdb34f 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 edbb5a1e4be8e..b74bf00022690 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 4dca39fce30e9..1ea7b2e00b07b 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 501f58a03d236..054a3a6b22023 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 4e1e08bce1e7b..c2f2b19a4a48b 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 158170a88c0b0..4704fed6e0b94 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 31b8c30d71aaf..ae2c725f0a7c1 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 588e1d8af21f9..99a0a2fb66bbe 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 f690c45f7fba2..fc95305670f0a 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 d7c035967876a..1ba27cf2ee6f2 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 f88c464b6d38b..8646e56995949 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 8caf78248c4d5..dc0cc3db6e74f 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 e42ef7370c719..a39899f4dee01 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 f8c769207a0e0..8e9758a07f707 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 0000000000000..10468f5e194df --- /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 0000000000000..94b1f9e899c78 --- /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 0000000000000..19296391f28ee --- /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 0000000000000..036161a191b99 --- /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 0000000000000..2d0399b4354a6 --- /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 6b4fb63cbf68a..ae19b49ac59cd 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 a87f33bc33d73..a8540d6f5c622 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 6a60e5f03026c..4414f6a91377b 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 016265d613c50..cc998b68f90db 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 b8217e4cbd5e5..b973a565fd156 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 3322668227bca..083cf3973f4e1 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 136047b6a455c..43ae7b9fe8422 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 ec1ed25880e4f..51bcd8438a453 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 6df0c5a0dd369..f22ffccdb92ee 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 8c6f65d7552b5..41c8366496c4a 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 987d673ca5341..60eabd015ccc1 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 c13f2ebf28be3..e3f874b4bf5ee 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 0047cacf67ea4..96d948d47815a 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 1c8b1f4e321fe..283332f455508 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 37d14148149a2..54d8155eb1fa5 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 100f3a2956203..3b518cd828724 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 0cd835c20c6a1..1f76d8808ad50 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 c2e763005c378..ffe9df5c6dd02 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 c4a99c50776d5..42e6b9a3049a4 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 51820ffdca570..7f1af028482ca 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 f259365129067..4ceb9c3c10226 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 e6d2aaff07308..ecb42552f2342 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 ebc6f454918d9..79fa9bec8a9dc 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 e740b2003d47a..60dce07de4c8e 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 f77c2a784204d..da2407ff1ef31 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 a9903c64ca894..f2aa0f571f835 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 d1f336d1dd860..e8de056fc7d27 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 d85937541c7a9..04bfecc989552 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 50465d262c76d..a577bc80aa5eb 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 fcf3c327ddfc2..525f1752ca580 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 2a3b13f094669..551578d1f547a 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 e28d8f8654dee..e2f2c9eaeb0d6 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 5ee9afad1c1f2..96d2c451ab849 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 852fb8bf99467..17c529de72980 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 b611d3d2c9ea2..0a162e8a2ddd5 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 73876f22c2d30..594b288892b06 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 eb9043ec0dc29..7c37152404319 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 e4ec69f04f9c9..50fa2ad560efb 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 79a02d630c61f..d898b33397de0 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 6d6f20397be88..b3919e1d8a73d 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 f63f6ce2a34fb..752a282d56e10 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 84ce4573b85b5..e113a712d1f14 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 04a2606025ca1..9d510a10c2fff 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 7c417269ce92d..58fb006ef394b 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 b6f2fbe40f2c6..2a21140e880e6 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 6bb57d9656a35..47102d24839f7 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 9aca078692989..da9b0fd153c25 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 d404761d93687..331bd9841eade 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 84698772b9122..5169f7cfd65df 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 d8e88df212c2d..2a3b587814570 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 9898e7869c100..21bd05416b597 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 32b4c8de7e94c..3d6502c661ce3 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 022f8f92312c9..4d56a3568a4e8 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 a1820ec6fb983..fb8c0fd350b79 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 e09c646bb7fc5..be71a1e38859f 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 f463f860f0a81..a0ec08d4cab20 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 6456118c32978..a86af0c0906ef 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 17f23c274c771..4e76a3bc541be 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 0d13705e1864a..0193d732bf310 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 680468a2ce6b2..a53d91f071d79 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 680468a2ce6b2..a53d91f071d79 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 680468a2ce6b2..a53d91f071d79 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 a462b6d162785..0a414e9d22440 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 fa4ebb678c022..e38ec9a38261e 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 e0109628129a1..05eb92fa8aa36 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 69f589f6d10c2..733ac14a0c3df 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 887c03dbbc327..091d737b3f1b9 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 b158805738488..b0365c32f182c 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 d551f42ae3078..c35e308d629a7 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 d7f291e60fb65..d0530267ef3f9 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 2f9cae4e5448e..67dc4efcb3281 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 08286b6e6bc4f..dee8eea677fab 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 643d51c5efbf4..1e99297e0c914 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 2831b11aa17c2..6244d1d922b06 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 2b50bd97d6142..8f7c8d3fbcb19 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 1e1ecb3344c8c..75acf466fa927 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 860fdcccf6934..41c1cde346f14 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 0c538c7d32bd0..a905aed0b7611 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 7d0637f9c4cf5..09d3eca61485f 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 dc65e4a3ef272..cf4d98e3f18ed 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 6899db0c0b9e9..01746737990f7 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 2120c17bb1447..6afe8f60e5fd2 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 e79791a3a3b2b..91cb7f92597db 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 ac0ac13196337..37579534dfa3c 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 4e5cb594734ee..b76b65d3d0e30 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 746f6a8bbb139..e5a238e9d0afd 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 96e92c2266214..6d58613d91320 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 628e272b5e650..af6bec381172c 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 1f3cd9577c66b..62e5f99ed48f8 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 1a4812096bb25..1b6889fc030d4 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 1af405b23d6ea..d3ad694ac439b 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 cbc07a44baa80..c4b0be9b5895f 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 4b32e8ae8b4cd..f3e2084c7d883 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 390dc2d478f56..84d607a3d5ea0 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 8c69ff783c77a..b02c827b573bc 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 648d208e761b9..1c010e64347c7 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 0aa5fbe0bdc4a..50883939dd7f2 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 d47226cac683b..c8199ed247e0d 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 8fe4f6a963423..210d6e83e1451 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 6a1c2bac53899..8782d9e772e0c 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 c384b1ad50d40..75f3134c14e78 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 cabea474dd772..e0c0c1113c5b9 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 06f36159d2b09..01c8e09ce7981 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 9799ef9c88515..620546d3e3344 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 cda4b9860ba68..ac6e9d1d93f88 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 8eaac5321feb4..b83400e59d771 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 9e7fa07827fce..db80849dedd0d 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 163c62780fe88..c60f0e6c47283 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 7e45024c3270e..0701bd09805af 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 b83f3326454c1..ca79d3640c505 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 c0732dcb4673c..51382d4b5f1aa 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 11e9c8288240f..8c24e8074de3c 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 4ba1866144c97..f548d29ff0fb5 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 984417eceabd7..521801d77d035 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 233eabf932a68..024e980485dd0 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 ec0f4c0a14761..aa54ffebd36c8 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 fe36d276ba6de..7f4206cb4684c 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 41d66075d8de1..680dbb9065214 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 190d71aec489c..1545c86e36413 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 643a07c31b83d..32be903e10139 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 b102aeefdea7a..2d9cc5750b915 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 20e9620d06613..2dff157caa158 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 3229bf34a5857..4713ed519a0bf 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 17f39fc6831ae..25e1648aa33a3 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 9e6114ad6c9a0..36a5a474f5b43 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 096cea6813a14..396478769d1c5 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 74374862e9fb1..93e1d347d6455 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 2beb369188767..32510835e2801 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 b6775580a81be..693baa38d1bd4 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 f5a2f5256a383..4d6da46c8f31b 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 6703998a26a66..195dd48deedac 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 e041777422371..d008e784b8f3d 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 3a1f31f128b88..66dca4d4deffa 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 151ee1264a23d..a9c13f277b616 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 55f1626b16dcf..0f64a7276e904 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 0a3ba4e4eba8d..16458b097ccef 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 3b73e42e0c938..e81aa91172566 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 43e72b4dede44..94bfb064feece 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 4dc9053c11aec..a1ee5a04dbef7 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 8da0e6c3c58eb..a14a479666474 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 756f32beb7f6e..6db8691e703d2 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 f96498557dfc0..2b54915898cd5 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 ccf848d36f186..a4e1fc3229a71 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 27e8814224369..8761017386e00 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 6dbfb1d096f1f..fa45cf93b8bb0 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 c6622ee96b02d..13f0899c972fb 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 fb7094acac091..cc2a4796eadf7 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 74c2c3623de8c..882cf6c65c16c 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 c4dddfa710027..3f6e9353db4eb 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 1fae7cc7b10bd..791b405d12dd9 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 f7b9d3733369c..0eaadcf885a77 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 12d68b57e74eb..d3062cab3dabb 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 e9638a4483b55..ae71b3592b8aa 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 7c470673424d3..3be58daf3e9be 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 f0e4fddfb0b55..743c33028a9b0 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 3711328d3f080..840c5f1af2b89 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 777913d475605..50cbb5aefe991 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 adf67daab9b59..f7a5e8c0e7d1d 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 d2508e8f54f99..e04ab1ec7a372 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 25f3bbd2b6d49..0ee761aba0942 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 e7e8fbc543615..85956df45f6d1 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 1d37e5584eaf6..d5d1b48639b97 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 ef1452c7e49b1..bab75bcb13ac9 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 8945a5a5388e7..f56e79db105d3 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 9c3bd38cb0eba..5a3250ce3c339 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 0b63a139a5adb..4a3c0d7200ef9 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 4e638acb0ad0b..e13c785097a1e 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 aaaa1918da986..24a88519aff5e 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 2b7cedf011b33..26891b32e101c 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 f43566146c66c..f42d378e6bb59 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 493888a021209..838aa86b074fc 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 60efd8d1bf970..9ca36c24dc6aa 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 652e0a84c0bc8..667f20c36d5c1 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 070b919b51a71..761905153ee99 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 8b5e3f1875cd8..fc8dc54004df3 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 143bcb6ec7b25..3f650379bc6d6 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 7ab25edd8e03f..df6294d7dde3b 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 84fddaf465008..fc781a9578709 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 47839076fde28..5f5f9b7fae1ee 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 f29c780123132..74efc070b0d31 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 4068050eb2409..1b27b1f2fda4a 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 88c6688f9b164..1edb2fb6f6293 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 bc39f67d1c245..f5bfc4ba9859b 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 46200a3631aa1..89253a4f5d333 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 8da62dd8f5109..3a08f300540a7 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 417ec4f9610ae..afa4d272f48a5 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 d4a970e434226..09b031b5a3268 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 0e9b30f047c29..c00c8396f9618 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 5ed9a8be38b1c..300f87bd1bb2c 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 c24dd0a8c8408..3a7f7892b5826 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 0032ed61becc0..2235c56ffbbd6 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 d99bea1fda6c3..b9ae79019857b 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 5ccdebbfcff3f..3edaa17fd7ac7 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 2168615696deb..9193eebd82b3c 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 c5948dcbdfdc6..804b2e362509a 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 8ee1e3da42714..2bccb1565233f 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 05993bd1d61a7..ff00b492a9629 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 5565bcefb2a49..f3225a5159ca3 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 ad12da5c4d176..624a226f57ac5 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 93d23bfeba2db..8b0b7da0f33fd 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 cf4005915ec2b..3678eb207e88d 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 e6dd65812ce56..bfcbc42af3ada 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 ca07f21deb028..be8b55b09afc9 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 f4d69015cdf89..b80571c2a8e9b 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 7c0be265f7116..dd4f19dde8110 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 2c9f97aab8373..0ec1a424ab634 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 d3c472dde2615..a2410942540ea 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 1236e6eebc170..7ea33b0fe8806 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 90266a3a76a3d..d1f022724653a 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 c4ac297821bf6..be28e292fe68c 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 9e27a3956fe3a..41b8a915083d9 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 92d5a7878a6af..a12ff82bb549f 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 b3549edbd78df..ecafc9dbb62c4 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 979b11ca63f2d..a16f966828cee 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 6b9b4864cbcd6..cc4a55192db2d 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 836e6d24ee584..936f92032108c 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 b2270f76844a1..ceaef9b1ae16b 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 db12915d7657d..bed6ac827aaf9 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 3f657a5f332f5..a14541690a5e7 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 6595f0a1f511d..00e13ab94f89b 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 d66c0011825d1..675190deb3dac 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 00c43815fc53c..6e181d46d52a3 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 05adf7c375385..dec6bb9e9994e 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 001fa4d243ded..6ae502695ce71 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 5eb063caa5017..f10cb26ece131 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 d95785cd5c4ed..34a25d91c9b48 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 20edc5c517366..f4cd880931c61 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 e3db86c8114e3..509a2b0c720c6 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 f2d7992f3c8ac..8512ef1b14bbf 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 6fdce82e0627b..51db8087635b4 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 6eff81efdeef0..97dfd16a463ed 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 d60055363b2d6..d05b53e0ea4c5 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 c7c18210413a0..e92e03b691266 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 ba1d5f8a90952..d95e049bad8ee 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 0d50932eebb78..bbdde7316b348 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 1d35ba328643c..c9d4e82b09b67 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 075e9b36ff07c..3f04e6f772b29 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 efef8d6595429..876162d92e22a 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 5e98d40f7e795..d99d86ec015b2 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 046882e4c36af..80b3f4fb1a2af 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 61ed439402476..c6a3220ef8e3f 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 14be29f12204f..0048ee488219d 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 c951c9c10e7e5..9c7f1cb4d69fc 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 b241e6e5e8cef..5119889a90e3f 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 beab82f5d6cf1..cc80c7b184218 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 51702ac08b346..7865f4dfd863c 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 154b8ecf376af..4bea4bd1a4ea6 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 18f71c6c469cd..ef4ca253f6101 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 b88e71650630b..5ffe69c48441b 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 b95a968c11ae6..dbf0dbb255446 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 0d1fb8bdbb894..4c70002ce4585 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 514c7f8a300ec..cf357905f5094 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 b6783d0b97ce9..624de442321c9 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 d9eac35e26891..db7bd0fc75e0c 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 bda87951344c6..1e116087a9ac4 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 8dbcaec1fa501..d1c2709d23ffd 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 a89f43937ffa9..a47946c240493 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 cacfa5d25b693..4c0ef4b995e10 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 d7efa478c8b95..52cb961709f4d 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 30a5efd78ab46..e3ad3beb8ac66 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 8c30d2a5e77f6..ccad3b7e5a75b 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 8d8ad2ff4251d..94439445ed46f 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 49ebe7f03e78a..cc4cd1209e89d 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 092d5d2c041e7..499525c6dbd34 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 c9e22abc1248a..c7bb4379e6e86 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 5800a74214b44..836d71eb62cb2 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 2814889784652..51fcf32bf190e 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 fd5f854ed6f28..216dcc5450d46 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 6a8e3c9ec50cf..2ae87b973a66e 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 c5af34fed3d1a..6e5d152577154 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 8b053b21c95a4..48d80e4b8e69f 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 4d323934d46df..b1daecdace455 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 6ba0eadb30c74..cef385a48c943 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 0ebf02542d504..f5496b8ad4fc1 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 a8d2435a8ccba..b5e235e0cc4af 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 be7df7c9f6e07..6607912d46dba 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 66074ce3daa18..86ac1b30a8fd8 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 cc55fa45f411a..9e8a20aad2413 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 7c9a13cf56906..7a896cd785abb 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 6f2541da4b9ed..cf92458204120 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 125a2587b15be..3f8395b4b1b8d 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 a34dd610ccdef..486192c2ccee8 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 5fa3b14fea829..0a376566830a1 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 3a3e8dcfce8e5..2ad9c26ce9978 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 0301ab2a9977d..e6438b89c251b 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 378d98fabe518..dea8657e5ae20 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 4457c6382afde..ce8c503024e34 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 4630b15203c82..b5a617bbb09b1 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 7b65b5d95c17b..e18c8bf9eb369 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 08bc6ab86fa55..90fc7f929705d 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 9ceb1beeda468..ebcc2b8ff657f 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 f907d93f13bcf..2ef5552003c13 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 8f763a64b16ea..5c2852002b296 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 d5dcea7affff4..88ff7d59ddb53 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 ee01f7bc31af6..9d7ea36962483 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 06b1d74945cb1..68ca00d08e381 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 8fa7a92abb385..798062909f4a6 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 ccf8ddd85db33..9891e7c670bef 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 1ae8db2b708c4..6f4472939169f 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 972203071e9d4..06a9e2a2b046c 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 0aef3a3524693..6fc5914519c63 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 5c84407de6e6f..207ad16e5c188 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 c7981d517f829..89e74d4a11412 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 6a6a261b94d82..e2a2b19623f3b 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 3e50bb20ab626..d77330ff326a0 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 1190f1a0868aa..c4326639ed321 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 56e3946a7e53c..1c4278456e5bb 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 38f61ce5d4010..a0b3da551bed6 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 d4fdcb57e0af6..e6e150342c634 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 8357258a7577e..2d6c3f244c561 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 b89aaa741bb59..347229c489f2a 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 a56802ac007d5..71872064c55ae 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 9674c6c0e23d3..aab09239e88bd 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 01c0aa90bfe25..a0dbb3b98d74f 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 ef024bbeecf79..a16adbb43d0b3 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 474a54ef89963..c5bd8be434dc9 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 9c414c8cb7f60..1961ccff5fb66 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 2cfc82fa115d5..b32d6d0b3059b 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 049e238628085..ee318ae536dc0 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 5d8f429205b61..565a923d7cee3 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 e9f92cc351615..4949df953a40d 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 49f2b770e6454..d7078f260af4f 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 f81b50cf0d0a8..006497a965f8f 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 f170eb942c138..550ddf837d729 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 2483e224005bd..681e0b9e93d75 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 4a1a565cfa3f3..a8a934452a9be 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 c4e98e1031bb4..61ffaf187e4eb 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 be6d2836c01bf..fa09b7bf0ed9a 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 447b95aff54b3..a97374aa8ece1 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 6ab5d3b5dea2d..50bcf93249249 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 9f1118401181e..65eaed8b385e3 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 741c662216697..792280d5e182f 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 be282365d323e..ea99a01ab8e3b 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 7bbb046e9823a..6cbdee43de463 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 206298c4e4159..77fbfd23fad8c 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 063708a2a4af1..d515a23f83fc5 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 0adf16d3dae4d..93724ba706e34 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 f6e6e6ebe445e..d4b74f9378642 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 6a8d81e486fb2..e0ddab3f2c74c 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 e3987a12557e8..730a5a63881e7 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 04aac55b82720..674a95a19bddb 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 b4e75f4743bfa..9e2e9849115a3 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 8c21543b1dc29..98bbd3fdcc6a8 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 be4dbb16bbf9b..88baf36468f37 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 a9584d328d98d..e1e3e83b5d379 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 310c606b8bcc1..8927fb011ea0e 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 d9d053ce02662..09816980baed7 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 b8e2bd558f948..3d981ce67e3f3 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 2b6e242648c3a..b084409ff99df 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 cba95157bef55..c668093024d1a 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 1f9b6ed3e5f7e..06a5a22b84856 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 9e4429316e7f0..cc4bf7797cb64 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 f27a45d436971..aff346a38adf8 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 18ba2adce7380..22d126d1aff7c 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 c6d3cb3362f8b..7eedd560f2ecf 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 83d062355db3e..c5c3f7b3c7199 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 1f193e5c8915b..2cc57b7b85f5a 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 7e23016580e17..d8100aaaa0636 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 fabe19e1b10a2..072f970e334db 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 33389c3027946..71aa29224627c 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 ebf33b1b89bae..6a135dd0bf161 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 c79fcecfebafe..e55b17710b0c0 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 a495304dc373b..ed414060e6e49 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 741a8953c467c..c052709622e80 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 f7b2af1590fa5..1558660d1b118 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 6951062bd56ec..e49e419e1cc3d 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 3a45d3e73cfed..66c6c0d4bdb7c 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 1ea89e99f678b..f2388a80aa1a8 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 aae8e46a2235b..ae5b4938bee3b 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 be2d92abea254..e3a2b3fa0bf8c 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 c5d3ea4dfe4e5..ebbf78da58757 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 62ca804bcf74e..e2bf5b4c7d3d4 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 f4dc3fd7b660a..ef2790505e4b6 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 8fea137e20aac..00e6b808b33b8 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 65f611c86e475..052ee655c49ce 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 ed436f73c1d83..c1b0f38f61e74 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 49d2ebe9e9f40..ffae46ff23849 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 584679acfe025..f19491473e880 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 2bc1061e5bed4..ce7665395c762 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 f9388f2d25f7d..f2b0cbea68062 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 9feddb8e734e8..165de2f7539e0 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 ded53e256d7ee..d82fd1446db9e 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 e6084f909a571..f0185974152dd 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 8b6da6abc5ac9..af7ec75ca980c 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 779dd670cdcb1..aab172ec2574f 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 b3ea09f1c58a0..6fd955abe6ab5 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 377da85f8be92..1f2fab9cd063b 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 85ab8577fba1f..00c71ce57ac8b 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 24a5b0a23fe5d..959b80a07f29c 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 ea5715aa5b3e0..8fbb6939068af 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 ecba52857bf6a..87e15bd879d41 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 c61d2a97a9c2f..78286faf93421 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 c4ead560f649b..60ff29c2b0d38 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 3dac7eb3ae832..55a7af88c57e9 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 6c5cdd0091fb2..fd9d98d0d52e2 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 601173a0da00b..9154e33dc0ce1 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 e8238213a24c3..1ea3b9d938dd8 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 f5ba58ce63cb9..6d4984ba9e8da 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 e5d19866007d0..72dbe28ce4ba6 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 86338c9d11004..a14108bae79d7 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 d1ed95cdd7aae..1b54cf28ae51a 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 7932d9d074626..fb97209469fb8 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 cb26f3cb270d7..5ff0d27ee6cba 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 6e16e0d1ee0b1..81030c362eff3 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 34133627c745a..d279e9c7f90c7 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 0341d86380d85..29dd045378f99 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 ff41cf0d9d768..067c68280b711 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 c4ead560f649b..60ff29c2b0d38 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 3dac7eb3ae832..55a7af88c57e9 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 955c0b76ea852..b414b1a1fbec6 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 413866fe34095..224c68326387f 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 df5079d1db5e6..82c598bb38387 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 2150e5a7859b0..f117f1cf696b4 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 6de671a3341fb..9fbd02e5acb8a 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 5b3438e5ec8d8..df4c7fb742fef 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 67ed2621df3d0..40825af844f43 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 37fc85bfa1604..741b423b76d92 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 1b75594665e12..bd365b69f6550 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 b591c92d36c3a..7326d40680957 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 9338f8bd24ce3..5ccdbcf49ed82 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 966702124c3fd..99f6f28a76c47 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 a63745619267a..289d4ba2ec7c4 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 c6cb276940301..efd1ef8c9b9a5 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 3148d5fd6ce6b..905bfdfdd3e3c 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 296e66e812904..0eef2d5a6261b 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 da9d133446c90..4e17558de692a 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 46ff98b5b8965..45699095b2f01 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 8f7489ba6de77..d64083cdaefdb 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 e300188994d42..90f9fea184765 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 28cebe50efa55..9036ad58fde17 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 7e0fc8f56c6af..3a6f6d12dce9f 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 b35bd0c44849e..47aab54f8081f 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 ddb2435c6136d..24e01e4305a86 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 cb7d093228d4e..2742c2766d6a1 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 6b15c5892e681..7e3f9b485ec8f 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 b8f3f5a7d3f9d..586a10ac6dfab 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 556925b6c08ee..8ff037998d252 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 051df565a0654..7c0e468f82832 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 448fbf43f0e70..a8fbf8cff0ddd 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 97cff255676dd..92240e11ba564 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 fca9d1182baa3..f5e923bdd9b72 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 a1464d3d94c4b..99581784ff0c1 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 fe4a2822d7cab..4ee2e5892f225 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 2d89b529729d8..f017dd5afd5d0 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 972c31a9a80dd..7c7ed9f1abff7 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 ee2742b7d9a48..a74d797791361 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 bcaa593ba8113..0d771280a81bb 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 53638c96e00e9..64b386bca2de7 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 ba46c5599f8a8..e3c43ccd56057 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 ef10099b5b613..cb1529c477f80 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 c8cac0e3ef675..b5860d06ebe5e 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 df452a36bf970..19d425b990f88 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 d0b5ebe9734b4..351f3a2c77eac 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 73dd6861d02ef..4541024ed7b6f 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 86fb9acaed426..26846f115155a 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 96e79b702a359..414fb0a733abe 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 652ecc7401e93..959c33430bf6e 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 0b751c5143a31..ed9b77cc5b63d 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 a2b2ec80f435e..6db1ac4e7733f 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 2dcd47a45d999..4f43697af31b7 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 cc69f000dcc76..0000000000000 --- 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 a2f2ad55a5aa8..5910d012ac193 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 13fd9bfd7dabb..cad5cbb4d5861 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 0c412f2d21371..a10728d944d6f 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 ee7b9f9ab2ab0..a8e035fe6af30 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 a2b2ec80f435e..6db1ac4e7733f 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 1d12314da3887..bf1d89a6bb647 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 a2b2ec80f435e..6db1ac4e7733f 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 1db5d131e934c..0c5f8a50f6c9a 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 a2b2ec80f435e..6db1ac4e7733f 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 1b929a3c249dd..3695d80acc87c 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 2896818bdd97d..32aa94c5193fd 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 06658ec07a7ad..e6b0b4f61fc2f 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 0c412f2d21371..a10728d944d6f 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 81f61de652c18..351456ea0c0e8 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 a2f2ad55a5aa8..5910d012ac193 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 3f678604c9820..f8c0fd4ce0beb 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 0000000000000..5910d012ac193 --- /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 a02de55c9ebfa..685d783946629 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 8e55964cb1e6d..8dca0055a4f0e 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 5afe2ed82dcc9..be2eba97b4604 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 9aa6e0445e962..fee982ae174c5 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 e8bf2f57c9af6..9e8c2e417b067 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 a2b2ec80f435e..0000000000000 --- 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 0000000000000..6db1ac4e7733f --- /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 316b4c66d6e65..c7a11961df4cd 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 a2b2ec80f435e..0000000000000 --- 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 0000000000000..6db1ac4e7733f --- /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 3889958b9f755..a99219e3e036b 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 0c412f2d21371..a10728d944d6f 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 912efeeaf2a97..670e4619da386 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 d7cbe7034b9bb..d377cbdff470e 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 4257dd86945b1..a81caa88ab58b 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 32cd5fabb57e4..65dc88d717493 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 573c0905a9775..0c1710ce17447 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 4c719ce2d08dd..609c535360f3c 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 64e439b216e97..7b45c5ebf647a 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 219ac8407b771..38fe99091a13b 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 85198a691a500..c117a5e511eef 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 73863182693b4..bf9a1638f7601 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 d963329ac3032..30ad0b6196023 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 32cd5fabb57e4..65dc88d717493 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 ce78d331ab1f9..f66250eba152d 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 96aec5e92f575..ab0270d2e56a8 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 07a96743919be..ff70fda1d5122 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 32cd5fabb57e4..65dc88d717493 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 b21973ab0515f..f6a781f8020f4 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 d7cbe7034b9bb..d377cbdff470e 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 1489f3b7a9908..202fec8dd852e 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 d41d0a83c13fd..9982120d6daa1 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 5d49dc7356ff6..0aa6f0652d7c4 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 0c412f2d21371..a10728d944d6f 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 8136206597938..328ffbe93949f 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 a2b2ec80f435e..0000000000000 --- 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 0000000000000..6db1ac4e7733f --- /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 4f037e6f6283a..5104e8543cbcc 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 e7c7ec8648b55..e739876b9d2ee 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 a7f5864bbc22d..805530c4c3afc 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 bc2f4df5d2703..22840d9c1d0bc 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 3e205efe9d5d8..8e0e2dff9a9cc 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 80d9b0f2ad32a..e731ea4fda939 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 fab84f019e932..973cb27bd4610 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 71f130a90caea..f1232ab9ff729 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 60a8e11896ce8..7fa6975c3d9aa 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 adfd9f14918b5..97b17ef5f39e0 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 87c65039326bd..bfd071dc56026 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 f7afcc689cb2d..98608f01c4b5c 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 744f920332c04..21624cb0a8fd9 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 f189e685b49b4..c92594bbe2cbd 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 cbd31255c93c4..50e2812cc1719 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 769e77cfbb27b..8017389c17ccf 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 13abc20dc1122..a25776abad61f 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 d98ff356c7edb..7dd331ceff57f 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 8c8b60b9ef667..d3a8c957b8254 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 d82f88ffc5a66..bc1efe5badc0b 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 b77e24a582ee4..5cdf52f06fd0e 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 e2ec4f9099e14..b4fb1489434d2 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 38015d0ab62c6..9227a0e8fbc0c 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 314b31bc3a8fc..250324e9729b0 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 9dcf44a6aa0da..79af346f86754 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 5bcabdb1d8b0e..9e280491b9126 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 3a6bd2385cf59..086e105de0a31 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 eccc4fcf4461a..924a1fd8294ef 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 16a8d95e2c212..696aae70198c3 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 6554b2b56278b..38c91474b18a6 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 b4c968f953864..8cff6829de8e6 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 92a71101fa6da..c9a46847a7572 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 6892331c8c936..fb21c73f8454e 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 6cabb620a8474..32042cad7ceb7 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 32d613c2309a0..2d6d4f6a19b4a 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 c92b6aae9f9cc..67d1fb954b24e 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 571ee9288448b..5a3058f1d8add 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 1474b8104ac82..ede0c0869850f 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 04713c0f936aa..5f5b565e74ab6 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 8b87775c8a71d..1efcbe9c6149e 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 b155b98a3368b..738949a6677e6 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 5fd553b3549a4..93eb1270ae528 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 6a9ab43674d49..1f2c8bec81e29 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 c732c9e1098c3..8fe00b04091c6 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 4b9b3831096e2..d426069b8dacc 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 6b72c872c8e9c..53455db7c629c 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 dd88d62844a17..bd87224322ea3 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 75514d865d726..462dcdb90fb04 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 0af8c9fb9d63a..67d8f6f18a909 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 a898634b7c4f1..5d9dce7e7747d 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 e16f2345f222f..7ce93e40e74f2 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 b7a1163500d58..e62b7ff44b1b2 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 e57b9e0e18147..5d89bdb7ccf8b 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 2a85d58ec45b3..8f2cc2fc9ad18 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 b8263a2a59118..398c6d42d7a2a 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 baf7c2c0701b6..41a21f391d6b0 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 4eddab37eace6..ef5ed028f64bc 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 bcc12bd4fa47a..0ddcee4045583 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 82da60b8a7cc1..699ccce9f2873 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 f8b94aa10ccc4..9e0cbc3d68632 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 16c26a7ecd391..2f97c38c93db3 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 bdf8cc816f4b7..2f61145b5d7b1 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 af8394e07c069..43dee74967f07 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 8ff8c5d33e821..7eb12245aa89d 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 76c9b14eb2421..b0fb28b092bbc 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 361bc8717586d..8e53c16f858b7 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 f4f61b94eb919..23d6c7e6133db 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 66563c286e1c5..e05edd7d04abd 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 02b4134d5d7e9..473cf6671e872 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 0314ac46822f6..3c8ec25ec42f0 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 6485d2991c924..2eca272e8774e 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 46199306538a4..6f5fa9b592ecd 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 3313d3fc7b097..17f3afca724df 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 ed845c68de004..4024dc196f151 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 6d346f9e53bcb..23433abcb1165 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 22b591e8c0c47..cf519051ea8ec 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 3a71303a33109..cf7f1c00bcde1 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 ccb04645728d9..730c0a0fb8338 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 ae842c2b7a56c..21b5d5945d348 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 d81556bd72363..344992ea2419e 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 2ddbf1d1330eb..718dbf6bba509 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 3b983bbed7d91..e04ad596633e1 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 879aadff58066..f30096b28270f 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 9a036722d904c..908e2737686fa 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 575f59084e293..09c7534738bee 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 197f496392029..bd21082d73c2b 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 e7bf3140cb4b7..0755f6ebb123a 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 9bcb5b54bf9bb..0301dee5585eb 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 f44a476c848af..a393d3d7d1182 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 50bce1e1ccf91..b8f005ae26d66 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 4e92f5d6cd8e3..425c8db11c0f5 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 a0ccda730f851..5dfd7bfa7d8e0 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 00cee7a45ed18..cebc5e0c4b3f3 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 bd3e2815ce212..6a017c5f49ae8 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 dd669ed2c4e1e..0a243a54dcaf8 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 d32e3dd65727b..9879c75f7cebf 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 497cc045ffffe..22ac65e491f37 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 815dbd293622b..0abc9809e2fd0 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 a904f483a9f05..17a7e59346178 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 89887c865b699..0fed998fec0c3 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 d20257a7e0ac2..37aec9a164fa9 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 ff0fd756a96ee..1d7be09dcf3da 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 764b5f462679a..12221096becd4 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 f967c05114a01..e780a39ce04e9 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 2ed3b6eb89e88..5b23a8bf475ed 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 05ab564e510ea..228507864061a 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 2832ef7f0b90c..43309bb834d7e 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 f19275a967181..0c32c43a00d1e 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 a4bfb6ebc1a96..b2349400224b0 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 3506f1dd8ce44..6c6f93104ca1a 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 c5d41d51f2a11..0067492993422 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 ec262cb1860c5..f60b4daa25a11 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 11dd96d605dbe..4eedecc129b9e 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 44f28aac4c82a..db6b92fbb931b 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 49e3c5ef42f6c..071069bb69421 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 d00dd8b15914c..c393f0c3c4a35 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 8434ff9580f4c..70a99307375cf 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 eef5fef980413..782247e254d61 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 bc4c26b911078..c663ca8c8bf79 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 8c743a2ccf849..0cbfc3a2f2a2d 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 298fdd4c59da7..9c6e69fc927de 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 42509e92469b0..170a480379502 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 64d0581c1adc3..a103346232447 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 b595239aafb37..d0f2a00f312ed 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 ed385fa5e2ba7..52f16cd6ff522 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 ee733b0bdc2e1..8cc87a60dc3f6 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 e49016830f3c7..06cad8c92ed16 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 583afe3d581d2..c529a92093824 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 b1ddf1ad79403..6281cad074ae4 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 6c38c63dd8c1a..635a05a7a385f 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 863221a33128b..44a019f4b7ae2 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 f085a10d87d42..af2ef6c1938c8 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 51afea9fc9d71..a206ac6ceb433 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 0adfb5d531c4b..510f204b6efbe 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 9ab96fc0cffd7..3b91c11cd9299 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 cb505c55381c5..f061307820dbf 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 d07a36d20f113..222e1b94f269b 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 d52a2440f8b46..82982a5755b1b 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 7c94f29b419c2..d4998e200d31f 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 a578b545bb67e..dfab55e85e46c 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 50e98c3f9b6ad..4853ddc857d40 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 71e1811120718..9240892fbf9dc 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 e62c9c9d8c799..e8185c9a6ba73 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 e53f371be624c..407c811075825 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 79aad3eb87197..0108da36b1ceb 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 a91a32e7b4c5d..594ed85e8cbe5 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 3ba23acd55eef..55081b92b73ed 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 54f033060769f..9eb4c77cede64 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 4630c49cefec3..4446177105452 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 1b198999dff20..3dea11e77eeb5 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 b42ec17915b45..83b09d87fbaa0 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 69b71866df294..0df3cc35364d9 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 40a23602541ce..4860489530613 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 405aef24bc6bf..47307ee509fa8 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 98decf7b3fa30..fa3e351da2630 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 fdf30aca1fa98..66efaec9802d1 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 7befccc14ec07..c37242597d551 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 76f874533b9b1..3324e0a1740cc 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 9307ca70e64a4..ddb77c4f99f49 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 50484c3bbb02e..522dd2e41c794 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 09a1ad2c58634..45db2ff9406a0 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 cd425f7f8d0ad..74ef57d0e75f5 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 7d68b13ede593..c8b45587ee4f1 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 3975093ed8bbf..48b3413ae0719 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 ea8e2f66d8203..3bb3b7780ee66 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 a7ab5cecd11bd..6497c2e631a5a 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 e8a7e7196d338..8440cf50afd82 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 5eba48714e508..fbad3080eba08 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 4593804f0edf3..6a33ad5575aaa 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 d9efb876ca0f5..390e442b6c06a 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 779926254980a..92eecea1aa2e9 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 e797ce0d6960e..fb9404c56ae10 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 64761a2692cce..32635a2d7f1d2 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 f1a11aedc7694..3f6904acc33dd 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 397b1dc853fc5..d0a617020428a 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 8b3c73fc80819..e517a2f6b7d55 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 e0a07846e4e2e..fd7360cbbca15 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 5f510d7759703..d859dcdf2f7dd 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 484f29113ec84..e143932f93b7e 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 7a9e630ba7ec8..06fe6b087f16e 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 2d38790f748a9..826c069c0e788 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 8b5fbc49b55c5..97d6f85c8cad8 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 017dba094c407..144184cf05ccd 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 4350580df3c9f..5843d5c0c5bdf 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 48b94f0830e0f..0c2af935f9178 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 ee8d9584335de..7c80ad1a8c71c 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 db6e93f2a2840..c03b510238d6a 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 c1d83b1a1b3fe..dd032df501e2e 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 3786cfc7fe98b..118aea348a61b 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 6f30730fd6a90..1042a2342414b 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 7d87cf7b76480..37f45db379d4a 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 1853d402d844b..283406c299b1c 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 614e0bad071ef..5e194153527bd 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 52d3eee315223..d307ab5f16259 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 b6b1a184d1a81..28b0f38295731 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 ce0a6c715322a..9677c957a67df 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 d6b90a976611f..380ef61b2975d 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 96d6aea08b452..5e8ae273fd542 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 43d91e4f6df4e..df012f6fa34ae 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 a26052726f3f9..83a5ea9a68534 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 b3a468ee9b56c..495e5c132b00d 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 297bb57ef76a6..10614ce89e7ef 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 e8774dac59d9b..83fc642425606 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 fcd84d2c7f834..2beeda0936926 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 66b44daba7a05..3e3a1411cbd82 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 48a081af50024..6c387ae9a4d0d 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 63a84aac78a38..7f3ccec74d1ff 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 11b842f989ffc..2de03f5d97115 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 9efda60fe5430..904cd4ed2c21d 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 be4926e2b70a9..8fb2fbffb4255 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 3f84452317d64..1b8884108fb72 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 0c4938d327b37..c989c6a57354c 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 6e5280ba941ed..402d37eea6cb7 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 9c9270bcaf307..30c900c856d9a 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 469c091803979..784e1fafedcf9 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 192e4f07281c4..ccadce0cd2840 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 3b38e23903fbd..d46463e225313 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 aa1480b0cff40..1ca42d5328e99 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 8432722bd867a..6ba9b541d749e 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 d8de23f460edf..1c49716682452 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 1c8254ea214ee..716a943ae55a6 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 e63a0c0bf6b69..8a1b51435aaf3 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 6637c5c3032a8..1b2d7291f0bbd 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 959b46871571d..3dc34e1423b94 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 81062f961abd5..5ce7871a7a9f4 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 56d34184e0b80..6668001744339 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 31b228b21cbce..42e09f0454e7f 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 c90381230eb3c..ddffe3f7caf68 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 72b9858101a28..9e1c6f42e1812 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 d8bd1467ff7fd..ff66f2a4f5151 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 66e92eab6a6dd..d9b11207682a9 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 889c297535dd6..82c7bc0be96dc 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 54ae3b3499af0..8f5048257a7a3 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 23839d8e3d31c..9bf924580578a 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 40bda9e8f90a9..7b5d7328e450c 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 50abce31a775d..7eb55d4c49f43 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 7e637b59caa5a..26524bd114a76 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 aab4d2d88d4ac..9713faacc6650 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 d53af57156caa..a0dcdff239811 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 d2826c3da6270..c15438480b20e 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 efbc583c744e6..04bef4c8e8ae3 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 9f601de102a88..69dbde5e2964f 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 c0a52e30141e2..ba5555408fa97 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 c6867bf48658b..9413cf1e9fc77 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 744ca5b11bfa9..2803eb435d17d 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 80f18fc8c1daa..2fc6d1cc96abc 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 9d457b40f2073..14e8b63bcff75 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 dbaf52a3eafee..e9fbfb9753e50 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 79bcc1c52ffa8..ccdb618d65386 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 c30527e8fa8cc..43a8522b61946 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 a6fbd8c8470b9..8ac596fbbdf72 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 23d6aee715390..159af3f7af7aa 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 098d6b079950c..f4de49f28ce43 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 448867ac821f4..3206a16e6acda 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 320faf547e10a..85152b8a39247 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 edde663e35074..f423891a4fe5a 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 ab6218b7742f7..c5c5bf5accb2f 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 4353acb03ad43..cf87cb8b5cd01 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 a0bac9b27ab88..9ccec2c038930 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 d544b0d82068a..25eedae32ffa7 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 bb6c110da18c7..0d70e4c6ff1a2 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 e84e2d9d6b61e..155cd7b996c78 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 169886b5cb5c8..83028ff811701 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 19e4db996d9e0..ddbf2f85007ef 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 e0c80a1d931c5..77c5f8ba63d47 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 773c271a3413a..e0a74ff62bad6 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 6a562ac6edc66..f44b068674d13 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 3cb29bb79318f..f87732a425bb7 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 e1ea3b31905f0..561f6641b1424 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 d6472fd08d32a..c82a5a0f12a33 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 3aa26a1b91bbc..6a11afaeb1aa4 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 66178206db1c4..2c3339d8087e7 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 8904da04f3ce0..dea8c967a306b 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 f6162afee2620..2ca41c8b85f49 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 d729da63c85ed..1e922499afe96 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 7fad047678d7d..e04c9b5485104 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 7c15415e340fe..18715afdd1749 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 211d1d263fab1..5b958b3a53307 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 0d07747e731a0..87c13d576fc66 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 fac2afdcc4928..bf5f0104e5331 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 7c469ea0a3179..96108337d85c5 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 169093a4b5385..8f2b265421ac8 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 6f57deaf07ec5..7ca33e35e06c9 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 3a1a39d608a83..c500c69b51b82 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 97b8f2650c63d..cd7a3fd731f6c 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 32e0fba5e6cc4..abe5f8e793ef7 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 5146c59109d40..d9df35f72f7ee 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 c4ce9f2c35e74..6f8940edf5f18 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 79f4a107a7ba3..6001a51bcd6b8 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 6235fea2834bc..f05e5d234c346 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 17feeb9e0dce2..7bc6f4884e7ab 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 03ca81610c274..8f15680a38047 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 60759bae28768..1b1931cbc87f3 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 ed29a707927c5..30a22e9c02220 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 3c8b6ec39c4e0..cfb94f0fb7324 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 86b3cb65fe4b1..966c1093635d8 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 ec562eaf497d4..b145e55ec0c0f 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 28ea043e59155..88250dd3be588 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 608c5b973696d..7995a611f139a 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 3fa196059e4c3..88755142d2e2d 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 b26627cc45724..d50151e050aaa 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 112de1f09b5d0..44364de645344 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 41924b26f3ad7..5e7d3108bc1e4 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 cc6da22d5db3d..7932eae7a1253 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 304a66302d966..9fa6cb46a5de9 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 ebcb7153dc8b1..7bcc540a50411 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 e2cdcf1b4f618..ed421a8fe8a93 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 cd63e5a5c56b5..f2086278194ef 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 921d22f27f76a..dadd83438b02d 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 9ceaa603e3302..11b8c152ec3cc 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 2cf854125526a..9e27069909894 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 9c2473e082dd2..cb6d1217df5d9 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 493984c111350..646d6a2d5f23e 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 760eb831504f5..ecaca50aeafcf 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 d009cc86bf249..441a2eaa8a466 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 597410c2a1add..8861feddf06d8 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 3098ab74d1c82..1d603a04f1972 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 40395840e9aa5..94d596672eeee 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 cc46c76d370d6..ff162b7af691a 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 9cd9b6d60ddac..335ce8761230a 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 c3e6b424b6b67..a2a929fbf8626 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 ed8d4b36384f1..013ef56322def 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 69f3a718fc593..05a98978b6046 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 32009ab74300d..965001749b29e 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 48525632a5c4d..f4e4e0604c849 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 726d7db39f258..3b71a467f65c7 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 0614d6acb6655..d2660b21b01fe 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 99f8c37f77453..85e5dae7e3948 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 17a7040af590e..6daa761d6c932 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 05b812760777f..68856d84e08c6 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 f8fff38835bf9..056dde180d6b2 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 2cbb5d6a83f69..c0141a9a7ba33 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 3eda330c18d61..4d081823cd8cc 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 15945ded0acdd..21be0b9dfe944 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 9ace061ec5e78..3c1d65d155f77 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 bcae8da265aa7..e5da38be690a2 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 0ddc44d7cf56d..4a470764f4ab0 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 9a186da137b1b..c9bde68760fc1 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 924f8f45017cb..47e671b480956 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 498f7c7a7cd02..b2bef380779ca 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 199c0cc5e6351..7c73677bdedf4 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 e6a6a9f4c890a..3b7c8b4e20cad 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 2d41c35be79ec..03a8937ba0acb 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 01d83b0f5c65c..720d22bfcd3ab 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 6bab1d00bbf48..36c363287dd7c 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 e343fe5914ef5..0b78f7632d56a 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 0f54bfd36f173..13086b7d99fc0 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 ecbd9a019f051..bd6ed0d165511 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 2f245b193c5c8..c4df8e33d3355 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 cdbad5951a643..36b0fec61ba7d 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 37d41c101eaa2..4eeb5c041c94f 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 d0249691ebafe..8cf81b19461d4 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 7ce9a945d8058..48dd8ffb87f22 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 c855c59952c40..cc9eeb8f8c1cc 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 da964374ca9ca..da9665ed1d96d 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 ef2c6afb454c5..d00a040fc86f5 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 e1b86f795015a..341907e2e00b7 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 53a884e2a1bc3..6e008a124137c 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 a2b92c6509859..dca550b1a907e 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 b0f581dda1599..48930380f45a7 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 0e1cc70b7e9ad..912e8e9cf8837 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 4af5a87300b68..4e24ac1b442f3 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 a1671b2510957..a7dd4e04d30fb 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 8840305cedf48..51f0fdb40bb02 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 fa15ee0615c52..7ecf44578536e 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 cfbd94aef3fd9..28e5d610e28a0 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 355bc907d799e..89059323a477e 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 7be6228399c33..3e87645feeef4 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 680644b6d4bd9..45d25ccc30378 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 dc2b5c83e488d..dcd094cc810cb 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 7334df848a9c4..c67286bafb5c7 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 bbc5e1d053e7f..62e48775d79a9 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 5897219525b04..53939d52d9370 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 fe7d7aacc3c85..f7399b10eb4af 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 ac3defb7bd35b..d62768851c2ae 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 7f75ce4cad09e..002bb22ed809d 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 3c7a8a1e9db8e..ca56c6c9373e4 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 39d8a019b97af..bd3bccb9960d9 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 84aabde1ac5c2..fd7f02f4ea5a7 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 523eebb99e16b..4b16214ee20ae 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 e59a65be2d642..e84631e0e8442 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 69ea842cac3e4..c24aa5c6002f6 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 cb055ebdbf2f6..95c99734a9fb1 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 3fadf6cf5efd2..d6302a67d781d 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 3d50e9d88760f..e3bc174b02309 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 a2340e265615c..5408f411426b4 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 31076e6cbb7d4..2805389ef70ce 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 3d95d2e5fbafe..2a2f3a659d084 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 dbe41c5b80d98..ddeca3fd12d99 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 d9781ad8cfc9b..61f2ccf4b7e2d 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 2e139f2cf5213..dc56fb9dbdcd0 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 4baf26180400e..95208bcd1c58a 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 eca2064a6560f..64082823f98db 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 5f7f1654e5800..aff0dfc2a2519 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 95ec353a2030a..d0353933189a0 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 464fe733efd7b..2aa86b9b524aa 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 64ade26f55fea..8da1f0fcf0827 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 6d55a59178399..5eb3dc6017c91 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 f2f1b919ea38f..4ed9e09500306 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 bcb3943d9a683..0da486dfff64f 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 770e9e59410dc..fcbf65fe97094 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 768c329ebfa16..8a6914f8b9abe 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 58d310e988746..bdd3ce982f4f4 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 351a0344c76e8..5c4622e1fc16e 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 995deb07a1bae..b2e3ab54a2084 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 0c35e9dc750b0..6f0f673190a7c 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 8736d46aa6ace..024ec881652cc 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 d0fd1928b3921..a1fb67041e636 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 3ac8504a3f31a..71a16348ee7c7 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 c0c010c7cdb47..98ddd8236d4d0 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 b562322f173be..03d24a1c1bfee 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 b881f53bdf96c..56f27b48a77dd 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 c23d9404c3fef..b8cfceb1d12b2 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 c281695e2ba31..a65a7cba29c62 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 27235e00fc6fc..e7462dad06740 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 fc020e7cc26a6..c9477a94edde1 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 2e1f306786f3b..b44bd43e20eaa 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 8c6590988b368..b7b5657a4ce5e 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 47e4200d7fb3c..7d488f7d7663f 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 535ea71286895..2bbede349d6e3 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 beca930cab3d4..c901fb696ae2d 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 b93cf124a53f8..1fdea1222e455 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 9034c82a35280..2c4f4d2a0120e 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 c78a3a295681c..ceb5ad5f062f6 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 7fb831ad1187d..2e2eb3e1dc24f 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 ea78faa95d194..a58ce8c4088c6 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 bf1e49128559b..7f9992d5c8d05 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 73b193d46500e..97ff98655c0e8 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 a37022784c235..8858a69f6ed19 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 829f4fbb72a1d..7122e73bdeae6 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 dfc8f65d07b90..8830586655867 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 34eaf75278c7b..9d03c2dc36a4e 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 bd681731f414c..cfed912e2d437 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 33a2b8542a1d3..59d69506ef8b2 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 c871c8d68f752..da8b1cf385557 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 3de5dcc5fc143..7f82fe892366e 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 8ae36b3db682d..19f7decbfe333 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 c7af3b7c3c6f9..d0239eda6b213 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 e905b96603172..b934218ec9b28 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 8db3a406c4e73..890dedad1ac41 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 05a1df20f44da..ecb4a6713f810 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 26b1f54f23a6d..44eb4a52eb464 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 e2453af650fc6..f4bedfa7ca71f 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 9d769d17691d9..f326e94f736bf 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 0005d0741ce94..ed48e752caa18 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 1f349b44d1ae4..e11f0ea91d800 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 9265936dd6380..6eadee481c247 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 b71e89f992866..e538a9d06d3a6 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 6eddebe92427f..2525392fbc8c2 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 a76a371506473..92fe40f88c5e8 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 16003aa733d6f..aa9f5ad433eae 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 a019138dccefb..1d8ba5e288519 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 c4bd90bd201dc..82c383b393c60 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 5217156797cec..9d38b2089f12d 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 adacee7e62a3b..bae54f35314ed 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 5d0ca4732e510..20dfb808ea0de 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 d1bf2741a2238..37893e04932c7 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 a0fe37e274027..5763a598b961f 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 cad75cb249cac..d869835e1e385 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 93e73bef7325b..edd80e42dcf39 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 7f742066e2f2f..ee52d8370f97a 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 d62b4f4480287..d4c48a86d39a1 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 7c0fa000396c1..776948a590e89 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 ee2e18fd0a0dd..4a89c8cd4ffc0 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 3991770e5cff7..27d6f11d12aa6 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 d4545bdef0397..80c009dd6bfc0 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 c882410aeaff3..d40cdd653d844 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 6dc0655916ab8..c2e7cb13f3e1c 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 35f3b6bf1236c..91260af0a30eb 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 31a9261f5b9fb..13bb61bd47251 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 749e13a155cf3..156b104dcce83 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 dc61c6e1d0a1a..d2cfbf82dec66 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 c3ce5dc018df0..70750d1b27a05 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 710faf39dce07..200fb97e61208 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 d815d922ea8f9..e9d99f233a735 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 55e10a1a497c1..7ccb7e89494f0 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 e548e78d16869..a729a7a6d8863 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 d134c06023dd3..7be42fd509578 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 6ca630ba91d96..6424f7281b223 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 965a0fbb85a09..b848d6ec702cd 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 e73a69a6abf7f..247e24e9ab090 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 e091cc0b3e0ba..2b8ca986a3d97 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 f9a84b5ec7d50..526b46a25e1df 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 d9413e1bc4553..bb3fabab3297c 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 54dd4910cd585..bc4c885ec6b46 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 06ee176a81205..0496aafa87de3 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 a4b7c40534fa4..46ccdebe0895b 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 228aa7b33cc71..5e0f2a50e05f4 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 4966f3fba918f..4a49114a58b31 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 9c68775886c29..2b9b0cfdf296c 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 5b4ad55fca6bf..27a904854a7ed 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 385c7a0f87eef..6c395fb2c6ed3 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 cbe0dfb2b79c6..2895d5e8c7775 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 03e1db542fa9e..5c04d102336b2 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 212430279644f..a19f350c2a9f9 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 dd5916a346b97..7d44e31437836 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 1dbffa39a3206..a716393afaa67 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 de998d7cb3ef3..27fe58cd750d9 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 91860b71db9c2..3925dd510ddb1 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 525f8902cacfc..3ae7d67f316d3 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 cc28b603c3ad6..cb45d2efd956b 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 8fb2deae4bea5..741199e94f537 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 f82c0af39de15..358db7881311a 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 cd67c35d534ad..88686b3eeb94b 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 60ad1a131b5bb..e0a1133ca8692 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 535a51252af5d..8c874485aba72 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 b5c14c0c74255..643d45a614c45 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 5e40b942787f1..9f04e4540be42 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 c470c4c16c016..d8289522d6daf 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 48e172668b3bd..9b325bbf32efc 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 b59d1fdc1d6b7..049d26d1749d1 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 8bcb573bc542a..3a35b6dd2708a 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 07ce45a40cd46..1a44661cd7cb8 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 b1213b39c8fba..5004f37efd212 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 ca28b7955fbf0..e3c0eb490850e 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 518aead87cb0a..c0b2bf843a11e 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 c39565b4310ab..64469695d5c5c 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 146b378c9276a..c35d047fa8272 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 42d8b8b28f249..405f10f8885e9 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 e63c3e41a4426..cdeaf27628f6f 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 53b578592b007..240c11ca14da9 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 3ed73cdbe5805..5ea436c2511df 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 a4094f896b32c..8e841ca105dc3 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 bc571e732da33..d4718fe0550cb 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 405dd1b78b258..311603d3a97a8 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 cb56e6f73ad59..3a6a2bc8e0975 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 0b10c5f2bd718..df843f1f2a1be 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 eeb7fc9460a79..779f8ceb12c21 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 e35b7670f93ee..ad3725a68b778 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 704bd377e64f1..f50d132448ed9 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 952a42481bc38..36dbe7b7b74a1 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 34c96ea47476c..d24fb613bb09c 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 776ef95f95bd7..69da72b2b65c0 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 68489efa14b93..2930d21e67e1f 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 c0e7a8169ae7b..48882c9a318e7 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 ece9fde7cdd78..2626475c1a4ac 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 69ccb946735e6..6d76e83de3fbf 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 a99bc525a9ff0..5aa063840ce03 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 01bc940f6ad92..db8b52c1f5c91 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 37d810803deff..fcbbb21416e5b 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 b821f0081217f..68b0f82ebdd80 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 9ade3e6178c31..243d3adbdd546 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 3ad596bd15645..b9a645a507817 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 a4bbe29e3343e..8e6c6ef4945e7 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 1fa03d32f6717..d2c91eb46b3e5 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 4300aeb5fa443..224f17d2b69e2 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 d5c2c4d528ebc..d6799dd7564b4 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 0cc687dfdc15a..522b2f65c094f 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 2ba1b1a456910..f252c08ba8cab 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 bf715faaca11a..d6bc3f1a73577 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 76b3549549a34..523783eccc6cc 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 f7262e2868980..eb51cecfcad0e 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 04af4b5dd6707..796fd9eca6c56 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 6aa6fb3187075..7a186297ea46a 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 1490a5427091a..e834c6518fc14 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 b44a31af9439c..a721424067863 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 557f84f6a8675..15d3ea984b882 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 b927c49ef59dd..425441a850eed 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 750d1807f1de4..a76eea86a30d8 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 4d3474adb1d49..7d15d30550fcd 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 0aefa9e79b318..b053380c97098 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 e5626e9cc8503..437e5c45107e4 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 2e55dd92ff990..0316128fda8ea 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 bbea3675dd811..577db280ccb57 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 f7e4cd6a96fea..ba866d28f19b7 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 b3e8a0f3d287b..0fa5565ec462f 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 7eb6e9c536920..6f7d473bbb674 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 dc2566538a8a6..ec9f6d6b136f4 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 80294dfd25fe3..8bed70634450e 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 0d022d2c08d2c..dfe8e1d3ba6f1 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 fa321d0d33cea..405df434f88f9 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 da67d586a2f33..edc5857b9aeaf 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 4db1d9781709e..830c67821b20d 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 6b5d9ff01f69f..1dfdf576e9e2f 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 85dcb0cde78c6..e5560aa9f8401 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 e67d55fa45b62..312352911e91c 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 f067f8aab5d6a..8d4bb13bca676 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 f92eae3534e69..c91ba39aabab1 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 625b7570f4bfa..8395e3da39f0b 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 4743e63bac6e5..74f863d8fc826 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 4524d83ccaf78..ad8555eb2c5ff 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 ac87133c3ca00..4a09fef0c8bb9 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 26540575dd840..0b0146f4911cd 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 77006be82a881..099a3ed205440 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 a32b629b44cf5..fe2e74e3302f3 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 ce4100bed6bfc..5e264212d2e70 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 83fd5b12667ae..e61887e7ccfc9 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 45e998e321584..6fb8e938b3617 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 fc1657dc84d83..147aab6787f26 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 659d8d2717ea4..4c16d417c1c5e 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 1179f46faf761..8c9bfa09f3303 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 79683b15b9d1c..b333f8fd09105 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 f2b2a6aa4f44c..00a3add1b9438 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 8a7b101f7e9d1..ff562a778bc10 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 31200af7c9b5d..04fd325fd847b 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 da155c5f59489..930d096841989 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 e0f14db9775d5..852ccb6995289 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 cf5c3204d9aed..6d084ea1e4605 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 ea764ded8de2d..22e8508653de9 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 20651259e51f6..d9c3e4cc1e83d 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 8abfbb4bb37c7..3765f56e4c54b 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 42ca078f86b4c..6c76460f2ce6e 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 19616a85fcce7..289fa3d2931a6 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 2fb32d4882eac..1f30db87a8154 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 5d38afed53c23..89d9f4da3ab35 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 c142910e88a15..7240d7e0614e2 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 b5fb542e16450..ca1eaa6a66ef5 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 fafe395abdebe..3b4fa4d1cc157 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 bf8ebd034ac0d..973eb56472b87 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 63c2e71eb6081..da2731ef251cc 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 5d26cd86bf5b2..44e69108001ee 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 7400f354c2adb..effd769d645c4 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 bb9415ea6fa62..048b15522c242 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 e1143dcc508f8..188932bf3f9af 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 9c28664c0beaf..4fa72c9969876 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 615be19f86c50..e5f5a788fd77b 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 e0b0a3937cd06..b07e01ed7d4ed 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 4bb65ef18052b..457c06fa56848 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 d9174c6414c26..560396abefda4 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 d4d9a897036a9..e1858a83365b4 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 560a2b588314f..9f53161c094fa 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 0609c29d49250..3893b2f35523a 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 bf02bfdec4ef0..b338342d63264 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 70eabf7addc16..707b00aa9de7d 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 3f862e07bb5de..c3b53b2919c4e 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 1ccff0c693b7c..5e0d546cac74a 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 304fd6a8e3d83..05258fbb546d7 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 496b664811243..414114b24d259 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 314cb58a0fff1..79a47a35be738 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 6eb0002bd3a37..7567f999a4cf1 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 482da58b423d0..de61d3baa2c54 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 9334da12c8524..6bcb0a2bd7c4d 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 566f2d1651be6..11b712b75732a 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 a131b7acee21a..5da7ea6ab445e 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 9fba31ee24d7d..acc62e974bece 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 b70a8432e0a83..05ce98f0f5d03 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 541a19a81ebb1..85756d0076623 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 3ae7ea23af548..45bdd481bb1a3 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 d9a4d24e36789..59a14c5a9ea3b 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 d26b424915e70..a41f9244f7561 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 24f90decfd0f5..029d8a1f8d406 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 9780f6ffd4c2e..f4a4f6e08fa94 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 ce899414e3ab0..d375accac1005 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 1e3a0e0ea7ee6..021b587ad587e 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 a5fe42664f1d1..8e6727a131db7 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 093de436930c8..34184adebc02b 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 46de0759b4e35..fb148e4b16c9f 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 deabbe07cc5fd..a19880419b2cf 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 bfd9fdd0f2165..449384e0eb36f 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 8aa825b553f22..f1a60421ad2cd 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 9bdddec1d3adf..d595e743511c0 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 9e1ba9c0e45bb..9b3fe40258f6f 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 464d592f61daf..958dd95b29eb6 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 25965ff206931..bf22dbb0d5fef 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 aff83c6ceecb6..72038d55b9804 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 472bf0cf71503..a17ea3cbf5c89 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 743531ad2dbb5..3ff9c17a7bf83 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 2bed55963568a..8069d00a6465a 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 e074b3bd94b8f..49a9eb88dc84a 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 f5da020d53a72..b5845142edd1e 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 6a28ff2a30e79..ffcb9847bde31 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 d30eb9362f567..7a815c2da4a9e 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 30eddcd5cc46d..23b8bc8b69b0e 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 121af70934cc9..65aa34a805a63 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 318de40c0360f..fcfa7815fc6a7 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 6a120ea9d8337..7a70258e5a95e 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 04fccaacc4184..116e7a554b43f 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 2dddba398deea..e47b3da88f637 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 bd14b8c49f2a2..bc1571090b8b7 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 1222d479da24d..314b23ce97b8d 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 5977328823b5e..8c6a939d34a19 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 babec32b1f30b..a39c1d4e0ef71 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 60ec5ea92a27b..7a31d6b4f05d3 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 7c2f8d0fba2dc..8b7417c98b73c 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 e549127e0ae9a..b0296f6e9d705 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 ca5f0f60f96c1..85e61b22579db 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 dde0e2b2179a6..2bc05f51655de 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 dc9e2e3e21064..ad81f90aaef0e 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 bf23f209b68d4..0f3e2453ff7e5 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 409996df014a1..33bf426e30181 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 ee0233a862c1c..257df352e946b 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 f1e93be4cb7cc..052fd3087d509 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 3efa451b6b82e..5ef7aeeede2a5 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 c5af351483644..4bc83817d0613 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 e67953d2fbf87..83472c4db2341 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 bbb9701798f6c..c30ded7c4f613 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 dd0dafbccca7e..35e34715c0e84 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 e60c0b13580a7..c7df905febb43 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 5a43608234d4f..3fea25f06fdb7 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 48b79ecb57a36..fc497cc6cf056 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 d7d58a09c97d2..04a558189dd13 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 51065e727a7b7..add613e4b83c1 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 19df26bee6405..3fb98157d5476 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 1301b6059a7c8..5debe9f014c51 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 da42cc6ea5604..7819786277944 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 7deddab58ac16..c01e6ddc94f9a 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 2513424b05be9..97c6fddd5275d 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 cafc0f70be8b1..a06ab30c05149 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 5a5a31cedce18..453b5b4cd55fe 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 101ee19f3e7de..73dba540d5671 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 3a03315afea59..9c27d50c7de57 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 53a381ee582e0..c856ad728bb71 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 431eb35a36ae5..edb115d146f3f 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 8dc02eaa961eb..277f0118fc960 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 839391f36fb7b..ebb28f7d126e4 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 50f1b8f3e7bb9..9fba3aac0f3c6 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 b14ea9c1b1ef3..f8e547091ff3f 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 2e058d56a7cab..55bb3c8d8980b 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 e807b02ea04b9..0bd272ad3b45d 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 0f4f757b936c8..f9d9828687e5e 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 f7648d096ae57..bc36d18f0447a 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 28d78de7c0465..5b5d33b0e0ef4 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 9b632a86f2178..ecc00d1a70686 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 326840aabce19..3b2074e9c2001 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 c677def5747f7..7b0056ae63924 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 7b474cfdaea6f..a6a699ee07878 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 d25cb91d6ed6e..2a378eeaad33f 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 6fed2473d243c..ca08a918f3926 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 a5f3cbbabe805..8e25dafedf79b 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 efa8298df44e6..0e2cf16996964 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 e2cf34508528a..518792fb5f870 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 b755e9fd499fd..5b78918c55229 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 69955f2377dbf..185a5ce1f7e32 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 1ee581384a107..b7214078e9c60 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