mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
Fixing obnoxious bug from unsupported features in Type.GetType
This commit is contained in:
parent
1ac5e26992
commit
d295aa4591
1 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue