Replies: 1 comment
-
See #538. The DoesNotReturnAttribute cannot give the guarantees needed to make this work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I have method, that never return
than if I write this code
the compiler shows error CS0165 "Use of unassigned local variable" on line
int t = val
;. But as "Exit" method never returns it should not show error. The workaround for it is to addreturn;
after calling "Exit" method, but that not feel right...Beta Was this translation helpful? Give feedback.
All reactions