Skip to content

Commit 119419e

Browse files
committed
Rename _self -> _this
1 parent 7dc3cf3 commit 119419e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/DynamoDBGenerator.SourceGenerator/Generations/AttributeExpressionName.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ private static IEnumerable<string> TypeContent(
2727
(bool IsUnknown, DynamoDbDataMember DDB, string DbRef, string AttributeReference, string AttributeInterfaceName)[] dataMembers,
2828
string structName)
2929
{
30-
const string self = "_self";
30+
const string self = "_this";
3131
var constructorFieldAssignments = dataMembers
3232
.Select(x =>
3333
{

src/DynamoDBGenerator.SourceGenerator/Generations/AttributeExpressionValue.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ private static IEnumerable<string> TypeContents(
1818
MarshallerOptions options
1919
)
2020
{
21-
const string self = "_self";
21+
const string self = "_this";
2222
var constructorFieldAssignments = dataMembers
2323
.Select(x => x.IsUnknown
2424
? $"{x.DDB.DataMember.NameAsPrivateField} = new (() => new {x.AttributeReference}({ValueProvider}, {MarshallerOptions.ParamReference}));"

0 commit comments

Comments
 (0)