[301] Argument is not used in format string
Hi,
I have the following Statement in my Programm.
string title =
string.Format("WebTimer: -> -> ",
WebTimerSettings.ClientShort,
Page.User.Identity.Name,
parentName,
currentName);
R# says to me correctly that WebTimerSettings.ClientShort is not used
within the format string and provide me a QuickFix "Remove redundant
argument". When i apply this fix i get
string title =
string.Format("WebTimer: -> -> ",
Page.User.Identity.Name,
parentName,
currentName);
Now R# hints me with Page.User.Identity.Name is not used :) because R#
don't fix the format string for me.
--
Freundliche Grüße
Albert Weinert
http://der-albert.com
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-31689.
Best regards,
- Development Team.