private void ClearScopeDependentMemoizedFunctions() { _findImplicitConversionOperator.Clear(); _findExplicitConversionOperator.Clear(); }
public void ClearResolutionCacheFor(string name) { _resolveName.Clear(name); }
void ClearResolutionCache() { _resolveName.Clear(); _resolveExtensionFor.Clear(); }
public CallableResolutionService() : base(CompilerContext.Current) { _calculateArgumentScore = new MemoizedFunction <IType, IType, int>(CalculateArgumentScore); My <CurrentScope> .Instance.Changed += (sender, args) => _calculateArgumentScore.Clear(); }