Пример #1
0
        public void SetSystemModuleName(AssemblyName name)
        {
            PEReader peReader = _typeSystemContext._resolver.Resolve(name.Name);

            if (peReader is null)
            {
                throw new VerifierException("Assembly or module not found: " + name.FullName);
            }
            _typeSystemContext.SetSystemModule(_typeSystemContext.GetModule(peReader));
        }
Пример #2
0
 public void SetSystemModuleName(AssemblyName name)
 {
     _typeSystemContext.SetSystemModule(_typeSystemContext.GetModule(_typeSystemContext._resolver.Resolve(name)));
 }