Hot Reload and Edit and Continue error messages

You might encounter one or more of these error messages during a Hot Reload or a debug session.

Error code Error text
ENC0001 Updating an active statement requires restarting the application.
ENC0002 Removing 'text' that contains an active statement requires restarting the application.
ENC0003 Updating 'text' requires restarting the application.
ENC0004 Updating the modifiers of 'text' requires restarting the application.
ENC0005 Updating the Handles clause of 'text' requires restarting the application.
ENC0006 Updating the Implements clause of a 'text' requires restarting the application.
ENC0007 Updating the variance of 'text' requires restarting the application.
ENC0008 Changing a field to an event or vice versa requires restarting the application.
ENC0009 Updating the type of 'text' requires restarting the application.
ENC0011 Updating the initializer of 'text' requires restarting the application.
ENC0012 Updating the size of a 'text' requires restarting the application.
ENC0013 Updating the underlying type of 'text' requires restarting the application.
ENC0014 Updating the base class and/or base interface(s) of 'text' requires restarting the application.
ENC0015 Updating the kind of a type requires restarting the application.
ENC0016 Updating the kind of a property/event accessor requires restarting the application.
ENC0018 Updating the library name of Declare statement requires restarting the application.
ENC0019 Updating the alias of Declare statement requires restarting the application.
ENC0020 Renaming 'text' requires restarting the application.
ENC0021 Adding 'text' requires restarting the application.
ENC0023 Adding an abstract 'text' or overriding an inherited 'text' requires restarting the application.
ENC0024 Adding a MustOverride 'text' or overriding an inherited 'text' requires restarting the application.
ENC0025 Adding an extern 'text' requires restarting the application.
ENC0026 Adding a user defined 'text' requires restarting the application.
ENC0029 Adding an imported method requires restarting the application.
ENC0030 Adding 'text' into a 'text' requires restarting the application.
ENC0031 Adding 'text' into a class with explicit or sequential layout requires restarting the application.
ENC0032 Moving 'text' requires restarting the application.
ENC0033 Deleting 'text' requires restarting the application.
ENC0036 Modifying a generic method requires restarting the application.
ENC0038 Modifying a method inside the context of a generic type requires restarting the application.
ENC0044 Modifying 'text' which contains the stackalloc operator requires restarting the application.
ENC0045 Modifying source with experimental language features enabled requires restarting the application.
ENC0046 Updating a complex statement containing an await expression requires restarting the application.
ENC0047 Changing visibility of 'text' requires restarting the application.
ENC0051 Changing the type of a captured variable 'text' previously of type 'text' requires restarting the application.
ENC0052 Changing the declaration scope of a captured variable 'text' requires restarting the application.
ENC0053 Changing the parameters of 'text' requires restarting the application.
ENC0054 Changing the return type of 'text' requires restarting the application.
ENC0059 Changing the signature of 'text' requires restarting the application because is not supported by the runtime.
ENC0060 Adding 'text' around an active statement requires restarting the application.
ENC0061 Deleting 'text' around an active statement requires restarting the application.
ENC0062 Removing 'text' that contains an active statement requires restarting the application.
ENC0063 Updating a 'text' around an active statement requires restarting the application.
ENC0064 Modifying a catch/finally handler with an active statement in the try block requires restarting the application.
ENC0065 Modifying a try/catch/finally statement when the finally block is active requires restarting the application.
ENC0066 Modifying a catch handler around an active statement requires restarting the application.
ENC0067 Modifying 'text' which contains a static variable requires restarting the application.
ENC0068 Adding a constructor to a type with a field or property initializer that contains an anonymous function requires restarting the application.
ENC0069 Renaming a captured variable, from 'text' to 'text' requires restarting the application.
ENC0070 Adding 'text' with the Handles clause requires restarting the application.
ENC0071 Adding a new file requires restarting the application.
ENC0072 Updating an active statement requires restarting the application.
ENC0073 Removing 'text' that contains an active statement requires restarting the application.
ENC0074 Updating async or iterator modifier around an active statement requires restarting the application.
ENC0075 Attribute 'text' is missing. Updating an async method or an iterator requires restarting the application.
ENC0076 Switching between a lambda and a local function requires restarting the application.
ENC0080 Modifying source file 'text' requires restarting the application due to internal error: 'text'
ENC0081 Adding a method with an explicit interface specifier requires restarting the application.
ENC0082 Adding 'text' into an interface requires restarting the application.
ENC0083 Adding 'text' into an interface method requires restarting the application.
ENC0085 Changing 'text' from asynchronous to synchronous requires restarting the application.
ENC0086 Changing 'text' to 'text' requires restarting the application because it changes the shape of the state machine.
ENC0087 Modifying 'text' which contains an Aggregate, Group By, or Join query clauses requires restarting the application.
ENC0088 Modifying the body of 'text' requires restarting the application due to internal error: 'text'
ENC0089 Modifying source file 'text' requires restarting the application because the file is too big.
ENC0090 Modifying the body of 'text' requires restarting the application because the body has too many statements.
ENC0097 Applying source changes while the application is running is not supported by the runtime.
ENC0098 Making a method asynchronous requires restarting the application because is not supported by the runtime.
ENC0099 Making a method an iterator requires restarting the application because is not supported by the runtime.
ENC0100 Adding 'text' requires restarting the application.
ENC0101 Updating the attributes of 'text' requires restarting the application because it is not supported by the runtime.
ENC0102 An update that causes the return type of the implicit Main method to change requires restarting the application.
ENC0103 Changing parameter types of 'text' requires restarting the application.
ENC0104 Changing type parameters of 'text' requires restarting the application.
ENC0105 Changing constraints of 'text' requires restarting the application.
ENC0106 Updating a reloadable type (marked by 'text') or its member requires restarting the application because is not supported by the runtime.
ENC0107 Renaming 'text' requires restarting the application because it is not supported by the runtime.
ENC0108 Changing pseudo-custom attribute 'text' of 'text' requires restarting the application
ENC0109 Changing the containing namespace of 'text' from 'text1' to 'text2' requires restarting the application
ENC0110 Changing the signature of 'text' requires restarting the application because is not supported by the runtime.
ENC0111 Deleting 'text' requires restarting the application because is not supported by the runtime.
ENC0112 Updating async or iterator requires restarting the application because is not supported by the runtime.
ENC0113 Updating 'text' within generic type or method requires restarting the application because is not supported by the runtime.
ENC0114 Capturing primary constructor parameter 'text' that hasn't been capture before requires restarting the application.
ENC0115 Ceasing to capture primary constructor parameter 'text' of 'text' requires restarting the application.
ENC0116 Changing attribute 'text' requires restarting the application.
ENC0117 Changing attribute 'text' requires restarting the application.
ENC1001 Error while reading file 'text': 'text'
ENC1002 Cannot apply changes -- unexpected error: 'text'
ENC1004 Changes are not allowed while stopped at exception
ENC1005 The current content of source file 'text' does not match the built source. Any changes made to this file while debugging won't be applied until its content matches the built source.
ENC1006 Unable to read source file 'text' or the PDB built for the containing project. Any changes made to this file while debugging won't be applied until its content matches the built source.
ENC1007 One or more changes result in a new type being created by the compiler, which requires restarting the application because it is not supported by the runtime