Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMetaDataImport::EnumMemberRefs is always empty in .NET 6 preview #54795

Closed
kalikin opened this issue Jun 27, 2021 · 2 comments · Fixed by #54805
Closed

IMetaDataImport::EnumMemberRefs is always empty in .NET 6 preview #54795

kalikin opened this issue Jun 27, 2021 · 2 comments · Fixed by #54805
Labels
area-TypeSystem-coreclr regression-from-last-release untriaged New issue has not been triaged by the area owner
Milestone

Comments

@kalikin
Copy link

kalikin commented Jun 27, 2021

Hello.
In our profiler we have always used IMetaDataImport::EnumMemberRefs without a problem. But in .NET 6.0.100-preview.5.21302.13 the enumerator always appears to be empty, i.e. the pcTokens is always 0.

It is not reproducible on .NET 5.0 and earlier versions. I haven't tried other .NET 6 versions until now.
So far, I've tried the preview only on Linux x64.

I made a small repository which demonstrates the problem.

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Jun 27, 2021
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@jkotas
Copy link
Member

jkotas commented Jun 28, 2021

Looks like a regression introduced by #50471

cc @janvorli @tmds

@jkotas jkotas added this to the 6.0.0 milestone Jun 28, 2021
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Jun 28, 2021
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Jun 28, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jul 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-TypeSystem-coreclr regression-from-last-release untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants