Beispiel #1
0
    static int Main()
    {
        SimpleReadWriteThreadStaticTest.Run(42, "SimpleReadWriteThreadStatic");

        // TODO: After issue https://github.com/dotnet/corert/issues/2695 is fixed, move FinalizeTest to run at the end
        if (FinalizeTest.Run() != Pass)
        {
            return(Fail);
        }

        ThreadStaticsTestWithTasks.Run();

        if (ThreadTest.Run() != Pass)
        {
            return(Fail);
        }

        return(Pass);
    }
    static int Main()
    {
        SimpleReadWriteThreadStaticTest.Run(42, "SimpleReadWriteThreadStatic");

        ThreadStaticsTestWithTasks.Run();

        if (ThreadTest.Run() != Pass)
        {
            return(Fail);
        }

        if (TimerTest.Run() != Pass)
        {
            return(Fail);
        }

        if (FinalizeTest.Run() != Pass)
        {
            return(Fail);
        }

        return(Pass);
    }
Beispiel #3
0
 static void Main(string[] args)
 {
     ThreadTest.Run();
     Console.Program.
 }