I was able to port almost all your code to SL4, SL5 & WP. Just was excluded System.Drawing namespace and the HashSet
I just built my own unofficial version of the assamblies. I will wait for the official one, but now I can work ;)
I just have an issue.
Why you do this
Assembly assemblies = AppDomain.CurrentDomain.GetAssemblies();
// first search the 1st assembly (i.e. the mscorlib), then start from the last assembly backward,
// the last assemblies are user defined ones
for(int i = assemblies.Length; i > 0; i--)
Assembly curAssembly = (i == assemblies.Length) ? assemblies : assemblies[i];
Type type = curAssembly.GetType(name, false, true);
if (type != null)
instead just this:
return Type.GetType(name, false, true);
in the GetTypeByName method implementation?