2 using System.Reflection;
7 var src = Path.GetDirectoryName (typeof (Driver).Assembly.Location);
8 var dep_asm = Assembly.UnsafeLoadFrom (Path.Combine (src, "reflection-load-with-context-lib.dll"));
9 var type = dep_asm.GetType ("B.ClassB");
10 var attr_type = dep_asm.GetType ("B.MyAttribute");
13 Activator.CreateInstance (type);
19 type.GetCustomAttributes (attr_type, false);