Edit and Continue (Visual Basic): Module Member Declaration Edits
This topic applies to:
Visual Studio Edition |
Visual Basic |
C# |
C++ |
J# |
Express |
Yes |
No |
No |
No |
Standard |
Yes |
No |
No |
No |
Pro/Team |
Yes |
No |
No |
No |
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.
See Also
Tasks
How to: Apply Edits in Break Mode with Edit and Continue
Reference
Edit and Continue (Visual Basic): Unsupported Declaration Edits
Edit and Continue (Visual Basic): Class Member Declaration Edits
Edit and Continue (Visual Basic): Structure Member Declaration Edits