Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
TimeSpan seems to be broken.
When doing for instance TimeSpan.FromMinutes(1).TotalMilliseconds, it returns '0' the same is true also for all other "Total" properties on TimeSpan.
I verified TimeSpan.FromMinutes(1).TotalMilliseconds correctly returns 60 by the example code below, based on the default application project, replacing button.Click event content with:
button.Text = TimeSpan.FromMinutes (1).TotalSeconds.ToString ();
If you still see broken Total* values, please provide actual code that results in that.
With the latest version this now seems to work.
(The debugger in Visual Studio, still displays 0 for all those values when hovering over a timespan variable though, but when assigning to another variable it gets the correct value.)