Skip to content
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

macOS port: Field ArgSize not found on type System.Delegate #119

Closed
xafero opened this issue Oct 1, 2021 · 3 comments
Closed

macOS port: Field ArgSize not found on type System.Delegate #119

xafero opened this issue Oct 1, 2021 · 3 comments

Comments

@xafero
Copy link

xafero commented Oct 1, 2021

Hi, I'm developing a port (github / xafero / IL2CPU) for macOS (and then maybe Linux).

Please help. It nearly runs. Can you explain that ArgSize thing

github-issue-delegateField
?

@quajak
Copy link
Member

quajak commented Oct 6, 2021

Since you opened the PR, have you already figured it out?

@xafero
Copy link
Author

xafero commented Oct 6, 2021

Yeah, it was due to comparing a runtime Type with a compilation context loaded Type object.

@xafero xafero closed this as completed Oct 6, 2021
@xafero
Copy link
Author

xafero commented Oct 6, 2021

I did not find any documentation of "$$ArgSize$$" but it seems to me that it gets injected by a Field attribute into the Delegate class.

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

No branches or pull requests

2 participants