diff --git a/source/System/Reflection/Assembly.cs b/source/System/Reflection/Assembly.cs index e7899bd8..b5df222d 100644 --- a/source/System/Reflection/Assembly.cs +++ b/source/System/Reflection/Assembly.cs @@ -127,7 +127,7 @@ public virtual Type GetType(String name, bool throwOnError) { var type = GetType(name); - if (type == null) throw new ArgumentException(); + if ( (type == null) && (throwOnError) ) throw new ArgumentException(); return type; }