Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.Web.Services/System.Web.Services.Configuration/WebServicesConfigurationSectionHandler.cs')
-rw-r--r--mcs/class/System.Web.Services/System.Web.Services.Configuration/WebServicesConfigurationSectionHandler.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mcs/class/System.Web.Services/System.Web.Services.Configuration/WebServicesConfigurationSectionHandler.cs b/mcs/class/System.Web.Services/System.Web.Services.Configuration/WebServicesConfigurationSectionHandler.cs
index 5f92aa7ab2f..f8eb5badd98 100644
--- a/mcs/class/System.Web.Services/System.Web.Services.Configuration/WebServicesConfigurationSectionHandler.cs
+++ b/mcs/class/System.Web.Services/System.Web.Services.Configuration/WebServicesConfigurationSectionHandler.cs
@@ -346,6 +346,7 @@ namespace System.Web.Services.Configuration
ThrowException ("Only elements allowed", child);
string name = child.Name;
+ string error;
if (name == "add") {
string seType = AttValue ("type", child, false);
string priority = AttValue ("priority", child);
@@ -389,6 +390,7 @@ namespace System.Web.Services.Configuration
ThrowException ("Only elements allowed", child);
string name = child.Name;
+ string error;
if (name == "add") {
string typeName = AttValue ("name", child, false);
if (child.Attributes != null && child.Attributes.Count != 0)