Skip to content

Read and use tuple element names and dynamic type information from PDBs#3114

Merged
siegfriedpammer merged 5 commits intoicsharpcode:masterfrom
ElektroKill:pdb-extra-local-type-info
Dec 24, 2023
Merged

Read and use tuple element names and dynamic type information from PDBs#3114
siegfriedpammer merged 5 commits intoicsharpcode:masterfrom
ElektroKill:pdb-extra-local-type-info

Conversation

@ElektroKill
Copy link
Copy Markdown
Contributor

@ElektroKill ElektroKill commented Nov 7, 2023

Link to issue(s) this covers:
fixes #3112

Problem

ILSpy did not utilize helpful type information from PDB files when determining the type of local variables.

Solution

  • Implementation as mentioned in the original issue.
  • Added additional code to extract the necessary information from the PDB file and added a new TypeVisitor to apply this information to the type system.

Comment thread ICSharpCode.Decompiler/DebugInfo/IDebugInfoProvider.cs Outdated
@siegfriedpammer
Copy link
Copy Markdown
Member

In general LGTM, however, we should discuss the method signature of TryGetExtraTypeInfo.

@siegfriedpammer siegfriedpammer self-assigned this Dec 12, 2023
Comment thread ICSharpCode.ILSpyX/PdbProvider/PortableDebugInfoProvider.cs
@ElektroKill
Copy link
Copy Markdown
Contributor Author

The build seems to be failing after the recent upgrade of the upload artifact GH action. Looking at the error it looks like a limit for the amount of artifacts was imposed.

@riQQ
Copy link
Copy Markdown
Contributor

riQQ commented Dec 24, 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.

Use tuple element name and dynamic type information for local from PDB

3 participants