This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Fatal Error C1509
compiler limit : too many exception handler states in function 'function'. simplify function
The code exceeds an internal limit on exception handler states (1,920 states).
Most common cause
- The function contains a complex expression of user-defined class variables and arithmetic operators.
Possible solutions
- Simplify expressions by assigning common subexpressions to temporary variables.
- Split the function into smaller functions.