You've already forked linux-packaging-mono
Imported Upstream version 3.8.0
Former-commit-id: 6a76a29bd07d86e57c6c8da45c65ed5447d38a61
This commit is contained in:
@@ -628,7 +628,11 @@ namespace System
|
||||
|
||||
result = default (TEnum);
|
||||
|
||||
if (value == null || value.Trim ().Length == 0)
|
||||
if (value == null)
|
||||
return false;
|
||||
|
||||
value = value.Trim ();
|
||||
if (value.Length == 0)
|
||||
return false;
|
||||
|
||||
return Parse (tenum_type, value, ignoreCase, out result);
|
||||
|
||||
Reference in New Issue
Block a user