Repository navigation
Delete CheckDbiVersion and other code and comments about dac-dbi-runtime coupling - #130020
Merged
Merged
Conversation
rcj1
commented
Jun 30, 2026
Contributor
- Delete dead code CheckDbiVersion
- Delete large comment about dac-dbi-runtime coupling
- Delete other dead code
Contributor
|
Tagging subscribers to this area: @steveisok, @tommcdon, @dotnet/dotnet-diag |
jkotas
reviewed
Jun 30, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes legacy/dead DAC/DBI version-checking plumbing and related commentary, simplifying the DacDbi surface by dropping an unused CheckDbiVersion entrypoint and its associated DbiVersion structure across managed projections and native interface definitions.
Changes:
- Removes
DbiVersionandCheckDbiVersionfrom the managed cDAC legacy projection and its implementation wrapper. - Removes
CheckDbiVersionandDbiVersionfrom the native DAC/DBI interface (IDL + headers) and deletes the DAC-side stub implementation. - Removes the no-op
ClrDataAccess::VerifyDllspath and deletes a large historical comment block describing DBI/DAC/runtime coupling/version checks.
Show a summary per file
| File | Description |
|---|---|
| src/native/managed/cdac/Microsoft.Diagnostics.DataContractReader.Legacy/Dbi/IDacDbiInterface.cs | Drops DbiVersion and removes CheckDbiVersion from the managed projection of IDacDbiInterface. |
| src/native/managed/cdac/Microsoft.Diagnostics.DataContractReader.Legacy/Dbi/DacDbiImpl.cs | Removes the legacy fallback wrapper for CheckDbiVersion. |
| src/coreclr/inc/dacdbi.idl | Removes the CheckDbiVersion method and DbiVersion forward declaration from the IDL definition. |
| src/coreclr/debug/inc/dacdbistructures.h | Removes the DbiVersion structure and breaking-change counter constant. |
| src/coreclr/debug/inc/dacdbiinterface.h | Removes the CheckDbiVersion method declaration and related format constant/commentary. |
| src/coreclr/debug/di/process.cpp | Deletes the large #DBIVersionChecking comment block. |
| src/coreclr/debug/daccess/dacimpl.h | Removes the VerifyDlls declaration from ClrDataAccess. |
| src/coreclr/debug/daccess/dacdbiimpl.h | Removes the CheckDbiVersion declaration from DacDbiInterfaceImpl. |
| src/coreclr/debug/daccess/dacdbiimpl.cpp | Removes the DacDbiInterfaceImpl::CheckDbiVersion implementation. |
| src/coreclr/debug/daccess/daccess.cpp | Removes the VerifyDlls call and the stubbed VerifyDlls implementation; trims related commentary. |
Copilot's findings
- Files reviewed: 10/10 changed files
- Comments generated: 2
jkotas
approved these changes
Jun 30, 2026
eiriktsarpalis
pushed a commit
that referenced
this pull request
Jul 15, 2026
…ime coupling (#130020) * Delete dead code CheckDbiVersion * Delete large comment about dac-dbi-runtime coupling * Delete other dead code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.