You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 24, 2018. It is now read-only.
If a method signature or a constructor span multiple lines, and "Initialize ... from parameter" is executed for a parameter on the second or a subsequent line, the new field or property is generated within the method signature or constructor.
Example:
public void DoSomething(int par1,
int par2)
{
}
Calling "Initialize field from parameter" on par2 results in:
public void DoSomething(int par1,
private readonly int par2; //this is always generated one line above the parameter declaration
int par2)
{
this.par2 = par2;
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If a method signature or a constructor span multiple lines, and "Initialize ... from parameter" is executed for a parameter on the second or a subsequent line, the new field or property is generated within the method signature or constructor.
Example:
Calling "Initialize field from parameter" on par2 results in:
The text was updated successfully, but these errors were encountered: