Commit 6ae361f
Fix equality comparison for StringText
This being a container for a source string, while identical StringTexts will have the same GetHashCode(), it fails for equality testing because a StringText object is compared to the other's source text, which is always false.
The comparison to string behavior is retained.1 parent cc618bf commit 6ae361f
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
| |||
0 commit comments