If I define an interface like this:
type IFoo =
interface
abstract Method: int*string -> string
end
then the resulting signature (as seen in reflector) is
interface IFoo
{
string Method( int, string );
}
Note absence of parameter names (well, I did not specify any, did I).
When I try to expose this interface as a WCF contract, WCF does not like it. It is not designed for parameters without a name, and throws an ArgumentNullException.
Question: how do I define parameter names for an interface method?
abstract member Method(x:int, y:string) -> string
does not work
TIA