Skip to content

No TypeDefinitionDocuments entries compiled for enums/interfaces etc in pdb #100051

@huangmin-ms

Description

@huangmin-ms

Version Used:
4.8.0-3.23518.7
Steps to Reproduce:

  1. Download NuGet package from https://www.nuget.org/packages/Microsoft.NETCore.App.Runtime.win-x64/8.0.0
  2. Go to folder runtimes/win-x64/lib/net8.0 and find Microsoft.CSharp.dll.
  3. Download its pdb at http://msdl.microsoft.com/download/symbols/Microsoft.CSharp.pdb\6b0e3c54f1b8eadd4968a9c4faa40bdfFFFFFFFF\Microsoft.CSharp.pdb
  4. Go to CustomDebugInformation table and there's no TypeDefinitionDocuments entry for enum Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags

Case dotnet/roslyn#1:

Expected Behavior:
Document info for enum Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags should be found in CustomDebugInformation table

Actual Behavior:
No TypeDefinitionDocuments entry found for enum Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags

Case dotnet/roslyn#2:

System.Net.NetworkInformation.GatewayIPAddressInformation in System.Net.NetworkInformation.dll is missing from the Document table.

image
image

Metadata

Metadata

Assignees

Labels

area-Tools-ILLink.NET linker development as well as trimming analyzersin-prThere is an active PR which will close this issue when it is mergedlinkable-frameworkIssues associated with delivering a linker friendly framework

Type

No type

Projects

Status

High Priority

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions