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