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/System.Web.Mail/MailMessageWrapper.cs')
-rw-r--r--mcs/class/System.Web/System.Web.Mail/MailMessageWrapper.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/mcs/class/System.Web/System.Web.Mail/MailMessageWrapper.cs b/mcs/class/System.Web/System.Web.Mail/MailMessageWrapper.cs
index d7ab68663da..159c336def8 100644
--- a/mcs/class/System.Web/System.Web.Mail/MailMessageWrapper.cs
+++ b/mcs/class/System.Web/System.Web.Mail/MailMessageWrapper.cs
@@ -33,6 +33,10 @@ using System.Text;
namespace System.Web.Mail {
+#if NET_2_0
+#pragma warning disable 618
+#endif
+
// wraps a MailMessage to make an easier
// interface to work with collections of
// addresses instead of a single string
@@ -248,4 +252,8 @@ namespace System.Web.Mail {
}
#endif
}
+
+#if NET_2_0
+#pragma warning restore 618
+#endif
}