Beispiel #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);
 }
Beispiel #2
0
 public AnalyzePhase(NameProtection parent)
     : base(parent)
 {
 }
 public AnalyzePhase(NameProtection parent)
     : base(parent)
 {
 }
 public ExportMapPhase(NameProtection parent)
     : base(parent)
 {
 }
Beispiel #5
0
 public RenamePhase(NameProtection parent)
     : base(parent)
 {
 }
 public PostRenamePhase(NameProtection parent)
     : base(parent)
 {
 }
Beispiel #7
0
 public ExportMapPhase(NameProtection parent)
     : base(parent)
 {
 }