summaryrefslogtreecommitdiff
path: root/testing/mono/bug434892.patch
blob: d4f46f68c82a1f509a328044d5df116b0fd8b0ad (plain)
1
2
3
4
5
6
7
8
9
10
11
--- trunk/mcs/class/System.Web.Services/System.Web.Services.Description/BasicProfileChecker.cs	2008/07/01 20:17:46	107006
+++ trunk/mcs/class/System.Web.Services/System.Web.Services.Description/BasicProfileChecker.cs	2008/10/28 09:32:46	117243
@@ -177,7 +177,7 @@
 				foreach (OperationMessage om in op.Messages) {
 					Message msg = ctx.Services.GetMessage (om.Message);
 					foreach (MessagePart part in msg.Parts)
-						parts.Add (part,part);
+						parts [part] = part; // do not use Add() - there could be the same MessagePart instance.
 				}
 			}