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

break, continue and return not allowed in finally block #15

Closed
fholm opened this issue Mar 28, 2011 · 1 comment
Closed

break, continue and return not allowed in finally block #15

fholm opened this issue Mar 28, 2011 · 1 comment
Labels

Comments

@fholm
Copy link
Owner

fholm commented Mar 28, 2011

.NET doesn't allow break, continue and return inside a finally block which causes compilation to fail with the message "Control cannot leave a finally block" if any of the violating statements are put inside a finally block.

@fholm
Copy link
Owner Author

fholm commented Mar 31, 2011

Fixed

@fholm fholm closed this as completed Apr 3, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant