Hey, You'd have to write the ILRepack guys, they wrote this piece of code specifically for ILRepack. It doesn't come from the vanilla Cecil.
Best, Jb On Sun, Dec 30, 2012 at 2:46 AM, Justin Dearing <[email protected]> wrote: > I'm trying to understand what Mono.Cecil.PE.ResourceEntry.Id is exactly? Are > those Ids well known numbers that tell the resource type or are they > arbitarly assigned? If so where are they defined? They don't seem to be > defined here: > http://msdn.microsoft.com/en-us/library/windows/desktop/ms648009(v=vs.85).aspx > > That msdn page is inconsistent with my experiments. However, what I have > noticed is that all .NET assemblies seem to have a resource with an Id of 0 > that contains the VarFileInfo block. Is that guaranteed or purely by > convention? The reason is I am trying to understand some warning in > IL-Repack I talk about here: https://github.com/gluck/il-repack/issues/25 > > Thanks in Advance for any help, > Justin > > -- > -- > mono-cecil -- -- mono-cecil
