// 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); }
public AnalyzePhase(NameProtection parent) : base(parent) { }
public ExportMapPhase(NameProtection parent) : base(parent) { }
public RenamePhase(NameProtection parent) : base(parent) { }
public PostRenamePhase(NameProtection parent) : base(parent) { }