mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-07 08:45:12 +00:00
Fixing obnoxious bug from unsupported features in Type.GetType
This commit is contained in:
@@ -53,7 +53,7 @@ namespace ICD.Common.Utils.Extensions
|
||||
}
|
||||
|
||||
// Find the smallest possible name representation for the type that will still resolve
|
||||
string name = Type.GetType(type.FullName, false, true) == null
|
||||
string name = Type.GetType(type.FullName) == null
|
||||
? type.AssemblyQualifiedName
|
||||
: type.FullName;
|
||||
|
||||
@@ -72,7 +72,7 @@ namespace ICD.Common.Utils.Extensions
|
||||
throw new ArgumentNullException("extends");
|
||||
|
||||
string value = extends.GetValueAsString();
|
||||
return Type.GetType(value, false, true);
|
||||
return Type.GetType(value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user