// should be no need for security attributes // [System.Security.SecurityCritical] public static int Main() { WaitHandleDispose3 test = new WaitHandleDispose3(); TestLibrary.TestFramework.BeginTestCase("WaitHandleDispose3"); if (test.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return 100; } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return 0; } }
// should be no need for security attributes // [System.Security.SecurityCritical] public static int Main() { WaitHandleDispose3 test = new WaitHandleDispose3(); TestLibrary.TestFramework.BeginTestCase("WaitHandleDispose3"); if (test.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return(100); } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return(0); } }