mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 08:12:55 +08:00
Disable other false-positive null inspections with comment
This commit is contained in:
parent
36d99a2e34
commit
4245af28e1
@ -23,6 +23,8 @@ namespace osu.Game.Overlays.BeatmapListing
|
|||||||
public BeatmapSearchMultipleSelectionFilterRow(LocalisableString header)
|
public BeatmapSearchMultipleSelectionFilterRow(LocalisableString header)
|
||||||
: base(header)
|
: base(header)
|
||||||
{
|
{
|
||||||
|
// ReSharper disable once PossibleNullReferenceException
|
||||||
|
// see https://youtrack.jetbrains.com/issue/RSRP-486768
|
||||||
Current.BindTo(filter.Current);
|
Current.BindTo(filter.Current);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,6 +39,8 @@ namespace osu.Game.Overlays.Changelog
|
|||||||
|
|
||||||
Build.ValueChanged += showBuild;
|
Build.ValueChanged += showBuild;
|
||||||
|
|
||||||
|
// ReSharper disable once PossibleNullReferenceException
|
||||||
|
// see https://youtrack.jetbrains.com/issue/RSRP-486768
|
||||||
Streams.Current.ValueChanged += e =>
|
Streams.Current.ValueChanged += e =>
|
||||||
{
|
{
|
||||||
if (e.NewValue?.LatestBuild != null && !e.NewValue.Equals(Build.Value?.UpdateStream))
|
if (e.NewValue?.LatestBuild != null && !e.NewValue.Equals(Build.Value?.UpdateStream))
|
||||||
|
@ -187,6 +187,8 @@ namespace osu.Game.Overlays.Comments
|
|||||||
AutoSizeAxes = Axes.Both;
|
AutoSizeAxes = Axes.Both;
|
||||||
LoadingAnimationSize = new Vector2(10);
|
LoadingAnimationSize = new Vector2(10);
|
||||||
|
|
||||||
|
// ReSharper disable once PossibleNullReferenceException
|
||||||
|
// see https://youtrack.jetbrains.com/issue/RSRP-486768
|
||||||
drawableText.Text = text;
|
drawableText.Text = text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user