We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 91818ef + 653b779 commit 990170eCopy full SHA for 990170e
1 file changed
src/runtime/assemblymanager.cs
@@ -400,7 +400,7 @@ public static AssemblyName[] ListAssemblies()
400
401
public static bool IsValidNamespace(string name)
402
{
403
- return namespaces.ContainsKey(name);
+ return !String.IsNullOrEmpty(name) && namespaces.ContainsKey(name);
404
}
405
406
//===================================================================
@@ -483,4 +483,4 @@ public static Type LookupType(string qname)
483
return null;
484
485
486
-}
+}
0 commit comments