© 2026 Hedgehog Software, LLC
CS8601: Possible null reference assignment.
// View.razor.cs internal EventHandler<FocusSectionEvent> FocusSectionRequested = delegate { }; // Section.razor.cs [CascadingParameter] public View View { get; set; } = default!; protected override void OnInitialized() => View.FocusSectionRequested += OnFocusSection; // No warning public void Dispose() => View.FocusSectionRequested -= OnFocusSection; // warning CS8601: Possible null reference assignment. private void OnFocusSection(object? sender, FocusSectionEvent e) { /* stuff */ }
View.FocusSectionRequested
PS $> dotnet --info .NET SDK: Version: 8.0.206 Commit: bb12410699 Workload version: 8.0.200-manifests.afa40ca5