[Mono-dev] mono.cecil

2010-12-19 Thread Paul F. Johnson
Hi, Mono.Cecil 0.9.4 has been released unto the world and works beautifully. Is there an eta for Mono.Cecil 1.0 and when it arrives, will it see an end to the myriad of packages bundling their own version of mono.cecil as well (e.g. monodevelop has it's own version)? TTFN Paul -- Vertraue mir,

[Mono-dev] mono.cecil

2010-12-08 Thread Paul F. Johnson
Hi, Mono.Cecil 0.9.4 has been released unto the world and works beautifully. Is there an eta for Mono.Cecil 1.0 and when it arrives, will it see an end to the myriad of packages bundling their own version of mono.cecil as well (e.g. monodevelop has it's own version)? TTFN Paul -- Vertraue mir,

Re: [Mono-dev] mono.cecil

2010-12-08 Thread Jb Evain
Apparently I'm still having hard times figuring out this email thing. For the record: On Wed, Dec 8, 2010 at 1:42 PM, Jb Evain jbev...@gmail.com wrote: Yes. On Wed, Dec 8, 2010 at 1:40 PM, Paul F. Johnson p...@all-the-johnsons.co.uk wrote: Hi, On Wed, Dec 8, 2010 at 1:25 PM, Paul F.

[Mono-dev] Mono.Cecil: Support for PE File Headers (FileVersionInfo)

2006-09-27 Thread Christian Birkl
Hi all, 1) what's the schedule for the support of reading and writing PE file headers (like MS Windows FileVersionInfo/AssemblyFileVersion) in Mono.Cecil? Currently Cecil looses all AssemblyFileVersion infos (like companyname, file version, ...) when roundtripping such an assembly. 2) what's

Re: [Mono-dev] Mono.Cecil: Support for PE File Headers (FileVersionInfo)

2006-09-27 Thread Jb Evain
Hi, Christian Birkl wrote: 1) what's the schedule for the support of reading and writing PE file headers (like MS Windows FileVersionInfo/AssemblyFileVersion) in Mono.Cecil? Currently Cecil looses all AssemblyFileVersion infos (like companyname, file version, ...) when roundtripping such an

Re: [Mono-dev] Mono.Cecil: Full names of generic types

2006-07-24 Thread Jb Evain
Hi Matej, Matej Urbas wrote: I'm working on code completion (generics support) in MonoDevelop and I'm making extensive use of Mono.Cecil. Great news! 2. Question about methods that have generic types as parameters: Here is an example of such a method: static T System.Array.FindLast T

Re: [Mono-dev] Mono.Cecil: Full names of generic types

2006-07-24 Thread Matej Urbas
On Mon, 2006-07-24 at 11:20 +0200, Jb Evain wrote: You can find constructed generic types (GenericInstanceType) and constructed generic methods (GenericInstanceMethod). They both implement IGenericInstance wich provides a collection of argument. An argument is a TypeReference, which is the

Re: [Mono-dev] Mono.Cecil: Full names of generic types

2006-07-24 Thread Jb Evain
Hi, Matej Urbas wrote: I have one question though: Suppose we have such a TypeReference: SomeType`2int, T[][] Here is what I do to get all info about SomeType`2 out of there: I have a loop that goes like this: Check if the TypeReference is of any of these types: 1. ArrayType 2.

Re: [Mono-dev] Mono.Cecil: Full names of generic types

2006-07-24 Thread Matej Urbas
Hey! On Mon, 2006-07-24 at 12:33 +0200, Jb Evain wrote: There is a simpler way. The inheritance tree is like this: - TypeReference - TypeSpecification - ArrayType - PointerType - ReferenceType - FunctionPointerType - GenericInstanceType - ModType

Re: [Mono-dev] Mono.Cecil: Full names of generic types

2006-07-24 Thread Matej Urbas
On Mon, 2006-07-24 at 11:20 +0200, Jb Evain wrote: 3. Oh, and to what extent is Mono.Cecil compatible with System.Reflection? E.g.: are the Mono.Cecil.GenericParamAttributes and System.Reflection.GenericParameterAttributes cast safe? - I mean, can they be cast from one-another and still

Re: [Mono-dev] Mono.Cecil: Full names of generic types

2006-07-24 Thread Jb Evain
Hey, Matej Urbas wrote: I figured that they are 'compatible'. But there is one slight difference. You are missing a 'n' in DefaultConstructorConstraint :D This is fixed in SVN. Jb ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

Re: [Mono-dev] Mono.Cecil: Full names of generic types

2006-07-24 Thread Matej Urbas
On Mon, 2006-07-24 at 14:22 +0200, Jb Evain wrote: Hey, Matej Urbas wrote: I figured that they are 'compatible'. But there is one slight difference. You are missing a 'n' in DefaultConstructorConstraint :D This is fixed in SVN. Oh, sorry about that. Yep, we are using an old copy in

Re: [Mono-dev] Mono.Cecil: Full names of generic types

2006-07-23 Thread Matej Urbas
On Sun, 2006-07-23 at 12:32 -0400, Miguel de Icaza wrote: The complete specification for this syntax is available on the ECMA 335 specification: http://www.ecma-international.org/publications/standards/Ecma-334.htm Thank you. I have also found the answer to the second question: it is not

[Mono-dev] Mono.Cecil: Full names of generic types

2006-07-22 Thread Matej Urbas
Hi I'm working on code completion (generics support) in MonoDevelop and I'm making extensive use of Mono.Cecil. I have a few questions about the way Mono.Cecil decorates full names of generic types: 1. All generic types have such a string appended to their full name: `# - where # represents

Re: [Mono-dev] Mono.Cecil: Full names of generic types

2006-07-22 Thread Alejandro Serrano
--- Matej Urbas [EMAIL PROTECTED] escribió: Hi I'm working on code completion (generics support) in MonoDevelop and I'm making extensive use of Mono.Cecil. I have a few questions about the way Mono.Cecil decorates full names of generic types: 1. All generic types have such a

Re: [Mono-dev] Mono.Cecil: Full names of generic types

2006-07-22 Thread Matej Urbas
On Sat, 2006-07-22 at 16:29 +0200, Alejandro Serrano wrote: Decorating generic types with a grave (`) and the number of generic parameters is the way the CLI represents generic types, so we could have: FuncA = Func`1A FuncA, B = Func`2A, B because the runtime imposes that all types

Re: [Mono-dev] Mono.Cecil: Full names of generic types

2006-07-22 Thread Miguel de Icaza
1. All generic types have such a string appended to their full name: `# - where # represents the number of generic parameters. Is this a standard way of decorating generic names? If it is, can you point me to a document that specifies this? (I need it mostly because I'm interested, but I

[Mono-dev] Mono.Cecil

2006-03-30 Thread Armand du Plessis
Hi, Is there a separate list for Mono.Cecil related issues and patches? Cheers, Armand ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] Mono.Cecil

2006-03-30 Thread Jb Evain
Hey, On Mar 30, 2006, at 10:13 AM, Armand du Plessis wrote: Is there a separate list for Mono.Cecil related issues and patches? No there is not. Please use bugzilla to submit bugs, Product Mono Class Libraries, Component Mono.Cecil. Thanks ! Jb