You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
Roslyn will emit these for changes like this:
Old code:
New code:
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
The text was updated successfully, but these errors were encountered: