Skip to content

Fix Type.ContainsGenericParameters for function pointers #90864

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

Merged
merged 4 commits into from
Aug 21, 2023

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Aug 20, 2023

Fixes #84916

@jkotas jkotas marked this pull request as ready for review August 20, 2023 22:01
@ghost ghost assigned jkotas Aug 20, 2023
@jkotas jkotas requested a review from steveharter August 20, 2023 22:01
@ghost
Copy link

ghost commented Aug 20, 2023

Tagging subscribers to this area: @dotnet/area-system-reflection
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #84916

Author: jkotas
Assignees: -
Labels:

area-System.Reflection

Milestone: -

@@ -104,6 +104,31 @@ BOOL TypeDesc::IsSharedByGenericInstantiations()
return FALSE;
}

BOOL TypeDesc::ContainsGenericVariables(BOOL methodOnly)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The implementation mirrors structure of IsSharedByGenericInstantiations

@jkotas
Copy link
Member Author

jkotas commented Aug 20, 2023

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkotas
Copy link
Member Author

jkotas commented Aug 21, 2023

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkotas jkotas requested a review from marek-safar as a code owner August 21, 2023 02:15
@jkotas
Copy link
Member Author

jkotas commented Aug 21, 2023

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@steveharter steveharter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

Copy link
Member

@ivanpovazan ivanpovazan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Mono part looks good, thank you!

@steveharter
Copy link
Contributor

Consider backporting to release/8.0; missing functionality for new feature added in 8.0.

cc @ericstj

@jkotas
Copy link
Member Author

jkotas commented Aug 22, 2023

/backport to release/8.0

@github-actions
Copy link
Contributor

Started backporting to release/8.0: https://github.com/dotnet/runtime/actions/runs/5944846172

@ghost ghost locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ContainsGenericParameters not reported for function pointer types
3 participants