Nota
O acesso a esta página requer autorização. Pode tentar iniciar sessão ou alterar os diretórios.
O acesso a esta página requer autorização. Pode tentar alterar os diretórios.
Deleting a method body will prevent the debug session from continuing while Edit and Continue is enabled
This error indicates that you tried to delete a method, indexer, property, accessor, operators, constructors, destructors, or event, which Edit and Continue does not support while debugging.
Consider the following code:
class Program
{
static void Main()
{
}
}
Se você entrar em Main, remover as chaves ({}) do método e substituí-los com um ponto e vírgula, este erro ocorre.
To correct this error
Undo the changes, and then continue debugging without the changes.
—or—
On the Debug menu, click Stop Debugging, then make the changes, and start a new debugging session.
Consulte também
Referência
Indexers (C# Programming Guide)
Constructors (C# Programming Guide)
Destructors (C# Programming Guide)
Alterações de código suportadas (C#)
Edição e continuação (Visual C#)