mono.cecil
Change application type with Mono.Cecil?
How can I modify an application from Console App开发者_运维技巧lication Type to Windows Application Type and vice versa with Mono.Cecil?To convert a console .exe to windows .exe, you can use:[详细]
2023-04-07 13:15 分类:问答In IMetadataImport or MonoCecil, how can I find out out if a method in an internal class is accessible from other assembiles?
One of the cases where a public method of an internal class might be accessible from outside the assembly is if the method implements interface methods or overrides virtual methods that are defined in[详细]
2023-04-07 11:02 分类:问答How to get source/line number for IL instruction using Mono.Cecil
I\'m using Mono.Cecil to write a simple utili开发者_StackOverflow社区ty that looks for type/method usage within .NET assemblies (ex. calling ToString on enums).[详细]
2023-04-06 16:46 分类:问答How to create exported functions in Mono.Cecil?
What am I doing wrong? I\'m trying to create an exported function of LoadLibraryA and inject it into an assembly.[详细]
2023-04-02 00:02 分类:问答Mono Cecil - Initializing a local variable
I have the following method: public void DoSomething() { Console.WriteLine(\"\"); } I want to modify this code with Mono Cecil. I want to create an instance of a custom class within the method:[详细]
2023-03-31 20:08 分类:问答Using Mono.Cecil to add an Indexer to a TypeDefinition
I\'m using JB Evain\'s Mono.Cecil to perform some byte-code manipulation on compiled DLL\'s. Part of this project is to inject properties into TypeDefinitions, effectively turning compiled getters/set[详细]
2023-03-30 15:17 分类:问答How do I replace embedded resources in a .NET assembly programmatically?
I am trying to replace a Resource of an exe (.NET, C#) file using C# code. I have found this article and made this code (using Mono.Cecil 0.6):[详细]
2023-03-24 17:37 分类:问答Mono.Cecil Module of BaseType is incorrect
I am loading two assemblies using AssembliyDefinition.ReadAssembly In AssemblyA I define ClassA. In AssemblyB I define ClassB : ClassA.[详细]
2023-03-23 14:21 分类:问答CCI vs. Mono.Cecil -- advantages and disadvantages
I have seen articles discussing these two similar frameworks, but most of them are two yea开发者_运维问答rs old or so. I assume both projects are much more mature now than they were two years ago, and[详细]
2023-03-21 11:24 分类:问答How to provide method body for extern method with Mono.Cecil
I\'m using the MS C# compiler to compile methods like this: [Placeholder] public extern void Method();[详细]
2023-03-15 21:59 分类:问答