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

Closed
opened 2026-03-07 19:57:13 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/Corsinvest/cv4pve-admin/pull/157

State: closed
Merged: Yes


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
**Original Pull Request:** https://github.com/Corsinvest/cv4pve-admin/pull/157 **State:** closed **Merged:** Yes --- ## 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
kerem 2026-03-07 19:57:13 +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#291
No description provided.