[Mono-devel-list] [PATCH] Check for assembly attributes

Carlos Alberto Cortez calberto.cortez at gmail.com
Fri Aug 5 15:36:04 EDT 2005


Hey,

I just checked it, and saw that in the .Net docs, it states that
AssemblyName (string name) receives the simple name. However, in the
beta 2, if you pass the long format name, it parses it. 

I think we should keep this change to mcs this way, and wait for this
change in the api (System.Reflection) to be 'official'. On the other
hand, we could just implement the constructor the way .Net does, and the
re-use it.

Carlos.

El vie, 05-08-2005 a las 13:55 +0100, Marek Safar escribió:
> Hello,
> 
> >>>The other things were applied. I attached two test cases. Do you think
> >>>we could need more tests?
> >>> 
> >>>
> >>>      
> >>>
> >>They look fine.
> >>
> >>BTW: Could not we use AssemblyName class from corlib to avoid this 
> >>parsing code ?
> >>
> >>    
> >>
> >
> >Well, yes. That's exactly what I tought. But, we don't have a Parse ()
> >method that takes the assembly name (long format) and retrieves an
> >AssemblyName. At least, I didn't found it ;-)
> >
> >  
> >
> I found string constructor in AssemblyName class which should be exactly 
> what we need.
> 
> Marek
> 




More information about the Mono-devel-list mailing list