-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
area-EnC-monoHot Reload for WebAssembly, iOS/Android, etcHot Reload for WebAssembly, iOS/Android, etc
Milestone
Description
Roslyn will emit these for changes like this:
Old code:
public class MethodBody1 {
public static string StaticMethod1 () {
Func <string,string> fn = static (s) => s + "G";
return fn ("OLD STRIN");
}
}
New code:
public class MethodBody1 {
public static string StaticMethod1 () {
Func <string,string> fn = static (s) => s + "G";
return fn ("NEW STRIN");
}
}
Roslyn will emit a param update for 's' even though nothing about the parameter has changed.
(Note that to get a clean delta it's necessary to use hotreload-utils that includes dotnet/hotreload-utils#65, otherwise the delta will be bloated with unnecessary field and method additions for the (unchanged) lambda).
This is part of #44806
Metadata
Metadata
Assignees
Labels
area-EnC-monoHot Reload for WebAssembly, iOS/Android, etcHot Reload for WebAssembly, iOS/Android, etc