()
| 89 | } |
| 90 | |
| 91 | public override int GetHashCode() |
| 92 | { |
| 93 | HashCode hc = new(); |
| 94 | hc.Add(Value); |
| 95 | hc.Add(Encoding); |
| 96 | hc.Add(SpecialChar1); |
| 97 | hc.Add(SpecialChar2); |
| 98 | foreach (byte b in Bytes) |
| 99 | { |
| 100 | hc.Add(b); |
| 101 | } |
| 102 | |
| 103 | return hc.ToHashCode(); |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | internal sealed class MetaStringEncoder |