Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 1646: error in $MethodArgName$ macro
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Aug 07 2008 :  2:58:43 PM  Show Profile  Reply with Quote
I am using the following customization for "Refactor Document Method" but I guess it happens with the default one too: some method arguments cause emtpy values. The type Dictionary<String, String> for example causes one emtpy line; or better, any generic with more than one parameter causes one emtpy line for every aditional parameter. Interesstingly it does not happen for the return type.

/// <summary>
/// 
/// </summary>
/// <param name="$MethodArgName$"></param>
/// <returns>$SymbolType$</returns>


Using Document Method on this:
void FuncX(Dictionary<String, String> paramX){}


Produces:
/// <summary>
/// 
/// </summary>
/// <param name=""></param>
/// <param name="paramX"></param>
/// <returns>void</returns>


I have seen cases where instead of the parameters name, the type + name appear. But i cant repro it reliably, seems to be related to newly created classes.

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Aug 07 2008 :  4:33:10 PM  Show Profile  Reply with Quote
Just ended up with the following:

/// <summary>
/// 
/// </summary>
/// <param name="Dictionary<String"></param>
/// <param name="arCurrent"></param>
/// <param name="arNew"></param>
/// <returns>Dictionary<String, CollectorSecurityInfo></returns>
private Dictionary<String, CollectorSecurityInfo> ListNewMachines(Dictionary<String, CollectorSecurityInfo> arCurrent, List<CollectorInformation> arNew) {}
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Aug 11 2008 :  09:40:47 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=1356

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000