Test merging baseservices/threading (#83143)
authorBrian Bohe <brianbohe@gmail.com>
Tue, 14 Mar 2023 17:06:59 +0000 (14:06 -0300)
committerGitHub <noreply@github.com>
Tue, 14 Mar 2023 17:06:59 +0000 (10:06 -0700)
* Removing cs test entrypoint args

* Running ILTransform -n

* Running ILTransform -prociso

* Running ILTransform -public

* Running ILTransform -ilfact

* Adding JIT/Directed merge tests wrapper

* Patching merge wrapper generator code

* Fixing accesibility problems after wrapper generator updates

365 files changed:
src/tests/Common/XUnitWrapperGenerator/XUnitWrapperGenerator.cs
src/tests/Loader/classloader/Casting/punning.cs
src/tests/baseservices/threading/DeadThreads/DeadThreads.cs
src/tests/baseservices/threading/DeadThreads/DeadThreads.csproj
src/tests/baseservices/threading/Directory.Build.props [new file with mode: 0644]
src/tests/baseservices/threading/commitstackonlyasneeded/DefaultStackCommit.cs
src/tests/baseservices/threading/commitstackonlyasneeded/DefaultStackCommit.csproj
src/tests/baseservices/threading/coverage/Nullref/CS_ARENullRefEx.cs
src/tests/baseservices/threading/coverage/Nullref/CS_ARENullRefEx.csproj
src/tests/baseservices/threading/coverage/Nullref/CS_MRENullRefEx.cs
src/tests/baseservices/threading/coverage/Nullref/CS_MRENullRefEx.csproj
src/tests/baseservices/threading/coverage/Nullref/CS_MutexNullRefEx.cs
src/tests/baseservices/threading/coverage/Nullref/CS_MutexNullRefEx.csproj
src/tests/baseservices/threading/coverage/Nullref/CS_RWHNullRefEx.cs
src/tests/baseservices/threading/coverage/Nullref/CS_RWHNullRefEx.csproj
src/tests/baseservices/threading/coverage/Nullref/CS_SLENullRefEx.cs
src/tests/baseservices/threading/coverage/Nullref/CS_SLENullRefEx.csproj
src/tests/baseservices/threading/coverage/Nullref/CS_TSNullRefEx.cs
src/tests/baseservices/threading/coverage/Nullref/CS_TSNullRefEx.csproj
src/tests/baseservices/threading/coverage/Nullref/CS_TimerNullRefEx.cs
src/tests/baseservices/threading/coverage/Nullref/CS_TimerNullRefEx.csproj
src/tests/baseservices/threading/coverage/Nullref/CS_WHNullRefEx.cs
src/tests/baseservices/threading/coverage/Nullref/CS_WHNullRefEx.csproj
src/tests/baseservices/threading/coverage/OSThreadId/OSThreadId.cs
src/tests/baseservices/threading/coverage/OSThreadId/osthreadid.csproj
src/tests/baseservices/threading/delegate/BeginInvokeEndInvoke.cs
src/tests/baseservices/threading/delegate/BeginInvokeEndInvoke.csproj
src/tests/baseservices/threading/generics/Monitor/EnterExit01.cs
src/tests/baseservices/threading/generics/Monitor/EnterExit01.csproj
src/tests/baseservices/threading/generics/Monitor/EnterExit02.cs
src/tests/baseservices/threading/generics/Monitor/EnterExit02.csproj
src/tests/baseservices/threading/generics/Monitor/EnterExit03.cs
src/tests/baseservices/threading/generics/Monitor/EnterExit03.csproj
src/tests/baseservices/threading/generics/Monitor/EnterExit04.cs
src/tests/baseservices/threading/generics/Monitor/EnterExit04.csproj
src/tests/baseservices/threading/generics/Monitor/EnterExit05.cs
src/tests/baseservices/threading/generics/Monitor/EnterExit05.csproj
src/tests/baseservices/threading/generics/Monitor/EnterExit06.cs
src/tests/baseservices/threading/generics/Monitor/EnterExit06.csproj
src/tests/baseservices/threading/generics/Monitor/EnterExit07.cs
src/tests/baseservices/threading/generics/Monitor/EnterExit07.csproj
src/tests/baseservices/threading/generics/Monitor/EnterExit08.cs
src/tests/baseservices/threading/generics/Monitor/EnterExit08.csproj
src/tests/baseservices/threading/generics/Monitor/EnterExit09.cs
src/tests/baseservices/threading/generics/Monitor/EnterExit09.csproj
src/tests/baseservices/threading/generics/Monitor/EnterExit10.cs
src/tests/baseservices/threading/generics/Monitor/EnterExit10.csproj
src/tests/baseservices/threading/generics/Monitor/EnterExit11.cs
src/tests/baseservices/threading/generics/Monitor/EnterExit11.csproj
src/tests/baseservices/threading/generics/Monitor/EnterExit12.cs
src/tests/baseservices/threading/generics/Monitor/EnterExit12.csproj
src/tests/baseservices/threading/generics/Monitor/EnterExit13.cs
src/tests/baseservices/threading/generics/Monitor/EnterExit13.csproj
src/tests/baseservices/threading/generics/Monitor/EnterExit14.cs
src/tests/baseservices/threading/generics/Monitor/EnterExit14.csproj
src/tests/baseservices/threading/generics/Monitor/TryEnter01.cs
src/tests/baseservices/threading/generics/Monitor/TryEnter01.csproj
src/tests/baseservices/threading/generics/Monitor/TryEnter03.cs
src/tests/baseservices/threading/generics/Monitor/TryEnter03.csproj
src/tests/baseservices/threading/generics/Monitor/TryEnter04.cs
src/tests/baseservices/threading/generics/Monitor/TryEnter04.csproj
src/tests/baseservices/threading/generics/Monitor/TryEnter05.cs
src/tests/baseservices/threading/generics/Monitor/TryEnter05.csproj
src/tests/baseservices/threading/generics/Monitor/TryEnter06.cs
src/tests/baseservices/threading/generics/Monitor/TryEnter06.csproj
src/tests/baseservices/threading/generics/TimerCallback/thread01.cs
src/tests/baseservices/threading/generics/TimerCallback/thread01_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread01.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread02.cs
src/tests/baseservices/threading/generics/TimerCallback/thread02_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread02.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread03.cs
src/tests/baseservices/threading/generics/TimerCallback/thread03_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread03.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread04.cs
src/tests/baseservices/threading/generics/TimerCallback/thread04_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread04.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread05.cs
src/tests/baseservices/threading/generics/TimerCallback/thread05_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread05.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread06.cs
src/tests/baseservices/threading/generics/TimerCallback/thread06_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread06.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread07.cs
src/tests/baseservices/threading/generics/TimerCallback/thread07_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread07.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread08.cs
src/tests/baseservices/threading/generics/TimerCallback/thread08_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread08.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread09.cs
src/tests/baseservices/threading/generics/TimerCallback/thread09_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread09.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread10.cs
src/tests/baseservices/threading/generics/TimerCallback/thread10_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread10.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread11.cs
src/tests/baseservices/threading/generics/TimerCallback/thread11_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread11.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread12.cs
src/tests/baseservices/threading/generics/TimerCallback/thread12_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread12.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread13.cs
src/tests/baseservices/threading/generics/TimerCallback/thread13_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread13.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread14.cs
src/tests/baseservices/threading/generics/TimerCallback/thread14_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread14.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread15.cs
src/tests/baseservices/threading/generics/TimerCallback/thread15_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread15.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread16.cs
src/tests/baseservices/threading/generics/TimerCallback/thread16_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread16.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread17.cs
src/tests/baseservices/threading/generics/TimerCallback/thread17_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread17.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread18.cs
src/tests/baseservices/threading/generics/TimerCallback/thread18_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread18.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread19.cs
src/tests/baseservices/threading/generics/TimerCallback/thread19_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread19.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread20.cs
src/tests/baseservices/threading/generics/TimerCallback/thread20_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread20.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread21.cs
src/tests/baseservices/threading/generics/TimerCallback/thread21_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread21.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread22.cs
src/tests/baseservices/threading/generics/TimerCallback/thread22_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread22.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread23.cs
src/tests/baseservices/threading/generics/TimerCallback/thread23_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread23.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread24.cs
src/tests/baseservices/threading/generics/TimerCallback/thread24_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread24.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread25.cs
src/tests/baseservices/threading/generics/TimerCallback/thread25_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread25.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread26.cs
src/tests/baseservices/threading/generics/TimerCallback/thread26_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread26.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread27.cs
src/tests/baseservices/threading/generics/TimerCallback/thread27_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread27.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread28.cs
src/tests/baseservices/threading/generics/TimerCallback/thread28_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread28.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread29.cs
src/tests/baseservices/threading/generics/TimerCallback/thread29_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread29.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/thread30.cs
src/tests/baseservices/threading/generics/TimerCallback/thread30_TimerCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread30.csproj with 87% similarity]
src/tests/baseservices/threading/generics/TimerCallback/tighttimercallback.cs
src/tests/baseservices/threading/generics/TimerCallback/tighttimercallback.csproj
src/tests/baseservices/threading/generics/WaitCallback/thread01.cs
src/tests/baseservices/threading/generics/WaitCallback/thread01_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread01.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread02.cs
src/tests/baseservices/threading/generics/WaitCallback/thread02_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread02.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread03.cs
src/tests/baseservices/threading/generics/WaitCallback/thread03_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread03.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread04.cs
src/tests/baseservices/threading/generics/WaitCallback/thread04_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread04.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread05.cs
src/tests/baseservices/threading/generics/WaitCallback/thread05_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread05.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread06.cs
src/tests/baseservices/threading/generics/WaitCallback/thread06_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread06.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread07.cs
src/tests/baseservices/threading/generics/WaitCallback/thread07_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread07.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread08.cs
src/tests/baseservices/threading/generics/WaitCallback/thread08_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread08.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread09.cs
src/tests/baseservices/threading/generics/WaitCallback/thread09_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread09.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread10.cs
src/tests/baseservices/threading/generics/WaitCallback/thread10_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread10.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread11.cs
src/tests/baseservices/threading/generics/WaitCallback/thread11_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread11.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread12.cs
src/tests/baseservices/threading/generics/WaitCallback/thread12_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread12.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread13.cs
src/tests/baseservices/threading/generics/WaitCallback/thread13_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread13.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread14.cs
src/tests/baseservices/threading/generics/WaitCallback/thread14_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread14.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread15.cs
src/tests/baseservices/threading/generics/WaitCallback/thread15_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread15.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread16.cs
src/tests/baseservices/threading/generics/WaitCallback/thread16_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread16.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread17.cs
src/tests/baseservices/threading/generics/WaitCallback/thread17_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread17.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread18.cs
src/tests/baseservices/threading/generics/WaitCallback/thread18_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread18.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread19.cs
src/tests/baseservices/threading/generics/WaitCallback/thread19_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread19.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread20.cs
src/tests/baseservices/threading/generics/WaitCallback/thread20_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread20.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread21.cs
src/tests/baseservices/threading/generics/WaitCallback/thread21_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread21.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread22.cs
src/tests/baseservices/threading/generics/WaitCallback/thread22_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread22.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread23.cs
src/tests/baseservices/threading/generics/WaitCallback/thread23_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread23.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread24.cs
src/tests/baseservices/threading/generics/WaitCallback/thread24_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread24.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread25.cs
src/tests/baseservices/threading/generics/WaitCallback/thread25_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread25.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread26.cs
src/tests/baseservices/threading/generics/WaitCallback/thread26_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread26.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread27.cs
src/tests/baseservices/threading/generics/WaitCallback/thread27_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread27.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread28.cs
src/tests/baseservices/threading/generics/WaitCallback/thread28_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread28.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread29.cs
src/tests/baseservices/threading/generics/WaitCallback/thread29_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread29.csproj with 87% similarity]
src/tests/baseservices/threading/generics/WaitCallback/thread30.cs
src/tests/baseservices/threading/generics/WaitCallback/thread30_WaitCallback.csproj [moved from src/tests/baseservices/threading/generics/WaitCallback/thread30.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread01_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread01.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread02_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread02.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread03_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread03.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread04_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread04.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread05_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread05.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread06_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread06.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread07_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread07.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread08_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread08.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread09_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread09.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread10_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread10.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread11_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread11.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread12_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread12.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread13_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread13.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread14_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread14.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread15_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread15.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread16_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread16.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread17_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread17.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread18_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread18.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread19_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread19.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread20_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread20.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread21_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread21.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread22_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread22.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread23_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread23.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread24_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread24.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread25_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread25.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread26_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread26.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread27_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread27.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread28_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread28.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread29_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread29.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/GThread30_syncdelegate.csproj [moved from src/tests/baseservices/threading/generics/syncdelegate/GThread30.csproj with 87% similarity]
src/tests/baseservices/threading/generics/syncdelegate/thread01.cs
src/tests/baseservices/threading/generics/syncdelegate/thread02.cs
src/tests/baseservices/threading/generics/syncdelegate/thread03.cs
src/tests/baseservices/threading/generics/syncdelegate/thread04.cs
src/tests/baseservices/threading/generics/syncdelegate/thread05.cs
src/tests/baseservices/threading/generics/syncdelegate/thread06.cs
src/tests/baseservices/threading/generics/syncdelegate/thread07.cs
src/tests/baseservices/threading/generics/syncdelegate/thread08.cs
src/tests/baseservices/threading/generics/syncdelegate/thread09.cs
src/tests/baseservices/threading/generics/syncdelegate/thread10.cs
src/tests/baseservices/threading/generics/syncdelegate/thread11.cs
src/tests/baseservices/threading/generics/syncdelegate/thread12.cs
src/tests/baseservices/threading/generics/syncdelegate/thread13.cs
src/tests/baseservices/threading/generics/syncdelegate/thread14.cs
src/tests/baseservices/threading/generics/syncdelegate/thread15.cs
src/tests/baseservices/threading/generics/syncdelegate/thread16.cs
src/tests/baseservices/threading/generics/syncdelegate/thread17.cs
src/tests/baseservices/threading/generics/syncdelegate/thread18.cs
src/tests/baseservices/threading/generics/syncdelegate/thread19.cs
src/tests/baseservices/threading/generics/syncdelegate/thread20.cs
src/tests/baseservices/threading/generics/syncdelegate/thread21.cs
src/tests/baseservices/threading/generics/syncdelegate/thread22.cs
src/tests/baseservices/threading/generics/syncdelegate/thread23.cs
src/tests/baseservices/threading/generics/syncdelegate/thread24.cs
src/tests/baseservices/threading/generics/syncdelegate/thread25.cs
src/tests/baseservices/threading/generics/syncdelegate/thread26.cs
src/tests/baseservices/threading/generics/syncdelegate/thread27.cs
src/tests/baseservices/threading/generics/syncdelegate/thread28.cs
src/tests/baseservices/threading/generics/syncdelegate/thread29.cs
src/tests/baseservices/threading/generics/syncdelegate/thread30.cs
src/tests/baseservices/threading/generics/threadstart/GThread01_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread01.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread02_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread02.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread03_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread03.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread04_threadstart.csproj [moved from src/tests/baseservices/threading/generics/TimerCallback/thread04.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread05_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread05.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread06_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread06.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread07_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread07.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread08_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread08.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread09_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread09.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread10_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread10.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread11_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread11.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread12_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread12.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread13_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread13.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread14_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread14.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread15_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread15.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread16_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread16.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread17_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread17.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread18_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread18.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread19_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread19.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread20_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread20.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread21_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread21.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread22_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread22.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread23_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread23.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread24_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread24.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread25_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread25.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread26_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread26.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread27_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread27.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread28_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread28.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread29_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread29.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/GThread30_threadstart.csproj [moved from src/tests/baseservices/threading/generics/threadstart/GThread30.csproj with 87% similarity]
src/tests/baseservices/threading/generics/threadstart/thread01.cs
src/tests/baseservices/threading/generics/threadstart/thread02.cs
src/tests/baseservices/threading/generics/threadstart/thread03.cs
src/tests/baseservices/threading/generics/threadstart/thread04.cs
src/tests/baseservices/threading/generics/threadstart/thread05.cs
src/tests/baseservices/threading/generics/threadstart/thread06.cs
src/tests/baseservices/threading/generics/threadstart/thread07.cs
src/tests/baseservices/threading/generics/threadstart/thread08.cs
src/tests/baseservices/threading/generics/threadstart/thread09.cs
src/tests/baseservices/threading/generics/threadstart/thread10.cs
src/tests/baseservices/threading/generics/threadstart/thread11.cs
src/tests/baseservices/threading/generics/threadstart/thread12.cs
src/tests/baseservices/threading/generics/threadstart/thread13.cs
src/tests/baseservices/threading/generics/threadstart/thread14.cs
src/tests/baseservices/threading/generics/threadstart/thread15.cs
src/tests/baseservices/threading/generics/threadstart/thread16.cs
src/tests/baseservices/threading/generics/threadstart/thread17.cs
src/tests/baseservices/threading/generics/threadstart/thread18.cs
src/tests/baseservices/threading/generics/threadstart/thread19.cs
src/tests/baseservices/threading/generics/threadstart/thread20.cs
src/tests/baseservices/threading/generics/threadstart/thread21.cs
src/tests/baseservices/threading/generics/threadstart/thread22.cs
src/tests/baseservices/threading/generics/threadstart/thread23.cs
src/tests/baseservices/threading/generics/threadstart/thread24.cs
src/tests/baseservices/threading/generics/threadstart/thread25.cs
src/tests/baseservices/threading/generics/threadstart/thread26.cs
src/tests/baseservices/threading/generics/threadstart/thread27.cs
src/tests/baseservices/threading/generics/threadstart/thread28.cs
src/tests/baseservices/threading/generics/threadstart/thread29.cs
src/tests/baseservices/threading/generics/threadstart/thread30.cs
src/tests/baseservices/threading/regressions/13662/13662-a.cs
src/tests/baseservices/threading/regressions/13662/13662-a.csproj
src/tests/baseservices/threading/regressions/13662/13662-b.cs
src/tests/baseservices/threading/regressions/13662/13662-b.csproj
src/tests/baseservices/threading/regressions/13662/13662-simple.csproj
src/tests/baseservices/threading/regressions/13662/simple.cs
src/tests/baseservices/threading/regressions/2164/foreground-shutdown.cs
src/tests/baseservices/threading/regressions/2164/foreground-shutdown.csproj
src/tests/baseservices/threading/regressions/269336/objmonhelper.cs
src/tests/baseservices/threading/regressions/269336/objmonhelper.csproj
src/tests/baseservices/threading/regressions/30032/30032.cs
src/tests/baseservices/threading/regressions/30032/30032.csproj
src/tests/baseservices/threading/regressions/576463/576463.cs
src/tests/baseservices/threading/regressions/576463/576463.csproj
src/tests/baseservices/threading/regressions/6906/6906.csproj
src/tests/baseservices/threading/regressions/6906/repro.cs
src/tests/baseservices/threading/regressions/beta1/347011.cs
src/tests/baseservices/threading/regressions/beta1/347011.csproj
src/tests/baseservices/threading/regressions/beta2/437017.cs
src/tests/baseservices/threading/regressions/beta2/437017.csproj
src/tests/baseservices/threading/regressions/beta2/437044.cs
src/tests/baseservices/threading/regressions/beta2/437044.csproj
src/tests/baseservices/threading/regressions/devdiv489437/test489437.cs
src/tests/baseservices/threading/regressions/devdiv489437/test489437.csproj
src/tests/baseservices/threading/regressions/whidbey_m3/200176.cs
src/tests/baseservices/threading/regressions/whidbey_m3/200176.csproj
src/tests/baseservices/threading/threading_group1.csproj [new file with mode: 0644]
src/tests/baseservices/threading/threading_group2.csproj [new file with mode: 0644]
src/tests/baseservices/threading/threadpool/bindhandle/bindhandle1.cs
src/tests/baseservices/threading/threadpool/bindhandle/bindhandle1.csproj
src/tests/baseservices/threading/threadpool/bindhandle/bindhandleinvalid.cs
src/tests/baseservices/threading/threadpool/bindhandle/bindhandleinvalid.csproj
src/tests/baseservices/threading/threadpool/bindhandle/bindhandleinvalid3.cs
src/tests/baseservices/threading/threadpool/bindhandle/bindhandleinvalid3.csproj
src/tests/baseservices/threading/threadpool/bindhandle/bindhandleinvalid4.cs
src/tests/baseservices/threading/threadpool/bindhandle/bindhandleinvalid4.csproj
src/tests/baseservices/threading/threadpool/bindhandle/bindhandleinvalid5.cs
src/tests/baseservices/threading/threadpool/bindhandle/bindhandleinvalid5.csproj
src/tests/baseservices/threading/threadpool/bindhandle/bindhandleinvalid6.cs
src/tests/baseservices/threading/threadpool/bindhandle/bindhandleinvalid6.csproj
src/tests/baseservices/threading/threadpool/bindhandle/bindhandlenull.cs
src/tests/baseservices/threading/threadpool/bindhandle/bindhandlenull.csproj
src/tests/baseservices/threading/threadpool/unregister/regression_749068.cs
src/tests/baseservices/threading/threadpool/unregister/regression_749068.csproj
src/tests/baseservices/threading/threadstatic/ThreadStatic01.csproj
src/tests/baseservices/threading/threadstatic/ThreadStatic02.csproj
src/tests/baseservices/threading/threadstatic/ThreadStatic03.csproj
src/tests/baseservices/threading/threadstatic/ThreadStatic05.csproj
src/tests/baseservices/threading/threadstatic/ThreadStatic06.csproj
src/tests/baseservices/threading/threadstatic/threadstatic01.cs
src/tests/baseservices/threading/threadstatic/threadstatic02.cs
src/tests/baseservices/threading/threadstatic/threadstatic03.cs
src/tests/baseservices/threading/threadstatic/threadstatic05.cs
src/tests/baseservices/threading/threadstatic/threadstatic06.cs
src/tests/baseservices/threading/threadstatic/threadstatic07.cs
src/tests/baseservices/threading/threadstatic/threadstatic07.csproj
src/tests/baseservices/threading/threadstatic/threadstatic08.cs
src/tests/baseservices/threading/threadstatic/threadstatic08.csproj

index 816b567..ae1d12d 100644 (file)
@@ -305,10 +305,15 @@ public sealed class XUnitWrapperGenerator : IIncrementalGenerator
         ITestReporterWrapper reporter = new NoTestReporting();
         StringBuilder builder = new();
         builder.AppendLine(string.Join("\n", aliasMap.Values.Where(alias => alias != "global").Select(alias => $"extern alias {alias};")));
+        builder.AppendLine("namespace __GeneratedMainWrapper;");
+        builder.AppendLine("class __GeneratedMainWrapper {");
+        builder.AppendLine("public static int Main() {");
         builder.AppendLine("try {");
         builder.AppendLine(string.Join("\n", testInfos.Select(m => m.GenerateTestExecution(reporter))));
         builder.AppendLine("} catch(System.Exception ex) { System.Console.WriteLine(ex.ToString()); return 101; }");
         builder.AppendLine("return 100;");
+        builder.AppendLine("}");
+        builder.AppendLine("}");
         return builder.ToString();
     }
 
index 3971a78..01064d2 100644 (file)
@@ -9,7 +9,7 @@ using Xunit;
 partial class Program
 {
     [Fact]
-    static void Via_GetFunctionPointer()
+    internal static void Via_GetFunctionPointer()
     {
         Console.WriteLine($"Running {nameof(Via_GetFunctionPointer)}...");
 
@@ -24,7 +24,7 @@ partial class Program
     }
 
     [Fact]
-    static void Via_GetFunctionPointer_Generics()
+    internal static void Via_GetFunctionPointer_Generics()
     {
         Console.WriteLine($"Running {nameof(Via_GetFunctionPointer_Generics)}...");
 
@@ -39,7 +39,7 @@ partial class Program
     }
 
     [Fact]
-    static void Via_Ldftn()
+    internal static void Via_Ldftn()
     {
         Console.WriteLine($"Running {nameof(Via_Ldftn)}...");
 
@@ -54,7 +54,7 @@ partial class Program
     }
 
     [Fact]
-    static void Via_Ldftn_Generics()
+    internal static void Via_Ldftn_Generics()
     {
         Console.WriteLine($"Running {nameof(Via_Ldftn_Generics)}...");
 
@@ -69,7 +69,7 @@ partial class Program
     }
 
     [Fact]
-    static void Via_Ldftn_Generics_Virtual()
+    internal static void Via_Ldftn_Generics_Virtual()
     {
         Console.WriteLine($"Running {nameof(Via_Ldftn_Generics_Virtual)}...");
 
@@ -85,7 +85,7 @@ partial class Program
     }
 
     [Fact]
-    static void Via_Ldftn_Generics_EarlyLoad()
+    internal static void Via_Ldftn_Generics_EarlyLoad()
     {
         Console.WriteLine($"Running {nameof(Via_Ldftn_Generics_EarlyLoad)}...");
 
@@ -100,7 +100,7 @@ partial class Program
     }
 
     [Fact]
-    static void Via_Ldftn_Generics_Virtual_EarlyLoad()
+    internal static void Via_Ldftn_Generics_Virtual_EarlyLoad()
     {
         Console.WriteLine($"Running {nameof(Via_Ldftn_Generics_Virtual_EarlyLoad)}...");
 
@@ -116,7 +116,7 @@ partial class Program
     }
 
     [Fact]
-    static void Via_Ldvirtftn()
+    internal static void Via_Ldvirtftn()
     {
         Console.WriteLine($"Running {nameof(Via_Ldvirtftn)}...");
 
@@ -132,7 +132,7 @@ partial class Program
     }
 
     [Fact]
-    static void Via_Ldvirtftn_Generics()
+    internal static void Via_Ldvirtftn_Generics()
     {
         Console.WriteLine($"Running {nameof(Via_Ldvirtftn_Generics)}...");
 
@@ -148,7 +148,7 @@ partial class Program
     }
 
     [Fact]
-    static void Via_Ldvirtftn_Generics_EarlyLoad()
+    internal static void Via_Ldvirtftn_Generics_EarlyLoad()
     {
         Console.WriteLine($"Running {nameof(Via_Ldvirtftn_Generics_EarlyLoad)}...");
 
index 9a3b9e9..dc3c30f 100644 (file)
@@ -4,6 +4,7 @@
 using System;
 using System.Runtime.CompilerServices;
 using System.Threading;
+using Xunit;
 
 public class DeadThreads
 {
@@ -34,7 +35,8 @@ public class DeadThreads
         t.Start();
     }
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         GCTriggerSanityTest();
         return 100;
index 5951072..230a32d 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for CLRTestEnvironmentVariable -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="$(MSBuildProjectName).cs" />
diff --git a/src/tests/baseservices/threading/Directory.Build.props b/src/tests/baseservices/threading/Directory.Build.props
new file mode 100644 (file)
index 0000000..118a645
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+  <PropertyGroup>
+    <BuildAsStandalone Condition="'$(BuildAsStandalone)' == ''">false</BuildAsStandalone>
+
+    <AssemblyName Condition="'$(BuildAsStandalone)' != 'true'">$(MSBuildProjectName.Replace('_il_d', '').Replace('_il_r', ''))</AssemblyName>
+  </PropertyGroup>
+
+  <Import Project="..\..\Directory.Build.props" />
+</Project>
\ No newline at end of file
index fbd68c3..fe5daee 100644 (file)
@@ -6,12 +6,14 @@ using System.Linq;
 using System.Text;
 // using System.Configuration;
 using System.Runtime.InteropServices;
+using Xunit;
 
 namespace StackCommitTest
 {
-    class DefaultStackCommit
+    public class DefaultStackCommit
     {
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             int result = 1;
             bool commitEnabled = false;
index 3524984..82f065f 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for CLRTestTargetUnsupported -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
     <!-- Test unsupported outside of windows -->
index f99957d..f078a6f 100644 (file)
@@ -2,9 +2,11 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 public class mytest {
-       public static int Main() {
+       [Fact]
+       public static int TestEntryPoint() {
                int               rValue = 100;
                AutoResetEvent    are  = null;
                
index 23dca2e..f08305e 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 71a02b3..e187d0c 100644 (file)
@@ -2,9 +2,11 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 public class mytest {
-       public static int Main() {
+       [Fact]
+       public static int TestEntryPoint() {
                int               rValue = 100;
                ManualResetEvent  mre  = null;
                
index 0127599..427ee54 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 678d5e1..8c5dad7 100644 (file)
@@ -2,9 +2,11 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 public class mytest {
-       public static int Main() {
+       [Fact]
+       public static int TestEntryPoint() {
                int    rValue = 100;
                Mutex  mut    = null;
                
index df78acb..d6abd3d 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index a715432..8a7365d 100644 (file)
@@ -2,9 +2,11 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 public class mytest {
-       public static int Main() {
+       [Fact]
+       public static int TestEntryPoint() {
                int                   rValue = 100;
                RegisteredWaitHandle  rwh    = null;
                
index b9390fb..729e8bd 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 25fd930..f5e7057 100644 (file)
@@ -4,9 +4,11 @@ using System;
 using System.Threading;
 // using System.Runtime.Remoting;
 using System.Runtime.Serialization;
+using Xunit;
 
 public class mytest {
-       public static int Main() {
+       [Fact]
+       public static int TestEntryPoint() {
                int                           rValue = 100;
                SynchronizationLockException  sle    = null;
                
index 740ba2b..0ec4488 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 62c699e..1998075 100644 (file)
@@ -3,9 +3,11 @@
 using System;
 using System.Threading;
 using System.Runtime.Serialization;
+using Xunit;
 
 public class mytest {
-       public static int Main() {
+       [Fact]
+       public static int TestEntryPoint() {
                int                      rValue = 100;
                ThreadStateException     ta     = null;
                
index bda0279..090372d 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 46c5f1d..3e6c5d1 100644 (file)
@@ -2,9 +2,11 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 public class mytest {
-       public static int Main() {
+       [Fact]
+       public static int TestEntryPoint() {
                
                int   rValue = 100;
                Timer time   = null;
index c200e8c..e08c848 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index e11717e..3cdd7ff 100644 (file)
@@ -2,9 +2,11 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 public class mytest {
-       public static int Main() {
+       [Fact]
+       public static int TestEntryPoint() {
                int         rValue = 100;
                WaitHandle  wh     = null;
                
index 4ce8802..d36d906 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 822bf16..540e9d1 100644 (file)
@@ -2,6 +2,7 @@ using System;
 using System.Diagnostics;
 using System.Reflection;
 using System.Threading;
+using Xunit;
 
 namespace Threading.Tests
 {
@@ -12,7 +13,8 @@ namespace Threading.Tests
         private static ManualResetEvent s_resetEvent = new ManualResetEvent(false);
         private static ulong[] s_threadIds = new ulong[NumThreads];
 
-        public static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             // The property to be tested is internal.
             Type runtimeThreadType = typeof(object).Assembly.GetType("System.Threading.Thread");
index 817c675..63068c8 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
   </PropertyGroup>
   <ItemGroup>
index 78143a5..621f3de 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 namespace DelegateTest
 {
@@ -13,10 +14,11 @@ namespace DelegateTest
         }
     }
 
-    class BeginInvokeEndInvokeTest
+    public class BeginInvokeEndInvokeTest
     {
         public delegate string AsyncMethodCaller(int input);
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             IAsyncResult result = null;
             AsyncMethodCaller caller = new AsyncMethodCaller(DelegateCommon.TestMethod);
index c2cc2cb..606943b 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 311959e..e88276b 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 public struct ValX1<T> {}
 public class RefX1<T> {}
@@ -51,7 +52,8 @@ public class Test_EnterExit01
                }
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.EnterExitTest();       
                Gen<double>.EnterExitTest();
index acfabb3..6f34323 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 261e61f..41d92a2 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 public struct ValX1<T> {}
@@ -66,7 +67,8 @@ public class Test_EnterExit02
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<double>.EnterExitTest<int>();
                Gen<string>.EnterExitTest<int>();
index 647cbfe..224b12b 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 3ded903..f538caf 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 public struct ValX1<T> {}
@@ -56,7 +57,8 @@ public class Test_EnterExit03
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.EnterExitTest();       
                Gen<double>.EnterExitTest();
index a3d953b..0533d1a 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index dea58d7..f948957 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 public struct ValX1<T> {}
@@ -71,7 +72,8 @@ public class Test_EnterExit04
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<double>.EnterExitTest<int>();
                Gen<string>.EnterExitTest<int>();
index 7207cd5..0049ea7 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index f498530..d58350f 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 public struct ValX1<T> {}
@@ -56,7 +57,8 @@ public class Test_EnterExit05
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.EnterExitTest();       
                Gen<double>.EnterExitTest();
index 9ce8fdf..2b581d6 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 9da0e3a..2e386ae 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 public struct ValX1<T> {}
@@ -70,7 +71,8 @@ public class Test_EnterExit06
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<double>.EnterExitTest<int>();
                Gen<string>.EnterExitTest<int>();
index 829499b..7ace62c 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 133ee56..f0dfe97 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 public struct ValX1<T> {}
@@ -55,7 +56,8 @@ public class Test_EnterExit07
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.EnterExitTest();       
                Gen<double>.EnterExitTest();
index 73e20e2..87095f9 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 5190177..0abe250 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 public struct ValX1<T> {}
@@ -70,7 +71,8 @@ public class Test_EnterExit08
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<double>.EnterExitTest<int>();
                Gen<string>.EnterExitTest<int>();
index 1920b4f..04c89f6 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index c551a86..e0a4b8b 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 public struct ValX1<T> {}
 public class RefX1<T> {}
@@ -54,7 +55,8 @@ public class Test_EnterExit09
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.EnterExitTest();       
                Gen<double>.EnterExitTest();
index b20970d..b2937b2 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 9dbacbc..ca99f66 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 public struct ValX1<T> {}
@@ -70,7 +71,8 @@ public class Test_EnterExit10
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.EnterExitTest();       
                Gen<double>.EnterExitTest();
index d918c43..627d3bf 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 9c60099..77fa6d3 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 public struct ValX1<T> {}
@@ -59,7 +60,8 @@ public class Test_EnterExit11
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.EnterExitTest();       
                Gen<double>.EnterExitTest();
index ed9cc81..7ecc230 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 6ffbcee..2768677 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 public struct ValX1<T> {}
@@ -78,7 +79,8 @@ public class Test_EnterExit12
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<double>.EnterExitTest<int>();
                Gen<string>.EnterExitTest<int>();
index 222d17c..e2bfbec 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 30e249b..d2ec36c 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 public struct ValX1<T> {}
@@ -58,7 +59,8 @@ public class Test_EnterExit13
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.EnterExitTest();       
                Gen<double>.EnterExitTest();
index 939abd4..93f7eb6 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 9fd7e47..dc2cd3d 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 public struct ValX1<T> {}
@@ -77,7 +78,8 @@ public class Test_EnterExit14
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<double>.EnterExitTest<int>();
                Gen<string>.EnterExitTest<int>();
index 85402de..133ea26 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 77c7b4c..68cc238 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 public struct ValX1<T> {}
@@ -55,7 +56,8 @@ public class Test_TryEnter01
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.TryEnterTest();        
                Gen<double>.TryEnterTest();
index 68727fa..480a89b 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index ee4173c..5adde65 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 public struct ValX1<T> {}
 public class RefX1<T> {}
@@ -68,7 +69,8 @@ public class Test_TryEnter03
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.TryEnterTest<int>(true);       
                Gen<double>.TryEnterTest<int>(false);
index 4cbbc02..52b3798 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 5d6ecbd..a8f7a93 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 public struct ValX1<T> {}
@@ -56,7 +57,8 @@ public class Test_TryEnter04
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.TryEnterTest();        
                /*Gen<double>.TryEnterTest();
index 55f73e2..b516e43 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 3b7003d..af08ccd 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 public struct ValX1<T> {}
@@ -56,7 +57,8 @@ public class Test_TryEnter05
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.TryEnterTest();        
                Gen<double>.TryEnterTest();
index 4557dfb..caf7d50 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 2922f74..85b54d9 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 public struct ValX1<T> {}
@@ -68,7 +69,8 @@ public class Test_TryEnter06
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.TryEnterTest<int>(true);       
                Gen<double>.TryEnterTest<int>(false);
index 3c829b3..0358293 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index cdccb8c..0ae15a9 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -53,7 +54,8 @@ public class Test_thread01
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
index 5c27e79..f78de58 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -53,7 +54,8 @@ public class Test_thread02
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
index f51e660..fe09831 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen 
 {
@@ -55,7 +56,8 @@ public class Test_thread03
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
index eb3818e..4784adf 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen 
 {
@@ -55,7 +56,8 @@ public class Test_thread04
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
index c585711..423b29e 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -55,7 +56,8 @@ public class Test_thread05
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
index aa289ee..9ae4c19 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -55,7 +56,8 @@ public class Test_thread06
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
index d87b457..77fb276 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen<T> 
 {
@@ -53,7 +54,8 @@ public class Test_thread07
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
index df92b20..c4d9fe2 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen 
 {
@@ -55,7 +56,8 @@ public class Test_thread08
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
index 5b47dcb..0a031c2 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen<T> 
 {
@@ -55,7 +56,8 @@ public class Test_thread09
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
index ed180b2..3fe085b 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -62,7 +63,8 @@ public class Test_thread10
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
index 3af2a7a..3c6bbcb 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -62,7 +63,8 @@ public class Test_thread11
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
index a359021..9becce6 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -62,7 +63,8 @@ public class Test_thread12
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
index f9df296..729188c 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -193,7 +194,8 @@ public class Test_thread13
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.ThreadPoolTest();
index 7b8047e..b0dbd4c 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -193,7 +194,8 @@ public class Test_thread14
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.ThreadPoolTest();
index 9b9bad5..de800f7 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -193,7 +194,8 @@ public class Test_thread15
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.ThreadPoolTest();
index c47df05..559645f 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen
 {
@@ -60,7 +61,8 @@ public class Test_thread16
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
index a0850a6..e9ca3ea 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen
 {
@@ -60,7 +61,8 @@ public class Test_thread17
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
index 0e16981..a958a0f 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen
 {
@@ -60,7 +61,8 @@ public class Test_thread18
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
index 03c148e..de5d8ec 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -64,7 +65,8 @@ public class Test_thread19
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
index 0e1ad88..4fedb62 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -64,7 +65,8 @@ public class Test_thread20
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
index 7b4cd64..ae67c74 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -64,7 +65,8 @@ public class Test_thread21
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
index 130d9a3..312bb5a 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -193,7 +194,8 @@ public class Test_thread22
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.ThreadPoolTest<int>();
index 8275435..12caebd 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -193,7 +194,8 @@ public class Test_thread23
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.ThreadPoolTest<int>();
index 62edd7f..2875c27 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -193,7 +194,8 @@ public class Test_thread24
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.ThreadPoolTest<int>();
index 85ea674..458964c 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -51,7 +52,8 @@ public class Test_thread25
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
index a5741d6..2cd92a2 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen<T> 
 {
@@ -51,7 +52,8 @@ public class Test_thread26
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
index 20ea033..5a479c9 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -53,7 +54,8 @@ public class Test_thread27
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
index 40c2dc5..a851ea4 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen<T> 
 {
@@ -53,7 +54,8 @@ public class Test_thread28
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
index 1af5611..ba2ccee 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen
 {
@@ -53,7 +54,8 @@ public class Test_thread29
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
index 5b88af4..64f694c 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen
 {
@@ -53,7 +54,8 @@ public class Test_thread30
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
index 5657841..2d7edd2 100644 (file)
@@ -3,6 +3,7 @@
 using System;
 using System.Threading;
 using System.Diagnostics;
+using Xunit;
 
 //namespace TimerCallbackTests ////////////// added this namesp
 
@@ -62,7 +63,8 @@ public class Test
        public static bool result = true;
        public static int timeToRun = 5000;
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
index 282237c..15d567f 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index c23a74a..d0885c6 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -53,7 +54,8 @@ public class Test_thread01
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index cfb0f03..2773fb4 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -53,7 +54,8 @@ public class Test_thread02
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
index bdc0faa..6864b52 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen 
 {
@@ -55,7 +56,8 @@ public class Test_thread03
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
index 33c0f71..ea669ad 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen 
 {
@@ -55,7 +56,8 @@ public class Test_thread04
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
index dc8110c..f6ecc93 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -55,7 +56,8 @@ public class Test_thread05
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 1d21f8f..71936de 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -55,7 +56,8 @@ public class Test_thread06
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index c26b2ab..0ace693 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen<T> 
 {
@@ -53,7 +54,8 @@ public class Test_thread07
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index d649bce..76cd091 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen 
 {
@@ -55,7 +56,8 @@ public class Test_thread08
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 07a8a9c..5e414e1 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen<T> 
 {
@@ -55,7 +56,8 @@ public class Test_thread09
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 3a42ad0..6924798 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -63,7 +64,8 @@ public class Test_thread10
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 5e4e7d5..96b0a04 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -63,7 +64,8 @@ public class Test_thread11
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 51dfec0..e9a3d7d 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -63,7 +64,8 @@ public class Test_thread12
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index a639d0a..d0d9c80 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -210,7 +211,8 @@ public class Test_thread13
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.ThreadPoolTest();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 0ac4660..7ed7d37 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -210,7 +211,8 @@ public class Test_thread14
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.ThreadPoolTest();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 8ba040b..c2f26ac 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -210,7 +211,8 @@ public class Test_thread15
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.ThreadPoolTest();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index d10f8a4..0ea0d25 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen
 {
@@ -60,7 +61,8 @@ public class Test_thread16
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 754c9ff..78be943 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen
 {
@@ -60,7 +61,8 @@ public class Test_thread17
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 882579b..19d6606 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen
 {
@@ -60,7 +61,8 @@ public class Test_thread18
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 42feab5..a7f9c16 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -64,7 +65,8 @@ public class Test_thread19
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 96d5301..e4c7d2d 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -64,7 +65,8 @@ public class Test_thread20
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index fb3e4d9..e5d5bfd 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -64,7 +65,8 @@ public class Test_thread21
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index b0e0dd8..57be953 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -220,7 +221,8 @@ public class Test_thread22
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.ThreadPoolTest<int>();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 1420d50..f2b26a0 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -218,7 +219,8 @@ public class Test_thread23
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.ThreadPoolTest<int>();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 9c73e17..1bd7d9f 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -216,7 +217,8 @@ public class Test_thread24
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.ThreadPoolTest<int>();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index f1de191..53e9aef 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -53,7 +54,8 @@ public class Test_thread25
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 744fea9..b383e63 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen<T> 
 {
@@ -55,7 +56,8 @@ public class Test_thread26
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index de80e4b..5d716eb 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -55,7 +56,8 @@ public class Test_thread27
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 52d0712..3850bec 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen<T> 
 {
@@ -55,7 +56,8 @@ public class Test_thread28
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 4b1dccc..c60e3b5 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen 
 {
@@ -53,7 +54,8 @@ public class Test_thread29
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 9ec8d7e..a3663bd 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen 
 {
@@ -53,7 +54,8 @@ public class Test_thread30
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 371c8ef..179bcef 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -35,7 +36,8 @@ public class Test_thread01
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.DelegateTest();
                Gen<double>.DelegateTest();
index 39951b6..2cc5e78 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -35,7 +36,8 @@ public class Test_thread02
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.DelegateTest();
                Gen<double>.DelegateTest();
index 5775c07..eca17b5 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen 
 {
@@ -37,7 +38,8 @@ public class Test_thread03
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.DelegateTest<object>();
                Gen.DelegateTest<string>();
index 806ed64..8337a6f 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen 
 {
@@ -39,7 +40,8 @@ public class Test_thread04
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.DelegateTest<object>();
                Gen.DelegateTest<string>();
index 8bd7cc0..c8fba0f 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -39,7 +40,8 @@ public class Test_thread05
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.DelegateTest<object>();
                Gen<double>.DelegateTest<string>();
index be2ae5a..8879ce3 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -39,7 +40,8 @@ public class Test_thread06
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.DelegateTest<object>();
                Gen<double>.DelegateTest<string>();
index 251ef78..d429ffa 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen<T> 
 {
@@ -37,7 +38,8 @@ public class Test_thread07
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.DelegateTest();
                Gen<double>.DelegateTest();
index 150a1c7..e4e17e3 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen 
 {
@@ -39,7 +40,8 @@ public class Test_thread08
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.DelegateTest<object>();
                Gen.DelegateTest<string>();
index 6a1751b..074a8ef 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen<T> 
 {
@@ -39,7 +40,8 @@ public class Test_thread09
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.DelegateTest<object>();
                Gen<double>.DelegateTest<string>();
index ad4c25c..d4f8da6 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -48,7 +49,8 @@ public class Test_thread10
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.DelegateTest();
                Gen<double>.DelegateTest();
index 114e967..70934a6 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -48,7 +49,8 @@ public class Test_thread11
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.DelegateTest();
                Gen<double>.DelegateTest();
index 276abe6..01cf35b 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -48,7 +49,8 @@ public class Test_thread12
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.DelegateTest();
                Gen<double>.DelegateTest();
index 0d60ace..130198a 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -130,7 +131,8 @@ public class Test_thread13
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.DelegateTest();
index 5f40616..8d49266 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -130,7 +131,8 @@ public class Test_thread14
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.DelegateTest();
index cd499e9..ee644d4 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -130,7 +131,8 @@ public class Test_thread15
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.DelegateTest();
index 32868ba..4ee8a37 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen
 {
@@ -45,7 +46,8 @@ public class Test_thread16
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.DelegateTest<object>();
                Gen.DelegateTest<string>();
index 1d1227d..56c3906 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen
 {
@@ -45,7 +46,8 @@ public class Test_thread17
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.DelegateTest<object>();
                Gen.DelegateTest<string>();
index 2604743..535ea9d 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen
 {
@@ -45,7 +46,8 @@ public class Test_thread18
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.DelegateTest<object>();
                Gen.DelegateTest<string>();
index 3e4d05c..1fcdef5 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -49,7 +50,8 @@ public class Test_thread19
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.DelegateTest<object>();
                Gen<double>.DelegateTest<string>();
index bf19e72..f6187ca 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -49,7 +50,8 @@ public class Test_thread20
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.DelegateTest<object>();
                Gen<double>.DelegateTest<string>();
index c92947e..1a7317d 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -49,7 +50,8 @@ public class Test_thread21
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.DelegateTest<object>();
                Gen<double>.DelegateTest<string>();
index 08923b2..fd0adf2 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -142,7 +143,8 @@ public class Test_thread22
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.DelegateTest<int>();
index 40bfd13..c022795 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -142,7 +143,8 @@ public class Test_thread23
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.DelegateTest<int>();
index e58d0f7..bb8f330 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -142,7 +143,8 @@ public class Test_thread24
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.DelegateTest<int>();
index 542b9dd..ae007e1 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -37,7 +38,8 @@ public class Test_thread25
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.DelegateTest();
                Gen<double>.DelegateTest();
index e2b1427..ba16b63 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen<T> 
 {
@@ -37,7 +38,8 @@ public class Test_thread26
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.DelegateTest();
                Gen<double>.DelegateTest();
index 832186b..378127f 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -40,7 +41,8 @@ public class Test_thread27
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.DelegateTest<object>();
                Gen<double>.DelegateTest<string>();
index 7b4b987..98424a7 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen<T> 
 {
@@ -40,7 +41,8 @@ public class Test_thread28
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.DelegateTest<object>();
                Gen<double>.DelegateTest<string>();
index acee10d..7094afb 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen 
 {
@@ -39,7 +40,8 @@ public class Test_thread29
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.DelegateTest<object>();
                Gen.DelegateTest<string>();
index 6bcc91d..471be15 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen
 {
@@ -39,7 +40,8 @@ public class Test_thread30
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.DelegateTest<object>();
                Gen.DelegateTest<string>();
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index 4d7a867..cbf1b63 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -47,7 +48,8 @@ public class Test_thread01
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
index 488f736..201c7a8 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -47,7 +48,8 @@ public class Test_thread02
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
index f9b1038..c29cd49 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen 
 {
@@ -49,7 +50,8 @@ public class Test_thread03
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
index 4c710dc..e05e3a5 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen 
 {
@@ -49,7 +50,8 @@ public class Test_thread04
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
index 57a2820..9e93990 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -49,7 +50,8 @@ public class Test_thread05
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
index b2e593c..38cba89 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -49,7 +50,8 @@ public class Test_thread06
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
index 9097b6c..c1c6421 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen<T> 
 {
@@ -47,7 +48,8 @@ public class Test_thread07
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
index 232b1ba..36ca9fb 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen 
 {
@@ -49,7 +50,8 @@ public class Test_thread08
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
index 9b71df6..b1f9e3c 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen<T> 
 {
@@ -49,7 +50,8 @@ public class Test_thread09
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
index c101ad9..ef87b81 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -57,7 +58,8 @@ public class Test_thread10
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
index 5200ea5..4fb3d55 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -57,7 +58,8 @@ public class Test_thread11
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
index 5d5865c..ea88a36 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -57,7 +58,8 @@ public class Test_thread12
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
index dd7c2c4..e53d18a 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -175,7 +176,8 @@ public class Test_thread13
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.ThreadPoolTest();
index cb3259a..e015e5e 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -175,7 +176,8 @@ public class Test_thread14
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.ThreadPoolTest();
index f683392..456bb7f 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -175,7 +176,8 @@ public class Test_thread15
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.ThreadPoolTest();
index 8e6f93f..bfcb942 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen
 {
@@ -54,7 +55,8 @@ public class Test_thread16
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
index 42bf6b6..493cc2b 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen
 {
@@ -54,7 +55,8 @@ public class Test_thread17
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
index d92ac92..149b461 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen
 {
@@ -54,7 +55,8 @@ public class Test_thread18
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
index 131ff18..5922497 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -58,7 +59,8 @@ public class Test_thread19
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
index a461eaf..9936a3c 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -58,7 +59,8 @@ public class Test_thread20
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
index 2ced39d..a6f4b97 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 interface IGen<T>
@@ -58,7 +59,8 @@ public class Test_thread21
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
index c66066d..00b4ecd 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -187,7 +188,8 @@ public class Test_thread22
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.ThreadPoolTest<int>();
index 173f842..f880ed4 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -187,7 +188,8 @@ public class Test_thread23
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.ThreadPoolTest<int>();
index e5c9f61..a14d243 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 interface IGen<T>
 {
@@ -187,7 +188,8 @@ public class Test_thread24
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
        
                GenInt.ThreadPoolTest<int>();
index 96c1843..d180917 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -46,7 +47,8 @@ public class Test_thread25
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
index 268fe6b..5b41ecd 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen<T> 
 {
@@ -46,7 +47,8 @@ public class Test_thread26
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest();
                Gen<double>.ThreadPoolTest();
index be320cd..c294a11 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen<T> 
 {
@@ -49,7 +50,8 @@ public class Test_thread27
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
index 3e06325..bcffc2e 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen<T> 
 {
@@ -49,7 +50,8 @@ public class Test_thread28
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen<int>.ThreadPoolTest<object>();
                Gen<double>.ThreadPoolTest<string>();
index 784c989..6c367ce 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 class Gen 
 {
@@ -48,7 +49,8 @@ public class Test_thread29
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
index 65a1c07..c4380a9 100644 (file)
@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 struct Gen
 {
@@ -48,7 +49,8 @@ public class Test_thread30
        
        }
        
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Gen.ThreadPoolTest<object>();
                Gen.ThreadPoolTest<string>();
index 5cd7b9f..c6a93c6 100644 (file)
@@ -3,11 +3,13 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 
 public class Test_13662_a {
 
-       public static int Main(){
+       [Fact]
+       public static int TestEntryPoint(){
 
                int rValue = 100;
                Timer[] tArray = new Timer[1000];
index bef0738..4c1fe32 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for UnloadabilityIncompatible -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <!-- Under heavy load, some of the TimerCallback functions don't complete before the test exits, preventing unload -->
     <UnloadabilityIncompatible>true</UnloadabilityIncompatible>
     <CLRTestPriority>1</CLRTestPriority>
index 4cbb993..9f0ced2 100644 (file)
@@ -3,11 +3,13 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 
 public class Test_13662_b {
 
-       public static int Main(){
+       [Fact]
+       public static int TestEntryPoint(){
 
                int rValue = 100;
                Timer[] tArray = new Timer[1000];
index b96e491..ec5587a 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for UnloadabilityIncompatible -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <!-- Under heavy load, some of the TimerCallback functions don't complete before the test exits, preventing unload -->
     <UnloadabilityIncompatible>true</UnloadabilityIncompatible>
     <CLRTestPriority>1</CLRTestPriority>
index e172ab2..9cbd449 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for UnloadabilityIncompatible -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <!-- Under heavy load, some of the TimerCallback functions don't complete before the test exits, preventing unload -->
     <UnloadabilityIncompatible>true</UnloadabilityIncompatible>
     <CLRTestPriority>1</CLRTestPriority>
index 5b342ea..463c8ef 100644 (file)
@@ -3,11 +3,13 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 
 public class Test_simple {
 
-       public static int Main(){
+       [Fact]
+       public static int TestEntryPoint(){
 
                int rValue = 100;
                Timer[] tArray = new Timer[100];
index 3e1670d..2352f20 100644 (file)
@@ -5,6 +5,7 @@ using System;
 using System.Runtime.InteropServices;
 using System.Reflection;
 using System.Threading;
+using Xunit;
 
 /*
  * Issue description:
@@ -14,7 +15,8 @@ using System.Threading;
 
 public class Test_foreground_shutdown
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         new Thread(() =>
         {
index b217844..6adb4a4 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for Environment.Exit -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <ItemGroup>
index 51989ae..ed5f97e 100644 (file)
@@ -3,12 +3,14 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
-class ObjMonHelper {
+public class ObjMonHelper {
        const string FailMsg = @"Monitor.Enter appears to have mistaken a hash code in an object header for
 a valid lock owned by the current thread.";
 
-       public static int Main() {
+       [Fact]
+       public static int TestEntryPoint() {
                var ok = true;
                var arr = new object[1024*1024];
 
index 9f562d8..304a800 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for GCStressIncompatible, CLRTestEnvironmentVariable -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <CLRTestPriority>1</CLRTestPriority>
     <GCStressIncompatible>true</GCStressIncompatible>
   </PropertyGroup>
index 8c72b4a..ebd4c85 100644 (file)
@@ -3,11 +3,13 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 
 public class Test_30032 {
 
-       public static int Main(){
+       [Fact]
+       public static int TestEntryPoint(){
 
                int rValue = 100;
                Timer[] tArray = new Timer[100];
index 20447c6..1e74cf1 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <ItemGroup>
index 2bcb36a..bbf8222 100644 (file)
@@ -2,8 +2,9 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
-
-class Test
+using System.Runtime.CompilerServices;
+using Xunit;
+public class Test
 {
     bool _aRun = false;
     public void A()
@@ -107,7 +108,11 @@ class Test
     static bool s_takeLock = false;
     static bool s_contention = false;
 
-    public static int Main(string[] args)
+    [Fact]
+    public static int TestEntryPoint() => Run(new string[0]);
+
+    [MethodImpl(MethodImplOptions.NoInlining)]
+    public static int Run(string[] args)
     {
         ReadArgs(args);
 
index 239163d..af99318 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for GCStressIncompatible -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
     <GCStressIncompatible>true</GCStressIncompatible>
index 469daad..62e4cdd 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index b077fba..f740bd0 100644 (file)
@@ -2,11 +2,13 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 using System;
 using System.Threading;
+using Xunit;
 
 
 public class Beta 
 {
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                int rValue = 100;
                Console.WriteLine("Setup an Infinite Wait with negative value other than -1");
index 74bb5b6..165a13f 100644 (file)
@@ -3,12 +3,14 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 public class TimerTest
 {
     public static void Target(Object foo){}
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         int retVal = 0;
         Timer timer = new Timer(new TimerCallback(Target),new Object(), 1000,1000);
index c351bcc..bc9be00 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <ItemGroup>
index c279bff..09c7ffd 100644 (file)
@@ -3,15 +3,17 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
-class Test
+public class Test
 {    
     static bool _fTestFailed = false;
     static bool _fTestDone = false;
     static ManualResetEvent _mre;
     static AutoResetEvent _are = new AutoResetEvent(false);
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Thread th = new Thread(new ThreadStart(Thread2));
         th.Start();
index 716b572..493f8de 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for UnloadabilityIncompatible -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <!-- This test leaves random number of WaitOrTimerCallbacks registered at the exit, which prevents unloading -->
     <UnloadabilityIncompatible>true</UnloadabilityIncompatible>
     <CLRTestPriority>1</CLRTestPriority>
index 98abd96..daaaac7 100644 (file)
@@ -3,15 +3,17 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
-class Test
+public class Test
 {    
     static bool _fTestFailed = false;
     static bool _fTestDone = false;
     static ManualResetEvent _mre;
     static AutoResetEvent _are = new AutoResetEvent(false);
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Thread th = new Thread(new ThreadStart(Thread2));
         th.Start();
index 8c1c050..11e4aec 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <!-- Needed for GCStressIncompatible -->
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <CLRTestPriority>1</CLRTestPriority>
     <!-- This test isn't technically incompatible with GCStress, but it ends up running very slowly
          in some configurations, e.g. GCStress=3 on Linux/arm32 measured at 20 minutes.
index 7f9b83d..3434de6 100644 (file)
@@ -4,6 +4,7 @@
 using System;
 using System.Threading;
 using System.Threading.Tasks;
+using Xunit;
 
 /*
  * Issue description:
@@ -19,9 +20,10 @@ Change description:
   cancel the associated Task.
 */
 
-class Test
+public class Test
 {
-    static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         SemaphoreSlim s = new SemaphoreSlim(initialCount: 1);
 
index dda86d3..7500eca 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <ItemGroup>
index 0ee848e..44030bf 100644 (file)
@@ -3,10 +3,12 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 public class Stop {
 
-    public static int Main() {              
+    [Fact]
+    public static int TestEntryPoint() {              
 
         Stop tm = new Stop();
        try
index 6ee702a..02279f3 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>
diff --git a/src/tests/baseservices/threading/threading_group1.csproj b/src/tests/baseservices/threading/threading_group1.csproj
new file mode 100644 (file)
index 0000000..a099f2d
--- /dev/null
@@ -0,0 +1,16 @@
+<Project Sdk="Microsoft.NET.Sdk">
+  <PropertyGroup>
+    <IsMergedTestRunnerAssembly>true</IsMergedTestRunnerAssembly>
+  </PropertyGroup>
+  <ItemGroup>
+    <MergedWrapperProjectReference Include="commitstackonlyasneeded/**/*.??proj" />
+    <MergedWrapperProjectReference Include="coverage/**/*.??proj" />
+    <MergedWrapperProjectReference Include="DeadThreads/**/*.??proj" />
+    <MergedWrapperProjectReference Include="delegate/**/*.??proj" />
+    <MergedWrapperProjectReference Include="generics/threadstart/*.??proj" />
+    <MergedWrapperProjectReference Include="generics/syncdelegate/*.??proj" />
+    <MergedWrapperProjectReference Include="regressions/**/*.??proj" />
+    <MergedWrapperProjectReference Update="**" Aliases="$([System.String]::Concat(&quot;_&quot;,$([System.String]::Copy(&quot;%(Filename)&quot;).Replace(&quot;-&quot;,&quot;_&quot;))))" />
+    <ProjectReference Include="@(MergedWrapperProjectReference)" />
+  </ItemGroup>
+</Project>
\ No newline at end of file
diff --git a/src/tests/baseservices/threading/threading_group2.csproj b/src/tests/baseservices/threading/threading_group2.csproj
new file mode 100644 (file)
index 0000000..bb54688
--- /dev/null
@@ -0,0 +1,17 @@
+<Project Sdk="Microsoft.NET.Sdk">
+  <PropertyGroup>
+    <IsMergedTestRunnerAssembly>true</IsMergedTestRunnerAssembly>
+  </PropertyGroup>
+  <ItemGroup>
+    <MergedWrapperProjectReference Include="*/**/*.??proj" />
+    <MergedWrapperProjectReference Remove="commitstackonlyasneeded/**/*.??proj" />
+    <MergedWrapperProjectReference Remove="coverage/**/*.??proj" />
+    <MergedWrapperProjectReference Remove="DeadThreads/**/*.??proj" />
+    <MergedWrapperProjectReference Remove="delegate/**/*.??proj" />
+    <MergedWrapperProjectReference Remove="generics/syncdelegate/*.??proj" />
+    <MergedWrapperProjectReference Remove="generics/threadstart/*.??proj" />
+    <MergedWrapperProjectReference Remove="regressions/**/*.??proj" />
+    <MergedWrapperProjectReference Update="**" Aliases="$([System.String]::Concat(&quot;_&quot;,$([System.String]::Copy(&quot;%(Filename)&quot;).Replace(&quot;-&quot;,&quot;_&quot;))))" />
+    <ProjectReference Include="@(MergedWrapperProjectReference)" />
+  </ItemGroup>
+</Project>
\ No newline at end of file
index 0f28d3a..35b81d3 100644 (file)
@@ -6,13 +6,15 @@ using System.Threading;
 using System.IO;
 using System.Runtime.InteropServices;
 using Microsoft.Win32.SafeHandles;
+using Xunit;
 
 /// <summary>
 /// Verifies passing an invalid handle (not overlapped) to BindHandle works as expected
 /// </summary>
-class BindHandle1
+public class BindHandle1
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         return (new BindHandle1().RunTest());
     }
index f799530..3eb68cc 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 65866a6..aabbaf7 100644 (file)
@@ -4,10 +4,12 @@
 using System;
 using System.Threading;
 using Microsoft.Win32.SafeHandles;
+using Xunit;
 
-class BindHandleInvalid
+public class BindHandleInvalid
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         return (new BindHandleInvalid().RunTest());
     }
index e58a53f..5e8bb1c 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 5015773..120ea64 100644 (file)
@@ -6,13 +6,15 @@ using System.Threading;
 using System.IO;
 using System.Runtime.InteropServices;
 using Microsoft.Win32.SafeHandles;
+using Xunit;
 
 /// <summary>
 /// Verifies passing an invalid handle (not overlapped) to BindHandle works as expected
 /// </summary>
-class BindHandleInvalid3
+public class BindHandleInvalid3
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         return (new BindHandleInvalid3().RunTest());
     }
index 949f202..766f769 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 953efb5..6aaede0 100644 (file)
@@ -6,13 +6,15 @@ using System.Threading;
 using System.IO;
 using System.Runtime.InteropServices;
 using Microsoft.Win32.SafeHandles;
+using Xunit;
 
 /// <summary>
 /// Verifies passing an invalid handle (not overlapped) to BindHandle works as expected
 /// </summary>
-class BindHandleInvalid3
+public class BindHandleInvalid3
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         return (new BindHandleInvalid3().RunTest());
     }
index bd85b46..6229100 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 b67a37f..59d9ce9 100644 (file)
@@ -6,13 +6,15 @@ using System.Threading;
 using System.IO;
 using System.Runtime.InteropServices;
 using Microsoft.Win32.SafeHandles;
+using Xunit;
 
 /// <summary>
 /// Verifies passing an invalid handle (not overlapped) to BindHandle works as expected
 /// </summary>
-class BindHandleInvalid3
+public class BindHandleInvalid3
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         return (new BindHandleInvalid3().RunTest());
     }
index 751974a..f372f74 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 49ce255..5a8000d 100644 (file)
@@ -6,13 +6,15 @@ using System.Threading;
 using System.IO;
 using System.Runtime.InteropServices;
 using Microsoft.Win32.SafeHandles;
+using Xunit;
 
 /// <summary>
 /// Verifies passing an invalid handle (not overlapped) to BindHandle works as expected
 /// </summary>
-class BindHandle1
+public class BindHandle1
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         return (new BindHandle1().RunTest());
     }
index 6f41f91..2aa0668 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 1d4c283..8a050df 100644 (file)
@@ -3,10 +3,12 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
-class BindHandleNull
+public class BindHandleNull
 {
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         return (new BindHandleNull().RunTest());
     }
index b76ee45..f47c695 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 eb5f7b6..54f7060 100644 (file)
@@ -7,6 +7,7 @@ using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
 using System.Threading;
+using Xunit;
 
 /************************
  * Regression test for bug Bug 749068:WatsonCrash: coreclr.dll!Thread::DoAppropriateWaitWorker -- APPLICATION_HANG_BlockedOn_EventHandle c0000194
@@ -88,9 +89,10 @@ namespace Prog
         }
     }
 
-    class Program
+    public class Program
     {
-        static int Main()
+        [Fact]
+        public static int TestEntryPoint()
         {
             Callback obj = new Callback();
 
index f639a63..b831c85 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <ItemGroup>
index 8d462f6..c9d90e5 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index e8f1bb7..8a21ed8 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index a47c73c..f0609a0 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index df59233..4ec77f7 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index f49099a..cab7558 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index f663c21..478fe4e 100644 (file)
@@ -7,6 +7,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 public class Value0
 {
@@ -767,7 +768,8 @@ public class Test_threadstatic01
 
     private int retVal = 0;
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Test_threadstatic01 staticsTest = new Test_threadstatic01();
         staticsTest.RunTest();
index 184d58c..dfe1f31 100644 (file)
@@ -5,6 +5,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 public class MyData
 {
@@ -46,7 +47,8 @@ public class Test_threadstatic02
 
     private int retVal = 0;
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Test_threadstatic02 staticsTest = new Test_threadstatic02();        
         staticsTest.RunTest();        
index f6d31af..4d49e4d 100644 (file)
@@ -6,6 +6,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 public class MyData
 {
@@ -41,7 +42,8 @@ public class Test_threadstatic03
 
     private int retVal = 0;
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Test_threadstatic03 staticsTest = new Test_threadstatic03();        
         staticsTest.RunTest();
index 4d161f5..063b4c2 100644 (file)
@@ -5,6 +5,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 public class MyData
 {
@@ -41,7 +42,8 @@ public class Test_threadstatic05
 
     private int retVal = 0;
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Test_threadstatic05 staticsTest = new Test_threadstatic05();        
         staticsTest.RunTest();        
index ecabcc6..1b86ab2 100644 (file)
@@ -6,6 +6,7 @@
 
 using System;
 using System.Threading;
+using Xunit;
 
 public class MyData
 {
@@ -36,7 +37,8 @@ public class Test_threadstatic06
 
     private int retVal = 0;
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         Test_threadstatic06 staticsTest = new Test_threadstatic06();        
         staticsTest.RunTest();
index b366fa2..bbc741a 100644 (file)
@@ -5,6 +5,7 @@
 using System;
 using System.IO;
 using System.Threading;
+using Xunit;
 
 // Test Description:
 // Just basic heavy reading and writing from ThreadStatic members in normal threads and threadpools threads as well.
@@ -46,7 +47,8 @@ public class Sensor
        [ThreadStatic]
        static String SSS = "Olden Polynice";
 
-       public static int Main()
+       [Fact]
+       public static int TestEntryPoint()
        {
                Console.WriteLine("Hello NBA Fans!!");
                Console.WriteLine("ThreadStatic test 2: Various reading and writing of Threadstatic variables.");
index 0414055..1e33078 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <ItemGroup>
index 6c5da65..074fa9b 100644 (file)
@@ -3,6 +3,7 @@
 using System;
 using System.IO;
 using System.Threading;
+using Xunit;
 
 public struct Struct
 {
@@ -15,7 +16,8 @@ public class Program
     [ThreadStatic]
     private static Struct TSStruct;
 
-    public static int Main()
+    [Fact]
+    public static int TestEntryPoint()
     {
         if(TSStruct.a != 0 || TSStruct.b != 0)
             return 101;
index 551495b..8af1838 100644 (file)
@@ -1,7 +1,4 @@
 <Project Sdk="Microsoft.NET.Sdk">
-  <PropertyGroup>
-    <OutputType>Exe</OutputType>
-  </PropertyGroup>
   <ItemGroup>
     <Compile Include="threadstatic08.cs" />
   </ItemGroup>