public static Type FindTypeByName(string name, bool ignoreCase) { int num1; Type type1 = null; for (num1 = 0; ((type1 == null) && (num1 < ScriptCompiler.m_Assemblies.Length)); ++num1) { type1 = ScriptCompiler.GetTypeCache(ScriptCompiler.m_Assemblies[num1]).GetTypeByName(name, ignoreCase); } if (type1 == null) { type1 = ScriptCompiler.GetTypeCache(Core.Assembly).GetTypeByName(name, ignoreCase); } return(type1); }