Commit 53bbf4c
Fix all array index patterns in NetFX baseline comprehensively
The previous fix only handled {count} but missed variations like {count++}.
This comprehensive fix removes model name prefixes from all array index patterns
regardless of the expression used (e.g., "FirstModel.P4[{count++}]" becomes
"P4[{count++}]"). This ensures all enumeration validation patterns are correctly
updated to match the generator output.
Co-authored-by: tarekgh <[email protected]>1 parent 893613f commit 53bbf4c
File tree
1 file changed
+1
-1
lines changed- src/libraries/Microsoft.Extensions.Options/tests/SourceGenerationTests/Baselines/NetFX
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| |||
0 commit comments