This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Commit 4982068
authored
Fix stack overflow exception due to XmlDictionaryReader.Close override (#28408)
It looks like a virtual Close was added to XmlDictionaryReader when XmlReader.Close didn't yet exist in corefx. Then when XmlReader.Close was added, the virtual on the derived type was changed to an override, but that override's behavior doesn't play well with the base's. The fix is just to delete it, matching netfx.1 parent dadbb55 commit 4982068
File tree
2 files changed
+35
-5
lines changed- src
- System.Private.DataContractSerialization/src/System/Xml
- System.Runtime.Serialization.Xml/tests
2 files changed
+35
-5
lines changedLines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1322 | 1322 | | |
1323 | 1323 | | |
1324 | 1324 | | |
1325 | | - | |
1326 | | - | |
1327 | | - | |
1328 | | - | |
1329 | | - | |
1330 | 1325 | | |
1331 | 1326 | | |
1332 | 1327 | | |
| |||
Lines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
186 | 221 | | |
187 | 222 | | |
0 commit comments