[PR #157] [MERGED] fix: resolve nullable CS8618 warnings in BuildInfo.cs #149

Closed
opened 2026-02-26 17:37:31 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Corsinvest/cv4pve-admin/pull/157
Author: @franklupo
Created: 2/17/2026
Status: Merged
Merged: 2/17/2026
Merged by: @franklupo

Base: mainHead: fix/buildinfo-nullable


📝 Commits (1)

  • 615f63a fix: resolve nullable CS8618 warnings in BuildInfo.cs

📊 Changes

1 file changed (+5 additions, -5 deletions)

View changed files

📝 src/Corsinvest.ProxmoxVE.Admin.Core/BuildInfo.cs (+5 -5)

📄 Description

Summary

  • Initialize static readonly string fields with string.Empty to resolve CS8618 nullable warnings
  • Needed because static constructor has an early return path (if (IsRunningInEfTool) { return; })

Test plan

  • Build completes without CS8618 warnings

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Corsinvest/cv4pve-admin/pull/157 **Author:** [@franklupo](https://github.com/franklupo) **Created:** 2/17/2026 **Status:** ✅ Merged **Merged:** 2/17/2026 **Merged by:** [@franklupo](https://github.com/franklupo) **Base:** `main` ← **Head:** `fix/buildinfo-nullable` --- ### 📝 Commits (1) - [`615f63a`](https://github.com/Corsinvest/cv4pve-admin/commit/615f63af8d6e66b4dcb43ef16b1265f2e79c3690) fix: resolve nullable CS8618 warnings in BuildInfo.cs ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/Corsinvest.ProxmoxVE.Admin.Core/BuildInfo.cs` (+5 -5) </details> ### 📄 Description ## Summary - Initialize static readonly string fields with `string.Empty` to resolve CS8618 nullable warnings - Needed because static constructor has an early return path (`if (IsRunningInEfTool) { return; }`) ## Test plan - [ ] Build completes without CS8618 warnings --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 17:37:31 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cv4pve-admin#149
No description provided.