On 30.08.2016 00:05, Jonathan Mitchell wrote:
Hi
I am using https://github.com/robert-j/Mono.Embedding to implement universal
delegate callbacks to Obj-C.
I treat the delegate objects as if they are nested classes (which is how they
sort of present themselves to my reflection code).
However when generating a method signature it seems that the nested delegate
requires a / separator as opposed to a +.
Method name: Dubrovnik.UnitTests.ReferenceObject:InvokeSimpleDelegate
(Dubrovnik.UnitTests.ReferenceObject/SimpleDelegate)
There is no mention of this here
https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname.aspx.
Is this a just Mono-ism or am I missing something?
IIRC, this is a feature of the mono_method_desc* APIs.
Nested types are separated by "/" in theses APIs.
Robert
_______________________________________________
Mono-list maillist - [email protected]
http://lists.dot.net/mailman/listinfo/mono-list