Harley Lagunov
11/16/2002 1:59:00 AM
> >How can I define/emit OUT parameter types with reflection emit?
>
> Make it a ref parameter, and then tag it with the
> System.Runtime.InteropServices.OutAttribute.
>
> To get a byref type, use Type.GetType() (or similar GetType method)
> and append an "&" at the end of the type name.
>
If I try to use Type.GetType("MyNamespace.MyClass&") - returns null.
Type.GetType("System.Int32&") - returns int32& :((
Harley.