Commit 03a6e09
committed
fix(expressions): replace System.Collections.Generic.ReferenceEqualityComparer with hand-rolled comparer
ReferenceEqualityComparer was added in .NET 5 and isn't in UWP's BCL.
A tiny IEqualityComparer<ExpressionNode> using ReferenceEquals + the
identity hash from RuntimeHelpers gives the same semantics with no
framework dependency, so the new UWP CompositionExpressions assembly
compiles cleanly.1 parent 0500e7a commit 03a6e09
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
86 | 96 | | |
87 | 97 | | |
88 | 98 | | |
| |||
0 commit comments