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

Francisco Figueiredo Jr. fxjrlists at yahoo.com.br
Wed Apr 13 23:10:22 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Carlos Alberto Cortez wrote:
> 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.
> 


Hi Carlos,

I think this is already fixed. I'm running your sample from svn of
2005-04-13 23:55, localtime GMT-3 and I get the expected result: 10

Please, update your svn and give it a try.

Thanks for reporting.


- --
Regards,

Francisco Figueiredo Jr.
Npgsql Lead Developer
http://gborg.postgresql.org/project/npgsql
MonoBrasil Project Founder Member
http://monobrasil.softwarelivre.org


- -------------
"Science without religion is lame;
religion without science is blind."

                  ~ Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQEVAwUBQl3fHf7iFmsNzeXfAQI1pgf/QmdAna8YNHC5Z4JjBOjjscQa/iqkVnnx
1hTNZoxvNEaAyUU0T9l2AmWtrzcIfBay4pACpQ/PYPvQS8t0rVZQUsZVQCF/K4US
2hl4xyAK72znxvgXxf/t6fDMqhNuxY9y4ItjxZyXzhDkGSxhekUcphpa53YKWqHu
T74YRF/ntZkWMBPmj6RHCMHyezMyYBR0iYfToc3j3SMVZeUt40vGfcBVtVNPER4y
+77ntCn5LGwTPyMDRN5msOOlioYIAbyeuLiX4mKNP47qvtQUBOsQLGvlwqSboOM5
kVtfhSZZ7/GTr4S7pXPbhJOaAW4fXqjht6W2IdAxZj9CyYv31Br0rg==
=TKr7
-----END PGP SIGNATURE-----




More information about the Mono-devel-list mailing list