module private MyCode = let doSomething (func:int->int) = func 2 type MyCodePublicInterface () = member this.DoSomething (dotNetDelegate:System.Func) = MyCode.doSomething dotNetDelegate.Invoke