Commit 62afcfb
Fix CI build: preserve binary compat for FindMappedElementByChoiceName
The Azure Pipelines build failed on the Pack step with API compatibility
error CP0002: adding an optional 'ignoreCase' parameter to the existing
public FindMappedElementByChoiceName(string) method changed its IL
signature, breaking binary compatibility against the 6.2.0 baseline
(EnablePackageValidation is on for this repo).
Split into two overloads instead: the original single-parameter method
is preserved unchanged and delegates to a new two-parameter overload.
Verified locally with 'dotnet pack --no-build', which reproduces the
same API compat check the pipeline runs.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent d3fcaf8 commit 62afcfb
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
247 | 259 | | |
248 | 260 | | |
249 | 261 | | |
| |||
0 commit comments