tags:

views:

31

answers:

0

I have a method with a default parameter:

void Test(int? iRange = null);

When trying to expose my class to COM, I get a warning:

Type library exporter encountered an generic type instance in a signature. Generic code may not be exported to COM. Is it possible to some how expose this method?

Edit Sorry, i think this is to do with the nullable parameter (not the default parameter) I copied the original method signature incorrectly.