diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-03-15 19:21:07 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-03-16 15:02:09 +0300 |
commit | e0e93f396d5f084dd2df09f705f1373d99872270 (patch) | |
tree | 1b6feaff307d3313a0b0786cffe3091395c50959 /mcs/class/System/Test | |
parent | 780743d0551e296f46f3a358e8023fa8929a2b6a (diff) |
[System] Rename method parameters to match .NET contract
Diffstat (limited to 'mcs/class/System/Test')
-rw-r--r-- | mcs/class/System/Test/System.Net.Mail/SmtpExceptionTest.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mcs/class/System/Test/System.Net.Mail/SmtpExceptionTest.cs b/mcs/class/System/Test/System.Net.Mail/SmtpExceptionTest.cs index 40c11663fab..64469915dff 100644 --- a/mcs/class/System/Test/System.Net.Mail/SmtpExceptionTest.cs +++ b/mcs/class/System/Test/System.Net.Mail/SmtpExceptionTest.cs @@ -302,14 +302,14 @@ namespace MonoTests.System.Net.Mail { Assert.AreEqual (typeof (ArgumentNullException), ex.GetType (), "#2"); Assert.IsNull (ex.InnerException, "#3"); Assert.IsNotNull (ex.Message, "#4"); - Assert.AreEqual ("info", ex.ParamName, "#5"); + Assert.AreEqual ("serializationInfo", ex.ParamName, "#5"); } } } class MySmtpException : SmtpException { - public MySmtpException (SerializationInfo info, StreamingContext context) - : base (info, context) + public MySmtpException (SerializationInfo serializationInfo, StreamingContext streamingContext) + : base (serializationInfo, streamingContext) { } } |