反编译乱码对比
乱码
// Token: 0x02000006 RID: 6 public class ExternalLinksController : Controller { // Token: 0x06000014 RID: 20 RVA: 0x00002AB9 File Offset: 0x00000CB9 public ExternalLinksController(IExternalSiteInfoService externalSiteInfoService) { this._externalSiteInfoService = externalSiteInfoService; } // Token: 0x06000015 RID: 21 RVA: 0x00002AC8 File Offset: 0x00000CC8 [CheckLogOn] public ActionResult Index() { return base.View(); } // Token: 0x06000016 RID: 22 RVA: 0x00002AD0 File Offset: 0x00000CD0 [CheckLogOn] public ActionResult CreateLinks() { return base.View(); } // Token: 0x06000017 RID: 23 RVA: 0x00002AD8 File Offset: 0x00000CD8 [CheckLogOn] public ActionResult UpdateLinks(Guid id) { if (ExternalLinksController.<UpdateLinks>o__SiteContainer0.<>p__Site1 == null) { ExternalLinksController.<UpdateLinks>o__SiteContainer0.<>p__Site1 = CallSite<Func<CallSite, object, Guid, object>>.Create(Binder.SetMember(CSharpBinderFlags.None, "siteInfoId", typeof(ExternalLinksController), new CSharpArgumentInfo[] { CSharpArgumentInfo.Create(CSharpArgumentInfoFlags.None, null), CSharpArgumentInfo.Create(CSharpArgumentInfoFlags.UseCompileTimeType, null) })); } ExternalLinksController.<UpdateLinks>o__SiteContainer0.<>p__Site1.Target(ExternalLinksController.<UpdateLinks>o__SiteContainer0.<>p__Site1, base.ViewBag, id); return base.View(); } // Token: 0x04000009 RID: 9 private readonly IExternalSiteInfoService _externalSiteInfoService; // Token: 0x02000016 RID: 22 [CompilerGenerated] private static class <UpdateLinks>o__SiteContainer0 { // Token: 0x0400003A RID: 58 public static CallSite<Func<CallSite, object, Guid, object>> <>p__Site1; } }
正常
public class ExternalLinksController : Controller { private readonly IExternalSiteInfoService _externalSiteInfoService; public ExternalLinksController(IExternalSiteInfoService externalSiteInfoService) { _externalSiteInfoService = externalSiteInfoService; } [CheckLogOn] public ActionResult Index() { return View(); } [CheckLogOn] public ActionResult CreateLinks() { return View(); } [CheckLogOn] public ActionResult UpdateLinks(Guid id) { base.ViewBag.siteInfoId = id; return View(); } }
作者:银龙
-------------------------------------------
个性签名:独学而无友,则孤陋而寡闻。做一个灵魂有趣的人!
如果觉得这篇文章对你有小小的帮助的话,记得在右下角点个“推荐”哦,博主在此感谢!
万水千山总是情,打赏一分行不行,所以如果你心情还比较高兴,也是可以扫码打赏博主,哈哈哈(っ•̀ω•́)っ✎⁾⁾!