static int Main()
    {
        SanityTest.Run();
        TestInstanceMethodOptimization.Run();
        TestAbstractTypeVirtualsOptimization.Run();
        TestAbstractTypeNeverDerivedVirtualsOptimization.Run();

        return(100);
    }
示例#2
0
    static int Main()
    {
        SanityTest.Run();
        TestInstanceMethodOptimization.Run();
        TestAbstractTypeNeverDerivedVirtualsOptimization.Run();
        TestAbstractNeverDerivedWithDevirtualizedCall.Run();
        TestAbstractDerivedByUnrelatedTypeWithDevirtualizedCall.Run();

        return(100);
    }
示例#3
0
    static int Main()
    {
        SanityTest.Run();
        SimpleTest.Run();
        TestInapplicableCatch.Run();
        TestEmptyFinally.Run();
        TestStaticField.Run();
        TestIntConstant.Run();

        return(100);
    }
示例#4
0
    static int Main()
    {
        SanityTest.Run();
        TestInstanceMethodOptimization.Run();
        TestAbstractTypeNeverDerivedVirtualsOptimization.Run();
        TestAbstractNeverDerivedWithDevirtualizedCall.Run();
        TestAbstractDerivedByUnrelatedTypeWithDevirtualizedCall.Run();
        TestUnusedDefaultInterfaceMethod.Run();
        TestArrayElementTypeOperations.Run();
        TestStaticVirtualMethodOptimizations.Run();

        return(100);
    }
示例#5
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Page.IsPostBack)
        {
            return;
        }



        string s = new SanityTest().Test3();

        s = s.Replace("\n", "<br/>");

        result.InnerHtml = s;
    }