This sounds like what happens when you compile the F# code as an application (.exe) rather than a library (.dll). As an exe, the initialization code goes into 'main', which isn't run when referenced as a library.

By on 9/19/2010 9:14 PM ()

:)

thank you

i understanrd why reflector show me

// Methods

public static void main@()

{

List<int> lst = lst@297 = new List<int>((IEnumerable<int>) SeqModule.ToList<int>(new MyFSharp.lst@297(0, null, 0, 0)));

}

when i complie to an .exe

thank you brianmcn

By on 9/19/2010 9:24 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper