public void AddAssembly()
        {
            TypeManager manager = new TypeManager();

            manager.AddAssembly(Assembly.GetAssembly(typeof(TypeManagerTestCase)));

            Assert.IsNull(manager.ResolveType("System.String"));
            Assert.AreEqual(typeof(TypeManagerTestCase), manager.ResolveType("TypeManagerTestCase"));
        }
        public override void OnImportDirective(ImportDirective import)
        {
            base.OnImportDirective(import);

            if (import.AssemblyReference != null)
            {
                _typeManager.AddAssembly(import.AssemblyReference.ResolvedAssembly);
            }
        }