Skip to content

Conversation

@dmitry-shechtman
Copy link

Closes #5.

Copy link

@Lakritzator Lakritzator left a comment

Choose a reason for hiding this comment

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

What in this change causes the TypeLoadException not to appear?
P.S.
A class with all static methods should/can be static.

@dmitry-shechtman
Copy link
Author

The types used in the async method body are evaluated when the async state machine is being created. Moving the unsupported type to a separate method solves the problem.
P.S. Agreed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants