Cannot set the value of a local variable for a method that is not at the top of the stack
You can only modify variables if they are the top of the call stack. For example, if procedure1
calls procedure2
and you are in procedure1
, you cannot modify variables in procedure2
.
Error ID: BC30711
- Modify variables that are at the top of the call stack.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: