[326] Bad behavior of Change Signature
Hello, given this class:
namespace RS.Test
{
public class OneTest
{
string test = "";
public
OneTest()
{
}
public static string
Method(string test)
{
OneTest t = new OneTest();
return t.ToString();
}
}
}
If I Modify the OneTest() constructor to add an string parameter with name
test and default value test i get this:
namespace RS.Test
{
public class OneTest
{
string test = "";
public
OneTest(string test)
{
}
public static string
Method(string test)
{
OneTest t = new OneTest(this.test); // <----- Notices the this in the
static method.
return t.ToString();
}
}
}
Regards,
Pablo
--
Once a ruler becomes religious, it impossible for you to debate
with
him. Once someone rules in the name of religion, your lives become hell.
-- Colonel Moammar Qaddafi,
-- at the General People's Congress in Tripoli in October, 1989
Pablo Montilla
www.odyssey.com.uy
Please sign in to leave a comment.
Hello,
We appreciate your feedback.
The corresponding JIRA request has been created, and you are welcome to monitor
its status at http://www.jetbrains.net/jira/browse/RSRP-34371.
Best regards,
- Development Team.