Commit 17871c2
committed
Fix string type check for property initialization
Updated the property type check to use EndsWith("##string") and EndsWith("##string?") instead of direct equality. This ensures correct initialization for string properties with type suffixes.1 parent 1e2df35 commit 17871c2
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- src/ReactiveUI.SourceGenerators.Roslyn/ObservableAsProperty
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
| 312 | + | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| |||
0 commit comments