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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
Generated properties now use the C# field keyword on compilers that support it (C# 14+), eliminating explicit backing fields
Breaking Changes
On C# 14+ compilers, the EmbeddedResource.BackingField nested class is no longer generated. Code that directly accessed EmbeddedResource.BackingField.PropertyName will no longer compile. Implementations of the ReadEmbeddedResourceValue partial method are unaffected — the backing storage is passed to that method as a ref parameter regardless of whether it is backed by field or by the explicit BackingField class.