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
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k, l, m;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int size = 10;
int i, j, k;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int i = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int i = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int i = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX1<T>
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int i = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
interface IncrDecr
{
void Incr(int a);
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();
}
.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
--- /dev/null
+#define ASSEMBLY_NAME "class1_d"
<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>
--- /dev/null
+#define ASSEMBLY_NAME "class1_r"
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Optimize>False</Optimize>
</PropertyGroup>
<ItemGroup>
+ <Compile Include="class1_r.il" />
<Compile Include="class1.il" />
</ItemGroup>
</Project>
//
using System;
+using Xunit;
interface IncrDecr
{
void Incr(int a);
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>();
}
.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
--- /dev/null
+#define ASSEMBLY_NAME "class2_d"
<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>
--- /dev/null
+#define ASSEMBLY_NAME "class2_r"
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Optimize>False</Optimize>
</PropertyGroup>
<ItemGroup>
+ <Compile Include="class2_r.il" />
<Compile Include="class2.il" />
</ItemGroup>
</Project>
//
using System;
+using Xunit;
interface IncrDecr
{
void Incr(int a);
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();
.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
--- /dev/null
+#define ASSEMBLY_NAME "vt1_d"
<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>
--- /dev/null
+#define ASSEMBLY_NAME "vt1_r"
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Optimize>False</Optimize>
</PropertyGroup>
<ItemGroup>
+ <Compile Include="vt1_r.il" />
<Compile Include="vt1.il" />
</ItemGroup>
</Project>
//
using System;
+using Xunit;
interface IncrDecr
{
int Val();
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())
.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>Full</DebugType>
<Optimize>False</Optimize>
</PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>Full</DebugType>
<Optimize>True</Optimize>
</PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>None</DebugType>
<Optimize>False</Optimize>
</PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>None</DebugType>
<Optimize>True</Optimize>
</PropertyGroup>
--- /dev/null
+#define ASSEMBLY_NAME "vt2_d"
<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>
--- /dev/null
+#define ASSEMBLY_NAME "vt2_r"
<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>
//
using System;
+using Xunit;
interface IncrDecr
{
int Val();
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())
.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
--- /dev/null
+#define ASSEMBLY_NAME "vt3_d"
<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>
--- /dev/null
+#define ASSEMBLY_NAME "vt3_r"
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Optimize>False</Optimize>
</PropertyGroup>
<ItemGroup>
+ <Compile Include="vt3_r.il" />
<Compile Include="vt3.il" />
</ItemGroup>
</Project>
//
using System;
+using Xunit;
interface IncrDecr
{
void Incr(int a);
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>();
}
.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
--- /dev/null
+#define ASSEMBLY_NAME "vt4_d"
<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>
--- /dev/null
+#define ASSEMBLY_NAME "vt4_r"
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Optimize>False</Optimize>
</PropertyGroup>
<ItemGroup>
+ <Compile Include="vt4_r.il" />
<Compile Include="vt4.il" />
</ItemGroup>
</Project>
//
using System;
+using Xunit;
public interface IFoo
{
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(new GenClass<FooClass>().CallOnConstraint(new FooClass()));
Eval(new GenClass<FooStruct>().CallOnConstraint(new FooStruct()));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public interface IFoo
{
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(GenClass<FooClass>.CallOnConstraint(new FooClass()));
Eval(GenClass<FooStruct>.CallOnConstraint(new FooStruct()));
//
using System;
+using Xunit;
public interface IFoo
{
}
- 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)));
//
using System;
+using Xunit;
public interface IFoo
{
}
- 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)));
//
using System;
+using Xunit;
public interface IFoo { }
}
- 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>)));
//
using System;
+using Xunit;
public interface IFoo { }
}
- 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>)));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Runtime.CompilerServices;
+using Xunit;
public static class Tests
{
}
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
BoxIsInstBr1<int?>(1).Expect(1);
BoxIsInstBr1<int?>(null).Expect(0);
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<Optimize>True</Optimize>
</PropertyGroup>
<ItemGroup>
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
+using Xunit;
public static class Tests
{
}
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
BoxIsInstUnbox1<int>(1).Expect(1);
BoxIsInstUnbox1<uint>(1).Expect(-1);
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<DebugType>None</DebugType>
<Optimize>True</Optimize>
</PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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>)));
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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>)));
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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>)));
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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));
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(new Converter<int>().ToGenBaseOfT(new Gen<int>(), false, typeof(Gen<int>)));
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(new Converter<int>().ToGenBaseOfT(new Gen<int>(), false, typeof(Gen<int>)));
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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)));
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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));
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
// 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
public class Program
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
A0 v0 = new A0();
v0.CreateAllTypesA0();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
<Optimize>True</Optimize>
</PropertyGroup>
// 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
public class Program
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
A0 v0 = new A0();
v0.CreateAllTypesA0();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
<Optimize>True</Optimize>
</PropertyGroup>
// 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
public class Program
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
A0 v0 = new A0();
v0.CreateAllTypesA0();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
+ <!-- Needed for GCStressIncompatible -->
+ <RequiresProcessIsolation>true</RequiresProcessIsolation>
<GCStressIncompatible>true</GCStressIncompatible>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
--- /dev/null
+<?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>
// 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()
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<Optimize>True</Optimize>
</PropertyGroup>
<ItemGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(new Gen<int>().ExceptionTest(true));
Eval(new Gen<double>().ExceptionTest(true));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(Gen<int>.ExceptionTest(true));
Eval(Gen<double>.ExceptionTest(true));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(new Gen<int>().ExceptionTest(true));
Eval(new Gen<double>().ExceptionTest(true));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(Gen<int>.ExceptionTest(true));
Eval(Gen<double>.ExceptionTest(true));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(new Gen<int>().ExceptionTest(true));
Eval(new Gen<double>().ExceptionTest(true));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int cLabel = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(Gen<int>.ExceptionTest(true));
Eval(Gen<double>.ExceptionTest(true));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int cLabel = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(new Gen<int>().ExceptionTest(true));
Eval(new Gen<double>().ExceptionTest(true));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int cLabel = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(Gen<int>.ExceptionTest(true));
Eval(Gen<double>.ExceptionTest(true));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int cLabel = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Runtime.CompilerServices;
+using Xunit;
namespace Sandbox3
{
public class Dummy { }
- internal class Program
+ public class Program
{
- private static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
string s = "hello";
<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>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int1 = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int1 = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int1 = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int1 = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(new GenInt().InstVerify());
Eval(new GenDouble().InstVerify());
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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)));
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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)));
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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)));
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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)));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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)));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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)));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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)));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
IGen<int> IGenInt = new GenInt();
IGenInt._Init(new int());
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
IGen<int> IGenInt = new Gen<int>(new int());
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
IGen<int> IGenInt = new Gen<int>(new int());
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
IGen<int> IGenInt = new GenInt();
IGenInt._Init(new int());
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
IGen<int> IGenInt = new GenInt();
IGenInt._Init(new int());
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
IGen<int> IGenInt = new GenInt();
IGenInt._Init(new int());
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
IGen<int> IGenInt = new Gen<int>(new int());
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
IGen<int> IGenInt = new Gen<int>(new int());
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
IGen<int> IGenInt = new GenInt();
IGenInt._Init(new int());
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
IGen<int> IGenInt = new GenInt();
IGenInt._Init(new int());
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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)));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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)));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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)));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
- </PropertyGroup>
- <PropertyGroup>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-internal class Test_Delegate001
+public class Test_Delegate001
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int i, j;
Foo inst = new Foo();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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>();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-internal class Test_Delegate003
+public class Test_Delegate003
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int i, j;
Foo inst = new Foo();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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>();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-internal class Test_Delegate005
+public class Test_Delegate005
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int i, j;
Foo inst = new Foo();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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>();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-internal class Test_Delegate007
+public class Test_Delegate007
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int i, j;
Foo inst = new Foo();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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>();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-internal class Test_Delegate009
+public class Test_Delegate009
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int i, j;
Foo inst = new Foo();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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>();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-internal class Test_Delegate011
+public class Test_Delegate011
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int i, j;
Foo inst = new Foo();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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>();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-internal class Test_Delegate013
+public class Test_Delegate013
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int i, j;
IFoo inst = new Foo();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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>();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-internal class Test_Delegate015
+public class Test_Delegate015
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int i, j;
IFoo inst = new Foo();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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>();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-internal class Test_Delegate017
+public class Test_Delegate017
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int i, j;
IFoo inst = new Foo();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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>();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-internal class Test_Delegate019
+public class Test_Delegate019
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int i, j;
IFoo inst = new Foo();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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>();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-internal class Test_Delegate021
+public class Test_Delegate021
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int i, j;
IFoo inst = new Foo();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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>();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-internal class Test_Delegate023
+public class Test_Delegate023
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int i, j;
IFoo inst = new Foo();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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>();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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);
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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);
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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>);
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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>);
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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);
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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);
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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>);
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Threading;
+using Xunit;
internal delegate T GenDelegate<T>(T p1, out T p2);
}
}
-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>);
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
--- /dev/null
+<Project Sdk="Microsoft.NET.Sdk">
+ <ItemGroup>
+ <MergedWrapperProjectReference Include="*/**/*.??proj" />
+ </ItemGroup>
+
+ <Import Project="$(TestSourceDir)MergedTestRunner.targets" />
+</Project>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int1 = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int1 = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int1 = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int1 = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
// The .NET Foundation licenses this file to you under the MIT license.
//
using System;
+using Xunit;
class Gen<T>
{
public class Test_class_instance01
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int ret = 100;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
class Gen<T>
{
public class Test_class_static01
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int ret = 100;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
interface IGen<T>
{
public class Test_interface_class01
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int ret = 100;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
interface IGen<T>
{
public class Test_interface_class02
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int ret = 100;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
interface IGen<T>
{
public class Test_interface_struct01
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int ret = 100;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
interface IGen<T>
{
public class Test_interface_struct02
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int ret = 100;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
struct Gen<T>
{
public class Test_struct_instance01
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int ret = 100;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
struct Gen<T>
{
public class Test_struct_static01
{
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int ret = 100;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int1 = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int1 = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int1 = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int1 = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int1 = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int1 = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int = 0;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int1 = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
int _int1 = 1;
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(new Gen<int>().DefaultTest(false));
Eval(new Gen<double>().DefaultTest(false));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(new Gen<int>().DefaultTest(false));
Eval(new Gen<double>().DefaultTest(false));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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)));
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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)));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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)));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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)));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
+using Xunit;
class X<T>
{
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();
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();
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();
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();
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();
//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();
//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();
//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();
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();
//Console.WriteLine("-----------{0}", i++);
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
callCheckGetType();
callCheckIs();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
+using Xunit;
class X
{
public override void incCount() { ds_count *= 41; }
}
-class mainMethod
+public class mainMethod
{
public static bool failed = false;
public static void checkGetType(System.Object x)
Console.WriteLine("-----------{0}", i++);
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
callCheckGetType();
callCheckIs();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
+using Xunit;
class X<T>
{
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();
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();
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();
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();
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();
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();
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();
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();
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();
Console.WriteLine("-----------{0}", i++);
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
callCheckGetType();
callCheckIs();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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)));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
//
using System;
+using Xunit;
public struct ValX0 { }
public struct ValY0 { }
}
- 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)));
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
+using Xunit;
interface X
{
Day = 1, Night = 0
};
-struct mainMethod
+public struct mainMethod
{
public static bool failed = false;
public static void checkGetTypeValueType(System.ValueType x)
Console.WriteLine("-----------{0}", i++);
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
callCheckGetTypeValueType();
callCheckIsValueType();
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
using System;
using System.Runtime.InteropServices;
+using Xunit;
internal class Win32Interop
{
}
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(new Gen<int>().PInvokeTest() == 6);
Eval(new Gen<double>().PInvokeTest() == 6);
<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>
using System;
using System.Runtime.InteropServices;
+using Xunit;
internal class Win32Interop
{
}
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(new Gen<int>().PInvokeTest() == 6);
Eval(new Gen<double>().PInvokeTest() == 6);
<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>
using System;
using System.Runtime.InteropServices;
+using Xunit;
internal class Win32Interop
{
}
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(new Gen<int>().PInvokeTest() == 6);
Eval(new Gen<double>().PInvokeTest() == 6);
<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>
using System;
using System.Runtime.InteropServices;
+using Xunit;
internal class Win32Interop
{
}
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(Gen<int>.PInvokeTest() == 6);
Eval(Gen<double>.PInvokeTest() == 6);
<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>
using System;
using System.Runtime.InteropServices;
+using Xunit;
internal class Win32Interop
{
}
}
- public static int Main()
+ [Fact]
+ public static int TestEntryPoint()
{
Eval(Gen<int>.PInvokeTest() == 6);
Eval(Gen<double>.PInvokeTest() == 6);
<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>
} // 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
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
- <OutputType>Exe</OutputType>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>