[Mono-dev] Array and IEnumerable
Yopmaster
trouve.antoine at mac.com
Fri Jun 27 01:36:25 EDT 2008
Hello everyone, I'm brand new on this forum.
I'm porting a C# application to mono 1.9 (I'm testing on MacOSX10.5) and I
got some issues. This one occurs during an XML serialization.
I've managed to solve some XML serialization issues by myself before, but
I'm not getting this error, which I suspsect is a bug of the VM:
-------- Begining of the error --------
Fleets.Redefis.Hardware.RDP.XML.RDPL.LUTRDPModule[] doesn't implement
interface
System.Collections.Generic.IEnumerable<Fleets.Redefis.Hardware.RDP.XML.IXMLModule>
** ERROR **: file mini-trampolines.c: line 42
(mono_convert_imt_slot_to_vtable_slot): should not be reached
aborting...
Stacktrace:
[...]
../../working_dir/launchSimu.sh: line 19: 66088 Abort trap
-------- Enf of the error --------
To sum-up, I've a class LUTRDPModule thath implement interface IXMLModule
class LUTRFPModule : IXMLModule {
[...]
}
And an array of LUTRDPModule
LUTModule modules
Which I cast into a Collection
(ICollection<IXMLModule>)modules
It looks like array in Mono are not enumerable, tough they are in .NET.
And the ** ERROR ** looks like a bug in the VM.
Am I wrong ?
Thank you very much
Antoine.
--
View this message in context: http://www.nabble.com/Array-and-IEnumerable-tp18146456p18146456.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list