//This method is called from native code. If you update the signature, please also update //mscorlib.h and COMUtilNative.cpp internal static void FireCacheEvent() { BCLDebug.Trace("CACHE", "Called FileCacheEvent"); if (m_cacheHandler != null) { m_cacheHandler(null, null); m_cacheHandler = null; } }
internal static void FireCacheEvent() { ClearCacheHandler handler = Interlocked.Exchange <ClearCacheHandler>(ref m_cacheHandler, null); if (handler != null) { handler(null, null); } }
//This method is called from native code. If you update the signature, please also update //mscorlib.h and COMUtilNative.cpp internal static void FireCacheEvent() { BCLDebug.Trace("CACHE", "Called FileCacheEvent"); ClearCacheHandler handler = Interlocked.Exchange <ClearCacheHandler>(ref m_cacheHandler, null); if (handler != null) { handler(null, null); } }
//This method is called from native code. If you update the signature, please also update //mscorlib.h and COMUtilNative.cpp internal static void FireCacheEvent() { BCLDebug.Trace("CACHE", "Called FileCacheEvent"); if (m_cacheHandler!=null) { m_cacheHandler(null, null); m_cacheHandler = null; } }