Thank for you reply , i build the version from http://github.com/jbevain/cecil
, but there is no assemblyfactory definition so i can't load
AssemblyDefinition assembly =
Mono.Cecil.AssemblyFactory.GetAssembly("test.exe");

Any solution for that?

Thanks

On Jun 18, 3:03 pm, Jb Evain <[email protected]> wrote:
> On Fri, Jun 18, 2010 at 4:01 PM, david khan <[email protected]> wrote:
> >          Many thanks for reply, Sorry can you explain about
> > "FirstOrDefault" , i got error monocecil does not contain a definition
> > for "FirstOrDefault" ,  i use library from "http://anonsvn.mono-
> > project.com/source/trunk/mcs/class/Mono.Cecil/" or is there any
> > different build.
>
> I just gave you a link to the repository for Cecil 0.9:
>
> http://github.com/jbevain/cecil
>
> As for FirstOrDefault, it's a LINQ method:
>
> http://msdn.microsoft.com/en-us/library/system.linq.enumerable.firsto...
>
> It requires .net 3.5 though.
>
> --
> Jb Evain  <[email protected]>

-- 
--
mono-cecil

Reply via email to