• 反编译乱码对比


    乱码

        // 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();
        }
    }
  • 相关阅读:
    iOS 获取内外网ip
    iOS 查看层级关系以及调用堆栈
    CoreML Use of undeclared type & Use of unresolved identifier
    AFN的实时网络监控 但是block连续调用了两次
    iOS 11 偏好设置(NSUserDefaults)无效了?
    iOS 11 UIScrollView的新特性(automaticallyAdjustsScrollViewInsets 不起作用了)
    Xcode9~iOS11初体验 无线调试
    Hook~iOS用钩子实现代码注入(埋点方案)
    tomcat启动时端口占用的问题怎么解决
    Memcached在Linux环境下的使用详解http://blog.51cto.com/soysauce93/1737161
  • 原文地址:https://www.cnblogs.com/wangyinlon/p/12566333.html
Copyright © 2020-2023  润新知