Visual Basic Edit and Continue: 35652 

Error Message

New variable <var> shadows existing variable <var>.

You tried to add a new variable that is more local than another variable with the same name. Adding this variable would block the visibility of the existing variable (shadow the existing variable). Edit and Continue does not support the introduction of a new variable that shadows an existing variable. For more information, see Edit and Continue (Visual Basic): Unsupported Method and Property Body Edits.

To correct this error

  • Choose Undo from the Debug menu to undo the change.

    -or-

  • Stop the debugging session, make your edits, and start a new debugging session.

See Also

Reference

Edit and Continue (Visual Basic): Unsupported Method and Property Body Edits

Other Resources

Edit and Continue (Visual Basic)