Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for updating static arrays or other static members at runtime #52863

Open
LyalinDotCom opened this issue Apr 23, 2021 · 1 comment

Comments

@LyalinDotCom
Copy link

During EnC and .NET Hot Reload it would be great to be able to update things such as static arrays.

Below example is from the ASP.NET Core WebAPI default template example around weather. Today you can apply changes but its never re-initialized so it doesn't actually change the runtime state.

Example:

  private static readonly string[] Summaries = new[]
        {
            "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching"
        };
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Interactive untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 23, 2021
@jinujoseph jinujoseph added Concept-Continuous Improvement and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 28, 2021
@jinujoseph
Copy link
Contributor

Related to #49001

@jinujoseph jinujoseph added this to the 17.0 milestone Apr 28, 2021
@tmat tmat modified the milestones: 17.0, Backlog Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants