Skip to content

[RuntimeAsync] TODO in runtimehandles.cpp #121764

@VSadov

Description

@VSadov
//  TODO: (async) the filtering may not cover all scenarios. Review and add tests.

The idea is that the async thunks are not exposed to reflection. Async helpers like Await, which are real methods in metadata might be exposed, but should not be invokable.

It is likely that we already have all end covered.
Just need to make sure that all ways to get an async thunk via reflection are blocked. Add an assert in some choke point if it is not already there.

Also need make sure that Await cannot be executed via reflection. Add a test if not already there. (I think we have tests).

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions