[Mono-devel-list] Problems with Array.AsReadOnly

Carlos Alberto Cortez calberto.cortez at gmail.com
Wed Apr 13 19:59:04 EDT 2005


Hello,

With mono from svn (updated a day ago) I'm getting a NullReferenceError
when trying to use a IList returned by Array.AsReadOnly<T>. 

I've tried to see what happend, and ReadOnlyArray (internal
representation) is working well, so I can only think that something is
working bad in the runtime.

Attached is a sample.

Carlos.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AsReadOnly.cs
Type: text/x-csharp
Size: 227 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050413/79ffa719/attachment.bin 


More information about the Mono-devel-list mailing list