Skip to content

Commit

Permalink
fix(xamlgenerator): fix syntax error when using x:Uid
Browse files Browse the repository at this point in the history
  • Loading branch information
ramezgerges committed Nov 21, 2024
1 parent 23feb21 commit 6b6eb02
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -782,10 +782,12 @@ private void BuildGenericControlInitializerBody(IndentedStringBuilder writer, Xa
{
RegisterAndBuildResources(writer, topLevelControl, isInInitializer: false);
BuildProperties(writer, topLevelControl, isInline: false, useBase: true);
BuildInlineLocalizedProperties(writer, topLevelControl, topLevelControlType, isInInitializer: false);

writer.AppendLineIndented(";");

writer.AppendLineIndented("");
BuildInlineLocalizedProperties(writer, topLevelControl, topLevelControlType, isInInitializer: false);

writer.AppendLineIndented("");
writer.AppendLineIndented("this");

Expand Down

0 comments on commit 6b6eb02

Please sign in to comment.