[Mono-devel-list] [PATCH] Bug Fix for GetTickCount in WAPI IO Layer

Ben Maurer bmaurer at ximian.com
Mon Feb 28 14:51:15 EST 2005

> Yes, sure. I can do that. However, I'm a little unsure if I should
> bother with all of these changes if they're not going to be committed
> anyway. I know of at least a few people who have mistakenly used
> System.Environment.TickCount and complained it didn't work the
> way they expected it to on Mono. That's why I set out to see if I
> could fix it in the first place.

What applications are doing this? They should be aware that their program
*does not work* on the msft platform or on mono. It will start giving
bogus results after 23-24 days or something (the .net version has half the
resolution of the native one, because it is signed and we do not use the
negative bits).

We should document this in monodoc. Also, if this method is in the ECMA
spec, it would be nice to get a warning measured there.

-- Ben

More information about the Mono-devel-list mailing list