internal HxlCompilerResults(IHxlInternalCompilerResults nativeCompilerResults)
        {
            if (nativeCompilerResults == null)
            {
                throw new ArgumentNullException("nativeCompilerResults");
            }

            _nativeCompilerResults = nativeCompilerResults;

            Assembly asm = null;

            try {
                asm = nativeCompilerResults.CompiledAssembly;
            } catch (FileNotFoundException) {
            }

            if (asm == null)
            {
                _compiledTemplates = HxlCompiledTemplateInfoCollection.Empty;
            }
            else
            {
                _compiledTemplates = new HxlCompiledTemplateInfoCollection(asm);
            }
        }
 private HxlCompiledTemplateInfoCollection RequireMap()
 {
     if (_items == null)
     {
         _items = new HxlCompiledTemplateInfoCollection(assembly);
     }
     return(_items);
 }