This issue has been created from an NNTP article.
Hi
How is the Suggest Parameter of Type live template macro supposed to work?
As far as I understand, it should suggest a method parameter of the given
type.
However if I specify the type as System.String, it suggests "string" instead
of a parameter name.
Example:
I expected:
public void MyMethod(string name) {
if (string.IsNullOrEmpty(name)) {
}
}
But I get:
public void MyMethod(string name) {
if (string.IsNullOrEmpty(string)) {
}
}
Best regards
Jakob Christensen