projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improved error messages so that it becomes clear where configuration errors come...
[mono.git]
/
mcs
/
class
/
System.Configuration
/
System.Configuration.Provider
/
ProviderBase.cs
diff --git
a/mcs/class/System.Configuration/System.Configuration.Provider/ProviderBase.cs
b/mcs/class/System.Configuration/System.Configuration.Provider/ProviderBase.cs
index dee8456b7b948981e350c1d736373d139f5888e0..66c423c6fbb4262e308f022372b4f046b4e1c281 100644
(file)
--- a/
mcs/class/System.Configuration/System.Configuration.Provider/ProviderBase.cs
+++ b/
mcs/class/System.Configuration/System.Configuration.Provider/ProviderBase.cs
@@
-58,7
+58,7
@@
namespace System.Configuration.Provider
_description = config ["description"];
config.Remove ("description");
}
- if (
_description == null || _description.Length == 0
)
+ if (
String.IsNullOrEmpty (_description)
)
_description = _name;
}