Export (0) Print
Expand All

Edit and Continue (Visual Basic): Module Member Declaration Edits

This topic applies to:

Edition

Visual Basic

C#

F#

C++

Web Developer

Express

Topic appliesTopic does not applyTopic does not applyTopic does not applyTopic applies

Pro, Premium, and Ultimate

Topic appliesTopic does not applyTopic does not applyTopic does not applyTopic applies

Using Edit and Continue, you can make a variety of changes to module members, such as properties, methods, and fields, while in Break mode. Some changes, however, are not supported. Most notably, Edit and Continue does not support adding, deleting, or changing the type or signature of non-private members.

Specifically, Edit and Continue does not support the following changes:

  • Adding a new member, unless that member is Private and there are no occurrences of the name in any active statement.

  • Removing a property or method.

  • Changing the signature of a non-private property or method.

  • Editing any method that uses generics.

  • Changing the access modifiers for a property or method, for example, changing Public to Private.

  • Deleting or changing the type of an existing field.

If you want to make one of these changes, you must stop debugging and recompile your project.

Community Additions

ADD
Show:
© 2014 Microsoft