Merge pull request #4453 from lambdageek/bug-49721
[mono.git] / mcs / class / System.ServiceModel / System.ServiceModel / ServiceHostBase.cs
index 29a3d4aba6d72c5328cb908ee67a835a54b8f677..1a84cecc5842e18f6e3e6df25253cbea370641fd 100644 (file)
@@ -492,9 +492,9 @@ namespace System.ServiceModel
                                throw new InvalidOperationException ("The ServiceHost must have at least one application endpoint (that does not include metadata exchange endpoint) defined by either configuration, behaviors or call to AddServiceEndpoint methods.");
                }
 
-               protected void LoadConfigurationSection (ServiceElement element)
+               protected void LoadConfigurationSection (ServiceElement serviceSection)
                {
-                       ApplyServiceElement (element);
+                       ApplyServiceElement (serviceSection);
                }
 
                protected override sealed void OnAbort ()