Commit 8b7c300
authored
Fix DependencyContext splitting on semi-colon (#87518)
* Fix DependencyContext splitting on semi-colon
5e67657 introduced a bug in DependencyContextPaths where the static array is not initialized before it is being used in the Create static method.
This fix removes the static array since it is only used once.
- Don't cache the semicolon array since it is only used once at startup
- Skip test on netfx since it doesn't work.1 parent 8042fac commit 8b7c300
File tree
2 files changed
+20
-3
lines changed- src/libraries/Microsoft.Extensions.DependencyModel
- src
- tests
2 files changed
+20
-3
lines changedLines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
| |||
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
45 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
279 | 292 | | |
280 | 293 | | |
281 | 294 | | |
| |||
0 commit comments