Skip to content

Conversation

@ElektroKill
Copy link
Contributor

No description provided.

@wtfsck
Copy link
Contributor

wtfsck commented Jul 8, 2023

Does this blob contain any metadata tokens?

@ElektroKill
Copy link
Contributor Author

Does this blob contain any metadata tokens?

Glancing at Roslyn source code, it seams to me that this blob is, at least for now, always empty.
Code which adds the CDI in Roslyn:
https://github.com/dotnet/roslyn/blob/5100eeedfe43c45b53fc298d6341d4d52e0d735a/src/Compilers/Core/Portable/PEWriter/MetadataWriter.PortablePdb.cs#L144-L150
Code which reads it (according to GitHub search there is only one place where it is read and that is the Debugger EE)
https://github.com/dotnet/roslyn/blob/5100eeedfe43c45b53fc298d6341d4d52e0d735a/src/ExpressionEvaluator/Core/Source/ExpressionCompiler/PDB/MethodDebugInfo.Portable.cs#L401

@wtfsck wtfsck merged commit c0daec9 into 0xd4d:master Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants