Skip to content

fix(hr): Avoid ENC0011 when modifying a const field during HR - #14184

Merged
jeromelaban merged 1 commit into
masterfrom
dev/jela/hr-enc0011
Oct 31, 2023
Merged

jeromelaban merged 1 commit into
masterfrom
dev/jela/hr-enc0011

Conversation

@jeromelaban

@jeromelaban jeromelaban commented Oct 31, 2023 •

Copy link
Copy Markdown
Member

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the new behavior?

Adjusts generation of internal member that can cause ENC0011 because of const field update.

Copilot Summary

🤖 Generated by Copilot at c03697a

Improved Edit and Continue support for XAML code generation by using methods instead of const fields.

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Internal Issue (If applicable):

@github-actions github-actions Bot added the area/code-generation Categorizes an issue or PR as relevant to code generation label Oct 31, 2023
@jeromelaban

Copy link
Copy Markdown
Member Author

@Mergifyio backport release/stable/5.0

@mergify

mergify Bot commented Oct 31, 2023 •

Copy link
Copy Markdown
Contributor

backport release/stable/5.0

✅ Backports have been created

Details

@dansiegel
dansiegel enabled auto-merge October 31, 2023 01:37
@ajpinedam

Copy link
Copy Markdown
Contributor

@jeromelaban does HR mean Hot Reload?

@jeromelaban
jeromelaban disabled auto-merge October 31, 2023 03:29
@jeromelaban
jeromelaban merged commit ec0b211 into master Oct 31, 2023
@jeromelaban
jeromelaban deleted the dev/jela/hr-enc0011 branch October 31, 2023 03:29
jeromelaban added a commit that referenced this pull request Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/code-generation Categorizes an issue or PR as relevant to code generation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants