fox2007 和.net Reflector反编译一个dll,发现一个方法的内容反编译的结果不一样。不知道是哪一个错了还是怎么回事儿。
.net Reflector 结果如下:
protected override void ReportPageInit()
{
this.ReportType = base.Request.QueryString["ReportType"].Trim().ToLower();
switch (this.ReportType)
{
case "3":
this.StoreName = "WEB_SCM_BuyBill_List_UnFinished";
this.StroeDetailName = "WEB_SCM_BuyBill_List_UnFinished_Detail";
break;
case "2":
this.ReportSearch1.set_SelectValues(new string[] { "未完成", "已完成", "全部" });
this.StoreName = "WEB_SCM_BuyOrder_List_UnFinished";
this.StroeDetailName = "WEB_SCM_BuyOrder_List_UnFinished_Detail";
break;
case "12":
this.StoreName = "WEB_SCM_SaleBill_List_UnFinished";
this.StroeDetailName = "WEB_SCM_SaleBill_List_UnFinished_Detail";
break;
case "5":
this.ReportSearch1.set_SelectValues(new string[] { "未完成", "已完成", "全部" });
this.StoreName = "WEB_SCM_SaleOrder_List_UnFinished";
this.StroeDetailName = "WEB_SCM_SaleOrder_List_UnFinished_Detail";
break;
case "18":
this.StoreName = "WEB_SCM_CommissionBill_List_UnSettled";
this.StroeDetailName = "WEB_SCM_CommissionBill_List_UnSettled_Detail";
break;
case "19":
this.StoreName = "WEB_SCM_ENTrustedBill_List_UnSettled";
this.StroeDetailName = "WEB_SCM_ENTrustedBill_List_UnSettled_Detail";
break;
case "6060":
this.StoreName = "WEB_SCM_LendBill_List_UnBack";
this.StroeDetailName = "WEB_SCM_LendBill_List_UnBack_Detail";
break;
case "8787":
this.StoreName = "WEB_SCM_BorrowBill_List_UnBack";
this.StroeDetailName = "WEB_SCM_BorrowBill_List_UnBack_Detail";
break;
}
this.ReportSearch1.set_ReportType(this.ReportType);
this.CZCGbGrid1.set_StoreProcedure(this.StoreName);
string str = CTextHandler.SafeRequest("BID");
if (str != "")
{
DataSet dsBySql = CDBAccessFactory.GetDsBySql("select Btypeid,FullName from pub_btype where _id = '" + str + "'");
if (CTextHandler.CheckDataSet(dsBySql) && !base.IsPostBack)
{
this.ReportSearch1.ElementSetValue("BID", str);
this.ReportSearch1.ElementSetValue("BTypeid", dsBySql.Tables[0].Rows[0][0]);
this.ReportSearch1.ElementSetValue("BFullName", dsBySql.Tables[0].Rows[0][1]);
}
}
}
fox 的结果如下:
protected override void ReportPageInit ()
{
string key;
ReportType = base.Request.QueryString["ReportType"].Trim().ToLower();
if ((key = ReportType) != null)
{
int num1;
if (<PrivateImplementationDetails>{5B393355-33DA-4A4C-8F9C-9C2F3E032A18}.$$method0x60000e6-1 == null)
{
Dictionary<string,int> dictionary1 = new Dictionary<string,int>(8);
dictionary1.Add("3", 0);
dictionary1.Add("2", 1);
dictionary1.Add("12", 2);
dictionary1.Add("5", 3);
dictionary1.Add("18", 4);
dictionary1.Add("19", 5);
dictionary1.Add("6060", 6);
dictionary1.Add("8787", 7);
<PrivateImplementationDetails>{5B393355-33DA-4A4C-8F9C-9C2F3E032A18}.$$method0x60000e6-1 = dictionary1;
}
if (<PrivateImplementationDetails>{5B393355-33DA-4A4C-8F9C-9C2F3E032A18}.$$method0x60000e6-1.TryGetValue(key, out num1))
{
switch (num1)
{
case 0:
{
StoreName = "WEB_SCM_BuyBill_List_UnFinished";
StroeDetailName = "WEB_SCM_BuyBill_List_UnFinished_Detail";
goto Label_020E;
}
case 1:
{
ReportSearch1.set_SelectValues(new string[]{"\u672a\u5b8c\u6210", "\u5df2\u5b8c\u6210", "\u5168\u90e8"});
StoreName = "WEB_SCM_BuyOrder_List_UnFinished";
StroeDetailName = "WEB_SCM_BuyOrder_List_UnFinished_Detail";
goto Label_020E;
}
case 2:
{
StoreName = "WEB_SCM_SaleBill_List_UnFinished";
StroeDetailName = "WEB_SCM_SaleBill_List_UnFinished_Detail";
goto Label_020E;
}
case 3:
{
ReportSearch1.set_SelectValues(new string[]{"\u672a\u5b8c\u6210", "\u5df2\u5b8c\u6210", "\u5168\u90e8"});
StoreName = "WEB_SCM_SaleOrder_List_UnFinished";
StroeDetailName = "WEB_SCM_SaleOrder_List_UnFinished_Detail";
goto Label_020E;
}
case 4:
{
StoreName = "WEB_SCM_CommissionBill_List_UnSettled";
StroeDetailName = "WEB_SCM_CommissionBill_List_UnSettled_Detail";
goto Label_020E;
}
case 5:
{
StoreName = "WEB_SCM_ENTrustedBill_List_UnSettled";
StroeDetailName = "WEB_SCM_ENTrustedBill_List_UnSettled_Detail";
goto Label_020E;
}
case 6:
{
StoreName = "WEB_SCM_LendBill_List_UnBack";
StroeDetailName = "WEB_SCM_LendBill_List_UnBack_Detail";
goto Label_020E;
}
case 7:
{
goto Label_01F8;
}
}
}
}
goto Label_020E;
Label_01F8:
StoreName = "WEB_SCM_BorrowBill_List_UnBack";
StroeDetailName = "WEB_SCM_BorrowBill_List_UnBack_Detail";
Label_020E:
ReportSearch1.set_ReportType(ReportType);
CZCGbGrid1.set_StoreProcedure(StoreName);
string str1 = CTextHandler.SafeRequest("BID");
if (str1 != "")
{
DataSet set1 = CDBAccessFactory.GetDsBySql("select Btypeid,FullName from pub_btype where _id = '" + str1 + "'");
if (CTextHandler.CheckDataSet(set1) && !base.IsPostBack)
{
ReportSearch1.ElementSetValue("BID", str1);
ReportSearch1.ElementSetValue("BTypeid", set1.Tables[0].Rows[0][0]);
ReportSearch1.ElementSetValue("BFullName", set1.Tables[0].Rows[0][1]);
}
}
}
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课