We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Having this simply IEnumerable function:
static IEnumerable<Command> RegisterAllCommands() { yield return new Echo(); yield return new Help(); }
If I simply call it:
RegisterAllCommands();
I get Stack Overflow exception, a normal Net Core application does little better simply blocks as the IEnumerable is not evalutated.
Doing instead a simple empty foreach (I know I cannot call .ToList() / .ToArray() as that will be a call to a Linq method):
foreach (var c in RegisterAllCommands()) { }
I get this error from IL2CPU itself that make the compilation fail:
Error Exception: System.ArgumentException: 'this' type cannot be an interface itself
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Having this simply IEnumerable function:
If I simply call it:
I get Stack Overflow exception, a normal Net Core application does little better simply blocks as the IEnumerable is not evalutated.
Doing instead a simple empty foreach (I know I cannot call .ToList() / .ToArray() as that will be a call to a Linq method):
I get this error from IL2CPU itself that make the compilation fail:
The text was updated successfully, but these errors were encountered: