Skip to content

Commit 335b1a9

Browse files
authored
Update field references in property accessors (#108225)
1 parent d6ac24c commit 335b1a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libraries/System.Runtime.Loader/tests/ApplyUpdate/System.Reflection.Metadata.ApplyUpdate.Test.AddLambdaCapturingThis/AddLambdaCapturingThis.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public AddLambdaCapturingThis()
1212
field = "abcd";
1313
}
1414

15-
public string GetField => field;
15+
public string GetField => this.field;
1616

1717
private string field;
1818

src/libraries/System.Runtime.Loader/tests/ApplyUpdate/System.Reflection.Metadata.ApplyUpdate.Test.AddLambdaCapturingThis/AddLambdaCapturingThis_v1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public AddLambdaCapturingThis()
1212
field = "abcd";
1313
}
1414

15-
public string GetField => field;
15+
public string GetField => this.field;
1616

1717
private string field;
1818

0 commit comments

Comments
 (0)