Пример #1
0
 public bool TryResolveSymbolsAndValues(ErrorProvider ep)
 {
     using (ProcedureFinder finder = new ProcedureFinder())
     {
         return(TryResolveSymbolsAndValues(finder, ep));
     }
 }
Пример #2
0
        /// <summary>
        /// Try and resolve all of the unresolved types in the bag.  Return false if the types
        /// couldn't all be resolved
        /// </summary>
        public bool TryResolveSymbolsAndValues(ProcedureFinder finder, ErrorProvider ep)
        {
            // Try and resolve the proc name
            foreach (var proc in NativeProcedures)
            {
                if (string.IsNullOrEmpty(proc.DllName))
                {
                    finder.TryFindDllNameExact(proc.Name, out proc.DllName);
                }
            }

            return(ResolveCore(ep));
        }