Commit 96228a0
Simplify EEFileLoadException: delegating ctor and throw site
- Make the diagnosticInfo constructor delegate to the base constructor
instead of duplicating its body.
- Remove the unnecessary IsEmpty check at the throw site in
AppDomain::BindAssemblySpec — always pass bindDiagnosticInfo since
CreateThrowable already gates on m_diagnosticInfo.IsEmpty().
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 7976c56 commit 96228a0
2 files changed
Lines changed: 3 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3193 | 3193 | | |
3194 | 3194 | | |
3195 | 3195 | | |
3196 | | - | |
3197 | | - | |
3198 | | - | |
3199 | | - | |
3200 | | - | |
| 3196 | + | |
3201 | 3197 | | |
3202 | 3198 | | |
3203 | 3199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1453 | 1453 | | |
1454 | 1454 | | |
1455 | 1455 | | |
1456 | | - | |
1457 | | - | |
1458 | | - | |
1459 | | - | |
| 1456 | + | |
1460 | 1457 | | |
1461 | 1458 | | |
1462 | 1459 | | |
| |||
1466 | 1463 | | |
1467 | 1464 | | |
1468 | 1465 | | |
1469 | | - | |
1470 | | - | |
1471 | | - | |
1472 | | - | |
1473 | | - | |
| 1466 | + | |
1474 | 1467 | | |
1475 | 1468 | | |
1476 | 1469 | | |
| |||
0 commit comments