Convert JIT/Generics to a merged test group (#85849)
authorMark Plesko <markples@microsoft.com>
Fri, 12 May 2023 18:48:13 +0000 (11:48 -0700)
committerGitHub <noreply@github.com>
Fri, 12 May 2023 18:48:13 +0000 (11:48 -0700)
See https://github.com/markples/utils/tree/for-PR-dotnet-runtime-85847-others for ILTransform tool.

* [ILTransform -p] Remove _il from project names
* [ILTransform -n] Unique project names
* [ILTransform -a] Match IL .assembly names to project names
* [ILTransform -prociso] Set RequiresProcessIsolation when needed by other properties
* [ILTransform -public] Make test entrypoints accessible
* Manual fixes for [ILTransform -public] - internal methods to handle internal parameter types
* [ILTransform -sr] Use canonical form for .assembly extern System.Runtime
* [ILTransform -ilfact] Main->TestEntryPoint, [Fact], remove OutputType=Exe
* Manually created unique project names that were missed due to casing
* Add merged group

427 files changed:
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/Struct01.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/Struct01.csproj
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/Struct01_instance.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/Struct01_instance_Jagged.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/Struct01_instance.csproj with 90% similarity]
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class01.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class01_ConstructedTypes_Jagged.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class01.csproj with 89% similarity]
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class01_instance.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class01_instance_Jagged.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class01_instance.csproj with 90% similarity]
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class01_static.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class01_static_Jagged.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class01_static.csproj with 89% similarity]
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class02.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class02_Jagged.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class02.csproj with 89% similarity]
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class03.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class03_Jagged.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class03.csproj with 89% similarity]
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class04.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class04_Jagged.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class04.csproj with 89% similarity]
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class05.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class05_Jagged.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class05.csproj with 89% similarity]
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class06.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class06.csproj
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class07.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/class07.csproj
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struc01.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struc01.csproj
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct01_static.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct01_static_Jagged.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct01_static.csproj with 90% similarity]
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct02.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct02_Jagged.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct02.csproj with 89% similarity]
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct03.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct03_Jagged.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct03.csproj with 89% similarity]
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct04.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct04_Jagged.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct04.csproj with 89% similarity]
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct05.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct05_Jagged.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct05.csproj with 89% similarity]
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct06.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct06.csproj
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct07.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct07.csproj
src/tests/JIT/Generics/Arrays/ConstructedTypes/MultiDim/class01.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/MultiDim/class01_ConstructedTypes_MultiDim.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/MultiDim/class01.csproj with 88% similarity]
src/tests/JIT/Generics/Arrays/ConstructedTypes/MultiDim/class01_Instance.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/MultiDim/class01_instance_MultiDim.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/MultiDim/class01_instance.csproj with 89% similarity]
src/tests/JIT/Generics/Arrays/ConstructedTypes/MultiDim/class01_static.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/MultiDim/class01_static_MultiDim.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/MultiDim/class01_static.csproj with 89% similarity]
src/tests/JIT/Generics/Arrays/ConstructedTypes/MultiDim/struct01.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/MultiDim/struct01_ConstructedTypes.csproj [moved from src/tests/JIT/Generics/Arrays/TypeParameters/MultiDim/struct01.csproj with 88% similarity]
src/tests/JIT/Generics/Arrays/ConstructedTypes/MultiDim/struct01_Instance.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/MultiDim/struct01_instance_MultiDim.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/MultiDim/struct01_instance.csproj with 89% similarity]
src/tests/JIT/Generics/Arrays/ConstructedTypes/MultiDim/struct01_static.cs
src/tests/JIT/Generics/Arrays/ConstructedTypes/MultiDim/struct01_static_MultiDim.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/MultiDim/struct01_static.csproj with 89% similarity]
src/tests/JIT/Generics/Arrays/TypeParameters/Jagged/class01.cs
src/tests/JIT/Generics/Arrays/TypeParameters/Jagged/class01_TypeParameters_Jagged.csproj [moved from src/tests/JIT/Generics/Arrays/TypeParameters/Jagged/class01.csproj with 72% similarity]
src/tests/JIT/Generics/Arrays/TypeParameters/Jagged/struct01.cs
src/tests/JIT/Generics/Arrays/TypeParameters/Jagged/struct01_Jagged.csproj [moved from src/tests/JIT/Generics/Arrays/TypeParameters/Jagged/struct01.csproj with 88% similarity]
src/tests/JIT/Generics/Arrays/TypeParameters/MultiDim/class01.cs
src/tests/JIT/Generics/Arrays/TypeParameters/MultiDim/class01_TypeParameters_MultiDim.csproj [moved from src/tests/JIT/Generics/Arrays/TypeParameters/MultiDim/class01.csproj with 88% similarity]
src/tests/JIT/Generics/Arrays/TypeParameters/MultiDim/struct01.cs
src/tests/JIT/Generics/Arrays/TypeParameters/MultiDim/struct01_struct01.csproj.csproj [moved from src/tests/JIT/Generics/Typeof/struct01.csproj with 88% similarity]
src/tests/JIT/Generics/ConstrainedCall/class1.cs
src/tests/JIT/Generics/ConstrainedCall/class1.il
src/tests/JIT/Generics/ConstrainedCall/class1_cs_d.csproj
src/tests/JIT/Generics/ConstrainedCall/class1_cs_do.csproj
src/tests/JIT/Generics/ConstrainedCall/class1_cs_r.csproj
src/tests/JIT/Generics/ConstrainedCall/class1_cs_ro.csproj
src/tests/JIT/Generics/ConstrainedCall/class1_d.il [new file with mode: 0644]
src/tests/JIT/Generics/ConstrainedCall/class1_d.ilproj [moved from src/tests/JIT/Generics/ConstrainedCall/class1_il_d.ilproj with 87% similarity]
src/tests/JIT/Generics/ConstrainedCall/class1_r.il [new file with mode: 0644]
src/tests/JIT/Generics/ConstrainedCall/class1_r.ilproj [moved from src/tests/JIT/Generics/ConstrainedCall/class1_il_r.ilproj with 88% similarity]
src/tests/JIT/Generics/ConstrainedCall/class2.cs
src/tests/JIT/Generics/ConstrainedCall/class2.il
src/tests/JIT/Generics/ConstrainedCall/class2_cs_d.csproj
src/tests/JIT/Generics/ConstrainedCall/class2_cs_do.csproj
src/tests/JIT/Generics/ConstrainedCall/class2_cs_r.csproj
src/tests/JIT/Generics/ConstrainedCall/class2_cs_ro.csproj
src/tests/JIT/Generics/ConstrainedCall/class2_d.il [new file with mode: 0644]
src/tests/JIT/Generics/ConstrainedCall/class2_d.ilproj [moved from src/tests/JIT/Generics/ConstrainedCall/class2_il_d.ilproj with 87% similarity]
src/tests/JIT/Generics/ConstrainedCall/class2_r.il [new file with mode: 0644]
src/tests/JIT/Generics/ConstrainedCall/class2_r.ilproj [moved from src/tests/JIT/Generics/ConstrainedCall/class2_il_r.ilproj with 88% similarity]
src/tests/JIT/Generics/ConstrainedCall/vt1.cs
src/tests/JIT/Generics/ConstrainedCall/vt1.il
src/tests/JIT/Generics/ConstrainedCall/vt1_cs_d.csproj
src/tests/JIT/Generics/ConstrainedCall/vt1_cs_do.csproj
src/tests/JIT/Generics/ConstrainedCall/vt1_cs_r.csproj
src/tests/JIT/Generics/ConstrainedCall/vt1_cs_ro.csproj
src/tests/JIT/Generics/ConstrainedCall/vt1_d.il [new file with mode: 0644]
src/tests/JIT/Generics/ConstrainedCall/vt1_d.ilproj [moved from src/tests/JIT/Generics/ConstrainedCall/vt1_il_d.ilproj with 88% similarity]
src/tests/JIT/Generics/ConstrainedCall/vt1_r.il [new file with mode: 0644]
src/tests/JIT/Generics/ConstrainedCall/vt1_r.ilproj [moved from src/tests/JIT/Generics/ConstrainedCall/vt1_il_r.ilproj with 89% similarity]
src/tests/JIT/Generics/ConstrainedCall/vt2.cs
src/tests/JIT/Generics/ConstrainedCall/vt2.il
src/tests/JIT/Generics/ConstrainedCall/vt2_cs_d.csproj
src/tests/JIT/Generics/ConstrainedCall/vt2_cs_do.csproj
src/tests/JIT/Generics/ConstrainedCall/vt2_cs_r.csproj
src/tests/JIT/Generics/ConstrainedCall/vt2_cs_ro.csproj
src/tests/JIT/Generics/ConstrainedCall/vt2_d.il [new file with mode: 0644]
src/tests/JIT/Generics/ConstrainedCall/vt2_d.ilproj [moved from src/tests/JIT/Generics/ConstrainedCall/vt2_il_d.ilproj with 71% similarity]
src/tests/JIT/Generics/ConstrainedCall/vt2_r.il [new file with mode: 0644]
src/tests/JIT/Generics/ConstrainedCall/vt2_r.ilproj [moved from src/tests/JIT/Generics/ConstrainedCall/vt2_il_r.ilproj with 75% similarity]
src/tests/JIT/Generics/ConstrainedCall/vt3.cs
src/tests/JIT/Generics/ConstrainedCall/vt3.il
src/tests/JIT/Generics/ConstrainedCall/vt3_cs_d.csproj
src/tests/JIT/Generics/ConstrainedCall/vt3_cs_do.csproj
src/tests/JIT/Generics/ConstrainedCall/vt3_cs_r.csproj
src/tests/JIT/Generics/ConstrainedCall/vt3_cs_ro.csproj
src/tests/JIT/Generics/ConstrainedCall/vt3_d.il [new file with mode: 0644]
src/tests/JIT/Generics/ConstrainedCall/vt3_d.ilproj [moved from src/tests/JIT/Generics/ConstrainedCall/vt3_il_d.ilproj with 88% similarity]
src/tests/JIT/Generics/ConstrainedCall/vt3_r.il [new file with mode: 0644]
src/tests/JIT/Generics/ConstrainedCall/vt3_r.ilproj [moved from src/tests/JIT/Generics/ConstrainedCall/vt3_il_r.ilproj with 89% similarity]
src/tests/JIT/Generics/ConstrainedCall/vt4.cs
src/tests/JIT/Generics/ConstrainedCall/vt4.il
src/tests/JIT/Generics/ConstrainedCall/vt4_cs_d.csproj
src/tests/JIT/Generics/ConstrainedCall/vt4_cs_do.csproj
src/tests/JIT/Generics/ConstrainedCall/vt4_cs_r.csproj
src/tests/JIT/Generics/ConstrainedCall/vt4_cs_ro.csproj
src/tests/JIT/Generics/ConstrainedCall/vt4_d.il [new file with mode: 0644]
src/tests/JIT/Generics/ConstrainedCall/vt4_d.ilproj [moved from src/tests/JIT/Generics/ConstrainedCall/vt4_il_d.ilproj with 88% similarity]
src/tests/JIT/Generics/ConstrainedCall/vt4_r.il [new file with mode: 0644]
src/tests/JIT/Generics/ConstrainedCall/vt4_r.ilproj [moved from src/tests/JIT/Generics/ConstrainedCall/vt4_il_r.ilproj with 89% similarity]
src/tests/JIT/Generics/Constraints/Call_instance01.cs
src/tests/JIT/Generics/Constraints/Call_instance01_d.csproj
src/tests/JIT/Generics/Constraints/Call_instance01_do.csproj
src/tests/JIT/Generics/Constraints/Call_instance01_r.csproj
src/tests/JIT/Generics/Constraints/Call_instance01_ro.csproj
src/tests/JIT/Generics/Constraints/Call_static01.cs
src/tests/JIT/Generics/Constraints/Convert_instance01.cs
src/tests/JIT/Generics/Constraints/Convert_static01.cs
src/tests/JIT/Generics/Constraints/Transitive_instance01.cs
src/tests/JIT/Generics/Constraints/Transitive_static01.cs
src/tests/JIT/Generics/Constraints/call_instance01.csproj
src/tests/JIT/Generics/Constraints/call_static01.csproj
src/tests/JIT/Generics/Constraints/convert_instance01.csproj
src/tests/JIT/Generics/Constraints/convert_static01.csproj
src/tests/JIT/Generics/Constraints/transitive_instance01.csproj
src/tests/JIT/Generics/Constraints/transitive_static01.csproj
src/tests/JIT/Generics/Conversions/Boxing/box_isinst_br_nullable.cs
src/tests/JIT/Generics/Conversions/Boxing/box_isinst_br_nullable.csproj
src/tests/JIT/Generics/Conversions/Boxing/box_isinst_unbox.cs
src/tests/JIT/Generics/Conversions/Boxing/box_isinst_unbox.csproj
src/tests/JIT/Generics/Conversions/Boxing/box_unbox01.cs
src/tests/JIT/Generics/Conversions/Boxing/box_unbox01.csproj
src/tests/JIT/Generics/Conversions/Reference/GenToGen01.cs
src/tests/JIT/Generics/Conversions/Reference/GenToGen02.cs
src/tests/JIT/Generics/Conversions/Reference/GenToGen03.cs
src/tests/JIT/Generics/Conversions/Reference/GenToNonGen01.cs
src/tests/JIT/Generics/Conversions/Reference/GenToNonGen02.cs
src/tests/JIT/Generics/Conversions/Reference/GenToNonGen03.cs
src/tests/JIT/Generics/Conversions/Reference/NonGenToGen01.cs
src/tests/JIT/Generics/Conversions/Reference/NonGenToGen02.cs
src/tests/JIT/Generics/Conversions/Reference/NonGenToGen03.cs
src/tests/JIT/Generics/Conversions/Reference/gentogen01.csproj
src/tests/JIT/Generics/Conversions/Reference/gentogen02.csproj
src/tests/JIT/Generics/Conversions/Reference/gentogen03.csproj
src/tests/JIT/Generics/Conversions/Reference/gentonongen01.csproj
src/tests/JIT/Generics/Conversions/Reference/gentonongen02.csproj
src/tests/JIT/Generics/Conversions/Reference/gentonongen03.csproj
src/tests/JIT/Generics/Conversions/Reference/nongentogen01.csproj
src/tests/JIT/Generics/Conversions/Reference/nongentogen02.csproj
src/tests/JIT/Generics/Conversions/Reference/nongentogen03.csproj
src/tests/JIT/Generics/Coverage/chaos55915408cs.cs
src/tests/JIT/Generics/Coverage/chaos55915408cs.csproj
src/tests/JIT/Generics/Coverage/chaos55915408cs_o.csproj
src/tests/JIT/Generics/Coverage/chaos56200037cs.cs
src/tests/JIT/Generics/Coverage/chaos56200037cs.csproj
src/tests/JIT/Generics/Coverage/chaos56200037cs_o.csproj
src/tests/JIT/Generics/Coverage/chaos65204782cs.cs
src/tests/JIT/Generics/Coverage/chaos65204782cs.csproj
src/tests/JIT/Generics/Coverage/chaos65204782cs_o.csproj
src/tests/JIT/Generics/Directory.Build.props [new file with mode: 0644]
src/tests/JIT/Generics/Exceptions/GenericCatchInterfaceProgram.il
src/tests/JIT/Generics/Exceptions/GenericCatchInterfaceProgram.ilproj
src/tests/JIT/Generics/Exceptions/general_class_instance01.cs
src/tests/JIT/Generics/Exceptions/general_class_instance01.csproj
src/tests/JIT/Generics/Exceptions/general_class_static01.cs
src/tests/JIT/Generics/Exceptions/general_class_static01.csproj
src/tests/JIT/Generics/Exceptions/general_struct_instance01.cs
src/tests/JIT/Generics/Exceptions/general_struct_instance01.csproj
src/tests/JIT/Generics/Exceptions/general_struct_static01.cs
src/tests/JIT/Generics/Exceptions/general_struct_static01.csproj
src/tests/JIT/Generics/Exceptions/specific_class_instance01.cs
src/tests/JIT/Generics/Exceptions/specific_class_instance01.csproj
src/tests/JIT/Generics/Exceptions/specific_class_instance02.cs
src/tests/JIT/Generics/Exceptions/specific_class_instance02.csproj
src/tests/JIT/Generics/Exceptions/specific_class_static01.cs
src/tests/JIT/Generics/Exceptions/specific_class_static01.csproj
src/tests/JIT/Generics/Exceptions/specific_class_static02.cs
src/tests/JIT/Generics/Exceptions/specific_class_static02.csproj
src/tests/JIT/Generics/Exceptions/specific_struct_instance01.cs
src/tests/JIT/Generics/Exceptions/specific_struct_instance01.csproj
src/tests/JIT/Generics/Exceptions/specific_struct_instance02.cs
src/tests/JIT/Generics/Exceptions/specific_struct_instance02.csproj
src/tests/JIT/Generics/Exceptions/specific_struct_static01.cs
src/tests/JIT/Generics/Exceptions/specific_struct_static01.csproj
src/tests/JIT/Generics/Exceptions/specific_struct_static02.cs
src/tests/JIT/Generics/Exceptions/specific_struct_static02.csproj
src/tests/JIT/Generics/Fields/getclassfrommethodparam.cs
src/tests/JIT/Generics/Fields/getclassfrommethodparam.csproj
src/tests/JIT/Generics/Fields/instance_assignment_class01.cs
src/tests/JIT/Generics/Fields/instance_assignment_class01_Fields.csproj [moved from src/tests/JIT/Generics/Locals/instance_assignment_class01.csproj with 89% similarity]
src/tests/JIT/Generics/Fields/instance_assignment_struct01.cs
src/tests/JIT/Generics/Fields/instance_assignment_struct01_Fields.csproj [moved from src/tests/JIT/Generics/Locals/instance_assignment_struct01.csproj with 89% similarity]
src/tests/JIT/Generics/Fields/instance_equalnull_class01.cs
src/tests/JIT/Generics/Fields/instance_equalnull_class01_Fields.csproj [moved from src/tests/JIT/Generics/Locals/instance_equalnull_class01.csproj with 89% similarity]
src/tests/JIT/Generics/Fields/instance_equalnull_struct01.cs
src/tests/JIT/Generics/Fields/instance_equalnull_struct01_Fields.csproj [moved from src/tests/JIT/Generics/Locals/instance_equalnull_struct01.csproj with 89% similarity]
src/tests/JIT/Generics/Fields/instance_passing_class01.cs
src/tests/JIT/Generics/Fields/instance_passing_class01_Fields.csproj [moved from src/tests/JIT/Generics/Locals/instance_passing_class01.csproj with 89% similarity]
src/tests/JIT/Generics/Fields/instance_passing_struct01.cs
src/tests/JIT/Generics/Fields/instance_passing_struct01_Fields.csproj [moved from src/tests/JIT/Generics/Locals/instance_passing_struct01.csproj with 89% similarity]
src/tests/JIT/Generics/Fields/static_assignment_class01.cs
src/tests/JIT/Generics/Fields/static_assignment_class01_Fields.csproj [moved from src/tests/JIT/Generics/Locals/static_assignment_class01.csproj with 89% similarity]
src/tests/JIT/Generics/Fields/static_assignment_struct01.cs
src/tests/JIT/Generics/Fields/static_assignment_struct01_Fields.csproj [moved from src/tests/JIT/Generics/Locals/static_assignment_struct01.csproj with 89% similarity]
src/tests/JIT/Generics/Fields/static_equalnull_class01.cs
src/tests/JIT/Generics/Fields/static_equalnull_class01_Fields.csproj [moved from src/tests/JIT/Generics/Locals/static_equalnull_class01.csproj with 89% similarity]
src/tests/JIT/Generics/Fields/static_equalnull_struct01.cs
src/tests/JIT/Generics/Fields/static_equalnull_struct01_Fields.csproj [moved from src/tests/JIT/Generics/Locals/static_equalnull_struct01.csproj with 89% similarity]
src/tests/JIT/Generics/Fields/static_passing_class01.cs
src/tests/JIT/Generics/Fields/static_passing_class01_Fields.csproj [moved from src/tests/JIT/Generics/Locals/static_passing_class01.csproj with 89% similarity]
src/tests/JIT/Generics/Fields/static_passing_struct01.cs
src/tests/JIT/Generics/Fields/static_passing_struct01_Fields.csproj [moved from src/tests/JIT/Generics/Locals/static_passing_struct01.csproj with 89% similarity]
src/tests/JIT/Generics/Instantiation/Classes/BaseClass01.cs
src/tests/JIT/Generics/Instantiation/Classes/BaseClass02.cs
src/tests/JIT/Generics/Instantiation/Classes/BaseClass03.cs
src/tests/JIT/Generics/Instantiation/Classes/Baseclass04.cs
src/tests/JIT/Generics/Instantiation/Classes/Baseclass05.cs
src/tests/JIT/Generics/Instantiation/Classes/baseclass01.csproj
src/tests/JIT/Generics/Instantiation/Classes/baseclass02.csproj
src/tests/JIT/Generics/Instantiation/Classes/baseclass03.csproj
src/tests/JIT/Generics/Instantiation/Classes/baseclass04.csproj
src/tests/JIT/Generics/Instantiation/Classes/baseclass05.csproj
src/tests/JIT/Generics/Instantiation/Classes/class01.cs
src/tests/JIT/Generics/Instantiation/Classes/class01_Classes.csproj [moved from src/tests/JIT/Generics/Instantiation/Classes/class01.csproj with 72% similarity]
src/tests/JIT/Generics/Instantiation/Classes/class02.cs
src/tests/JIT/Generics/Instantiation/Classes/class02_Classes.csproj [moved from src/tests/JIT/Generics/Instantiation/Classes/class02.csproj with 88% similarity]
src/tests/JIT/Generics/Instantiation/Classes/class03.cs
src/tests/JIT/Generics/Instantiation/Classes/class03_Classes.csproj [moved from src/tests/JIT/Generics/Instantiation/Classes/class03.csproj with 72% similarity]
src/tests/JIT/Generics/Instantiation/Interfaces/Class01.cs
src/tests/JIT/Generics/Instantiation/Interfaces/Class02.cs
src/tests/JIT/Generics/Instantiation/Interfaces/Class03.cs
src/tests/JIT/Generics/Instantiation/Interfaces/Class04.cs
src/tests/JIT/Generics/Instantiation/Interfaces/Class05.cs
src/tests/JIT/Generics/Instantiation/Interfaces/Struct01.cs
src/tests/JIT/Generics/Instantiation/Interfaces/Struct02.cs
src/tests/JIT/Generics/Instantiation/Interfaces/Struct03.cs
src/tests/JIT/Generics/Instantiation/Interfaces/Struct04.cs
src/tests/JIT/Generics/Instantiation/Interfaces/Struct05.cs
src/tests/JIT/Generics/Instantiation/Interfaces/class01_Interfaces.csproj [moved from src/tests/JIT/Generics/Instantiation/Interfaces/class01.csproj with 72% similarity]
src/tests/JIT/Generics/Instantiation/Interfaces/class02_Interfaces.csproj [moved from src/tests/JIT/Generics/Instantiation/Interfaces/class02.csproj with 72% similarity]
src/tests/JIT/Generics/Instantiation/Interfaces/class03_Interfaces.csproj [moved from src/tests/JIT/Generics/Instantiation/Interfaces/class03.csproj with 72% similarity]
src/tests/JIT/Generics/Instantiation/Interfaces/class04_Interfaces.csproj [moved from src/tests/JIT/Generics/Instantiation/Interfaces/class04.csproj with 72% similarity]
src/tests/JIT/Generics/Instantiation/Interfaces/class05_Interfaces.csproj [moved from src/tests/JIT/Generics/Instantiation/Interfaces/class05.csproj with 72% similarity]
src/tests/JIT/Generics/Instantiation/Interfaces/struct01_Interfaces.csproj [moved from src/tests/JIT/Generics/Instantiation/Interfaces/struct01.csproj with 72% similarity]
src/tests/JIT/Generics/Instantiation/Interfaces/struct02_Interfaces.csproj [moved from src/tests/JIT/Generics/Instantiation/Interfaces/struct02.csproj with 72% similarity]
src/tests/JIT/Generics/Instantiation/Interfaces/struct03_Interfaces.csproj [moved from src/tests/JIT/Generics/Instantiation/Interfaces/struct03.csproj with 72% similarity]
src/tests/JIT/Generics/Instantiation/Interfaces/struct04_Interfaces.csproj [moved from src/tests/JIT/Generics/Instantiation/Interfaces/struct04.csproj with 72% similarity]
src/tests/JIT/Generics/Instantiation/Interfaces/struct05_Interfaces.csproj [moved from src/tests/JIT/Generics/Instantiation/Interfaces/struct05.csproj with 72% similarity]
src/tests/JIT/Generics/Instantiation/Structs/struct01.cs
src/tests/JIT/Generics/Instantiation/Structs/struct01_Structs.csproj [moved from src/tests/JIT/Generics/Instantiation/Structs/struct01.csproj with 72% similarity]
src/tests/JIT/Generics/Instantiation/Structs/struct02.cs
src/tests/JIT/Generics/Instantiation/Structs/struct02_Structs.csproj [moved from src/tests/JIT/Generics/Instantiation/Structs/struct02.csproj with 88% similarity]
src/tests/JIT/Generics/Instantiation/Structs/struct03.cs
src/tests/JIT/Generics/Instantiation/Structs/struct03_Structs.csproj [moved from src/tests/JIT/Generics/Instantiation/Structs/struct03.csproj with 72% similarity]
src/tests/JIT/Generics/Instantiation/delegates/Delegate001.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate001.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate002.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate002.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate003.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate003.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate004.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate004.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate005.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate005.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate006.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate006.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate007.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate007.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate008.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate008.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate009.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate009.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate010.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate010.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate011.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate011.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate012.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate012.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate013.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate013.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate014.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate014.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate015.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate015.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate016.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate016.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate017.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate017.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate018.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate018.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate019.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate019.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate020.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate020.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate021.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate021.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate022.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate022.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate023.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate023.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate024.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate024.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate025.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate025.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate026.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate026.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate027.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate027.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate028.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate028.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate029.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate029.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate030.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate030.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate031.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate031.csproj
src/tests/JIT/Generics/Instantiation/delegates/Delegate032.cs
src/tests/JIT/Generics/Instantiation/delegates/Delegate032.csproj
src/tests/JIT/Generics/JIT.Generics.csproj [new file with mode: 0644]
src/tests/JIT/Generics/Locals/instance_assignment_class01.cs
src/tests/JIT/Generics/Locals/instance_assignment_class01_Locals.csproj [moved from src/tests/JIT/Generics/Fields/instance_assignment_class01.csproj with 89% similarity]
src/tests/JIT/Generics/Locals/instance_assignment_struct01.cs
src/tests/JIT/Generics/Locals/instance_assignment_struct01_Locals.csproj [moved from src/tests/JIT/Generics/Fields/instance_assignment_struct01.csproj with 89% similarity]
src/tests/JIT/Generics/Locals/instance_equalnull_class01.cs
src/tests/JIT/Generics/Locals/instance_equalnull_class01_Locals.csproj [moved from src/tests/JIT/Generics/Fields/instance_equalnull_class01.csproj with 89% similarity]
src/tests/JIT/Generics/Locals/instance_equalnull_struct01.cs
src/tests/JIT/Generics/Locals/instance_equalnull_struct01_Locals.csproj [moved from src/tests/JIT/Generics/Fields/instance_equalnull_struct01.csproj with 89% similarity]
src/tests/JIT/Generics/Locals/instance_passing_class01.cs
src/tests/JIT/Generics/Locals/instance_passing_class01_Locals.csproj [moved from src/tests/JIT/Generics/Fields/instance_passing_class01.csproj with 89% similarity]
src/tests/JIT/Generics/Locals/instance_passing_struct01.cs
src/tests/JIT/Generics/Locals/instance_passing_struct01_Locals.csproj [moved from src/tests/JIT/Generics/Fields/instance_passing_struct01.csproj with 89% similarity]
src/tests/JIT/Generics/Locals/static_assignment_class01.cs
src/tests/JIT/Generics/Locals/static_assignment_class01_Locals.csproj [moved from src/tests/JIT/Generics/Fields/static_assignment_class01.csproj with 89% similarity]
src/tests/JIT/Generics/Locals/static_assignment_struct01.cs
src/tests/JIT/Generics/Locals/static_assignment_struct01_Locals.csproj [moved from src/tests/JIT/Generics/Fields/static_assignment_struct01.csproj with 89% similarity]
src/tests/JIT/Generics/Locals/static_equalnull_class01.cs
src/tests/JIT/Generics/Locals/static_equalnull_class01_Locals.csproj [moved from src/tests/JIT/Generics/Fields/static_equalnull_class01.csproj with 89% similarity]
src/tests/JIT/Generics/Locals/static_equalnull_struct01.cs
src/tests/JIT/Generics/Locals/static_equalnull_struct01_Locals.csproj [moved from src/tests/JIT/Generics/Fields/static_equalnull_struct01.csproj with 89% similarity]
src/tests/JIT/Generics/Locals/static_passing_class01.cs
src/tests/JIT/Generics/Locals/static_passing_class01_Locals.csproj [moved from src/tests/JIT/Generics/Fields/static_passing_class01.csproj with 89% similarity]
src/tests/JIT/Generics/Locals/static_passing_struct01.cs
src/tests/JIT/Generics/Locals/static_passing_struct01_Locals.csproj [moved from src/tests/JIT/Generics/Fields/static_passing_struct01.csproj with 89% similarity]
src/tests/JIT/Generics/MemberAccess/class_instance01.cs
src/tests/JIT/Generics/MemberAccess/class_instance01.csproj
src/tests/JIT/Generics/MemberAccess/class_static01.cs
src/tests/JIT/Generics/MemberAccess/class_static01.csproj
src/tests/JIT/Generics/MemberAccess/interface_class01.cs
src/tests/JIT/Generics/MemberAccess/interface_class01.csproj
src/tests/JIT/Generics/MemberAccess/interface_class02.cs
src/tests/JIT/Generics/MemberAccess/interface_class02.csproj
src/tests/JIT/Generics/MemberAccess/interface_struct01.cs
src/tests/JIT/Generics/MemberAccess/interface_struct01.csproj
src/tests/JIT/Generics/MemberAccess/interface_struct02.cs
src/tests/JIT/Generics/MemberAccess/interface_struct02.csproj
src/tests/JIT/Generics/MemberAccess/struct_instance01.cs
src/tests/JIT/Generics/MemberAccess/struct_instance01.csproj
src/tests/JIT/Generics/MemberAccess/struct_static01.cs
src/tests/JIT/Generics/MemberAccess/struct_static01.csproj
src/tests/JIT/Generics/Parameters/instance_assignment_class01.cs
src/tests/JIT/Generics/Parameters/instance_assignment_class01_Parameters.csproj [moved from src/tests/JIT/Generics/Parameters/instance_assignment_class01.csproj with 89% similarity]
src/tests/JIT/Generics/Parameters/instance_assignment_struct01.cs
src/tests/JIT/Generics/Parameters/instance_assignment_struct01_Parameters.csproj [moved from src/tests/JIT/Generics/Parameters/instance_assignment_struct01.csproj with 89% similarity]
src/tests/JIT/Generics/Parameters/instance_equalnull_class01.cs
src/tests/JIT/Generics/Parameters/instance_equalnull_class01_Parameters.csproj [moved from src/tests/JIT/Generics/Parameters/instance_equalnull_class01.csproj with 89% similarity]
src/tests/JIT/Generics/Parameters/instance_equalnull_struct01.cs
src/tests/JIT/Generics/Parameters/instance_equalnull_struct01_Parameters.csproj [moved from src/tests/JIT/Generics/Parameters/instance_equalnull_struct01.csproj with 89% similarity]
src/tests/JIT/Generics/Parameters/instance_passing_class01.cs
src/tests/JIT/Generics/Parameters/instance_passing_class01_Parameters.csproj [moved from src/tests/JIT/Generics/Parameters/instance_passing_class01.csproj with 89% similarity]
src/tests/JIT/Generics/Parameters/instance_passing_struct01.cs
src/tests/JIT/Generics/Parameters/instance_passing_struct01_Parameters.csproj [moved from src/tests/JIT/Generics/Parameters/instance_passing_struct01.csproj with 89% similarity]
src/tests/JIT/Generics/Parameters/static_assignment_class01.cs
src/tests/JIT/Generics/Parameters/static_assignment_class01_Parameters.csproj [moved from src/tests/JIT/Generics/Parameters/static_assignment_class01.csproj with 89% similarity]
src/tests/JIT/Generics/Parameters/static_assignment_struct01.cs
src/tests/JIT/Generics/Parameters/static_assignment_struct01_Parameters.csproj [moved from src/tests/JIT/Generics/Parameters/static_assignment_struct01.csproj with 89% similarity]
src/tests/JIT/Generics/Parameters/static_equalnull_class01.cs
src/tests/JIT/Generics/Parameters/static_equalnull_class01_Parameters.csproj [moved from src/tests/JIT/Generics/Parameters/static_equalnull_class01.csproj with 89% similarity]
src/tests/JIT/Generics/Parameters/static_equalnull_struct01.cs
src/tests/JIT/Generics/Parameters/static_equalnull_struct01_Parameters.csproj [moved from src/tests/JIT/Generics/Parameters/static_equalnull_struct01.csproj with 89% similarity]
src/tests/JIT/Generics/Parameters/static_passing_class01.cs
src/tests/JIT/Generics/Parameters/static_passing_class01_Parameters.csproj [moved from src/tests/JIT/Generics/Parameters/static_passing_class01.csproj with 89% similarity]
src/tests/JIT/Generics/Parameters/static_passing_struct01.cs
src/tests/JIT/Generics/Parameters/static_passing_struct01_Parameters.csproj [moved from src/tests/JIT/Generics/Parameters/static_passing_struct01.csproj with 89% similarity]
src/tests/JIT/Generics/TypeParameters/default_class01.cs
src/tests/JIT/Generics/TypeParameters/default_class01.csproj
src/tests/JIT/Generics/TypeParameters/default_struct01.cs
src/tests/JIT/Generics/TypeParameters/default_struct01.csproj
src/tests/JIT/Generics/Typeof/Struct02.cs
src/tests/JIT/Generics/Typeof/class01.cs
src/tests/JIT/Generics/Typeof/class01_Typeof.csproj [moved from src/tests/JIT/Generics/Typeof/class01.csproj with 88% similarity]
src/tests/JIT/Generics/Typeof/class02.cs
src/tests/JIT/Generics/Typeof/class02_Typeof.csproj [moved from src/tests/JIT/Generics/Typeof/class02.csproj with 88% similarity]
src/tests/JIT/Generics/Typeof/class03.cs
src/tests/JIT/Generics/Typeof/class03_Typeof.csproj [moved from src/tests/JIT/Generics/Typeof/class03.csproj with 88% similarity]
src/tests/JIT/Generics/Typeof/dynamicTypes.cs
src/tests/JIT/Generics/Typeof/dynamicTypes.csproj
src/tests/JIT/Generics/Typeof/objectBoxing.cs
src/tests/JIT/Generics/Typeof/objectBoxing.csproj
src/tests/JIT/Generics/Typeof/refTypesdynamic.cs
src/tests/JIT/Generics/Typeof/refTypesdynamic.csproj
src/tests/JIT/Generics/Typeof/struct01.cs
src/tests/JIT/Generics/Typeof/struct01_Typeof.csproj [moved from src/tests/JIT/Generics/Arrays/ConstructedTypes/MultiDim/struct01.csproj with 88% similarity]
src/tests/JIT/Generics/Typeof/struct02_Typeof.csproj [moved from src/tests/JIT/Generics/Typeof/struct02.csproj with 88% similarity]
src/tests/JIT/Generics/Typeof/struct03.cs
src/tests/JIT/Generics/Typeof/struct03_Typeof.csproj [moved from src/tests/JIT/Generics/Typeof/struct03.csproj with 88% similarity]
src/tests/JIT/Generics/Typeof/valueTypeBoxing.cs
src/tests/JIT/Generics/Typeof/valueTypeBoxing.csproj
src/tests/JIT/Generics/pinvoke/instance01.cs
src/tests/JIT/Generics/pinvoke/instance01.csproj
src/tests/JIT/Generics/pinvoke/instance02.cs
src/tests/JIT/Generics/pinvoke/instance02.csproj
src/tests/JIT/Generics/pinvoke/instance03.cs
src/tests/JIT/Generics/pinvoke/instance03.csproj
src/tests/JIT/Generics/pinvoke/static01.cs
src/tests/JIT/Generics/pinvoke/static01.csproj
src/tests/JIT/Generics/pinvoke/static02.cs
src/tests/JIT/Generics/pinvoke/static02.csproj
src/tests/JIT/Generics/regression/DDB148379/ddb148379.il
src/tests/JIT/Generics/regression/DDB148379/ddb148379.ilproj

index 3196346..e5cf294 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -51,7 +52,8 @@ public class Test_Struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index 636c498..e47cd6e 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 637d0ed..91ed01e 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -58,7 +59,8 @@ public class Test_Struct01_instance
     }
 
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index 85788ff..f676f58 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -51,7 +52,8 @@ public class Test_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index dc1c7ac..a3bfb83 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -58,7 +59,8 @@ public class Test_class01_instance
     }
 
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index 27f64f5..9159b00 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -58,7 +59,8 @@ public class Test_class01_static
     }
 
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index c1a9bbd..eb0250a 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -51,7 +52,8 @@ public class Test_class02
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index 06a9e3d..1389a07 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -51,7 +52,8 @@ public class Test_class03
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index 8f44ed8..6c30227 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -51,7 +52,8 @@ public class Test_class04
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index 1e77004..44643e0 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -51,7 +52,8 @@ public class Test_class05
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index 66ad0d4..8b67ae0 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -51,7 +52,8 @@ public class Test_class06
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index c750c6e..511cb0c 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 6a9d180..a0bf4ba 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -51,7 +52,8 @@ public class Test_class07
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index 3260fa9..44afd76 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 46e8eb9..c7ea0e4 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -51,7 +52,8 @@ public class Test_struc01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index c0c4812..04a858a 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index f357058..77a258c 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -58,7 +59,8 @@ public class Test_struct01_static
     }
 
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index 84ee003..a296a73 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -51,7 +52,8 @@ public class Test_struct02
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index aa91553..835b65a 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -51,7 +52,8 @@ public class Test_struct03
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index 16efa4e..fe21640 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -51,7 +52,8 @@ public class Test_struct04
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index e3255a8..4722888 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -49,7 +50,8 @@ public class Test_struct05
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index 304251c..7354d28 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -51,7 +52,8 @@ public class Test_struct06
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index de5498c..912cefd 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index fa36cba..a9fe5f5 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -51,7 +52,8 @@ public class Test_struct07
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k, l, m;
index a3dd5b5..570d6d4 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index bdcf7fa..8908c12 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -51,7 +52,8 @@ public class Test_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k;
index 0c9d73a..e4a5a43 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -56,7 +57,8 @@ public class Test_class01_Instance
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k;
index 010379d..9b7241e 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -56,7 +57,8 @@ public class Test_class01_static
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k;
index c1f0a7e..2aaf308 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -51,7 +52,8 @@ public class Test_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k;
index 38d79f5..be16fc8 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -56,7 +57,8 @@ public class Test_struct01_Instance
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k;
index a4d8e3d..ec9219b 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -56,7 +57,8 @@ public class Test_struct01_static
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int size = 10;
         int i, j, k;
index f320b43..0211c3a 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -94,7 +95,8 @@ public class Test_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i = 0;
 
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index cea8381..58db804 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -94,7 +95,8 @@ public class Test_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i = 0;
 
index 75c0812..e6168ad 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -93,7 +94,8 @@ public class Test_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i = 0;
 
index 82fc97f..146f74a 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 
 public struct ValX1<T>
@@ -93,7 +94,8 @@ public class Test_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i = 0;
 
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 5ff5162..e7bc746 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 interface IncrDecr
 {
     void Incr(int a);
@@ -56,9 +57,10 @@ class MyCounter<T> where T : IncrDecr, new()
         return counters[index].Val();
     }
 }
-class test
+public class test
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         MyCounter<MyInt> mc = new MyCounter<MyInt>();
         mc.Increment();
index 35ce0a7..9dc893e 100644 (file)
@@ -9,7 +9,7 @@
 }
 .assembly extern xunit.core {}
 .assembly extern mscorlib {}
-.assembly class1 {}
+.assembly ASSEMBLY_NAME {}
 .class interface private abstract auto ansi IncrDecr
 {
   .method public hidebysig newslot abstract virtual 
 
 } 
 
-.class private auto ansi beforefieldinit test
+.class public auto ansi beforefieldinit test
        extends [mscorlib]System.Object
 {
   .method public hidebysig static int32  Main() cil managed
index a0d51d5..625af83 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 70632fd..4101b1d 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 38b466e..b435903 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index def27b6..86afab2 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
diff --git a/src/tests/JIT/Generics/ConstrainedCall/class1_d.il b/src/tests/JIT/Generics/ConstrainedCall/class1_d.il
new file mode 100644 (file)
index 0000000..594fb27
--- /dev/null
@@ -0,0 +1 @@
+#define ASSEMBLY_NAME "class1_d"
@@ -1,12 +1,12 @@
 <Project Sdk="Microsoft.NET.Sdk.IL">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>Full</DebugType>
   </PropertyGroup>
   <ItemGroup>
+    <Compile Include="class1_d.il" />
     <Compile Include="class1.il" />
   </ItemGroup>
 </Project>
diff --git a/src/tests/JIT/Generics/ConstrainedCall/class1_r.il b/src/tests/JIT/Generics/ConstrainedCall/class1_r.il
new file mode 100644 (file)
index 0000000..f04e0e3
--- /dev/null
@@ -0,0 +1 @@
+#define ASSEMBLY_NAME "class1_r"
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk.IL">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
@@ -8,6 +7,7 @@
     <Optimize>False</Optimize>
   </PropertyGroup>
   <ItemGroup>
+    <Compile Include="class1_r.il" />
     <Compile Include="class1.il" />
   </ItemGroup>
 </Project>
index b590739..6f76be9 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 interface IncrDecr
 {
     void Incr(int a);
@@ -65,9 +66,10 @@ class MyCounter<T> where T : IncrDecr, new()
         return counters[index].Val();
     }
 }
-class test
+public class test
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         MyCounter<MyInt> mc = new MyCounter<MyInt>();
         mc.Increment<MyInt>();
index fea004e..2f72a1b 100644 (file)
@@ -9,7 +9,7 @@
 }
 .assembly extern xunit.core {}
 .assembly extern mscorlib {}
-.assembly class2 {}
+.assembly ASSEMBLY_NAME {}
 .class interface private abstract auto ansi IncrDecr
 {
   .method public hidebysig newslot abstract virtual 
 
 } 
 
-.class private auto ansi beforefieldinit test
+.class public auto ansi beforefieldinit test
        extends [mscorlib]System.Object
 {
   .method public hidebysig static int32  Main() cil managed
index 698a213..c543359 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index dfcf6fd..2b1456b 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 2d68bb2..d5a8bec 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 06f0b84..e02dd6b 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
diff --git a/src/tests/JIT/Generics/ConstrainedCall/class2_d.il b/src/tests/JIT/Generics/ConstrainedCall/class2_d.il
new file mode 100644 (file)
index 0000000..47c2ed1
--- /dev/null
@@ -0,0 +1 @@
+#define ASSEMBLY_NAME "class2_d"
@@ -1,12 +1,12 @@
 <Project Sdk="Microsoft.NET.Sdk.IL">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>Full</DebugType>
   </PropertyGroup>
   <ItemGroup>
+    <Compile Include="class2_d.il" />
     <Compile Include="class2.il" />
   </ItemGroup>
 </Project>
diff --git a/src/tests/JIT/Generics/ConstrainedCall/class2_r.il b/src/tests/JIT/Generics/ConstrainedCall/class2_r.il
new file mode 100644 (file)
index 0000000..286c90b
--- /dev/null
@@ -0,0 +1 @@
+#define ASSEMBLY_NAME "class2_r"
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk.IL">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
@@ -8,6 +7,7 @@
     <Optimize>False</Optimize>
   </PropertyGroup>
   <ItemGroup>
+    <Compile Include="class2_r.il" />
     <Compile Include="class2.il" />
   </ItemGroup>
 </Project>
index e7e76f6..e1ae242 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 interface IncrDecr
 {
     void Incr(int a);
@@ -55,9 +56,10 @@ class MyCounter<T> where T : IncrDecr
         return counters[index].Val();
     }
 }
-class test
+public class test
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         MyCounter<MyInt> mc = new MyCounter<MyInt>();
         mc.Increment();
index b580283..5997e38 100644 (file)
@@ -12,7 +12,7 @@
   .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
   .ver 4:0:0:0
 }
-.assembly vt1 {}
+.assembly ASSEMBLY_NAME {}
 .class interface private abstract auto ansi IncrDecr
 {
   .method public hidebysig newslot abstract virtual 
 
 } // end of class MyCounter
 
-.class private auto ansi beforefieldinit test
+.class public auto ansi beforefieldinit test
        extends [mscorlib]System.Object
 {
   .method public hidebysig static int32  Main() cil managed
index b47f076..c9bc819 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index bcc034e..017fe3d 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 6cacf6b..e73676e 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 3a53aa0..e3341e0 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
diff --git a/src/tests/JIT/Generics/ConstrainedCall/vt1_d.il b/src/tests/JIT/Generics/ConstrainedCall/vt1_d.il
new file mode 100644 (file)
index 0000000..ba89723
--- /dev/null
@@ -0,0 +1 @@
+#define ASSEMBLY_NAME "vt1_d"
@@ -1,12 +1,12 @@
 <Project Sdk="Microsoft.NET.Sdk.IL">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>Full</DebugType>
   </PropertyGroup>
   <ItemGroup>
+    <Compile Include="vt1_d.il" />
     <Compile Include="vt1.il" />
   </ItemGroup>
 </Project>
diff --git a/src/tests/JIT/Generics/ConstrainedCall/vt1_r.il b/src/tests/JIT/Generics/ConstrainedCall/vt1_r.il
new file mode 100644 (file)
index 0000000..77fc5ed
--- /dev/null
@@ -0,0 +1 @@
+#define ASSEMBLY_NAME "vt1_r"
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk.IL">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
@@ -8,6 +7,7 @@
     <Optimize>False</Optimize>
   </PropertyGroup>
   <ItemGroup>
+    <Compile Include="vt1_r.il" />
     <Compile Include="vt1.il" />
   </ItemGroup>
 </Project>
index 0636f5a..548efa0 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 interface IncrDecr
 {
     int Val();
@@ -43,9 +44,10 @@ class MyCounter<T> where T : IncrDecr
         return counter.GetHashCode();
     }
 }
-class test
+public class test
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         MyCounter<MyInt> mc = new MyCounter<MyInt>();
         if (mc.Val1A() != mc.Val1B())
index f537653..3112e20 100644 (file)
@@ -12,7 +12,7 @@
   .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
   .ver 4:0:0:0
 }
-.assembly vt2 {}
+.assembly ASSEMBLY_NAME {}
 .class interface private abstract auto ansi IncrDecr
 {
   .method public hidebysig newslot abstract virtual 
 
 } // end of class MyCounter
 
-.class private auto ansi beforefieldinit test
+.class public auto ansi beforefieldinit test
        extends [mscorlib]System.Object
 {
   .method public hidebysig static int32  Main() cil managed
index 92f6b3d..c620790 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>Full</DebugType>
     <Optimize>False</Optimize>
   </PropertyGroup>
index c3509d4..970f3ce 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>Full</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index ca79a9c..df30fbf 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>False</Optimize>
   </PropertyGroup>
index 53fceae..9eb0658 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
diff --git a/src/tests/JIT/Generics/ConstrainedCall/vt2_d.il b/src/tests/JIT/Generics/ConstrainedCall/vt2_d.il
new file mode 100644 (file)
index 0000000..eb320a7
--- /dev/null
@@ -0,0 +1 @@
+#define ASSEMBLY_NAME "vt2_d"
@@ -1,11 +1,9 @@
 <Project Sdk="Microsoft.NET.Sdk.IL">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>Full</DebugType>
   </PropertyGroup>
   <ItemGroup>
+    <Compile Include="vt2_d.il" />
     <Compile Include="vt2.il" />
   </ItemGroup>
 </Project>
diff --git a/src/tests/JIT/Generics/ConstrainedCall/vt2_r.il b/src/tests/JIT/Generics/ConstrainedCall/vt2_r.il
new file mode 100644 (file)
index 0000000..0c0e2ef
--- /dev/null
@@ -0,0 +1 @@
+#define ASSEMBLY_NAME "vt2_r"
@@ -1,12 +1,10 @@
 <Project Sdk="Microsoft.NET.Sdk.IL">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
     <Optimize>False</Optimize>
   </PropertyGroup>
   <ItemGroup>
+    <Compile Include="vt2_r.il" />
     <Compile Include="vt2.il" />
   </ItemGroup>
 </Project>
index 42294e8..5d10a52 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 interface IncrDecr
 {
     int Val();
@@ -44,9 +45,10 @@ class MyCounter<T> where T : IncrDecr
         return counter.GetHashCode();
     }
 }
-class test
+public class test
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         MyCounter<MyInt> mc = new MyCounter<MyInt>();
         if (mc.Val1A() != mc.Val1B())
index 007f1f1..6f471e6 100644 (file)
@@ -12,7 +12,7 @@
   .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
   .ver 4:0:0:0
 }
-.assembly vt3 {}
+.assembly ASSEMBLY_NAME {}
 .class interface private abstract auto ansi IncrDecr
 {
   .method public hidebysig newslot abstract virtual 
 
 } // end of class MyCounter
 
-.class private auto ansi beforefieldinit test
+.class public auto ansi beforefieldinit test
        extends [mscorlib]System.Object
 {
   .method public hidebysig static int32  Main() cil managed
index 55def77..eb11061 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index b4180f7..23f4930 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 62c7002..0bb903a 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 07ea077..76f8f3d 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
diff --git a/src/tests/JIT/Generics/ConstrainedCall/vt3_d.il b/src/tests/JIT/Generics/ConstrainedCall/vt3_d.il
new file mode 100644 (file)
index 0000000..f302513
--- /dev/null
@@ -0,0 +1 @@
+#define ASSEMBLY_NAME "vt3_d"
@@ -1,12 +1,12 @@
 <Project Sdk="Microsoft.NET.Sdk.IL">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>Full</DebugType>
   </PropertyGroup>
   <ItemGroup>
+    <Compile Include="vt3_d.il" />
     <Compile Include="vt3.il" />
   </ItemGroup>
 </Project>
diff --git a/src/tests/JIT/Generics/ConstrainedCall/vt3_r.il b/src/tests/JIT/Generics/ConstrainedCall/vt3_r.il
new file mode 100644 (file)
index 0000000..99899a8
--- /dev/null
@@ -0,0 +1 @@
+#define ASSEMBLY_NAME "vt3_r"
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk.IL">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
@@ -8,6 +7,7 @@
     <Optimize>False</Optimize>
   </PropertyGroup>
   <ItemGroup>
+    <Compile Include="vt3_r.il" />
     <Compile Include="vt3.il" />
   </ItemGroup>
 </Project>
index 56d1f25..08c18ec 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 interface IncrDecr
 {
     void Incr(int a);
@@ -65,9 +66,10 @@ class MyCounter<T> where T : IncrDecr, new()
         return counters[index].Val();
     }
 }
-class test
+public class test
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         MyCounter<MyInt> mc = new MyCounter<MyInt>();
         mc.Increment<MyInt>();
index 73b5be1..a86edb2 100644 (file)
@@ -8,7 +8,7 @@
 }
 .assembly extern xunit.core {}
 .assembly extern mscorlib {}
-.assembly vt4 {}
+.assembly ASSEMBLY_NAME {}
 .class interface private abstract auto ansi IncrDecr
 {
   .method public hidebysig newslot abstract virtual 
 
 } 
 
-.class private auto ansi beforefieldinit test
+.class public auto ansi beforefieldinit test
        extends [mscorlib]System.Object
 {
   .method public hidebysig static int32  Main() cil managed
index 002b874..678cda5 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 278b5f9..906dd5a 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index af154c1..c984a97 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 076d274..98e1dad 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
diff --git a/src/tests/JIT/Generics/ConstrainedCall/vt4_d.il b/src/tests/JIT/Generics/ConstrainedCall/vt4_d.il
new file mode 100644 (file)
index 0000000..89de327
--- /dev/null
@@ -0,0 +1 @@
+#define ASSEMBLY_NAME "vt4_d"
@@ -1,12 +1,12 @@
 <Project Sdk="Microsoft.NET.Sdk.IL">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>Full</DebugType>
   </PropertyGroup>
   <ItemGroup>
+    <Compile Include="vt4_d.il" />
     <Compile Include="vt4.il" />
   </ItemGroup>
 </Project>
diff --git a/src/tests/JIT/Generics/ConstrainedCall/vt4_r.il b/src/tests/JIT/Generics/ConstrainedCall/vt4_r.il
new file mode 100644 (file)
index 0000000..1bfa9cb
--- /dev/null
@@ -0,0 +1 @@
+#define ASSEMBLY_NAME "vt4_r"
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk.IL">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
@@ -8,6 +7,7 @@
     <Optimize>False</Optimize>
   </PropertyGroup>
   <ItemGroup>
+    <Compile Include="vt4_r.il" />
     <Compile Include="vt4.il" />
   </ItemGroup>
 </Project>
index c2cace0..32f975b 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public interface IFoo
 {
@@ -60,7 +61,8 @@ public class Test_Call_instance01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new GenClass<FooClass>().CallOnConstraint(new FooClass()));
         Eval(new GenClass<FooStruct>().CallOnConstraint(new FooStruct()));
index 8997046..0e81e84 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index af54c74..70f09ea 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 218e988..9816743 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 8a0461f..c0a2e1f 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index c2a567b..6ea800b 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public interface IFoo
 {
@@ -55,7 +56,8 @@ public class Test_Call_static01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(GenClass<FooClass>.CallOnConstraint(new FooClass()));
         Eval(GenClass<FooStruct>.CallOnConstraint(new FooStruct()));
index 6c43bb6..b7eefca 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public interface IFoo
 {
@@ -54,7 +55,8 @@ public class Test_Convert_instance01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new GenClass<FooClass>().ConvertToConstraint(new FooClass()).GetType().Equals(typeof(FooClass)));
         Eval(new GenClass<FooStruct>().ConvertToConstraint(new FooStruct()).GetType().Equals(typeof(FooStruct)));
index 26eaea8..3923235 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public interface IFoo
 {
@@ -49,7 +50,8 @@ public class Test_Convert_static01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(GenClass<FooClass>.ConvertToConstraint(new FooClass()).GetType().Equals(typeof(FooClass)));
         Eval(GenClass<FooStruct>.ConvertToConstraint(new FooStruct()).GetType().Equals(typeof(FooStruct)));
index 157dcf8..ca48b9b 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public interface IFoo { }
 
@@ -47,7 +48,8 @@ public class Test_Transitive_instance01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new GenClass<FooClass>().TransitiveConstraint().GetType().Equals(typeof(Transition<FooClass>)));
         Eval(new GenClass<FooStruct>().TransitiveConstraint().GetType().Equals(typeof(Transition<FooStruct>)));
index f9327e3..cfeed7f 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public interface IFoo { }
 
@@ -42,7 +43,8 @@ public class Test_Transitive_static01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(GenClass<FooClass>.TransitiveConstraint().GetType().Equals(typeof(Transition<FooClass>)));
         Eval(GenClass<FooStruct>.TransitiveConstraint().GetType().Equals(typeof(Transition<FooStruct>)));
index ca87447..bc4bc34 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index b6f4d55..e567102 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 0ae6da1..74de5da 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 010c579..10827f7 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 0046529..d52fafe 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 0e45466..59f4b3e 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 448ef8a..8df88c0 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Runtime.CompilerServices;
+using Xunit;
 
 public static class Tests
 {
@@ -38,7 +39,8 @@ public static class Tests
         }
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         BoxIsInstBr1<int?>(1).Expect(1);
         BoxIsInstBr1<int?>(null).Expect(0);
index 4fe878b..5996879 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <Optimize>True</Optimize>
   </PropertyGroup>
   <ItemGroup>
index c1afad4..10063b0 100644 (file)
@@ -4,6 +4,7 @@
 using System;
 using System.Collections.Generic;
 using System.Runtime.CompilerServices;
+using Xunit;
 
 public static class Tests
 {
@@ -39,7 +40,8 @@ public static class Tests
         }
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         BoxIsInstUnbox1<int>(1).Expect(1);
         BoxIsInstUnbox1<uint>(1).Expect(-1);
index 3b6e765..54fbd58 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 2d0af4e..78ca302 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -51,7 +52,8 @@ public class Test_box_unbox01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Gen<int>().Unbox(new Gen<int>().Box(1)).Equals(1));
         Eval(new Gen<double>().Unbox(new Gen<double>().Box(1.111)).Equals(1.111));
index 1cea2f2..48acf4e 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index edb64ea..63c9783 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -99,7 +100,8 @@ public class Test_GenToGen01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Converter<int>().ToGenOfT(new Gen<int>(), false, typeof(Gen<int>)));
         Eval(new Converter<int>().ToGenBaseOfT(new Gen<int>(), false, typeof(Gen<int>)));
index 80602c0..8a7e552 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -96,7 +97,8 @@ public class Test_GenToGen02
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Converter<int>().ToGenOfT(new Gen<int>(), false, typeof(Gen<int>)));
         Eval(new Converter<int>().ToGenBaseOfT(new Gen<int>(), false, typeof(Gen<int>)));
index adb4266..4d4b719 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -96,7 +97,8 @@ public class Test_GenToGen03
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Converter<int>().ToGenOfT(new Gen<int>(), false, typeof(Gen<int>)));
         Eval(new Converter<int>().ToGenBaseOfT(new Gen<int>(), false, typeof(Gen<int>)));
index f5635e5..c701ee1 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -99,7 +100,8 @@ public class Test_GenToNonGen01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Converter<int>().ToGenBaseOfT(new Gen<int>(), false, typeof(Gen<int>)));
         Eval(new Converter<int>().ToGenOfT(new GenBase(), true, null));
index 2c5c76a..b5e465b 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -95,7 +96,8 @@ public class Test_GenToNonGen02
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Converter<int>().ToGenBaseOfT(new Gen<int>(), false, typeof(Gen<int>)));
 
index a6fedf2..0edcd05 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -95,7 +96,8 @@ public class Test_GenToNonGen03
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Converter<int>().ToGenBaseOfT(new Gen<int>(), false, typeof(Gen<int>)));
 
index 6549ff6..d657f8d 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -128,7 +129,8 @@ public class Test_NonGenToGen01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Converter<int>().ToGenBaseOfT(new GenInt(), false, typeof(GenInt)));
         Eval(new Converter<int>().ToGenInt(new GenInt(), false, typeof(GenInt)));
index 7a845f0..6a6a0ea 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -124,7 +125,8 @@ public class Test_NonGenToGen02
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Converter<int>().ToGenBaseOfT(new GenInt(), false, typeof(GenInt)));
         Eval(new Converter<string>().ToGenBaseOfT(new GenInt(), true, null));
index ac0e9f3..58b8808 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -124,7 +125,8 @@ public class Test_NonGenToGen03
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Converter<int>().ToGenBaseOfT(new GenInt(), false, typeof(GenInt)));
         Eval(new Converter<string>().ToGenBaseOfT(new GenInt(), true, null));
index 2431f05..bace697 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index 20fd9f7..736b7f7 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index 93868ce..da37d92 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index 80a066a..2819137 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index 27c45c2..d2f465f 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index b002a78..de9c3db 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index bb4266e..714528f 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index 6ea11c7..3d1f9e0 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index a68ef85..66d1c00 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index f349854..e38dac2 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 //
 
+using Xunit;
 /// <summary>Generic chaos types</summary>
 /// <remarks>CommandLine:
 ///<code>GenericChaos.exe /mtc:5 /mtcc:1 /mic:10 /ol:Cs /ol:Vb /mtpc:1 /mmtpc:1
@@ -314,7 +315,8 @@ namespace Chaos
     public class Program
     {
 
-        public static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             A0 v0 = new A0();
             v0.CreateAllTypesA0();
index bf5952f..05114af 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index e13fd9c..217f17f 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 3daf4d3..63e4b4b 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 //
 
+using Xunit;
 /// <summary>Generic chaos types</summary>
 /// <remarks>CommandLine:
 ///<code>GenericChaos.exe /mtc:10 /mtcc:10 /mic:5 /ol:Cs /ol:Vb
@@ -1472,7 +1473,8 @@ namespace Chaos
     public class Program
     {
 
-        public static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             A0 v0 = new A0();
             v0.CreateAllTypesA0();
index c7835c3..39508c4 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index 2357804..a6cf44f 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
     <Optimize>True</Optimize>
   </PropertyGroup>
index 90c60d2..579bbc6 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 //
 
+using Xunit;
 /// <summary>Generic chaos types</summary>
 /// <remarks>CommandLine:
 ///<code>GenericChaos.exe /mtc:10 /mtcc:2 /mic:10 /ol:Cs /ol:Vb /mtpc:2 /mmtpc:2
@@ -3451,7 +3452,8 @@ namespace Chaos
     public class Program
     {
 
-        public static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             A0 v0 = new A0();
             v0.CreateAllTypesA0();
index 70523ca..0ffa0c0 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 6bbbba5..4951bb1 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for GCStressIncompatible -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <GCStressIncompatible>true</GCStressIncompatible>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
diff --git a/src/tests/JIT/Generics/Directory.Build.props b/src/tests/JIT/Generics/Directory.Build.props
new file mode 100644 (file)
index 0000000..d500cf4
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project>
+  <Import Project="..\..\Directory.Merged.props" />
+  <Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props, $(MSBuildThisFileDirectory)..))" />
+
+  <PropertyGroup>
+    <RunAnalyzers>true</RunAnalyzers>
+    <NoWarn>$(NoWarn);xUnit1013</NoWarn>
+    <EnableNETAnalyzers>false</EnableNETAnalyzers>
+  </PropertyGroup>
+</Project>
index 33aa542..daf8eea 100644 (file)
@@ -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.
 
-.assembly extern System.Runtime {}
+.assembly extern System.Runtime { .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) }
+.assembly extern xunit.core {}
 .assembly extern System.Console {}
-.assembly GenericCatchInterface {}
+.assembly GenericCatchInterfaceProgram {}
 
 // IL in this file is based on this C# program with a few IL modifications:
 
 // class MyException : Exception, IMyInterface {}
 
 
-.class private abstract auto ansi sealed beforefieldinit GenericCatchInterfaceProgram
+.class public abstract auto ansi sealed beforefieldinit GenericCatchInterfaceProgram
        extends [System.Runtime]System.Object
 {
   // 
   .field private static int32 retCode
 
-  .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
+    )
     .entrypoint
     .maxstack  2
     IL_0000:  newobj     instance void MyException::.ctor()
index 1f01486..43b0118 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk.IL">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <Optimize>True</Optimize>
   </PropertyGroup>
   <ItemGroup>
index 1fe0b7f..aded275 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -79,7 +80,8 @@ public class Test_general_class_instance01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Gen<int>().ExceptionTest(true));
         Eval(new Gen<double>().ExceptionTest(true));
index 70044ff..5dfc1ce 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index be44843..6fb9fe1 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -79,7 +80,8 @@ public class Test_general_class_static01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(Gen<int>.ExceptionTest(true));
         Eval(Gen<double>.ExceptionTest(true));
index f8b548b..1b0d178 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index 39d3d32..81e82b9 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -79,7 +80,8 @@ public class Test_general_struct_instance01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Gen<int>().ExceptionTest(true));
         Eval(new Gen<double>().ExceptionTest(true));
index 4884947..ae69dea 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index f3e4462..6d5e2c4 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -79,7 +80,8 @@ public class Test_general_struct_static01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(Gen<int>.ExceptionTest(true));
         Eval(Gen<double>.ExceptionTest(true));
index 2ac9b8c..454e87b 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index 4e204f6..997de6e 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -66,7 +67,8 @@ public class Test_specific_class_instance01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Gen<int>().ExceptionTest(true));
         Eval(new Gen<double>().ExceptionTest(true));
index 0eb1672..87d6b79 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 5feb4c5..8b376c4 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -53,7 +54,8 @@ public class Test_specific_class_instance02
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int cLabel = 0;
 
index 8a37820..2db9bf8 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index fa3a434..6b6475c 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -66,7 +67,8 @@ public class Test_specific_class_static01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(Gen<int>.ExceptionTest(true));
         Eval(Gen<double>.ExceptionTest(true));
index 057de8a..17323d4 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index ccf7c02..60d3d2e 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -53,7 +54,8 @@ public class Test_specific_class_static02
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int cLabel = 0;
 
index df014b5..c0e5341 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 9121415..88f1371 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -66,7 +67,8 @@ public class Test_specific_struct_instance01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Gen<int>().ExceptionTest(true));
         Eval(new Gen<double>().ExceptionTest(true));
index a5b5b7e..193932e 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 13c5424..521902a 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -53,7 +54,8 @@ public class Test_specific_struct_instance02
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int cLabel = 0;
 
index 81eef5a..0ec7d39 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 827667c..9e9ba09 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -66,7 +67,8 @@ public class Test_specific_struct_static01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(Gen<int>.ExceptionTest(true));
         Eval(Gen<double>.ExceptionTest(true));
index 745d3bf..f1c9241 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index d6643f8..436b32b 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -53,7 +54,8 @@ public class Test_specific_struct_static02
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int cLabel = 0;
 
index 4fe75c8..6cca5aa 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index ba58df0..f1dd9aa 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Runtime.CompilerServices;
+using Xunit;
 
 namespace Sandbox3
 {
@@ -20,9 +21,10 @@ namespace Sandbox3
 
     public class Dummy { }
 
-    internal class Program
+    public class Program
     {
-        private static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             string s = "hello";
 
index e287e38..c82afdc 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for CLRTestTargetUnsupported -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <CLRTestPriority>1</CLRTestPriority>
     <!-- Test unsupported outside of windows -->
     <CLRTestTargetUnsupported Condition="'$(TargetsWindows)' != 'true'">true</CLRTestTargetUnsupported>
index 75be79c..dd56c6c 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -48,7 +49,8 @@ public class Test_instance_assignment_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 1;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index ec68b0d..fcd8768 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -48,7 +49,8 @@ public class Test_instance_assignment_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 1;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 7d2cf3c..37646e7 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -48,7 +49,8 @@ public class Test_instance_equalnull_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 0;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 5fa17e4..75d49c6 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -48,7 +49,8 @@ public class Test_instance_equalnull_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 0;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 32ed5a5..fecd11c 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -74,7 +75,8 @@ public class Test_instance_passing_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int1 = 1;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 7cd769c..13041bf 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -74,7 +75,8 @@ public class Test_instance_passing_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int1 = 1;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 375581f..fa674d2 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -48,7 +49,8 @@ public class Test_static_assignment_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 1;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 394146c..7ee6f07 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -48,7 +49,8 @@ public class Test_static_assignment_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 1;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index f99777b..9bcbdb2 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -48,7 +49,8 @@ public class Test_static_equalnull_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 0;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index fd12a72..42fb5ab 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -48,7 +49,8 @@ public class Test_static_equalnull_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 0;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 48e3056..c7a5aa9 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -74,7 +75,8 @@ public class Test_static_passing_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int1 = 1;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 0bf5b64..bf44382 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -74,7 +75,8 @@ public class Test_static_passing_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int1 = 1;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 620ae6d..058a62c 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -162,7 +163,8 @@ public class Test_BaseClass01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new GenInt().InstVerify());
         Eval(new GenDouble().InstVerify());
index 728f276..e164052 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -70,7 +71,8 @@ public class Test_BaseClass02
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval((new Gen<int>(new int())).InstVerify(typeof(int)));
         Eval((new Gen<double>(new double())).InstVerify(typeof(double)));
index 939fc50..5360e19 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -79,7 +80,8 @@ public class Test_BaseClass03
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval((new Gen<int>(new int())).InstVerify(typeof(int)));
         Eval((new Gen<double>(new double())).InstVerify(typeof(double)));
index 090c18d..eb56c1a 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -77,7 +78,8 @@ public class Test_Baseclass04
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval((new Gen<int, int>(new int(), new int())).InstVerify(typeof(int), typeof(int)));
         Eval((new Gen<int, double>(new int(), new double())).InstVerify(typeof(int), typeof(double)));
index 4abe5e7..c01be6d 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -85,7 +86,8 @@ public class Test_Baseclass05
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval((new Gen<int, double, Guid>(new int(), new double(), new Guid())).InstVerify(typeof(int), typeof(double), typeof(Guid)));
         Eval((new Gen<double, Guid, string>(new double(), new Guid(), "string")).InstVerify(typeof(double), typeof(Guid), typeof(string)));
index a51cbab..5714b7c 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index 7400ee8..d112d1c 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index 8d3622b..81cd646 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index 80d6717..a47abeb 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 8c2c8af..1c7ed3b 100644 (file)
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index bef280e..e8445c2 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -60,7 +61,8 @@ public class Test_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval((new Gen<int>(new int())).InstVerify(typeof(int)));
         Eval((new Gen<double>(new double())).InstVerify(typeof(double)));
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index 4122308..e2fae5b 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -68,7 +69,8 @@ public class Test_class02
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval((new Gen<int, int>(new int(), new int())).InstVerify(typeof(int), typeof(int)));
         Eval((new Gen<int, double>(new int(), new double())).InstVerify(typeof(int), typeof(double)));
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 2828b6a..5d54c0f 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -75,7 +76,8 @@ public class Test_class03
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval((new Gen<int, double, Guid>(new int(), new double(), new Guid())).InstVerify(typeof(int), typeof(double), typeof(Guid)));
         Eval((new Gen<double, Guid, string>(new double(), new Guid(), "string")).InstVerify(typeof(double), typeof(Guid), typeof(string)));
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index d061f7d..8c1276c 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -284,7 +285,8 @@ public class Test_Class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         IGen<int> IGenInt = new GenInt();
         IGenInt._Init(new int());
index 383ef5b..ba30ece 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -65,7 +66,8 @@ public class Test_Class02
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         IGen<int> IGenInt = new Gen<int>(new int());
index c6b9ec3..e9e693b 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -67,7 +68,8 @@ public class Test_Class03
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         IGen<int> IGenInt = new Gen<int>(new int());
index a30e522..1b187e3 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -284,7 +285,8 @@ public class Test_Class04
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         IGen<int> IGenInt = new GenInt();
         IGenInt._Init(new int());
index 60cd4ed..1c2a991 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -295,7 +296,8 @@ public class Test_Class05
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         IGen<int> IGenInt = new GenInt();
         IGenInt._Init(new int());
index 027252f..f54401a 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -284,7 +285,8 @@ public class Test_Struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         IGen<int> IGenInt = new GenInt();
         IGenInt._Init(new int());
index ddd647d..c59c4a7 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -65,7 +66,8 @@ public class Test_Struct02
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         IGen<int> IGenInt = new Gen<int>(new int());
index 2706599..8017fa1 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -67,7 +68,8 @@ public class Test_Struct03
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         IGen<int> IGenInt = new Gen<int>(new int());
index 7dd8adc..a10113b 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -284,7 +285,8 @@ public struct Test_Struct04
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         IGen<int> IGenInt = new GenInt();
         IGenInt._Init(new int());
index 27ff5bc..42eda7d 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -295,7 +296,8 @@ public class Test_Struct05
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         IGen<int> IGenInt = new GenInt();
         IGenInt._Init(new int());
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index 8c9679a..b679ba3 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -59,7 +60,8 @@ public class Test_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval((new Gen<int>(new int())).InstVerify(typeof(int)));
         Eval((new Gen<double>(new double())).InstVerify(typeof(double)));
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index bbb05d6..1e6c737 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -68,7 +69,8 @@ public class Test_struct02
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval((new Gen<int, int>(new int(), new int())).InstVerify(typeof(int), typeof(int)));
         Eval((new Gen<int, double>(new int(), new double())).InstVerify(typeof(int), typeof(double)));
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 2744b54..3dd37ec 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -75,7 +76,8 @@ public class Test_struct03
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval((new Gen<int, double, Guid>(new int(), new double(), new Guid())).InstVerify(typeof(int), typeof(double), typeof(Guid)));
         Eval((new Gen<double, Guid, string>(new double(), new Guid(), "string")).InstVerify(typeof(double), typeof(Guid), typeof(string)));
@@ -1,8 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
-  <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
   </PropertyGroup>
   <ItemGroup>
index a480030..a811334 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal class Foo
     }
 }
 
-internal class Test_Delegate001
+public class Test_Delegate001
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         Foo inst = new Foo();
index 0c8c520..166837f 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 55969f2..3df4ec5 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal class Foo<T>
     }
 }
 
-internal class Test_Delegate002
+public class Test_Delegate002
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         Foo<int> inst = new Foo<int>();
index b8b7d1d..ad1c3b2 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 108ee05..28c61a2 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal class Foo
     }
 }
 
-internal class Test_Delegate003
+public class Test_Delegate003
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         Foo inst = new Foo();
index 1b54a6e..92ed909 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index bc61411..396d9af 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal class Foo<T>
     }
 }
 
-internal class Test_Delegate004
+public class Test_Delegate004
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         Foo<int> inst = new Foo<int>();
index 9ac73a6..d238f11 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 3b6f66b..f196c50 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal class Foo
     }
 }
 
-internal class Test_Delegate005
+public class Test_Delegate005
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         Foo inst = new Foo();
index cc07296..e825804 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 07951b1..2aa66e4 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal class Foo<T>
     }
 }
 
-internal class Test_Delegate006
+public class Test_Delegate006
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         Foo<int> inst = new Foo<int>();
index 8bcaf03..5b39b15 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index dc646d9..4f62d5c 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal class Foo
     }
 }
 
-internal class Test_Delegate007
+public class Test_Delegate007
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         Foo inst = new Foo();
index a2888e7..309eb75 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index af2b37e..f67c732 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal class Foo<T>
     }
 }
 
-internal class Test_Delegate008
+public class Test_Delegate008
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         Foo<int> inst = new Foo<int>();
index 3d8ba4e..d0822ea 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 3b00bb8..fa9db73 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal struct Foo
     }
 }
 
-internal class Test_Delegate009
+public class Test_Delegate009
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         Foo inst = new Foo();
index 22ce391..eb825fd 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index a59b86e..7cf2b2b 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal struct Foo<T>
     }
 }
 
-internal class Test_Delegate010
+public class Test_Delegate010
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         Foo<int> inst = new Foo<int>();
index cffefaf..111b616 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 8a3caeb..1e5b927 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal struct Foo
     }
 }
 
-internal class Test_Delegate011
+public class Test_Delegate011
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         Foo inst = new Foo();
index 22807f6..9fb9347 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index f810de2..bf1515d 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal struct Foo<T>
     }
 }
 
-internal class Test_Delegate012
+public class Test_Delegate012
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         Foo<int> inst = new Foo<int>();
index 304e10f..8422c2d 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 4872668..3ea156f 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -20,9 +21,10 @@ internal class Foo : IFoo
     }
 }
 
-internal class Test_Delegate013
+public class Test_Delegate013
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         IFoo inst = new Foo();
index e372aa6..7019dc6 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 4e7c365..237854a 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -20,9 +21,10 @@ internal class Foo<T> : IFoo<T>
     }
 }
 
-internal class Test_Delegate014
+public class Test_Delegate014
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         IFoo<int> inst = new Foo<int>();
index ef6cf0e..eb1ba9e 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 809eee6..bcf5913 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -20,9 +21,10 @@ internal struct Foo : IFoo
     }
 }
 
-internal class Test_Delegate015
+public class Test_Delegate015
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         IFoo inst = new Foo();
index db667de..bc72661 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 76b2bd5..e6ebcde 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -20,9 +21,10 @@ internal struct Foo<T> : IFoo<T>
     }
 }
 
-internal class Test_Delegate016
+public class Test_Delegate016
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         IFoo<int> inst = new Foo<int>();
index 78433f7..5719838 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index ed2702b..ec1889b 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -20,9 +21,10 @@ internal class Foo : IFoo
     }
 }
 
-internal class Test_Delegate017
+public class Test_Delegate017
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         IFoo inst = new Foo();
index 451eb9e..837d2ab 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 97afce7..7aa4889 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -20,9 +21,10 @@ internal class Foo<T> : IFoo<T>
     }
 }
 
-internal class Test_Delegate018
+public class Test_Delegate018
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         IFoo<int> inst = new Foo<int>();
index b35a97a..8441434 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 5db7069..712cde1 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -20,9 +21,10 @@ internal class Foo : IFoo
     }
 }
 
-internal class Test_Delegate019
+public class Test_Delegate019
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         IFoo inst = new Foo();
index 242628e..b5de2c6 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 8689ea2..fa485a5 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -20,9 +21,10 @@ internal class Foo<T> : IFoo<T>
     }
 }
 
-internal class Test_Delegate020
+public class Test_Delegate020
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         IFoo<int> inst = new Foo<int>();
index 4a2ec36..d01e36e 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 7f4da72..b228149 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -20,9 +21,10 @@ internal struct Foo : IFoo
     }
 }
 
-internal class Test_Delegate021
+public class Test_Delegate021
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         IFoo inst = new Foo();
index 84a9549..d86046c 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index dc01236..7d5f5c9 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -20,9 +21,10 @@ internal struct Foo<T> : IFoo<T>
     }
 }
 
-internal class Test_Delegate022
+public class Test_Delegate022
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         IFoo<int> inst = new Foo<int>();
index 64f24d6..03ebcda 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 5fbb9b7..2e3f30e 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -20,9 +21,10 @@ internal class Foo : IFoo
     }
 }
 
-internal class Test_Delegate023
+public class Test_Delegate023
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         IFoo inst = new Foo();
index 32d1f41..3ecc529 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 2d5d7f4..61240d5 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -20,9 +21,10 @@ internal class Foo<T> : IFoo<T>
     }
 }
 
-internal class Test_Delegate024
+public class Test_Delegate024
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         IFoo<int> inst = new Foo<int>();
index ae12256..7e784a6 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 7c1e02e..fee5ad6 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal class Foo
     }
 }
 
-internal class Test_Delegate025
+public class Test_Delegate025
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         GenDelegate<int> MyDelegate = new GenDelegate<int>(Foo.Function);
index 20bd466..b949716 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 40ad6f7..cb2a698 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal class Foo<T>
     }
 }
 
-internal class Test_Delegate026
+public class Test_Delegate026
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         GenDelegate<int> MyDelegate = new GenDelegate<int>(Foo<int>.Function);
index 5e94ab1..2eed30a 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 399ee54..ab7b860 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal class Foo
     }
 }
 
-internal class Test_Delegate027
+public class Test_Delegate027
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         GenDelegate<int> MyDelegate = new GenDelegate<int>(Foo.Function<int>);
index 34ab06f..c27afb1 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 6188065..ff38222 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal class Foo<T>
     }
 }
 
-internal class Test_Delegate028
+public class Test_Delegate028
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         GenDelegate<int> MyDelegate = new GenDelegate<int>(Foo<int>.Function<int>);
index f4c58b5..2684dd7 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 3a4eea4..339f15d 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal struct Foo
     }
 }
 
-internal class Test_Delegate029
+public class Test_Delegate029
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         GenDelegate<int> MyDelegate = new GenDelegate<int>(Foo.Function);
index 2270a2e..7d7a224 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 8849c19..a90d35c 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal struct Foo<T>
     }
 }
 
-internal class Test_Delegate030
+public class Test_Delegate030
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         GenDelegate<int> MyDelegate = new GenDelegate<int>(Foo<int>.Function);
index 86c3e3b..43eab4c 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 677d5c9..85d210d 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal struct Foo
     }
 }
 
-internal class Test_Delegate031
+public class Test_Delegate031
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         GenDelegate<int> MyDelegate = new GenDelegate<int>(Foo.Function<int>);
index ce62edc..301c081 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index b17eccf..c1290cf 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 internal delegate T GenDelegate<T>(T p1, out T p2);
 
@@ -15,9 +16,10 @@ internal struct Foo<T>
     }
 }
 
-internal class Test_Delegate032
+public class Test_Delegate032
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int i, j;
         GenDelegate<int> MyDelegate = new GenDelegate<int>(Foo<int>.Function<int>);
index 7b73541..ee786ec 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
diff --git a/src/tests/JIT/Generics/JIT.Generics.csproj b/src/tests/JIT/Generics/JIT.Generics.csproj
new file mode 100644 (file)
index 0000000..f751282
--- /dev/null
@@ -0,0 +1,7 @@
+<Project Sdk="Microsoft.NET.Sdk">
+  <ItemGroup>
+    <MergedWrapperProjectReference Include="*/**/*.??proj" />
+  </ItemGroup>
+
+  <Import Project="$(TestSourceDir)MergedTestRunner.targets" />
+</Project>
index 3075948..ccf17b1 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -46,7 +47,8 @@ public class Test_instance_assignment_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 1;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index ae137ac..2978512 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -46,7 +47,8 @@ public class Test_instance_assignment_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 1;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 633659d..e73326d 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -46,7 +47,8 @@ public class Test_instance_equalnull_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 0;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index a0e9654..4be9e5c 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -46,7 +47,8 @@ public class Test_instance_equalnull_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 0;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index d42e794..87ba1a0 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -71,7 +72,8 @@ public class Test_instance_passing_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int1 = 1;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index ced577d..4a6b3dd 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -71,7 +72,8 @@ public class Test_instance_passing_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int1 = 1;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index d3f6964..0408113 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -46,7 +47,8 @@ public class Test_static_assignment_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 1;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 103f5a0..f8be46f 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -46,7 +47,8 @@ public class Test_static_assignment_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 1;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 86e648c..cc3f80f 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -46,7 +47,8 @@ public class Test_static_equalnull_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 0;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 5a4928b..b91b571 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -46,7 +47,8 @@ public class Test_static_equalnull_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 0;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index f8e20c7..6d3b009 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -71,7 +72,8 @@ public class Test_static_passing_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int1 = 1;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index d782a6c..5cfcf6b 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -71,7 +72,8 @@ public class Test_static_passing_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int1 = 1;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index d985549..4d29969 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 //
 using System;
+using Xunit;
 
 class Gen<T>
 {
@@ -35,7 +36,8 @@ class Gen<T>
 
 public class Test_class_instance01
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int ret = 100;
 
index a2eb647..dfe3136 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index af586c8..478a267 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 class Gen<T>
 {
@@ -24,7 +25,8 @@ class Gen<T>
 
 public class Test_class_static01
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int ret = 100;
 
index 07dde9b..cd2ae92 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 995710b..628f8b4 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 interface IGen<T>
 {
@@ -60,7 +61,8 @@ class Gen<T> : IGen<T>
 
 public class Test_interface_class01
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int ret = 100;
 
index 43c54d6..4ecde9a 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 34ca47b..e3c950d 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 interface IGen<T>
 {
@@ -95,7 +96,8 @@ class GenString : IGen<string>
 
 public class Test_interface_class02
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int ret = 100;
 
index 3caf276..ed6d5c9 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index ed7a110..ab241ad 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 interface IGen<T>
 {
@@ -49,7 +50,8 @@ struct Gen<T> : IGen<T>
 
 public class Test_interface_struct01
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int ret = 100;
 
index 6139f17..eb95777 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index abb929d..b73a766 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 interface IGen<T>
 {
@@ -73,7 +74,8 @@ struct GenString : IGen<string>
 
 public class Test_interface_struct02
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int ret = 100;
 
index 63eb294..a1891e0 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 9281472..b57597a 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 struct Gen<T>
 {
@@ -30,7 +31,8 @@ struct Gen<T>
 
 public class Test_struct_instance01
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int ret = 100;
 
index 83e1501..bb75382 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 0012312..56b38f4 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 struct Gen<T>
 {
@@ -24,7 +25,8 @@ struct Gen<T>
 
 public class Test_struct_static01
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int ret = 100;
 
index ebfbd26..3557868 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 19b8f2b..bd35962 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -50,7 +51,8 @@ public class Test_instance_assignment_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int1 = 1;
index 52e7fe7..3c019d4 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -50,7 +51,8 @@ public class Test_instance_assignment_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int1 = 1;
index 1533a91..c6f8aa2 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -45,7 +46,8 @@ public class Test_instance_equalnull_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 0;
index 836efd6..14205e4 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -45,7 +46,8 @@ public class Test_instance_equalnull_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 0;
index 43727ce..e2c6066 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -68,7 +69,8 @@ public class Test_instance_passing_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int1 = 1;
index 907e0f1..9c2d1f0 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -68,7 +69,8 @@ public class Test_instance_passing_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int1 = 1;
index 118c720..a6f8a31 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -50,7 +51,8 @@ public class Test_static_assignment_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int1 = 1;
index a3473c3..efb73bf 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -50,7 +51,8 @@ public class Test_static_assignment_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int1 = 1;
index 84f1e74..34c93a9 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -45,7 +46,8 @@ public class Test_static_equalnull_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 0;
index 06b56e6..1ef74d5 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -45,7 +46,8 @@ public class Test_static_equalnull_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int = 0;
index 6797067..070aa71 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -68,7 +69,8 @@ public class Test_static_passing_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int1 = 1;
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 6618537..19231d9 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -68,7 +69,8 @@ public class Test_static_passing_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
 
         int _int1 = 1;
index 91cb4a8..a66a385 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -54,7 +55,8 @@ public class Test_default_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Gen<int>().DefaultTest(false));
         Eval(new Gen<double>().DefaultTest(false));
index 97bdc50..2d591d8 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index b48bc0d..d91d15a 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -54,7 +55,8 @@ public class Test_default_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Gen<int>().DefaultTest(false));
         Eval(new Gen<double>().DefaultTest(false));
index 376d25f..66719f5 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 8ed6d9f..97612f5 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -68,7 +69,8 @@ public class Test_Struct02
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval((new Gen<int, int>(new int(), new int())).InstVerify(typeof(int), typeof(int)));
         Eval((new Gen<int, double>(new int(), new double())).InstVerify(typeof(int), typeof(double)));
index 396fc41..8479556 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -60,7 +61,8 @@ public class Test_class01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval((new Gen<int>(new int())).InstVerify(typeof(int)));
         Eval((new Gen<double>(new double())).InstVerify(typeof(double)));
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 835056f..70b21a4 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -68,7 +69,8 @@ public class Test_class02
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval((new Gen<int, int>(new int(), new int())).InstVerify(typeof(int), typeof(int)));
         Eval((new Gen<int, double>(new int(), new double())).InstVerify(typeof(int), typeof(double)));
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 8451277..098ca04 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -75,7 +76,8 @@ public class Test_class03
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval((new Gen<int, double, Guid>(new int(), new double(), new Guid())).InstVerify(typeof(int), typeof(double), typeof(Guid)));
         Eval((new Gen<double, Guid, string>(new double(), new Guid(), "string")).InstVerify(typeof(double), typeof(Guid), typeof(string)));
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index bb86ef2..5e8e58f 100644 (file)
@@ -42,6 +42,7 @@ sealed class DS : B
 using System;
 using System.Reflection;
 using System.Runtime.CompilerServices;
+using Xunit;
 
 class X<T>
 {
@@ -123,10 +124,10 @@ sealed class DS : B
         public override void incCount() { ds_count*= 41;}
 }
 
-class mainMethod
+public class mainMethod
 {
         public static bool failed = false;
-        public static void checkGetType<T>(X<T> x)
+        internal static void checkGetType<T>(X<T> x)
         {
                 if(x.GetType() == typeof(DS)) (new DS()).incCount();
                 if(x.GetType() == typeof(CS)) (new CS()).incCount();
@@ -143,7 +144,7 @@ class mainMethod
                 if(x.GetType() == null) (new X<string>()).incCount();
         }
 
-        public static void checkIs<T>(X<T> x)
+        internal static void checkIs<T>(X<T> x)
         {
                 //start from X<T>
                 //if(x is null ) (new X< X<string> >()).incCount();
@@ -160,7 +161,7 @@ class mainMethod
                 if(x is CS) (new CS()).incCount();
                 if(x is DS) (new DS()).incCount();
         }
-        public static void checkAs<T>(X<T> x)
+        internal static void checkAs<T>(X<T> x)
         {
                 X< X<double> > x6 = x as X< X<double> >;
                 if(x6 != null) (new X< X<double> >()).incCount();
@@ -195,7 +196,7 @@ class mainMethod
                 Console.WriteLine(D.b_count);
                 */
         }
-        public static void checkGetTypeStringCast(X<string> x)
+        internal static void checkGetTypeStringCast(X<string> x)
         {
                 if(x.GetType() == typeof(DS)) ((DS)x).incCount();
                 if(x.GetType() == typeof(D)) ((D)x).incCount();
@@ -209,7 +210,7 @@ class mainMethod
                 if(x.GetType() == null) ((X<string>)x).incCount();
                 //if(x.GetType() == typeof(DS)) ((DS)x).incCount();
         }        
-        public static void checkGetTypeIntCast(X<int> x)
+        internal static void checkGetTypeIntCast(X<int> x)
         {
                 if(x.GetType() == typeof(CS)) ((CS)x).incCount();
                 if(x.GetType() == typeof(C)) ((C)x).incCount();
@@ -224,7 +225,7 @@ class mainMethod
 
                 //if(x.GetType() == typeof(CS)) ((CS)x).incCount();
         }        
-        public static void checkIsStringCast(X<string> x)
+        internal static void checkIsStringCast(X<string> x)
         {
                 //if(x is null ) ((X< X<string> >)x).incCount();
                 //if(x is X< X<double> >) ((X< X<double> >)x).incCount();
@@ -242,7 +243,7 @@ class mainMethod
 
                 //if(x is DS) ((DS)x).incCount();
         }
-        public static void checkIsIntCast(X<int> x)
+        internal static void checkIsIntCast(X<int> x)
         {
                 //if(x is null ) ((X< X<string> >)x).incCount();
                 //if(x is X< X<double> >) ((X< X<double> >)x).incCount();
@@ -260,7 +261,7 @@ class mainMethod
 
                 //if(x is CS) ((CS)x).incCount();
         }
-        public static void checkAsStringCast(X<string> x)
+        internal static void checkAsStringCast(X<string> x)
         {
                 //X< X<double> > x6 = x as X< X<double> >;
                 //if(x6 != null) ((X< X<double> >)x).incCount();
@@ -293,7 +294,7 @@ class mainMethod
                 checkCount(ref B.b_count, 31, "AS Failed for D");
                 */
         }
-        public static void checkAsIntCast(X<int> x)
+        internal static void checkAsIntCast(X<int> x)
         {
                 //X< X<double> > x6 = x as X< X<double> >;
                 //if(x6 != null) ((X< X<double> >)x).incCount();
@@ -752,7 +753,8 @@ class mainMethod
                 //Console.WriteLine("-----------{0}", i++);
         }
 
-        public static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
                 callCheckGetType();
                 callCheckIs();
index f922a17..391e147 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 5ad6129..95c2a38 100644 (file)
@@ -7,6 +7,7 @@
 using System;
 using System.Reflection;
 using System.Runtime.CompilerServices;
+using Xunit;
 
 class X
 {
@@ -53,7 +54,7 @@ sealed class DS : B
     public override void incCount() { ds_count *= 41; }
 }
 
-class mainMethod
+public class mainMethod
 {
     public static bool failed = false;
     public static void checkGetType(System.Object x)
@@ -350,7 +351,8 @@ class mainMethod
         Console.WriteLine("-----------{0}", i++);
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         callCheckGetType();
         callCheckIs();
index 6398440..ca50a23 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index f8b8fe2..9e1fe37 100644 (file)
@@ -8,6 +8,7 @@
 using System;
 using System.Reflection;
 using System.Runtime.CompilerServices;
+using Xunit;
 
 class X<T>
 {
@@ -87,10 +88,10 @@ sealed class DS : B
     public override void incCount() { ds_count *= 41; }
 }
 
-class mainMethod
+public class mainMethod
 {
     public static bool failed = false;
-    public static void checkGetType<T>(X<T> x)
+    internal static void checkGetType<T>(X<T> x)
     {
         if (x.GetType() == typeof(DS)) (new DS()).incCount();
         if (x.GetType() == typeof(CS)) (new CS()).incCount();
@@ -107,7 +108,7 @@ class mainMethod
         if (x.GetType() == null) (new X<class_string>()).incCount();
     }
 
-    public static void checkIs<T>(X<T> x)
+    internal static void checkIs<T>(X<T> x)
     {
         //start from X<class_T>
         if (x is X<X<class_double>>) (new X<X<class_double>>()).incCount();
@@ -123,7 +124,7 @@ class mainMethod
         if (x is CS) (new CS()).incCount();
         if (x is DS) (new DS()).incCount();
     }
-    public static void checkAs<T>(X<T> x)
+    internal static void checkAs<T>(X<T> x)
     {
         X<X<class_double>> x6 = x as X<X<class_double>>;
         if (x6 != null) (new X<X<class_double>>()).incCount();
@@ -151,7 +152,7 @@ class mainMethod
         if (ds != null) (new DS()).incCount();
 
     }
-    public static void checkGetTypeStringCast(X<class_string> x)
+    internal static void checkGetTypeStringCast(X<class_string> x)
     {
         if (x.GetType() == typeof(DS)) ((DS)x).incCount();
         if (x.GetType() == typeof(D)) ((D)x).incCount();
@@ -159,7 +160,7 @@ class mainMethod
         if (x.GetType() == typeof(X<class_string>)) ((X<class_string>)x).incCount();
         if (x.GetType() == null) ((X<class_string>)x).incCount();
     }
-    public static void checkGetTypeIntCast(X<class_int> x)
+    internal static void checkGetTypeIntCast(X<class_int> x)
     {
         if (x.GetType() == typeof(CS)) ((CS)x).incCount();
         if (x.GetType() == typeof(C)) ((C)x).incCount();
@@ -168,7 +169,7 @@ class mainMethod
         if (x.GetType() == null) ((X<class_int>)x).incCount();
 
     }
-    public static void checkIsStringCast(X<class_string> x)
+    internal static void checkIsStringCast(X<class_string> x)
     {
         if (x is X<class_string>) ((X<class_string>)x).incCount();
         if (x is B) ((B)x).incCount();
@@ -176,7 +177,7 @@ class mainMethod
         if (x is DS) ((DS)x).incCount();
 
     }
-    public static void checkIsIntCast(X<class_int> x)
+    internal static void checkIsIntCast(X<class_int> x)
     {
         if (x is X<class_int>) ((X<class_int>)x).incCount();
         if (x is A) ((A)x).incCount();
@@ -184,7 +185,7 @@ class mainMethod
         if (x is CS) ((CS)x).incCount();
 
     }
-    public static void checkAsStringCast(X<class_string> x)
+    internal static void checkAsStringCast(X<class_string> x)
     {
         X<class_string> x2 = x as X<class_string>;
         if (x2 != null) ((X<class_string>)x).incCount();
@@ -196,7 +197,7 @@ class mainMethod
         if (ds != null) ((DS)x).incCount();
 
     }
-    public static void checkAsIntCast(X<class_int> x)
+    internal static void checkAsIntCast(X<class_int> x)
     {
         X<class_int> x1 = x as X<class_int>;
         if (x1 != null) ((X<class_int>)x).incCount();
@@ -469,7 +470,8 @@ class mainMethod
         Console.WriteLine("-----------{0}", i++);
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         callCheckGetType();
         callCheckIs();
index 411a2b2..46b6c57 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 3e46106..ce47c45 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -60,7 +61,8 @@ public class Test_struct01
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval((new Gen<int>(new int())).InstVerify(typeof(int)));
         Eval((new Gen<double>(new double())).InstVerify(typeof(double)));
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 6a1f9ed..c25aee0 100644 (file)
@@ -3,6 +3,7 @@
 //
 
 using System;
+using Xunit;
 
 public struct ValX0 { }
 public struct ValY0 { }
@@ -75,7 +76,8 @@ public class Test_struct03
 
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval((new Gen<int, double, Guid>(new int(), new double(), new Guid())).InstVerify(typeof(int), typeof(double), typeof(Guid)));
         Eval((new Gen<double, Guid, string>(new double(), new Guid(), "string")).InstVerify(typeof(double), typeof(Guid), typeof(string)));
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index ed472be..d20a3a5 100644 (file)
@@ -7,6 +7,7 @@
 using System;
 using System.Reflection;
 using System.Runtime.CompilerServices;
+using Xunit;
 
 interface X
 {
@@ -57,7 +58,7 @@ enum DS
     Day = 1, Night = 0
 };
 
-struct mainMethod
+public struct mainMethod
 {
     public static bool failed = false;
     public static void checkGetTypeValueType(System.ValueType x)
@@ -223,7 +224,8 @@ int tmp = 1;
         Console.WriteLine("-----------{0}", i++);
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         callCheckGetTypeValueType();
         callCheckIsValueType();
index 736da7a..c20c7da 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index cf3e274..d90b430 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Runtime.InteropServices;
+using Xunit;
 
 internal class Win32Interop
 {
@@ -39,7 +40,8 @@ public class Test_instance01
         }
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Gen<int>().PInvokeTest() == 6);
         Eval(new Gen<double>().PInvokeTest() == 6);
index 06b90e2..bbbe5ed 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for CLRTestTargetUnsupported -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <CLRTestPriority>1</CLRTestPriority>
     <!-- Test unsupported outside of windows -->
     <CLRTestTargetUnsupported Condition="'$(TargetsWindows)' != 'true'">true</CLRTestTargetUnsupported>
index 50b94c5..745a0e6 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Runtime.InteropServices;
+using Xunit;
 
 internal class Win32Interop
 {
@@ -39,7 +40,8 @@ public class Test_instance02
         }
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Gen<int>().PInvokeTest() == 6);
         Eval(new Gen<double>().PInvokeTest() == 6);
index b311964..02c7d9d 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for CLRTestTargetUnsupported -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <CLRTestPriority>1</CLRTestPriority>
     <!-- Test unsupported outside of windows -->
     <CLRTestTargetUnsupported Condition="'$(TargetsWindows)' != 'true'">true</CLRTestTargetUnsupported>
index 2dc217d..49ef955 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Runtime.InteropServices;
+using Xunit;
 
 internal class Win32Interop
 {
@@ -39,7 +40,8 @@ public class Test_instance03
         }
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(new Gen<int>().PInvokeTest() == 6);
         Eval(new Gen<double>().PInvokeTest() == 6);
index d2bd846..3cb2eb5 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for CLRTestTargetUnsupported -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <CLRTestPriority>1</CLRTestPriority>
     <!-- Test unsupported outside of windows -->
     <CLRTestTargetUnsupported Condition="'$(TargetsWindows)' != 'true'">true</CLRTestTargetUnsupported>
index 0424b5e..b750d27 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Runtime.InteropServices;
+using Xunit;
 
 internal class Win32Interop
 {
@@ -39,7 +40,8 @@ public class Test_static01
         }
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(Gen<int>.PInvokeTest() == 6);
         Eval(Gen<double>.PInvokeTest() == 6);
index 9d68d9b..78b5f9c 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for CLRTestTargetUnsupported -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <CLRTestPriority>1</CLRTestPriority>
     <!-- Test unsupported outside of windows -->
     <CLRTestTargetUnsupported Condition="'$(TargetsWindows)' != 'true'">true</CLRTestTargetUnsupported>
index 8d27ee1..28ad3b1 100644 (file)
@@ -3,6 +3,7 @@
 
 using System;
 using System.Runtime.InteropServices;
+using Xunit;
 
 internal class Win32Interop
 {
@@ -39,7 +40,8 @@ public class Test_static02
         }
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Eval(Gen<int>.PInvokeTest() == 6);
         Eval(Gen<double>.PInvokeTest() == 6);
index 66eb234..611e13e 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for CLRTestTargetUnsupported -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <CLRTestPriority>1</CLRTestPriority>
     <!-- Test unsupported outside of windows -->
     <CLRTestTargetUnsupported Condition="'$(TargetsWindows)' != 'true'">true</CLRTestTargetUnsupported>
index b0dfb21..d61cd2e 100644 (file)
 
 } // end of class MyStruct2`1
 
-.class private auto ansi beforefieldinit My
+.class public auto ansi beforefieldinit My
        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
index 5518bf1..a8d5f6f 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk.IL">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>