* ProtocolImporter.cs, HttpSimpleProtocolImporter.cs,
SoapProtocolImporter.cs : make classes partial in 2.0 profile.
svn path=/trunk/mcs/; revision=106980
+2008-07-01 Atsushi Enomoto <atsushi@ximian.com>
+
+ * ProtocolImporter.cs, HttpSimpleProtocolImporter.cs,
+ SoapProtocolImporter.cs : make classes partial in 2.0 profile.
+
2008-06-10 Vladimir Krasnov <vladimirk@mainsoft.com>
* ProtocolReflector.cs: fixed ImportBinding method, ports with the same
httpBinding = (HttpBinding) Binding.Extensions.Find (typeof(HttpBinding));
CodeTypeDeclaration codeClass = new CodeTypeDeclaration (ClassName);
+#if NET_2_0
+ codeClass.IsPartial = true;
+#endif
string location = null;
if (Port != null) {
string argsClassName = classNames.AddUnique (messageName + "CompletedEventArgs", null);
CodeTypeDeclaration argsClass = new CodeTypeDeclaration (argsClassName);
+#if NET_2_0
+ argsClass.IsPartial = true;
+#endif
argsClass.BaseTypes.Add (new CodeTypeReference ("System.ComponentModel.AsyncCompletedEventArgs"));
CodeMemberField resultsField = new CodeMemberField (typeof(object[]), "results");
soapBinding = (SoapBinding) Binding.Extensions.Find (typeof(SoapBinding));
CodeTypeDeclaration codeClass = new CodeTypeDeclaration (ClassName);
-
+#if NET_2_0
+ codeClass.IsPartial = true;
+#endif
+
string location = null;
if (Port != null) {