Esempio n. 1
0
 public bool CanApplyOptimization(CodeOptimizations optimization, AssemblyDefinition context)
 {
     return(Annotations.GetAction(context) == AssemblyAction.Link &&
            IsOptimizationEnabled(optimization, context));
 }
Esempio n. 2
0
 public void SetAction(AssemblyDefinition assembly, AssemblyAction action)
 {
     RegisterAssembly(assembly);
     Annotations.SetAction(assembly, action);
 }