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

@ -23,6 +23,8 @@ namespace osu.Game.Overlays.BeatmapListing
public BeatmapSearchMultipleSelectionFilterRow(LocalisableString header)
: base(header)
{
// ReSharper disable once PossibleNullReferenceException
// see https://youtrack.jetbrains.com/issue/RSRP-486768
Current.BindTo(filter.Current);
}

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))

View File

@ -187,6 +187,8 @@ namespace osu.Game.Overlays.Comments
AutoSizeAxes = Axes.Both;
LoadingAnimationSize = new Vector2(10);
// ReSharper disable once PossibleNullReferenceException
// see https://youtrack.jetbrains.com/issue/RSRP-486768
drawableText.Text = text;
}