Commit bbeb688
committed
Optimize LINQ usage in PathControlPointVisualiser and suppress NU1903
- Move totalCount calculation outside the loop in updateCurveMenuItems.
- Replace Where(predicate).Count(predicate) with Count(predicate).
- Suppress NU1903 in Directory.Build.props to avoid build failures due to known vulnerabilities in AutoMapper 13.0.1.1 parent e2234d7 commit bbeb688
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
43 | | - | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments