[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fri, 25 Jun 2004 10:41:53 -0400
Can we get a version of System.Reflection.Emit.UnmanagedMarshal.DefineCustom,
for pnet please?
Paolo implemented a version for Mono that is very useful to us. Details
I tried to use the DefineUnmanagedMarshal static method, but that is only
meant for simple types apparently. The other option was to use a
CustomAttributeBuilder, but this did not work with mono and pnet hasn't
implemented it yet. I imagine CustomAttributeBuilder is the correct way to
do this with .NET since they don't have a DefineCustom either.
PS Actually, what would be best would be a CustomAttributeBuilder for both
which allowed a MarshalByRef CustomMarshaler to be attached via
Reflection.Emit .. This is how MS.NET handles it AFAIK.
|[Prev in Thread]
||[Next in Thread]|
Adam Treat <=