http://bugzilla.novell.com/show_bug.cgi?id=516676
User [email protected] added comment http://bugzilla.novell.com/show_bug.cgi?id=516676#c1 Chris Halse Rogers <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Chris Halse Rogers <[email protected]> 2009-06-25 19:46:40 MDT --- For added strangeness that will possibly help you track this down I have the following snippets of my attempts to work around this bug in the GNOME Do plugins code: This snippet builds: Services.Application.RunOnThread ( () => { /* Mono 2.4 bug hack * This can't use using () due to some crazy-wierd scoping problem. * See https://bugzilla.novell.com/show_bug.cgi?id=516676 for details. */ IEnumerable<IFileItem> temp = uploads; UploadPool uploadQueue = new UploadPool (tags); try { foreach (IFileItem photo in uploads) uploadQueue.EnqueueUpload (photo); uploadQueue.BeginUploads (); } finally { uploadQueue.Dispose (); } }); This snippet: Services.Application.RunOnThread ( () => { /* Mono 2.4 bug hack * This can't use using () due to some crazy-wierd scoping problem. * See https://bugzilla.novell.com/show_bug.cgi?id=516676 for details. */ UploadPool uploadQueue = new UploadPool (tags); IEnumerable<IFileItem> temp = uploads; try { foreach (IFileItem photo in uploads) uploadQueue.EnqueueUpload (photo); uploadQueue.BeginUploads (); } finally { uploadQueue.Dispose (); } }); fails, with "error CS0165: Use of unassigned local variable `uploads'" -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
