Skip to content

Commit

Permalink
Order references to make BAML deterministic
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaeIDietrich committed Jan 30, 2021
1 parent e35a236 commit cff984a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Reflection;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
Expand Down Expand Up @@ -93,7 +94,7 @@ private void AddReferencedAssemblies()
List<Assembly> interestingAssemblies = new List<Assembly>();

// Load all the assemblies into a list.
foreach(string assemblyName in _assemblyPathTable.Keys)
foreach(string assemblyName in _assemblyPathTable.Keys.OfType<string>().OrderBy(s => s))
{
bool hasCacheInfo = true;
Assembly assy;
Expand Down

0 comments on commit cff984a

Please sign in to comment.