You've already forked linux-packaging-mono
Imported Upstream version 4.4.2.4
Former-commit-id: 92904c9c5915c37244316e42ba99e7b934ed7ee2
This commit is contained in:
parent
589d484eee
commit
0b4a830db1
@@ -69,6 +69,11 @@ namespace System.Configuration
|
||||
public virtual Type GetConfigType (string typeName, bool throwOnError)
|
||||
{
|
||||
Type type = Type.GetType (typeName);
|
||||
|
||||
// This code is in System.Configuration.dll, but some of the classes we might want to load here are in System.dll.
|
||||
if (type == null)
|
||||
type = Type.GetType (typeName + ",System");
|
||||
|
||||
if (type == null && throwOnError)
|
||||
throw new ConfigurationErrorsException ("Type '" + typeName + "' not found.");
|
||||
return type;
|
||||
|
Reference in New Issue
Block a user