Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@robashton
Copy link

https://bugzilla.novell.com/show_bug.cgi?id=658689

ThreadLocal and ThreadLocalTests

@garuma
Copy link
Contributor

garuma commented Dec 10, 2010

@robashton
Copy link
Author

Fair does, the documentation is a bit ambiguous, and I've resisted the urge to go and reflect it and break the terms of contribution so can't tell for sure what is supposed to happen.

I'll need to keep an eye on this though as it's keeping a project I'm trying to get functional from working - I have a workaround but I am trying to not change any code in order to get it working on Mono (As I shouldn't have to)

@garuma
Copy link
Contributor

garuma commented Dec 10, 2010

A simple workaround to get the same behavior on both Mono and .NET is to explicitly pass () => default(T) factory lambda in ThreadLocal constructor (putting it as a reference)

@robashton
Copy link
Author

Aye, for now I'm going to keep running off this 'fixed' version in hope that a +ve remark comes back from connect, I'll have a dozen more by the end of the week anyway with this project I think :)

luliyi1024 referenced this pull request in luliyi1024/mono Mar 19, 2013
M-L-Ml pushed a commit to M-L-Ml/mono_winforms_porting that referenced this pull request May 28, 2025
M-L-Ml pushed a commit to M-L-Ml/mono_winforms_porting that referenced this pull request May 28, 2025
Fixed mono#36 set System.Drawing.EnableUnixSupport to true by default
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants