IronRuby.Builtins.RubyClass.CacheFailure C# (CSharp) 메소드

CacheFailure() 개인적인 정적인 메소드

private static CacheFailure ( Type type, string methodName, bool isStatic, int extensionVersion ) : void
type System.Type
methodName string
isStatic bool
extensionVersion int
리턴 void
        private static void CacheFailure(Type/*!*/ type, string/*!*/ methodName, bool isStatic, int extensionVersion) {
            // store failure to the cache if the cache is not owned by another thread:
            var cache = Interlocked.Exchange(ref _clrFailedMemberLookupCache, null);
            if (cache != null) {
                cache[Key.Create(type, methodName, isStatic)] = extensionVersion;
                Interlocked.Exchange(ref _clrFailedMemberLookupCache, cache);
            }
        }