CreateAndInject

Results 31 issues of CreateAndInject

Why ResourceInfo.Save is NotImplementedException?

new feature

var file = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Windows), "explorer.exe"); ResourceInfo info = new ResourceInfo(); info.Load(file); var resources = info[Kernel32.ResourceTypes.RT_GROUP_ICON]; foreach (var resource in resources) { IconDirectoryResource icon = new IconDirectoryResource(); icon.Language = resource.Language; icon.Name...

new feature

I want to export the resource of a .exe file to .res file.

new feature

I update ILSpy from .NET 4.7.2 to .NET 6 ``` Workbook workbook = new Workbook(string_0); Worksheet worksheet = null; // 1. worksheet string text = "保温规格代号"; foreach (Worksheet worksheet in...

Bug
Decompiler

1. Generate file even if nothing added to ``` using var reader = new ResourcesFile(s); using var writer = new ResXResourceWriter("abc.resx"); foreach (var pair in reader) writer.AddResource(pair.Key, pair.Value); // Do...

Bug
ResX

```c# static void Test(T a) { if (a is int x) Console.WriteLine(x); } ``` ILSpy: ```c# private static void Test(T a) { if (a is int) { object obj =...

Bug
Decompiler

ILSpy plans to add some syntax(eg. `innamespace:`) to decide how to search, it's a burden to the user. I have 2 suggestions: 1. Add a ComboBox to specify the search...

Enhancement

[1.zip](https://github.com/icsharpcode/ILSpy/files/5431667/1.zip) Such as `Program.Main` `LoginForm.smethod_0`

Bug
Decompiler

[test.zip](https://github.com/jbevain/cecil/files/492801/test.zip) AssemblyDefinition.ReadAssembly(source).Write(target);

![bug](https://user-images.githubusercontent.com/2529999/128634889-7cd434d2-5ec5-4ad0-ac28-54e4fe2522b4.png) I can’t reproduce it exactly, but it happened very frequently. Maybe this bug produce from 16.9. It seems the tip panel is translucent and so blurred with code window,...