CreateAndInject

Results 28 comments of CreateAndInject

The source is format well and the output is not format well, so if you test it, you will find the bug easylly. But you say "AssemblyDefinition.ReadAssembly() and Write() just...

It's not important how I built the assembly, you can use any assembly. Create a WinForm project by Visual Studio, don't write any code, just F6 to build it. Modify...

I remember the old version(maybe a few years ago) doesn't has this bug, if this, the option `Ignore trim whitespace` is almost useless since it always show large changes and...

@sharwell Can you fix or route it?

How about rename parameter name from `checkValueType` to `resolveToCheckValueType` ?

If there're references of mscorlib 2.0.0.0 4.0.0.0 and 65535.65535.65535.65535 in an assembly. When someome call GetAssemblyRef("mscorlib"), I think he want to pick mscorlib 4.0.0.0 rather than 65535.65535.65535.65535 And I find...

https://github.com/0xd4d/dnlib/blob/5a3927395c4ea7452d1844e74e7f4702dca8775e/src/DotNet/TypeDef.cs#L582 `Don't include abstract since value types can be abstract without throwing at runtime` Don't include or don't check?

@dgrunwald @siegfriedpammer Yes, reference assembly is loaded, see [test.zip](https://github.com/icsharpcode/ILSpy/files/11761477/test.zip) I think this issue is: .exe is .NET 4, and `DevComponents.DotNetBar2.dll` is .NET 2.0, when we use a control defined in...

> If you are decompiling a .NET 2.0 dll, you ideally need .NET 2.0 reference assemblies loaded. The target framework of the overall .exe does not matter in this case....

@dgrunwald @siegfriedpammer Branch `resx-fix/Refactor ResXResourceWriter` is merged, is it finished? But it still doesn't fix this issue