Exemplo n.º 1
0
 // Token: 0x0600025A RID: 602 RVA: 0x0001F978 File Offset: 0x0001DB78
 public bool CanRename(object obj)
 {
     if (obj is IDnlibDef)
     {
         if (this.analyze == null)
         {
             this.analyze = this.context.Pipeline.FindPhase <AnalyzePhase>();
         }
         NameProtection     prot       = (NameProtection)this.analyze.Parent;
         ProtectionSettings parameters = ProtectionParameters.GetParameters(this.context, (IDnlibDef)obj);
         return(parameters != null && parameters.ContainsKey(prot) && this.context.Annotations.Get <bool>(obj, NameService.CanRenameKey, true));
     }
     return(false);
 }
Exemplo n.º 2
0
 public AnalyzePhase(NameProtection parent)
     : base(parent)
 {
 }
Exemplo n.º 3
0
 public AnalyzePhase(NameProtection parent)
     : base(parent)
 {
 }
 public ExportMapPhase(NameProtection parent)
     : base(parent)
 {
 }
Exemplo n.º 5
0
 public RenamePhase(NameProtection parent)
     : base(parent)
 {
 }
Exemplo n.º 6
0
 public PostRenamePhase(NameProtection parent)
     : base(parent)
 {
 }
Exemplo n.º 7
0
 public ExportMapPhase(NameProtection parent)
     : base(parent)
 {
 }