コード例 #1
0
        public bool RealWeakRef(int iObj, int iSwitch)
        {
            CreateObj temp   = new CreateObj(iObj);
            bool      result = temp.RunTest(iObj, iSwitch);

            return(result);
        }
コード例 #2
0
ファイル: continue.cs プロジェクト: layomia/dotnet_runtime
        public static int Main()
        {
            Console.WriteLine("Test should return with ExitCode 100 ...");
            CreateObj temp = new CreateObj();

            if (temp.RunTest())
            {
                Console.WriteLine("Test Passed");
                return(100);
            }
            Console.WriteLine("Test Failed");
            return(1);
        }
コード例 #3
0
ファイル: continue.cs プロジェクト: CheneyWu/coreclr
        public static int Main()
        {

            Console.WriteLine("Test should return with ExitCode 100 ...");
            CreateObj temp = new CreateObj();

            if(temp.RunTest())
            {
                Console.WriteLine("Test Passed");
                return 100;
            }
            Console.WriteLine("Test Failed");
            return 1;
        }
コード例 #4
0
ファイル: basefinal.cs プロジェクト: CheneyWu/coreclr
#pragma warning restore 0414

        public static int Main(String [] str)
        {
            Console.WriteLine("Test should return with ExitCode 100 ...");
            CreateObj temp = new CreateObj();
            if (temp.RunTest())
            {
                Console.WriteLine( "Test passed!" );
                return 100;
            }
            else
            {
                Console.WriteLine( "Test failed!" );
                return 1;
            }
        }
コード例 #5
0
#pragma warning restore 0414

        public static int Main(String [] str)
        {
            Console.WriteLine("Test should return with ExitCode 100 ...");
            CreateObj temp = new CreateObj();

            if (temp.RunTest())
            {
                Console.WriteLine("Test passed!");
                return(100);
            }
            else
            {
                Console.WriteLine("Test failed!");
                return(1);
            }
        }
コード例 #6
0
ファイル: weakref.cs プロジェクト: rendle-labs/coreclr
        public bool RealWeakRef(int iObj, int iSwitch)
        {

            CreateObj temp = new CreateObj(iObj,iSwitch);
            bool result = temp.RunTest(iObj,iSwitch);
            return result;
        }