static private Type GetLegacyType(string typeString) {
Type type = null;
//
// Ignore all exceptions, otherwise callers will get unexpected
// exceptions not related to the original failure to load the
// desired type.
//
try {
Assembly systemAssembly = typeof(ConfigurationException).Assembly;
type = systemAssembly.GetType(typeString, false);
}
catch {
}
return type;
}