Fix for running against RabbitMQ 2.2
[mono.git] / mcs / class / System.Web / System.Web.Security / MembershipPasswordException.cs
index 6601304818dab7f50015563b311116054f9d1b39..69c3315d0e76014bd86a9f3866dd5c666a5a41ae 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
-
 using System;
 using System.Runtime.Serialization;
+using System.Runtime.CompilerServices;
 
 namespace System.Web.Security
 {
+#if NET_4_0
+       [TypeForwardedFrom ("System.Web, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+#endif
        [Serializable]
        public class MembershipPasswordException : Exception
        {
@@ -47,5 +49,5 @@ namespace System.Web.Security
                }
        }
 }
-#endif
+