private void AddReturnTypeToCache(IInlineFunction info, Type type) { string functionName = info.Namespace + "." + info.Name; string filePath = info.GetSourceFilePath(); _inlineFunctionReturnTypeCache.Add(functionName, filePath, type); }
private Type GetCachedReturnType(IInlineFunction info) { string functionName = info.Namespace + "." + info.Name; string filePath = info.GetSourceFilePath(); Type type; if (!_inlineFunctionReturnTypeCache.Get(functionName, filePath, out type)) { return(null); } return(type); }
private Type GetCachedReturnType(IInlineFunction info) { string functionName = info.Namespace + "." + info.Name; string filePath = info.GetSourceFilePath(); Type type; if(!_inlineFunctionReturnTypeCache.Get(functionName, filePath, out type)) { return null; } return type; }
private void AddReturnTypeToCache(IInlineFunction info, Type type) { string functionName = info.Namespace + "." + info.Name; string filePath = info.GetSourceFilePath(); _inlineFunctionReturnTypeCache.Add(functionName, filePath, type); }