Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Edited Issue: UpForGrabs: Use non-obsolete Monitor.Enter methods [424]

$
0
0
LockedAssemblyCache currently has this code:

internal LockedAssemblyCache(object lockObject, Dictionary<Assembly, ImmutableAssemblyCacheEntry> globalAssemblyCache)
{
_lockObject = lockObject;
_globalAssemblyCache = globalAssemblyCache;
#pragma warning disable 0618
//@TODO: This overload of Monitor.Enter is obsolete. Please change this to use Monitor.Enter(ref bool), and remove the pragmas -- ericeil
Monitor.Enter(_lockObject);
#pragma warning restore 0618
}

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>