Skip to content

Commit d40e79a

Browse files
committed
Remove duplicated pound sign
1 parent 3ab2aea commit d40e79a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DynamoDBGenerator.SourceGenerator/Generations/AttributeExpressionName.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ private static IEnumerable<string> TypeContent(
5757

5858
var yields = dataMembers
5959
.Select(static x => x.IsUnknown
60-
? $@"if ({x.NameRef}.IsValueCreated) {{ yield return new (""#{x.DbRef}"", ""{x.DDB.AttributeName}""); foreach (var x in ({x.DDB.DataMember.Name} as {x.AttributeInterfaceName}).{AttributeExpressionNameTrackerInterfaceAccessedNames}()) {{ yield return x; }} }}"
61-
: $@"if ({x.NameRef}.IsValueCreated) yield return new (""#{x.DbRef}"", ""{x.DDB.AttributeName}"");"
60+
? $@"if ({x.NameRef}.IsValueCreated) {{ yield return new (""{x.DbRef}"", ""{x.DDB.AttributeName}""); foreach (var x in ({x.DDB.DataMember.Name} as {x.AttributeInterfaceName}).{AttributeExpressionNameTrackerInterfaceAccessedNames}()) {{ yield return x; }} }}"
61+
: $@"if ({x.NameRef}.IsValueCreated) yield return new (""{x.DbRef}"", ""{x.DDB.AttributeName}"");"
6262
)
6363
.Append($@"if ({self}.IsValueCreated) yield return new ({self}.Value, ""{typeSymbol.Name}"");");
6464

0 commit comments

Comments
 (0)