Is there a .Net StyleCop rule which warns about lock(this), lock(typeof, lock(<string obj>, etc.?
Posted
by Hamish Grubijan
on Stack Overflow
See other posts from Stack Overflow
or by Hamish Grubijan
Published on 2010-05-31T20:15:54Z
Indexed on
2010/05/31
20:23 UTC
Read the original article
Hit count: 176
These 3 types of lock are apparently bad. What other type of locking is bad? Are there Stylecop / FxCop rules that would catch this? If not, then would you please help me with a custom rule implementation? They code for all of them must be similar, right?
Thank you.
© Stack Overflow or respective owner