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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [1.2.0] - 2026-05-02
11
+
12
+
### Changed
13
+
- Generated properties now use the C# `field` keyword on compilers that support it (C# 14+), eliminating explicit backing fields
14
+
15
+
### Breaking Changes
16
+
- 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.
17
+
10
18
## [1.1.1] - 2025-08-03
11
19
12
20
### Added
@@ -83,7 +91,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
83
91
### Added
84
92
- Support for overriding `ReadEmbeddedResourceValue` partial method
Copy file name to clipboardExpand all lines: EmbeddedResourcePropertyGenerator.Tests/GeneratorSnapshotTests.AlternateFolderSelectedCorrectly#Query.EmbeddedResourceProperties.g.verified.cs
+2-6Lines changed: 2 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -37,10 +37,6 @@ public static string Read(string resourceName)
Copy file name to clipboardExpand all lines: EmbeddedResourcePropertyGenerator.Tests/GeneratorSnapshotTests.GeneratesEmbeddedResourcePropertiesCorrectly#Queries.EmbeddedResourceProperties.g.verified.cs
+2-6Lines changed: 2 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -37,10 +37,6 @@ public static string Read(string resourceName)
Copy file name to clipboardExpand all lines: EmbeddedResourcePropertyGenerator.Tests/GeneratorSnapshotTests.GeneratesEmbeddedResourcePropertiesForInnerAndGenericClasses#OuterClass_T.InnerClass.EmbeddedResourceProperties.g.verified.cs
+2-6Lines changed: 2 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -39,10 +39,6 @@ public static string Read(string resourceName)
Copy file name to clipboardExpand all lines: EmbeddedResourcePropertyGenerator.Tests/GeneratorSnapshotTests.GeneratesEmbeddedResourcePropertiesWithNoProperties#Queries.EmbeddedResourceProperties.g.verified.cs
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -37,9 +37,6 @@ public static string Read(string resourceName)
0 commit comments