+2005-11-28 Chris Toshok <toshok@ximian.com>
+
+ * SmtpClient.cs: ignore warning 618 (obsolete) when compiling an
+ already obsolete api (in the 2.0 case).
+
+ * MailAttachment.cs: same.
+
+ * MailMessageWrapper.cs: same.
+
+ * MailMessage.cs: same.
+
2005-09-15 Gert Driesen <drieseng@users.sourceforge.net>
* MailPriority.cs: Marked obsolete in 2.0 profile. Fixed line endings.
namespace System.Web.Mail
{
+#if NET_2_0
+#pragma warning disable 618
+#endif
// CAS
[AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
get { return encoding; }
}
}
+#if NET_2_0
+#pragma warning restore 618
+#endif
}
namespace System.Web.Mail
{
+#if NET_2_0
+#pragma warning disable 618
+#endif
// CAS
[AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
}
#endif
}
+#if NET_2_0
+#pragma warning restore 618
+#endif
}
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
}
#endif
}
+
+#if NET_2_0
+#pragma warning restore 618
+#endif
}
using System.Security.Permissions;
namespace System.Web.Mail {
+#if NET_2_0
+#pragma warning disable 618
+#endif
/// represents a conntection to a smtp server
internal class SmtpClient {
}
-
+#if NET_2_0
+#pragma warning restore 618
+#endif
}
namespace System.Web.Mail
{
+#if NET_2_0
+#pragma warning disable 618
+#endif
// CAS
[AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
Send (message);
}
}
+#if NET_2_0
+#pragma warning restore 618
+#endif
}