On 02/22/05 Eddy Young wrote:
> The ThreadAttribute does not seem to be working properly on Windows, Linux
> and Mac OS X. In the following code, s2 returns a null value when compiled
> with Mono, but returns the correct value when compiled with MS .NET.
[...]
> {
>       [ThreadStatic]
>       private static string _testString;
> 
>       public static string Current
>       {
>               get { return _testString; }
> 
>               set { _testString = value; }
>       }
> }

It works fine. What version of mono are you using?

lupus

-- 
-----------------------------------------------------------------
[EMAIL PROTECTED]                                     debian/rules
[EMAIL PROTECTED]                             Monkeys do it better
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to