Skip to content

Commit

Permalink
fix source of indeterminism in xaml compiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
danwalmsley committed May 9, 2022
1 parent 471aa28 commit f31f644
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ IXamlMethod Get()
return cached.get;
}

var name = lst.Count == 0 ? key : key + "_" + Guid.NewGuid().ToString("N");
var name = lst.Count == 0 ? key : key + "_" + context.Configuration.IdentifierGenerator.GenerateIdentifierPart();

var field = _builder.DefineField(types.IPropertyInfo, name + "!Field", false, true);

Expand Down

0 comments on commit f31f644

Please sign in to comment.