コード例 #1
0
        public AssemblyEmbedder(BuildModule module)
        {
            if (module == null)
            {
                throw new ArgumentNullException("module");
            }

            _module  = module;
            _storage = module.ResourceStorage;
        }
コード例 #2
0
        public ILCryptoBlobBuilder(BuildAssembly assembly, HashList <string> strings)
        {
            if (assembly == null)
            {
                throw new ArgumentNullException("assembly");
            }

            if (strings == null)
            {
                throw new ArgumentNullException("strings");
            }

            _module  = (BuildModule)assembly.Module;
            _strings = strings;
            _storage = assembly.ResourceStorage;
        }
 internal MainTypeFunctionPointerBuilder(BuildModule module)
 {
     _module          = module;
     _mainType        = module.MainType;
     _resourceStorage = _module.ResourceStorage;
 }