System.Configuration.TypeUtil.GetLegacyType C# (CSharp) Method

GetLegacyType() static private method

static private GetLegacyType ( string typeString ) : Type
typeString string
return System.Type
        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;
        }