日期:2013-09-12  浏览次数:20600 次

I post this source code in order to test our il2c#, this source code was generated by our software, this is the  "javascript" method of class Coalesys.WebMenu.Generate

internal static void JavaScript(WebMenu webmenu, GenerateConstants type, Writer writer) {
    Font local0;
    EffectConstants local1;
    int local2;
    int local3;
    int local4;
    int local5;
    bool local6;
    bool local7;
    bool local8;
    bool local9;
    bool local10;
    string local11;
    string local12;
    string local13;
    string local14;
    string local15;
    string local16;
    string local17;
    string local18;
    string local19;
    Font local20;
    int local21;
    bool local22;
    bool local23;
    bool local24;
    string local25;
    string local26;
    string local27;
    string local28;
    string local29;
    string local30;
    string local31;
    string local32;
    Font local33;
    int local34;
    int local35;
    int local36;
    int local37;
    bool local38;
    bool local39;
    bool local40;
    string local41;
    string local42;
    string local43;
    string local44;
    string local45;
    string local46;
    Font local47;
    int local48;
    bool local49;
    bool local50;
    bool local51;
    string local52;
    string local53;
    string local54;
    string local55;
    string local56;
    string local57;
    string local58;
    string local59;
    EffectConstants local60;

    if (type == 0) {
        writer.CSF_11("\r\n<!--\r\n");
        if (!(webmenu.CSF_8())) {
            writer.CSF_11("/////////////////////////////////////////////////////\r\n");
            writer.CSF_11("// Coalesys WebMenu for ASP.NET drop through DHTML script\r\n");
            writer.CSF_11("// COPYRIGHT 2001 Coalesys, Inc.\r\n");
            writer.CSF_11("/////////////////////////////////////////////////////\r\n");
        }
        writer.CSF_11("function cswmShow()");
        writer.CSF