Skip to content

Add a capacity testcase to test the type system limits with large number of methods #122411

@VSadov

Description

@VSadov

Add a testcase under src/tests/async/capacity with 3 scenarios:

  • allocate an instance of a class with 40000 methods that return int. The allocation should succeed.
  • allocate an instance of a class with 32750 methods that return Task. The allocation should succeed.
  • make a call to a method that allocates an instance of a class with 32763 methods that return Task. The call should throw an exception.

Metadata

Metadata

Assignees

Type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions