Ejemplo n.º 1
0
        private void RemoveFSharpCompilationResources(AssemblyDefinition assembly)
        {
            var resourcesInAssembly = assembly.MainModule.Resources.OfType <EmbeddedResource> ();

            foreach (var resource in resourcesInAssembly.Where(IsFSharpCompilationResource))
            {
                Annotations.AddResourceToRemove(assembly, resource);
            }
Ejemplo n.º 2
0
 void RemoveCollatorResources()
 {
     foreach (var assembly in GetAssemblies())
     {
         foreach (var res in MonoCollationResources)
         {
             Annotations.AddResourceToRemove(assembly, res);
         }
     }
 }