Skip to content

fix warnings and upgrade only the minor versions of NuGet packages#653

Merged
erikdarlingdata merged 4 commits intoerikdarlingdata:devfrom
MisterZeus:dev
Mar 20, 2026
Merged

fix warnings and upgrade only the minor versions of NuGet packages#653
erikdarlingdata merged 4 commits intoerikdarlingdata:devfrom
MisterZeus:dev

Conversation

@MisterZeus
Copy link
Copy Markdown
Contributor

What does this PR do?

fix warnings and upgrade only the minor versions of NuGet packages

Which component(s) does this affect?

  • Full Dashboard
  • Lite Dashboard
  • Lite Tests
  • SQL collection scripts
  • CLI Installer
  • GUI Installer
  • Documentation

How was this tested?

All projects build fine, with the usual remaining/ignored warnings about "Evaluation of this argument may be expensive and unnecessary if logging is disabled"

Checklist

  • I have read the contributing guide
  • My code builds with zero warnings (dotnet build -c Debug)
  • I have tested my changes against at least one SQL Server version
  • I have not introduced any hardcoded credentials or server names

OZTPR added 4 commits March 20, 2026 09:42
…rGui.csproj' is a self-contained executable. A self-contained executable cannot be referenced by a non self-contained executable. For more information, see https://aka.ms/netsdk1151 Installer.Tests C:\Program Files\dotnet\sdk\10.0.104\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets 1330
@MisterZeus
Copy link
Copy Markdown
Contributor Author

Build output:

>.\build-all.cmd

========================================
 Building All Performance Monitor Projects
========================================


========================================
 Building Full Edition (Dashboard + Installers)
========================================

Version: 2.3.0

[1/3] Publishing Dashboard...
Restore complete (2.1s)
  Dashboard_tbl4ki5g_wpftmp net8.0-windows succeeded with 1 warning(s) (19.7s)
    C:\Repos\Git\PerformanceMonitor\Dashboard\Services\PlanAnalyzer.cs(844,13): warning CS8602: Dereference of a possibly null reference.
  Dashboard net8.0-windows succeeded with 1 warning(s) (38.1s) → publish\Dashboard\
    C:\Repos\Git\PerformanceMonitor\Dashboard\Services\PlanAnalyzer.cs(844,13): warning CS8602: Dereference of a possibly null reference.

Build succeeded with 2 warning(s) in 41.7s
Creating Dashboard ZIP...

[2/3] Publishing CLI Installer...
Restore complete (3.1s)
  PerformanceMonitorInstaller net8.0 win-x64 succeeded (10.7s) → Installer\bin\Release\net8.0\win-x64\publish\

Build succeeded in 15.1s

[3/3] Publishing GUI Installer...
Restore complete (1.9s)
  InstallerGui net8.0-windows win-x64 succeeded (17.0s) → InstallerGui\bin\Release\net8.0-windows\win-x64\publish\

Build succeeded in 20.4s

Packaging Installer + SQL scripts...

========================================
 Build Complete
========================================

Output:
  releases\PerformanceMonitorDashboard-2.3.0.zip
  releases\PerformanceMonitorInstaller-2.3.0.zip

Dashboard size:  84409614 bytes
Installer size:  33687609 bytes


========================================
 Building Performance Monitor Lite
========================================

Version: 2.3.0

Publishing Lite Edition...
Restore complete (2.1s)
  PerformanceMonitorLite_dwqzi551_wpftmp net8.0-windows succeeded with 85 warning(s) (9.1s)
    C:\Repos\Git\PerformanceMonitor\Lite\Controls\ServerTab.xaml.cs(637,44): warning CS8602: Dereference of a possibly null reference.
    C:\Repos\Git\PerformanceMonitor\Lite\Services\PlanAnalyzer.cs(843,13): warning CS8602: Dereference of a possibly null reference.
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.QueryStore.cs(225,45): warning CS8602: Dereference of a possibly null reference.
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(127,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(133,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(140,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(172,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(191,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(246,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(260,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(716,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(649,29): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(654,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(766,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ArchiveService.cs(98,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ArchiveService.cs(132,29): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\CollectionBackgroundService.cs(151,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ArchiveService.cs(363,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ArchiveService.cs(380,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ArchiveService.cs(401,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ArchiveService.cs(429,33): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(129,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(173,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\DeltaCalculator.cs(140,32): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\DeltaCalculator.cs(199,32): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\DeltaCalculator.cs(225,36): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(196,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\DeltaCalculator.cs(175,32): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(295,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(380,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(392,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(409,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RetentionService.cs(92,29): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.BlockedProcessReport.cs(108,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.BlockedProcessReport.cs(144,33): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.BlockedProcessReport.cs(156,29): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.BlockedProcessReport.cs(182,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(479,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(502,29): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(563,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(599,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ScheduleManager.cs(153,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ScheduleManager.cs(191,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ScheduleManager.cs(247,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ScheduleManager.cs(274,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ScheduleManager.cs(321,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ScheduleManager.cs(331,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.Cpu.cs(164,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.BlockedProcessReport.cs(469,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.BlockedProcessReport.cs(475,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.cs(225,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.cs(231,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.cs(286,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.cs(332,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.cs(337,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.cs(412,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.cs(623,37): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.DatabaseSize.cs(225,29): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.DatabaseSize.cs(287,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.Deadlocks.cs(97,33): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.Deadlocks.cs(109,29): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.Deadlocks.cs(138,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.Deadlocks.cs(422,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.Deadlocks.cs(428,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.FileIo.cs(120,29): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.FileIo.cs(192,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.Memory.cs(266,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.Memory.cs(199,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.MemoryGrants.cs(127,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.Perfmon.cs(208,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.ProcedureStats.cs(338,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.QuerySnapshots.cs(175,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.QueryStats.cs(208,29): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.QueryStats.cs(351,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.QueryStore.cs(470,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.RunningJobs.cs(189,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.ServerConfig.cs(93,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.ServerConfig.cs(287,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.ServerConfig.cs(551,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.ServerProperties.cs(143,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.SessionStats.cs(143,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.ServerConfig.cs(459,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.TempDb.cs(111,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.WaitingTasks.cs(100,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.WaitStats.cs(156,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
  PerformanceMonitorLite net8.0-windows succeeded with 85 warning(s) (21.1s) → publish\Lite\
    C:\Repos\Git\PerformanceMonitor\Lite\Controls\ServerTab.xaml.cs(637,44): warning CS8602: Dereference of a possibly null reference.
    C:\Repos\Git\PerformanceMonitor\Lite\Services\PlanAnalyzer.cs(843,13): warning CS8602: Dereference of a possibly null reference.
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.QueryStore.cs(225,45): warning CS8602: Dereference of a possibly null reference.
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(127,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(133,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(140,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(172,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(191,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(246,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(260,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(649,29): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(654,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(716,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Database\DuckDbInitializer.cs(766,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\CollectionBackgroundService.cs(151,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ArchiveService.cs(98,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ArchiveService.cs(132,29): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\DeltaCalculator.cs(140,32): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\DeltaCalculator.cs(175,32): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ArchiveService.cs(363,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ArchiveService.cs(380,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\DeltaCalculator.cs(199,32): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\DeltaCalculator.cs(225,36): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ArchiveService.cs(401,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ArchiveService.cs(429,33): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.BlockedProcessReport.cs(108,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.BlockedProcessReport.cs(144,33): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.BlockedProcessReport.cs(156,29): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.BlockedProcessReport.cs(182,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RetentionService.cs(92,29): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ScheduleManager.cs(153,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(129,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ScheduleManager.cs(191,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ScheduleManager.cs(247,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ScheduleManager.cs(274,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(173,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(196,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ScheduleManager.cs(321,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ScheduleManager.cs(331,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(295,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(380,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(392,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(409,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.BlockedProcessReport.cs(469,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.BlockedProcessReport.cs(475,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(479,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(502,29): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(563,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\ServerManager.cs(599,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.Cpu.cs(164,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.cs(225,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.cs(231,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.cs(286,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.cs(332,25): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.cs(337,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.cs(412,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.cs(623,37): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.DatabaseSize.cs(225,29): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)                                                                                                                                                                                                    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.DatabaseSize.cs(287,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)                                                                                                                                                                                                    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.Deadlocks.cs(97,33): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.Deadlocks.cs(109,29): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.Deadlocks.cs(138,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.Deadlocks.cs(422,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.Deadlocks.cs(428,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.Memory.cs(199,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.Memory.cs(266,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.FileIo.cs(120,29): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.FileIo.cs(192,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.MemoryGrants.cs(127,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.Perfmon.cs(208,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.ProcedureStats.cs(338,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.QuerySnapshots.cs(175,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.QueryStats.cs(208,29): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.QueryStats.cs(351,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.RunningJobs.cs(189,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.ServerConfig.cs(93,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.QueryStore.cs(470,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.ServerConfig.cs(287,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.ServerConfig.cs(551,21): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.ServerConfig.cs(459,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.ServerProperties.cs(143,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.SessionStats.cs(143,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.TempDb.cs(111,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.WaitingTasks.cs(100,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
    C:\Repos\Git\PerformanceMonitor\Lite\Services\RemoteCollectorService.WaitStats.cs(156,17): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)

Build succeeded with 170 warning(s) in 24.8s

Creating ZIP package...

========================================
 Build Complete
========================================

Output: releases\PerformanceMonitorLite-2.3.0.zip

Size: 188784138 bytes

========================================
 All Builds Complete!
========================================

Release artifacts in releases\:
PerformanceMonitorDashboard-2.3.0.zip
PerformanceMonitorInstaller-2.3.0.zip
PerformanceMonitorLite-2.3.0.zip

Copy link
Copy Markdown
Owner

@erikdarlingdata erikdarlingdata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean PR — minor NuGet bumps, analyzer warning fixes (StringComparison, sealed types, return type narrowing), duplicate using removal, and xUnit cancellation token threading. No functional changes. Thanks for the cleanup!

@erikdarlingdata erikdarlingdata merged commit afa348e into erikdarlingdata:dev Mar 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants