Disable other false-positive null inspections with comment

This commit is contained in:
Salman Ahmed
2021-11-05 04:50:52 +03:00
parent 36d99a2e34
commit 4245af28e1
3 changed files with 6 additions and 0 deletions

View File

@ -39,6 +39,8 @@ namespace osu.Game.Overlays.Changelog
Build.ValueChanged += showBuild;
// ReSharper disable once PossibleNullReferenceException
// see https://youtrack.jetbrains.com/issue/RSRP-486768
Streams.Current.ValueChanged += e =>
{
if (e.NewValue?.LatestBuild != null && !e.NewValue.Equals(Build.Value?.UpdateStream))