Skip to content

Commit bbeb688

Browse files
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

File tree

Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Contains required properties for osu!framework projects. -->
1+
<!-- Contains required properties for osu!framework projects. -->
22
<Project>
33
<PropertyGroup Label="C#">
44
<LangVersion>12.0</LangVersion>
@@ -7,6 +7,7 @@
77
<GenerateAssemblyInfo Condition="'$(Configuration)'=='Debug'">false</GenerateAssemblyInfo>
88
<!-- Required due to the above -->
99
<NoWarn Condition="'$(Configuration)'=='Debug'">$(NoWarn);CA1416</NoWarn>
10+
<NoWarn>$(NoWarn);NU1903;CS1591</NoWarn>
1011
</PropertyGroup>
1112
<PropertyGroup>
1213
<ApplicationManifest>$(MSBuildThisFileDirectory)app.manifest</ApplicationManifest>
@@ -40,7 +41,6 @@
4041
</PropertyGroup>
4142
<PropertyGroup Label="Documentation">
4243
<GenerateDocumentationFile>true</GenerateDocumentationFile>
43-
<NoWarn>$(NoWarn);CS1591</NoWarn>
4444
</PropertyGroup>
4545
<PropertyGroup Label="Nuget">
4646
<IsPackable>false</IsPackable>

0 commit comments

Comments
 (0)