Skip to content

Commit

Permalink
Merge pull request AvaloniaUI#8103 from AvaloniaUI/fixes/deterministi…
Browse files Browse the repository at this point in the history
…c-builds

Fixes/deterministic builds
  • Loading branch information
danwalmsley authored May 9, 2022
2 parents 471aa28 + f31f644 commit 4dc6f60
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 4dc6f60

Please sign in to comment.