Hi,
I think I've found a bug in "extract method" with C# language.
I've tried it on the following code (it's in bold):
IstanceOf_MyClass = new MyClass( Param ) ;
Here is what I get:
IstanceOf_MyClass = GetMyClassObj( Param ) ; // New function call
MyClass& GetMyClassObj( string Param ) // New function from Visual Assist
{
return new MyClass( Param );
}
The code above is wrong because the & command doesn't exists in C#.
Thanks, Luca