Commit 4aae317
committed
Fix CS1503: use named parameter to disambiguate ArgumentException overload.
SDK 10.0.300 introduced overload ambiguity between ArgumentException(string, string)
and ArgumentException(string, Exception?) when the message comes from a generated
resource that returns string?. Using paramName: resolves the ambiguity.1 parent 2be5fd7 commit 4aae317
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments