Skip to content

Conversation

VSadov
Copy link
Member

@VSadov VSadov commented Jun 5, 2025

Closes: #115258

TODO: undo the commit that enables runtime async.

@Copilot Copilot AI review requested due to automatic review settings June 5, 2025 02:39
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a simple test for reflection with async methods and includes changes to project files and build configurations for testing runtime async functionality.

  • A new test project and source file (reflectionSimple.csproj and reflectionSimple.cs) have been added to verify async reflection behavior.
  • The Directory.Build.targets file has been updated to comment out the project build disable, and FEATURE_RUNTIME_ASYNC is now enabled in clrdefinitions.cmake.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/tests/async/reflection/reflectionSimple.csproj New project file for the async reflection test setup.
src/tests/async/reflection/reflectionSimple.cs New test code exercising async reflection method invocations.
src/tests/async/Directory.Build.targets Build targets updated to uncomment project building.
src/coreclr/clrdefinitions.cmake Runtime async feature enabled via compile definitions.
Comments suppressed due to low confidence (1)

src/coreclr/clrdefinitions.cmake:155

  • The PR description indicates that the commit enabling runtime async should be undone, yet this change enables FEATURE_RUNTIME_ASYNC. Please clarify or revert this modification to ensure alignment with the PR purpose.
add_compile_definitions(FEATURE_RUNTIME_ASYNC)

Copy link
Contributor

Tagging subscribers to this area: @mangod9
See info in area-owners.md if you want to be subscribed.

@VSadov VSadov requested a review from jakobbotsch June 5, 2025 02:40
@VSadov VSadov enabled auto-merge (squash) June 5, 2025 13:31
@VSadov VSadov merged commit 5ba52ed into dotnet:main Jun 5, 2025
73 checks passed
@VSadov VSadov deleted the test115258 branch June 5, 2025 17:16
@github-actions github-actions bot locked and limited conversation to collaborators Jul 6, 2025
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.

[RuntimeAsync] Reflection complains about ambiguity when querying async2 methods
2 participants