Fix Gendarme rule Gendarme.Rules.Concurrency.DoNotUseLockedRegionOutsideMethodRule