* WebConfigurationManager.cs: make sure no nrex happens in
GetSectionCacheKey ()
svn path=/trunk/mcs/; revision=128251
+2009-02-28 Marek Habersack <mhabersack@novell.com>
+
+ * WebConfigurationManager.cs: make sure no nrex happens in
+ GetSectionCacheKey ()
+
2009-02-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WebConfigurationManager.cs: generate a hash from the string hsah
static int GetSectionCacheKey (string sectionName, string path)
{
- return sectionName.GetHashCode () ^ (path.GetHashCode () + 37);
+ return (sectionName != null ? sectionName.GetHashCode () : 0) ^ ((path != null ? path.GetHashCode () : 0) + 37);
}