[Mono-devel-list] [PATCH] Warn on lock (string) or lock (typeof(Foo))

Ben Maurer bmaurer at ximian.com
Fri May 27 16:15:03 EDT 2005

On Fri, 2005-05-27 at 21:46 +0200, Kornél Pál wrote:
> > The attached patch makes mcs emit an added-value warning: it warns when
> > you lock on a string or System.Type.
> Does this type of locks have the same side effects on .NET Framework as
> well?

Yes. (Actually, the string/type shared xappdomain is *only* in the msft
framework today, however we might/should/could have it in the future).

-- Ben

More information about the Mono-devel-list mailing list