• 反编译乱码对比


    乱码

        // 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();
        }
    }
  • 相关阅读:
    Linux 下安装配置 JDK7
    win7下virtualbox装linux共享win7文件问题(已测试可用)
    Linix常用命令
    JAVA命令大全
    virtualbox 不能为虚拟电脑打开一个新任务/VT-x features locked or unavailable in MSR.
    VirtualBox下安装rhel5.5 linux系统
    redhat RHEL 5.5 下载地址
    ios开发@selector的函数如何传参数/如何传递多个参数
    U盘10分钟安装linux系统
    史上最浅显易懂的Git分布式版本控制系统教程
  • 原文地址:https://www.cnblogs.com/wangyinlon/p/12566333.html
Copyright © 2020-2023  润新知