Skip to content

Commit

Permalink
REvert
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrusNajmabadi committed Jul 20, 2021
1 parent 2e22364 commit 3e65de7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ private void WriteConstructorWithHasErrors(TreeType node, bool isPublic, bool ha
{
if (IsPropertyOverrides(field))
{
WriteLine("_{0} = {1};", field.Name, FieldNullHandling(node, field.Name) == NullHandling.Always ? "null" : ToCamelCase(field.Name));
WriteLine("this._{0} = {1};", field.Name, FieldNullHandling(node, field.Name) == NullHandling.Always ? "null" : ToCamelCase(field.Name));
}
else
{
Expand Down Expand Up @@ -591,7 +591,7 @@ private void WriteConstructorWithoutHasErrors(TreeType node, bool isPublic)
{
if (IsPropertyOverrides(field))
{
WriteLine("_{0} = {1};", field.Name, FieldNullHandling(node, field.Name) == NullHandling.Always ? "null" : ToCamelCase(field.Name));
WriteLine("this._{0} = {1};", field.Name, FieldNullHandling(node, field.Name) == NullHandling.Always ? "null" : ToCamelCase(field.Name));
}
else
{
Expand Down

0 comments on commit 3e65de7

Please sign in to comment.