I am not stuck with this problem - I made a workaround, by creating a new abstract class in c#, which doesn't seem to have this problem. (If it had, I think the shadowing 'Module' property in System.Type had been removed before .Net was released.)

public abstract class TypeRedirection : System.Type
{
public TypeRedirection()
: base()
{ }

public override System.Reflection.Module Module
{
get { return this.ModuleRedirected; }
}

public abstract System.Reflection.Module ModuleRedirected
{
get;
}
}

By on 1/15/2009 3:27 PM ()

Good workaround.

This is an F# compiler bug, which I've just logged. Thanks!

By on 1/15/2009 5:43 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