diff --git a/SampleGame.iOS/Application.cs b/SampleGame.iOS/Application.cs index ae194d714..c27e589f7 100644 --- a/SampleGame.iOS/Application.cs +++ b/SampleGame.iOS/Application.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.iOS; namespace SampleGame.iOS diff --git a/osu.Framework.Tests.iOS/Application.cs b/osu.Framework.Tests.iOS/Application.cs index 7a6c8f463..7305fe41e 100644 --- a/osu.Framework.Tests.iOS/Application.cs +++ b/osu.Framework.Tests.iOS/Application.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.iOS; namespace osu.Framework.Tests diff --git a/osu.Framework.Tests/Audio/AudioCollectionManagerTest.cs b/osu.Framework.Tests/Audio/AudioCollectionManagerTest.cs index 53c39d793..ca51933d8 100644 --- a/osu.Framework.Tests/Audio/AudioCollectionManagerTest.cs +++ b/osu.Framework.Tests/Audio/AudioCollectionManagerTest.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Threading; using NUnit.Framework; using osu.Framework.Audio; diff --git a/osu.Framework.Tests/Audio/AudioComponentTest.cs b/osu.Framework.Tests/Audio/AudioComponentTest.cs index accb910b7..22e8d1c3a 100644 --- a/osu.Framework.Tests/Audio/AudioComponentTest.cs +++ b/osu.Framework.Tests/Audio/AudioComponentTest.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Audio.Sample; using osu.Framework.Audio.Track; diff --git a/osu.Framework.Tests/Audio/AudioManagerWithDeviceLoss.cs b/osu.Framework.Tests/Audio/AudioManagerWithDeviceLoss.cs index 924318008..d1f5977b3 100644 --- a/osu.Framework.Tests/Audio/AudioManagerWithDeviceLoss.cs +++ b/osu.Framework.Tests/Audio/AudioManagerWithDeviceLoss.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using System.Linq; using ManagedBass; diff --git a/osu.Framework.Tests/Audio/BassTestComponents.cs b/osu.Framework.Tests/Audio/BassTestComponents.cs index 2995e1cc9..e95713aaa 100644 --- a/osu.Framework.Tests/Audio/BassTestComponents.cs +++ b/osu.Framework.Tests/Audio/BassTestComponents.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Threading; using ManagedBass; diff --git a/osu.Framework.Tests/Audio/DeviceLosingAudioTest.cs b/osu.Framework.Tests/Audio/DeviceLosingAudioTest.cs index 0a92aa35e..cf2a00ee2 100644 --- a/osu.Framework.Tests/Audio/DeviceLosingAudioTest.cs +++ b/osu.Framework.Tests/Audio/DeviceLosingAudioTest.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using NUnit.Framework; diff --git a/osu.Framework.Tests/Audio/DevicelessAudioTest.cs b/osu.Framework.Tests/Audio/DevicelessAudioTest.cs index 2d38c7d82..2ca741bd5 100644 --- a/osu.Framework.Tests/Audio/DevicelessAudioTest.cs +++ b/osu.Framework.Tests/Audio/DevicelessAudioTest.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; namespace osu.Framework.Tests.Audio diff --git a/osu.Framework.Tests/Audio/TestAudioAdjustments.cs b/osu.Framework.Tests/Audio/TestAudioAdjustments.cs index 3506b811a..8897f48e8 100644 --- a/osu.Framework.Tests/Audio/TestAudioAdjustments.cs +++ b/osu.Framework.Tests/Audio/TestAudioAdjustments.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Runtime.CompilerServices; using NUnit.Framework; diff --git a/osu.Framework.Tests/AutomatedVisualTestGame.cs b/osu.Framework.Tests/AutomatedVisualTestGame.cs index 647508cfe..a2d9986a6 100644 --- a/osu.Framework.Tests/AutomatedVisualTestGame.cs +++ b/osu.Framework.Tests/AutomatedVisualTestGame.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Testing; namespace osu.Framework.Tests diff --git a/osu.Framework.Tests/Bindables/BindableBoolTest.cs b/osu.Framework.Tests/Bindables/BindableBoolTest.cs index 3114ec961..dc7677fd2 100644 --- a/osu.Framework.Tests/Bindables/BindableBoolTest.cs +++ b/osu.Framework.Tests/Bindables/BindableBoolTest.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Bindables; diff --git a/osu.Framework.Tests/Bindables/BindableDoubleTest.cs b/osu.Framework.Tests/Bindables/BindableDoubleTest.cs index 506d0ef51..c6e8a8053 100644 --- a/osu.Framework.Tests/Bindables/BindableDoubleTest.cs +++ b/osu.Framework.Tests/Bindables/BindableDoubleTest.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Bindables; diff --git a/osu.Framework.Tests/Bindables/BindableEnumTest.cs b/osu.Framework.Tests/Bindables/BindableEnumTest.cs index 9890d028a..e3781806c 100644 --- a/osu.Framework.Tests/Bindables/BindableEnumTest.cs +++ b/osu.Framework.Tests/Bindables/BindableEnumTest.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Linq; using NUnit.Framework; diff --git a/osu.Framework.Tests/Bindables/BindableFloatTest.cs b/osu.Framework.Tests/Bindables/BindableFloatTest.cs index 37c5e1421..f671afcfe 100644 --- a/osu.Framework.Tests/Bindables/BindableFloatTest.cs +++ b/osu.Framework.Tests/Bindables/BindableFloatTest.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Bindables; diff --git a/osu.Framework.Tests/Bindables/BindableIntTest.cs b/osu.Framework.Tests/Bindables/BindableIntTest.cs index 328a9c4ba..7626da2ca 100644 --- a/osu.Framework.Tests/Bindables/BindableIntTest.cs +++ b/osu.Framework.Tests/Bindables/BindableIntTest.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Bindables; diff --git a/osu.Framework.Tests/Bindables/BindableLongTest.cs b/osu.Framework.Tests/Bindables/BindableLongTest.cs index 8da72a093..5d92490a8 100644 --- a/osu.Framework.Tests/Bindables/BindableLongTest.cs +++ b/osu.Framework.Tests/Bindables/BindableLongTest.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Bindables; diff --git a/osu.Framework.Tests/Bindables/BindableMarginPaddingTest.cs b/osu.Framework.Tests/Bindables/BindableMarginPaddingTest.cs index 391e6a42f..fad7c26d6 100644 --- a/osu.Framework.Tests/Bindables/BindableMarginPaddingTest.cs +++ b/osu.Framework.Tests/Bindables/BindableMarginPaddingTest.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Bindables; using osu.Framework.Graphics; diff --git a/osu.Framework.Tests/Bindables/BindableSizeTest.cs b/osu.Framework.Tests/Bindables/BindableSizeTest.cs index 8721e4846..d5e4c9c70 100644 --- a/osu.Framework.Tests/Bindables/BindableSizeTest.cs +++ b/osu.Framework.Tests/Bindables/BindableSizeTest.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using System.Drawing; using osu.Framework.Bindables; diff --git a/osu.Framework.Tests/Bindables/BindableStringTest.cs b/osu.Framework.Tests/Bindables/BindableStringTest.cs index 6419651c5..e2344ddae 100644 --- a/osu.Framework.Tests/Bindables/BindableStringTest.cs +++ b/osu.Framework.Tests/Bindables/BindableStringTest.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Bindables; diff --git a/osu.Framework.Tests/Bindables/BindableWithCurrentTest.cs b/osu.Framework.Tests/Bindables/BindableWithCurrentTest.cs index 78ebfcce2..dd21f9f4e 100644 --- a/osu.Framework.Tests/Bindables/BindableWithCurrentTest.cs +++ b/osu.Framework.Tests/Bindables/BindableWithCurrentTest.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Bindables; using osu.Framework.Graphics.UserInterface; diff --git a/osu.Framework.Tests/Bindables/RangeConstrainedBindableTest.cs b/osu.Framework.Tests/Bindables/RangeConstrainedBindableTest.cs index 1c2f9f875..750aa21a1 100644 --- a/osu.Framework.Tests/Bindables/RangeConstrainedBindableTest.cs +++ b/osu.Framework.Tests/Bindables/RangeConstrainedBindableTest.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Bindables; diff --git a/osu.Framework.Tests/Configuration/FrameworkConfigManagerTest.cs b/osu.Framework.Tests/Configuration/FrameworkConfigManagerTest.cs index 52c7bbc0a..0503b971c 100644 --- a/osu.Framework.Tests/Configuration/FrameworkConfigManagerTest.cs +++ b/osu.Framework.Tests/Configuration/FrameworkConfigManagerTest.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections.Generic; using NUnit.Framework; diff --git a/osu.Framework.Tests/Extensions/TestExtensions.cs b/osu.Framework.Tests/Extensions/TestExtensions.cs index d26059310..14fe44adb 100644 --- a/osu.Framework.Tests/Extensions/TestExtensions.cs +++ b/osu.Framework.Tests/Extensions/TestExtensions.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Extensions; diff --git a/osu.Framework.Tests/Extensions/TestStreamExtensions.cs b/osu.Framework.Tests/Extensions/TestStreamExtensions.cs index d7b3aa189..d6c382462 100644 --- a/osu.Framework.Tests/Extensions/TestStreamExtensions.cs +++ b/osu.Framework.Tests/Extensions/TestStreamExtensions.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.IO; using System.Linq; using System.Threading.Tasks; diff --git a/osu.Framework.Tests/Graphics/ColourTest.cs b/osu.Framework.Tests/Graphics/ColourTest.cs index a061871b5..5b2f81409 100644 --- a/osu.Framework.Tests/Graphics/ColourTest.cs +++ b/osu.Framework.Tests/Graphics/ColourTest.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Numerics; using NUnit.Framework; diff --git a/osu.Framework.Tests/Graphics/ShaderRegexTest.cs b/osu.Framework.Tests/Graphics/ShaderRegexTest.cs index 3db80b103..296e57c14 100644 --- a/osu.Framework.Tests/Graphics/ShaderRegexTest.cs +++ b/osu.Framework.Tests/Graphics/ShaderRegexTest.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Graphics.OpenGL.Shaders; diff --git a/osu.Framework.Tests/IO/TestDesktopStorage.cs b/osu.Framework.Tests/IO/TestDesktopStorage.cs index 5b7af4478..dd1ad403d 100644 --- a/osu.Framework.Tests/IO/TestDesktopStorage.cs +++ b/osu.Framework.Tests/IO/TestDesktopStorage.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.IO; using NUnit.Framework; diff --git a/osu.Framework.Tests/IO/TestSortedListSerialization.cs b/osu.Framework.Tests/IO/TestSortedListSerialization.cs index 98d5f8941..c8585caca 100644 --- a/osu.Framework.Tests/IO/TestSortedListSerialization.cs +++ b/osu.Framework.Tests/IO/TestSortedListSerialization.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using Newtonsoft.Json; using NUnit.Framework; using osu.Framework.Lists; diff --git a/osu.Framework.Tests/Input/KeyCombinationModifierTest.cs b/osu.Framework.Tests/Input/KeyCombinationModifierTest.cs index 6ae0e5e31..06bf215f5 100644 --- a/osu.Framework.Tests/Input/KeyCombinationModifierTest.cs +++ b/osu.Framework.Tests/Input/KeyCombinationModifierTest.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Input.Bindings; diff --git a/osu.Framework.Tests/Input/ReadableKeyCombinationTest.cs b/osu.Framework.Tests/Input/ReadableKeyCombinationTest.cs index a273b074d..857da947a 100644 --- a/osu.Framework.Tests/Input/ReadableKeyCombinationTest.cs +++ b/osu.Framework.Tests/Input/ReadableKeyCombinationTest.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Input; using osu.Framework.Input.Bindings; diff --git a/osu.Framework.Tests/Lists/TestEnumerableExtensions.cs b/osu.Framework.Tests/Lists/TestEnumerableExtensions.cs index 4bd2ce0c6..83b0b437e 100644 --- a/osu.Framework.Tests/Lists/TestEnumerableExtensions.cs +++ b/osu.Framework.Tests/Lists/TestEnumerableExtensions.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Linq; using NUnit.Framework; using osu.Framework.Extensions.IEnumerableExtensions; diff --git a/osu.Framework.Tests/Lists/TestWeakList.cs b/osu.Framework.Tests/Lists/TestWeakList.cs index 4777dee7a..d002ba5af 100644 --- a/osu.Framework.Tests/Lists/TestWeakList.cs +++ b/osu.Framework.Tests/Lists/TestWeakList.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections.Generic; using System.Linq; diff --git a/osu.Framework.Tests/Localisation/LocalisableDescriptionAttributeTest.cs b/osu.Framework.Tests/Localisation/LocalisableDescriptionAttributeTest.cs index 815661f23..9fa0bf5c9 100644 --- a/osu.Framework.Tests/Localisation/LocalisableDescriptionAttributeTest.cs +++ b/osu.Framework.Tests/Localisation/LocalisableDescriptionAttributeTest.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using NUnit.Framework; using osu.Framework.Extensions; diff --git a/osu.Framework.Tests/MathUtils/TestInterpolation.cs b/osu.Framework.Tests/MathUtils/TestInterpolation.cs index 6f427293e..054f1caaa 100644 --- a/osu.Framework.Tests/MathUtils/TestInterpolation.cs +++ b/osu.Framework.Tests/MathUtils/TestInterpolation.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections.Generic; using System.Linq; diff --git a/osu.Framework.Tests/MathUtils/TestPathApproximator.cs b/osu.Framework.Tests/MathUtils/TestPathApproximator.cs index b421d9dfc..8bf2db49c 100644 --- a/osu.Framework.Tests/MathUtils/TestPathApproximator.cs +++ b/osu.Framework.Tests/MathUtils/TestPathApproximator.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using NUnit.Framework; using osu.Framework.Utils; diff --git a/osu.Framework.Tests/Platform/PortableInstallationTest.cs b/osu.Framework.Tests/Platform/PortableInstallationTest.cs index 9c6d27294..c2e0b9ca3 100644 --- a/osu.Framework.Tests/Platform/PortableInstallationTest.cs +++ b/osu.Framework.Tests/Platform/PortableInstallationTest.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Configuration; using osu.Framework.Platform; diff --git a/osu.Framework.Tests/Platform/UserInputManagerTest.cs b/osu.Framework.Tests/Platform/UserInputManagerTest.cs index 8da5f00b5..553782025 100644 --- a/osu.Framework.Tests/Platform/UserInputManagerTest.cs +++ b/osu.Framework.Tests/Platform/UserInputManagerTest.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Testing; diff --git a/osu.Framework.Tests/Platform/UserStorageLookupTest.cs b/osu.Framework.Tests/Platform/UserStorageLookupTest.cs index 0ecf20ce2..0b0923828 100644 --- a/osu.Framework.Tests/Platform/UserStorageLookupTest.cs +++ b/osu.Framework.Tests/Platform/UserStorageLookupTest.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections.Generic; using System.IO; diff --git a/osu.Framework.Tests/Polygons/ConvexPolygonClipperFuzzingTest.cs b/osu.Framework.Tests/Polygons/ConvexPolygonClipperFuzzingTest.cs index b0f09b335..7ad323465 100644 --- a/osu.Framework.Tests/Polygons/ConvexPolygonClipperFuzzingTest.cs +++ b/osu.Framework.Tests/Polygons/ConvexPolygonClipperFuzzingTest.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections.Generic; using System.Linq; diff --git a/osu.Framework.Tests/Polygons/ConvexPolygonClippingTest.cs b/osu.Framework.Tests/Polygons/ConvexPolygonClippingTest.cs index 8ad7b8d3e..24aefff5e 100644 --- a/osu.Framework.Tests/Polygons/ConvexPolygonClippingTest.cs +++ b/osu.Framework.Tests/Polygons/ConvexPolygonClippingTest.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using NUnit.Framework; using osu.Framework.Graphics; diff --git a/osu.Framework.Tests/Polygons/LineIntersections.cs b/osu.Framework.Tests/Polygons/LineIntersections.cs index 025043fe2..bbfb460b2 100644 --- a/osu.Framework.Tests/Polygons/LineIntersections.cs +++ b/osu.Framework.Tests/Polygons/LineIntersections.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Primitives; diff --git a/osu.Framework.Tests/Primitives/QuadTest.cs b/osu.Framework.Tests/Primitives/QuadTest.cs index ffcd319d3..fed9176cd 100644 --- a/osu.Framework.Tests/Primitives/QuadTest.cs +++ b/osu.Framework.Tests/Primitives/QuadTest.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections; using NUnit.Framework; using osu.Framework.Extensions.MatrixExtensions; diff --git a/osu.Framework.Tests/Primitives/TriangleTest.cs b/osu.Framework.Tests/Primitives/TriangleTest.cs index 1ac187efd..91d66cfab 100644 --- a/osu.Framework.Tests/Primitives/TriangleTest.cs +++ b/osu.Framework.Tests/Primitives/TriangleTest.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Graphics.Primitives; using osuTK; diff --git a/osu.Framework.Tests/Primitives/Vector2ExtensionsTest.cs b/osu.Framework.Tests/Primitives/Vector2ExtensionsTest.cs index 81a473792..5c07427fb 100644 --- a/osu.Framework.Tests/Primitives/Vector2ExtensionsTest.cs +++ b/osu.Framework.Tests/Primitives/Vector2ExtensionsTest.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using NUnit.Framework; using osu.Framework.Graphics; diff --git a/osu.Framework.Tests/TestGame.cs b/osu.Framework.Tests/TestGame.cs index 7812aa210..97b71a41a 100644 --- a/osu.Framework.Tests/TestGame.cs +++ b/osu.Framework.Tests/TestGame.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.IO.Stores; diff --git a/osu.Framework.Tests/Transforms/TestSceneTransformEventBindings.cs b/osu.Framework.Tests/Transforms/TestSceneTransformEventBindings.cs index 4ee2f9b40..9b45932c7 100644 --- a/osu.Framework.Tests/Transforms/TestSceneTransformEventBindings.cs +++ b/osu.Framework.Tests/Transforms/TestSceneTransformEventBindings.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework.Tests/Visual/Audio/TestSceneAudioMixer.cs b/osu.Framework.Tests/Visual/Audio/TestSceneAudioMixer.cs index 2cf36c59d..92097e58c 100644 --- a/osu.Framework.Tests/Visual/Audio/TestSceneAudioMixer.cs +++ b/osu.Framework.Tests/Visual/Audio/TestSceneAudioMixer.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Linq; using ManagedBass; using ManagedBass.Fx; diff --git a/osu.Framework.Tests/Visual/Audio/TestSceneTrackAdjustments.cs b/osu.Framework.Tests/Visual/Audio/TestSceneTrackAdjustments.cs index 96946b83a..5a2e57099 100644 --- a/osu.Framework.Tests/Visual/Audio/TestSceneTrackAdjustments.cs +++ b/osu.Framework.Tests/Visual/Audio/TestSceneTrackAdjustments.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Allocation; using osu.Framework.Audio.Track; using osu.Framework.Bindables; diff --git a/osu.Framework.Tests/Visual/Bindables/TestSceneBindableNumbers.cs b/osu.Framework.Tests/Visual/Bindables/TestSceneBindableNumbers.cs index 6640b8db9..c2542cfdc 100644 --- a/osu.Framework.Tests/Visual/Bindables/TestSceneBindableNumbers.cs +++ b/osu.Framework.Tests/Visual/Bindables/TestSceneBindableNumbers.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Globalization; using osu.Framework.Bindables; diff --git a/osu.Framework.Tests/Visual/Containers/TestSceneBufferedContainer.cs b/osu.Framework.Tests/Visual/Containers/TestSceneBufferedContainer.cs index 68c7aa663..aadd9b4a9 100644 --- a/osu.Framework.Tests/Visual/Containers/TestSceneBufferedContainer.cs +++ b/osu.Framework.Tests/Visual/Containers/TestSceneBufferedContainer.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osuTK; diff --git a/osu.Framework.Tests/Visual/Containers/TestSceneCachedBufferedContainer.cs b/osu.Framework.Tests/Visual/Containers/TestSceneCachedBufferedContainer.cs index 3922a393e..dd91b4861 100644 --- a/osu.Framework.Tests/Visual/Containers/TestSceneCachedBufferedContainer.cs +++ b/osu.Framework.Tests/Visual/Containers/TestSceneCachedBufferedContainer.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework.Tests/Visual/Containers/TestSceneCoordinateSpaces.cs b/osu.Framework.Tests/Visual/Containers/TestSceneCoordinateSpaces.cs index d64c7db18..19ea50ee2 100644 --- a/osu.Framework.Tests/Visual/Containers/TestSceneCoordinateSpaces.cs +++ b/osu.Framework.Tests/Visual/Containers/TestSceneCoordinateSpaces.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Globalization; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework.Tests/Visual/Containers/TestSceneDynamicDepth.cs b/osu.Framework.Tests/Visual/Containers/TestSceneDynamicDepth.cs index 30404591d..b73d2415e 100644 --- a/osu.Framework.Tests/Visual/Containers/TestSceneDynamicDepth.cs +++ b/osu.Framework.Tests/Visual/Containers/TestSceneDynamicDepth.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; diff --git a/osu.Framework.Tests/Visual/Containers/TestSceneFrontToBackBufferedContainer.cs b/osu.Framework.Tests/Visual/Containers/TestSceneFrontToBackBufferedContainer.cs index 4388fd54d..938bcbfd7 100644 --- a/osu.Framework.Tests/Visual/Containers/TestSceneFrontToBackBufferedContainer.cs +++ b/osu.Framework.Tests/Visual/Containers/TestSceneFrontToBackBufferedContainer.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework.Tests/Visual/Containers/TestSceneFrontToBackTriangle.cs b/osu.Framework.Tests/Visual/Containers/TestSceneFrontToBackTriangle.cs index 1b38663d1..d76214e92 100644 --- a/osu.Framework.Tests/Visual/Containers/TestSceneFrontToBackTriangle.cs +++ b/osu.Framework.Tests/Visual/Containers/TestSceneFrontToBackTriangle.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osuTK; diff --git a/osu.Framework.Tests/Visual/Containers/TestSceneMasking.cs b/osu.Framework.Tests/Visual/Containers/TestSceneMasking.cs index 7bb1dc00c..6a450848d 100644 --- a/osu.Framework.Tests/Visual/Containers/TestSceneMasking.cs +++ b/osu.Framework.Tests/Visual/Containers/TestSceneMasking.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework.Tests/Visual/Containers/TestScenePadding.cs b/osu.Framework.Tests/Visual/Containers/TestScenePadding.cs index 7f5cde9c7..f5ea78f80 100644 --- a/osu.Framework.Tests/Visual/Containers/TestScenePadding.cs +++ b/osu.Framework.Tests/Visual/Containers/TestScenePadding.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; diff --git a/osu.Framework.Tests/Visual/Containers/TestSceneSafeAreaContainer.cs b/osu.Framework.Tests/Visual/Containers/TestSceneSafeAreaContainer.cs index 1b16622d4..10a8c93f8 100644 --- a/osu.Framework.Tests/Visual/Containers/TestSceneSafeAreaContainer.cs +++ b/osu.Framework.Tests/Visual/Containers/TestSceneSafeAreaContainer.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Linq; using osu.Framework.Bindables; using osu.Framework.Graphics; diff --git a/osu.Framework.Tests/Visual/Containers/TestSceneSafeAreaOverrides.cs b/osu.Framework.Tests/Visual/Containers/TestSceneSafeAreaOverrides.cs index a1cf4ef3e..2c7739731 100644 --- a/osu.Framework.Tests/Visual/Containers/TestSceneSafeAreaOverrides.cs +++ b/osu.Framework.Tests/Visual/Containers/TestSceneSafeAreaOverrides.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Extensions.EnumExtensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework.Tests/Visual/Drawables/TestSceneBorderSmoothing.cs b/osu.Framework.Tests/Visual/Drawables/TestSceneBorderSmoothing.cs index da44dd0e9..b4fb91b75 100644 --- a/osu.Framework.Tests/Visual/Drawables/TestSceneBorderSmoothing.cs +++ b/osu.Framework.Tests/Visual/Drawables/TestSceneBorderSmoothing.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Allocation; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; diff --git a/osu.Framework.Tests/Visual/Drawables/TestSceneColourGradient.cs b/osu.Framework.Tests/Visual/Drawables/TestSceneColourGradient.cs index f9d09f0fd..cd774462e 100644 --- a/osu.Framework.Tests/Visual/Drawables/TestSceneColourGradient.cs +++ b/osu.Framework.Tests/Visual/Drawables/TestSceneColourGradient.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Colour; diff --git a/osu.Framework.Tests/Visual/Drawables/TestSceneComplexBlending.cs b/osu.Framework.Tests/Visual/Drawables/TestSceneComplexBlending.cs index 7d1262527..883c59538 100644 --- a/osu.Framework.Tests/Visual/Drawables/TestSceneComplexBlending.cs +++ b/osu.Framework.Tests/Visual/Drawables/TestSceneComplexBlending.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections.Generic; using osu.Framework.Graphics; diff --git a/osu.Framework.Tests/Visual/Drawables/TestSceneEffects.cs b/osu.Framework.Tests/Visual/Drawables/TestSceneEffects.cs index 59c0d6499..25faa073f 100644 --- a/osu.Framework.Tests/Visual/Drawables/TestSceneEffects.cs +++ b/osu.Framework.Tests/Visual/Drawables/TestSceneEffects.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics; using osu.Framework.Graphics.Colour; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework.Tests/Visual/Drawables/TestSceneHollowEdgeEffect.cs b/osu.Framework.Tests/Visual/Drawables/TestSceneHollowEdgeEffect.cs index 81d152fe0..e9577c0b5 100644 --- a/osu.Framework.Tests/Visual/Drawables/TestSceneHollowEdgeEffect.cs +++ b/osu.Framework.Tests/Visual/Drawables/TestSceneHollowEdgeEffect.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Effects; diff --git a/osu.Framework.Tests/Visual/Drawables/TestScenePathApproximator.cs b/osu.Framework.Tests/Visual/Drawables/TestScenePathApproximator.cs index fd7c6cb0a..f473b6903 100644 --- a/osu.Framework.Tests/Visual/Drawables/TestScenePathApproximator.cs +++ b/osu.Framework.Tests/Visual/Drawables/TestScenePathApproximator.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections.Generic; using osu.Framework.Graphics; diff --git a/osu.Framework.Tests/Visual/Drawables/TestScenePropertyBoundaries.cs b/osu.Framework.Tests/Visual/Drawables/TestScenePropertyBoundaries.cs index 8729bc113..60fb3d048 100644 --- a/osu.Framework.Tests/Visual/Drawables/TestScenePropertyBoundaries.cs +++ b/osu.Framework.Tests/Visual/Drawables/TestScenePropertyBoundaries.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; diff --git a/osu.Framework.Tests/Visual/Drawables/TestSceneProxyDrawables.cs b/osu.Framework.Tests/Visual/Drawables/TestSceneProxyDrawables.cs index 34b760bbf..63cc7bd61 100644 --- a/osu.Framework.Tests/Visual/Drawables/TestSceneProxyDrawables.cs +++ b/osu.Framework.Tests/Visual/Drawables/TestSceneProxyDrawables.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework.Tests/Visual/Drawables/TestSceneTransformSequence.cs b/osu.Framework.Tests/Visual/Drawables/TestSceneTransformSequence.cs index 6f58ab353..b35689256 100644 --- a/osu.Framework.Tests/Visual/Drawables/TestSceneTransformSequence.cs +++ b/osu.Framework.Tests/Visual/Drawables/TestSceneTransformSequence.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using NUnit.Framework; using osu.Framework.Graphics; diff --git a/osu.Framework.Tests/Visual/FrameworkGridTestScene.cs b/osu.Framework.Tests/Visual/FrameworkGridTestScene.cs index 5eb14bf87..18ada1f3b 100644 --- a/osu.Framework.Tests/Visual/FrameworkGridTestScene.cs +++ b/osu.Framework.Tests/Visual/FrameworkGridTestScene.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Testing; namespace osu.Framework.Tests.Visual diff --git a/osu.Framework.Tests/Visual/FrameworkTestScene.cs b/osu.Framework.Tests/Visual/FrameworkTestScene.cs index 954e1c429..9746482f6 100644 --- a/osu.Framework.Tests/Visual/FrameworkTestScene.cs +++ b/osu.Framework.Tests/Visual/FrameworkTestScene.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Testing; namespace osu.Framework.Tests.Visual diff --git a/osu.Framework.Tests/Visual/FrameworkTestSceneTestRunner.cs b/osu.Framework.Tests/Visual/FrameworkTestSceneTestRunner.cs index a44800b04..860da4945 100644 --- a/osu.Framework.Tests/Visual/FrameworkTestSceneTestRunner.cs +++ b/osu.Framework.Tests/Visual/FrameworkTestSceneTestRunner.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Allocation; using osu.Framework.IO.Stores; using osu.Framework.Testing; diff --git a/osu.Framework.Tests/Visual/Input/TestSceneHandleInput.cs b/osu.Framework.Tests/Visual/Input/TestSceneHandleInput.cs index 425b3d25a..86b48b321 100644 --- a/osu.Framework.Tests/Visual/Input/TestSceneHandleInput.cs +++ b/osu.Framework.Tests/Visual/Input/TestSceneHandleInput.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework.Tests/Visual/Input/TestSceneInputQueueChange.cs b/osu.Framework.Tests/Visual/Input/TestSceneInputQueueChange.cs index 57fe3aa13..8e4862ff0 100644 --- a/osu.Framework.Tests/Visual/Input/TestSceneInputQueueChange.cs +++ b/osu.Framework.Tests/Visual/Input/TestSceneInputQueueChange.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Linq; using NUnit.Framework; using osu.Framework.Graphics; diff --git a/osu.Framework.Tests/Visual/Input/TestSceneJoystick.cs b/osu.Framework.Tests/Visual/Input/TestSceneJoystick.cs index bd9909eb3..d1d2b206d 100644 --- a/osu.Framework.Tests/Visual/Input/TestSceneJoystick.cs +++ b/osu.Framework.Tests/Visual/Input/TestSceneJoystick.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework.Tests/Visual/Input/TestSceneKeyBindingsGrid.cs b/osu.Framework.Tests/Visual/Input/TestSceneKeyBindingsGrid.cs index c6edaae49..08b3dacdf 100644 --- a/osu.Framework.Tests/Visual/Input/TestSceneKeyBindingsGrid.cs +++ b/osu.Framework.Tests/Visual/Input/TestSceneKeyBindingsGrid.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections.Generic; using System.Diagnostics; diff --git a/osu.Framework.Tests/Visual/Input/TestSceneMidi.cs b/osu.Framework.Tests/Visual/Input/TestSceneMidi.cs index 490d5e10b..7b236b0c7 100644 --- a/osu.Framework.Tests/Visual/Input/TestSceneMidi.cs +++ b/osu.Framework.Tests/Visual/Input/TestSceneMidi.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Linq; using osu.Framework.Allocation; using osu.Framework.Graphics; @@ -36,7 +34,7 @@ namespace osu.Framework.Tests.Visual.Input } [Resolved] - private GameHost host { get; set; } + private GameHost host { get; set; } = null!; protected override void LoadComplete() { diff --git a/osu.Framework.Tests/Visual/Input/TestSceneNestedHover.cs b/osu.Framework.Tests/Visual/Input/TestSceneNestedHover.cs index a8f3ef6c5..b5a527aa5 100644 --- a/osu.Framework.Tests/Visual/Input/TestSceneNestedHover.cs +++ b/osu.Framework.Tests/Visual/Input/TestSceneNestedHover.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; diff --git a/osu.Framework.Tests/Visual/Input/TestSceneReadableKeyCombinationProvider.cs b/osu.Framework.Tests/Visual/Input/TestSceneReadableKeyCombinationProvider.cs index 589e5370b..89df60875 100644 --- a/osu.Framework.Tests/Visual/Input/TestSceneReadableKeyCombinationProvider.cs +++ b/osu.Framework.Tests/Visual/Input/TestSceneReadableKeyCombinationProvider.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; @@ -104,7 +102,7 @@ namespace osu.Framework.Tests.Visual.Input public partial class Key : CompositeDrawable { [Resolved] - private ReadableKeyCombinationProvider readableKeyCombinationProvider { get; set; } + private ReadableKeyCombinationProvider readableKeyCombinationProvider { get; set; } = null!; private readonly Box box; private readonly SpriteText text; @@ -177,7 +175,7 @@ namespace osu.Framework.Tests.Visual.Input public partial class PressedKeyCombinationDisplay : CompositeDrawable { [Resolved] - private ReadableKeyCombinationProvider readableKeyCombinationProvider { get; set; } + private ReadableKeyCombinationProvider readableKeyCombinationProvider { get; set; } = null!; private readonly SpriteText text; diff --git a/osu.Framework.Tests/Visual/Input/TestSceneTabletInput.cs b/osu.Framework.Tests/Visual/Input/TestSceneTabletInput.cs index cc88b3901..96cc0c853 100644 --- a/osu.Framework.Tests/Visual/Input/TestSceneTabletInput.cs +++ b/osu.Framework.Tests/Visual/Input/TestSceneTabletInput.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Linq; using osu.Framework.Allocation; using osu.Framework.Graphics; @@ -49,7 +47,7 @@ namespace osu.Framework.Tests.Visual.Input } [Resolved] - private GameHost host { get; set; } + private GameHost host { get; set; } = null!; protected override void LoadComplete() { diff --git a/osu.Framework.Tests/Visual/Platform/TestSceneAllowSuspension.cs b/osu.Framework.Tests/Visual/Platform/TestSceneAllowSuspension.cs index 8ac0b4b19..2cd1f8266 100644 --- a/osu.Framework.Tests/Visual/Platform/TestSceneAllowSuspension.cs +++ b/osu.Framework.Tests/Visual/Platform/TestSceneAllowSuspension.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Bindables; diff --git a/osu.Framework.Tests/Visual/Platform/TestSceneExternalLinks.cs b/osu.Framework.Tests/Visual/Platform/TestSceneExternalLinks.cs index 86d82269b..646878ba3 100644 --- a/osu.Framework.Tests/Visual/Platform/TestSceneExternalLinks.cs +++ b/osu.Framework.Tests/Visual/Platform/TestSceneExternalLinks.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; @@ -15,7 +13,7 @@ namespace osu.Framework.Tests.Visual.Platform public partial class TestSceneExternalLinks : FrameworkTestScene { [Resolved] - private GameHost host { get; set; } + private GameHost host { get; set; } = null!; public TestSceneExternalLinks() { diff --git a/osu.Framework.Tests/Visual/Platform/TestScenePresentFileExternally.cs b/osu.Framework.Tests/Visual/Platform/TestScenePresentFileExternally.cs index 390ba2c4f..2fa1f4427 100644 --- a/osu.Framework.Tests/Visual/Platform/TestScenePresentFileExternally.cs +++ b/osu.Framework.Tests/Visual/Platform/TestScenePresentFileExternally.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Allocation; using osu.Framework.Graphics; @@ -17,10 +15,10 @@ namespace osu.Framework.Tests.Visual.Platform public partial class TestScenePresentFileExternally : FrameworkTestScene { [Resolved] - private GameHost host { get; set; } + private GameHost host { get; set; } = null!; [Resolved] - private Storage storage { get; set; } + private Storage storage { get; set; } = null!; protected override void LoadComplete() { diff --git a/osu.Framework.Tests/Visual/Sprites/TestSceneAnimationLayout.cs b/osu.Framework.Tests/Visual/Sprites/TestSceneAnimationLayout.cs index ec909edc9..4c95e5b37 100644 --- a/osu.Framework.Tests/Visual/Sprites/TestSceneAnimationLayout.cs +++ b/osu.Framework.Tests/Visual/Sprites/TestSceneAnimationLayout.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Allocation; using osu.Framework.Extensions.ObjectExtensions; @@ -126,7 +124,7 @@ namespace osu.Framework.Tests.Visual.Sprites private partial class TestTextureAnimation : TextureAnimation { [Resolved] - private FontStore fontStore { get; set; } + private FontStore fontStore { get; set; } = null!; public TestTextureAnimation() { diff --git a/osu.Framework.Tests/Visual/Sprites/TestSceneBufferedContainerView.cs b/osu.Framework.Tests/Visual/Sprites/TestSceneBufferedContainerView.cs index c432bff6a..c32838546 100644 --- a/osu.Framework.Tests/Visual/Sprites/TestSceneBufferedContainerView.cs +++ b/osu.Framework.Tests/Visual/Sprites/TestSceneBufferedContainerView.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework.Tests/Visual/Sprites/TestSceneRomanisableSpriteText.cs b/osu.Framework.Tests/Visual/Sprites/TestSceneRomanisableSpriteText.cs index b2bcde468..83cfae4ef 100644 --- a/osu.Framework.Tests/Visual/Sprites/TestSceneRomanisableSpriteText.cs +++ b/osu.Framework.Tests/Visual/Sprites/TestSceneRomanisableSpriteText.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Linq; using NUnit.Framework; using osu.Framework.Allocation; @@ -44,7 +42,7 @@ namespace osu.Framework.Tests.Visual.Sprites } [Resolved] - private FrameworkConfigManager config { get; set; } + private FrameworkConfigManager config { get; set; } = null!; [Test] public void TestToggleRomanisedState() diff --git a/osu.Framework.Tests/Visual/Sprites/TestSceneSmoothedEdges.cs b/osu.Framework.Tests/Visual/Sprites/TestSceneSmoothedEdges.cs index dddbe5c60..b65f111fe 100644 --- a/osu.Framework.Tests/Visual/Sprites/TestSceneSmoothedEdges.cs +++ b/osu.Framework.Tests/Visual/Sprites/TestSceneSmoothedEdges.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Framework.Graphics.Sprites; diff --git a/osu.Framework.Tests/Visual/Sprites/TestSceneSpriteText.cs b/osu.Framework.Tests/Visual/Sprites/TestSceneSpriteText.cs index 0813c3562..d6e8b9105 100644 --- a/osu.Framework.Tests/Visual/Sprites/TestSceneSpriteText.cs +++ b/osu.Framework.Tests/Visual/Sprites/TestSceneSpriteText.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; diff --git a/osu.Framework.Tests/Visual/Sprites/TestSceneSpriteTextTruncate.cs b/osu.Framework.Tests/Visual/Sprites/TestSceneSpriteTextTruncate.cs index e229ca78d..fe0ba5306 100644 --- a/osu.Framework.Tests/Visual/Sprites/TestSceneSpriteTextTruncate.cs +++ b/osu.Framework.Tests/Visual/Sprites/TestSceneSpriteTextTruncate.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; diff --git a/osu.Framework.Tests/Visual/Sprites/TestSceneTextFlow.cs b/osu.Framework.Tests/Visual/Sprites/TestSceneTextFlow.cs index 10f56de93..fcd54e762 100644 --- a/osu.Framework.Tests/Visual/Sprites/TestSceneTextFlow.cs +++ b/osu.Framework.Tests/Visual/Sprites/TestSceneTextFlow.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Linq; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework.Tests/Visual/Sprites/TestSceneTexturedTriangle.cs b/osu.Framework.Tests/Visual/Sprites/TestSceneTexturedTriangle.cs index ee2e9e5e7..a10dbdb52 100644 --- a/osu.Framework.Tests/Visual/Sprites/TestSceneTexturedTriangle.cs +++ b/osu.Framework.Tests/Visual/Sprites/TestSceneTexturedTriangle.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Allocation; using osu.Framework.Graphics.Shapes; using osu.Framework.Graphics; diff --git a/osu.Framework.Tests/Visual/Sprites/TestSceneTriangles.cs b/osu.Framework.Tests/Visual/Sprites/TestSceneTriangles.cs index b64e9d16e..beb9ebd47 100644 --- a/osu.Framework.Tests/Visual/Sprites/TestSceneTriangles.cs +++ b/osu.Framework.Tests/Visual/Sprites/TestSceneTriangles.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; diff --git a/osu.Framework.Tests/Visual/Sprites/TestSceneVideoLayout.cs b/osu.Framework.Tests/Visual/Sprites/TestSceneVideoLayout.cs index 7e2fccf82..594302631 100644 --- a/osu.Framework.Tests/Visual/Sprites/TestSceneVideoLayout.cs +++ b/osu.Framework.Tests/Visual/Sprites/TestSceneVideoLayout.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Allocation; using osu.Framework.Graphics; diff --git a/osu.Framework.Tests/Visual/Sprites/TestVideo.cs b/osu.Framework.Tests/Visual/Sprites/TestVideo.cs index 7806fe97e..76424a1d6 100644 --- a/osu.Framework.Tests/Visual/Sprites/TestVideo.cs +++ b/osu.Framework.Tests/Visual/Sprites/TestVideo.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.IO; using osu.Framework.Graphics; using osu.Framework.Graphics.Video; diff --git a/osu.Framework.Tests/Visual/Testing/TestSceneDerivedTestWithDerivedMethods.cs b/osu.Framework.Tests/Visual/Testing/TestSceneDerivedTestWithDerivedMethods.cs index 641c3ae7b..ae7815cbf 100644 --- a/osu.Framework.Tests/Visual/Testing/TestSceneDerivedTestWithDerivedMethods.cs +++ b/osu.Framework.Tests/Visual/Testing/TestSceneDerivedTestWithDerivedMethods.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - namespace osu.Framework.Tests.Visual.Testing { public partial class TestSceneDerivedTestWithDerivedMethods : TestSceneTest diff --git a/osu.Framework.Tests/Visual/Testing/TestSceneDerivedTestWithDerivedMethodsWithAttributes.cs b/osu.Framework.Tests/Visual/Testing/TestSceneDerivedTestWithDerivedMethodsWithAttributes.cs index 5c605597b..a1ab33fe7 100644 --- a/osu.Framework.Tests/Visual/Testing/TestSceneDerivedTestWithDerivedMethodsWithAttributes.cs +++ b/osu.Framework.Tests/Visual/Testing/TestSceneDerivedTestWithDerivedMethodsWithAttributes.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Testing; diff --git a/osu.Framework.Tests/Visual/Testing/TestSceneDerivedTestWithDerivedSource.cs b/osu.Framework.Tests/Visual/Testing/TestSceneDerivedTestWithDerivedSource.cs index 1aacc3220..feeefa0f6 100644 --- a/osu.Framework.Tests/Visual/Testing/TestSceneDerivedTestWithDerivedSource.cs +++ b/osu.Framework.Tests/Visual/Testing/TestSceneDerivedTestWithDerivedSource.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; namespace osu.Framework.Tests.Visual.Testing diff --git a/osu.Framework.Tests/Visual/Testing/TestSceneDrawVisualiser.cs b/osu.Framework.Tests/Visual/Testing/TestSceneDrawVisualiser.cs index a0663dc2a..2a82cf93e 100644 --- a/osu.Framework.Tests/Visual/Testing/TestSceneDrawVisualiser.cs +++ b/osu.Framework.Tests/Visual/Testing/TestSceneDrawVisualiser.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Visualisation; diff --git a/osu.Framework.Tests/Visual/Testing/TestSceneIgnore.cs b/osu.Framework.Tests/Visual/Testing/TestSceneIgnore.cs index 4ee9e3d51..e9336eae7 100644 --- a/osu.Framework.Tests/Visual/Testing/TestSceneIgnore.cs +++ b/osu.Framework.Tests/Visual/Testing/TestSceneIgnore.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; namespace osu.Framework.Tests.Visual.Testing diff --git a/osu.Framework.Tests/Visual/Testing/TestSceneTest.cs b/osu.Framework.Tests/Visual/Testing/TestSceneTest.cs index 98ccbc625..5c3763614 100644 --- a/osu.Framework.Tests/Visual/Testing/TestSceneTest.cs +++ b/osu.Framework.Tests/Visual/Testing/TestSceneTest.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Linq; using NUnit.Framework; using osu.Framework.Development; diff --git a/osu.Framework.Tests/Visual/Testing/TestSceneTestWithExternalSource.cs b/osu.Framework.Tests/Visual/Testing/TestSceneTestWithExternalSource.cs index 5541c759c..ea618b66c 100644 --- a/osu.Framework.Tests/Visual/Testing/TestSceneTestWithExternalSource.cs +++ b/osu.Framework.Tests/Visual/Testing/TestSceneTestWithExternalSource.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; namespace osu.Framework.Tests.Visual.Testing diff --git a/osu.Framework.Tests/Visual/Testing/TestSceneTestWithSource.cs b/osu.Framework.Tests/Visual/Testing/TestSceneTestWithSource.cs index bc11c14ad..321bd440c 100644 --- a/osu.Framework.Tests/Visual/Testing/TestSceneTestWithSource.cs +++ b/osu.Framework.Tests/Visual/Testing/TestSceneTestWithSource.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections; using NUnit.Framework; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework.Tests/Visual/Testing/TestSceneTestWithValues.cs b/osu.Framework.Tests/Visual/Testing/TestSceneTestWithValues.cs index 11ef74238..b698139eb 100644 --- a/osu.Framework.Tests/Visual/Testing/TestSceneTestWithValues.cs +++ b/osu.Framework.Tests/Visual/Testing/TestSceneTestWithValues.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Tests.Bindables; diff --git a/osu.Framework.Tests/Visual/UserInterface/TestSceneButton.cs b/osu.Framework.Tests/Visual/UserInterface/TestSceneButton.cs index 7d7832927..9c50a7ec6 100644 --- a/osu.Framework.Tests/Visual/UserInterface/TestSceneButton.cs +++ b/osu.Framework.Tests/Visual/UserInterface/TestSceneButton.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; diff --git a/osu.Framework.Tests/Visual/UserInterface/TestSceneCheckboxes.cs b/osu.Framework.Tests/Visual/UserInterface/TestSceneCheckboxes.cs index 9455d86f6..5ce7f95f3 100644 --- a/osu.Framework.Tests/Visual/UserInterface/TestSceneCheckboxes.cs +++ b/osu.Framework.Tests/Visual/UserInterface/TestSceneCheckboxes.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Bindables; using osu.Framework.Graphics; diff --git a/osu.Framework.Tests/Visual/UserInterface/TestSceneDirectorySelector.cs b/osu.Framework.Tests/Visual/UserInterface/TestSceneDirectorySelector.cs index 6c2f6c5b4..ef3a4635f 100644 --- a/osu.Framework.Tests/Visual/UserInterface/TestSceneDirectorySelector.cs +++ b/osu.Framework.Tests/Visual/UserInterface/TestSceneDirectorySelector.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; diff --git a/osu.Framework.Tests/Visual/UserInterface/TestSceneFileSelector.cs b/osu.Framework.Tests/Visual/UserInterface/TestSceneFileSelector.cs index 0daf2a7cd..3d346421d 100644 --- a/osu.Framework.Tests/Visual/UserInterface/TestSceneFileSelector.cs +++ b/osu.Framework.Tests/Visual/UserInterface/TestSceneFileSelector.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; diff --git a/osu.Framework.Tests/Visual/UserInterface/TestScenePopover.cs b/osu.Framework.Tests/Visual/UserInterface/TestScenePopover.cs index 8aed39040..98654e6e9 100644 --- a/osu.Framework.Tests/Visual/UserInterface/TestScenePopover.cs +++ b/osu.Framework.Tests/Visual/UserInterface/TestScenePopover.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using NUnit.Framework; using osu.Framework.Graphics; diff --git a/osu.Framework.Tests/Visual/UserInterface/TestSceneRigidBody.cs b/osu.Framework.Tests/Visual/UserInterface/TestSceneRigidBody.cs index 454ff60b7..11e976f30 100644 --- a/osu.Framework.Tests/Visual/UserInterface/TestSceneRigidBody.cs +++ b/osu.Framework.Tests/Visual/UserInterface/TestSceneRigidBody.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; diff --git a/osu.Framework.Tests/Visual/UserInterface/TestSceneUnclosableMenu.cs b/osu.Framework.Tests/Visual/UserInterface/TestSceneUnclosableMenu.cs index b1885a9e6..efba859a3 100644 --- a/osu.Framework.Tests/Visual/UserInterface/TestSceneUnclosableMenu.cs +++ b/osu.Framework.Tests/Visual/UserInterface/TestSceneUnclosableMenu.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; diff --git a/osu.Framework.Tests/Visual/UserInterface/TestUIComponentsWithCurrent.cs b/osu.Framework.Tests/Visual/UserInterface/TestUIComponentsWithCurrent.cs index fd5a744fa..755f84d4e 100644 --- a/osu.Framework.Tests/Visual/UserInterface/TestUIComponentsWithCurrent.cs +++ b/osu.Framework.Tests/Visual/UserInterface/TestUIComponentsWithCurrent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Bindables; using osu.Framework.Graphics.UserInterface; diff --git a/osu.Framework.Tests/VisualTestGame.cs b/osu.Framework.Tests/VisualTestGame.cs index a4b36b85b..1a55147ab 100644 --- a/osu.Framework.Tests/VisualTestGame.cs +++ b/osu.Framework.Tests/VisualTestGame.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Cursor; diff --git a/osu.Framework.iOS/Graphics/Textures/IOSTextureLoaderStore.cs b/osu.Framework.iOS/Graphics/Textures/IOSTextureLoaderStore.cs index 23846eeed..142d51d9b 100644 --- a/osu.Framework.iOS/Graphics/Textures/IOSTextureLoaderStore.cs +++ b/osu.Framework.iOS/Graphics/Textures/IOSTextureLoaderStore.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.IO; using CoreGraphics; diff --git a/osu.Framework.iOS/Graphics/Video/IOSVideoDecoder.cs b/osu.Framework.iOS/Graphics/Video/IOSVideoDecoder.cs index b61517343..6870fecac 100644 --- a/osu.Framework.iOS/Graphics/Video/IOSVideoDecoder.cs +++ b/osu.Framework.iOS/Graphics/Video/IOSVideoDecoder.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.IO; using System.Runtime.InteropServices; using FFmpeg.AutoGen; diff --git a/osu.Framework.iOS/IOSStorage.cs b/osu.Framework.iOS/IOSStorage.cs index 350b99281..e7c12447f 100644 --- a/osu.Framework.iOS/IOSStorage.cs +++ b/osu.Framework.iOS/IOSStorage.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Platform; namespace osu.Framework.iOS diff --git a/osu.Framework.iOS/Properties/AssemblyInfo.cs b/osu.Framework.iOS/Properties/AssemblyInfo.cs index 9f6deaa30..85d8e9bbd 100644 --- a/osu.Framework.iOS/Properties/AssemblyInfo.cs +++ b/osu.Framework.iOS/Properties/AssemblyInfo.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Runtime.CompilerServices; using ObjCRuntime; diff --git a/osu.Framework/Bindables/BindableDouble.cs b/osu.Framework/Bindables/BindableDouble.cs index f8fccb73f..aa9801a14 100644 --- a/osu.Framework/Bindables/BindableDouble.cs +++ b/osu.Framework/Bindables/BindableDouble.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; namespace osu.Framework.Bindables diff --git a/osu.Framework/Bindables/BindableFloat.cs b/osu.Framework/Bindables/BindableFloat.cs index 78538dae2..9a09d545e 100644 --- a/osu.Framework/Bindables/BindableFloat.cs +++ b/osu.Framework/Bindables/BindableFloat.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; namespace osu.Framework.Bindables diff --git a/osu.Framework/Bindables/IBindable.cs b/osu.Framework/Bindables/IBindable.cs index 74b4de3c1..4877778bd 100644 --- a/osu.Framework/Bindables/IBindable.cs +++ b/osu.Framework/Bindables/IBindable.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Extensions.TypeExtensions; using osu.Framework.Utils; diff --git a/osu.Framework/Development/DebugUtils.cs b/osu.Framework/Development/DebugUtils.cs index fe245a6bf..e85e86c2a 100644 --- a/osu.Framework/Development/DebugUtils.cs +++ b/osu.Framework/Development/DebugUtils.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Diagnostics; using System.Linq; diff --git a/osu.Framework/Graphics/Containers/LifetimeManagementContainer.cs b/osu.Framework/Graphics/Containers/LifetimeManagementContainer.cs index d4fce045a..1228422fd 100644 --- a/osu.Framework/Graphics/Containers/LifetimeManagementContainer.cs +++ b/osu.Framework/Graphics/Containers/LifetimeManagementContainer.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections.Generic; using System.Diagnostics; diff --git a/osu.Framework/Graphics/Containers/Markdown/MarkdownFencedCodeBlock.cs b/osu.Framework/Graphics/Containers/Markdown/MarkdownFencedCodeBlock.cs index c12a411fb..4d8b1d7b4 100644 --- a/osu.Framework/Graphics/Containers/Markdown/MarkdownFencedCodeBlock.cs +++ b/osu.Framework/Graphics/Containers/Markdown/MarkdownFencedCodeBlock.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using Markdig.Syntax; using osu.Framework.Allocation; using osu.Framework.Graphics.Shapes; @@ -23,7 +21,7 @@ namespace osu.Framework.Graphics.Containers.Markdown private readonly FencedCodeBlock fencedCodeBlock; [Resolved] - private IMarkdownTextFlowComponent parentFlowComponent { get; set; } + private IMarkdownTextFlowComponent parentFlowComponent { get; set; } = null!; public MarkdownFencedCodeBlock(FencedCodeBlock fencedCodeBlock) { diff --git a/osu.Framework/Graphics/Containers/Markdown/MarkdownLinkText.cs b/osu.Framework/Graphics/Containers/Markdown/MarkdownLinkText.cs index eb74a7d4e..5845fb4c1 100644 --- a/osu.Framework/Graphics/Containers/Markdown/MarkdownLinkText.cs +++ b/osu.Framework/Graphics/Containers/Markdown/MarkdownLinkText.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using Markdig.Syntax.Inlines; using osu.Framework.Allocation; using osu.Framework.Graphics.Cursor; @@ -24,10 +22,10 @@ namespace osu.Framework.Graphics.Containers.Markdown public LocalisableString TooltipText => Url; [Resolved] - private IMarkdownTextComponent parentTextComponent { get; set; } + private IMarkdownTextComponent parentTextComponent { get; set; } = null!; [Resolved] - private GameHost host { get; set; } + private GameHost host { get; set; } = null!; private readonly string text; diff --git a/osu.Framework/Graphics/Containers/Markdown/MarkdownParagraph.cs b/osu.Framework/Graphics/Containers/Markdown/MarkdownParagraph.cs index 83863eaae..5a4e9701e 100644 --- a/osu.Framework/Graphics/Containers/Markdown/MarkdownParagraph.cs +++ b/osu.Framework/Graphics/Containers/Markdown/MarkdownParagraph.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using Markdig.Syntax; using osu.Framework.Allocation; @@ -16,7 +14,7 @@ namespace osu.Framework.Graphics.Containers.Markdown private readonly ParagraphBlock paragraphBlock; [Resolved] - private IMarkdownTextFlowComponent parentFlowComponent { get; set; } + private IMarkdownTextFlowComponent parentFlowComponent { get; set; } = null!; public MarkdownParagraph(ParagraphBlock paragraphBlock) { diff --git a/osu.Framework/Graphics/Containers/Markdown/MarkdownQuoteBlock.cs b/osu.Framework/Graphics/Containers/Markdown/MarkdownQuoteBlock.cs index 340a6db6c..094c745a5 100644 --- a/osu.Framework/Graphics/Containers/Markdown/MarkdownQuoteBlock.cs +++ b/osu.Framework/Graphics/Containers/Markdown/MarkdownQuoteBlock.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using Markdig.Syntax; using osu.Framework.Allocation; using osu.Framework.Graphics.Shapes; @@ -21,7 +19,7 @@ namespace osu.Framework.Graphics.Containers.Markdown private readonly QuoteBlock quoteBlock; [Resolved] - private IMarkdownTextFlowComponent parentFlowComponent { get; set; } + private IMarkdownTextFlowComponent parentFlowComponent { get; set; } = null!; public MarkdownQuoteBlock(QuoteBlock quoteBlock) { diff --git a/osu.Framework/Graphics/Containers/Markdown/NotImplementedMarkdown.cs b/osu.Framework/Graphics/Containers/Markdown/NotImplementedMarkdown.cs index 22a7c5eca..537babc4b 100644 --- a/osu.Framework/Graphics/Containers/Markdown/NotImplementedMarkdown.cs +++ b/osu.Framework/Graphics/Containers/Markdown/NotImplementedMarkdown.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using Markdig.Syntax; using osu.Framework.Allocation; using osu.Framework.Graphics.Sprites; @@ -18,7 +16,7 @@ namespace osu.Framework.Graphics.Containers.Markdown private readonly IMarkdownObject markdownObject; [Resolved] - private IMarkdownTextComponent parentTextComponent { get; set; } + private IMarkdownTextComponent parentTextComponent { get; set; } = null!; public NotImplementedMarkdown(IMarkdownObject markdownObject) { diff --git a/osu.Framework/Graphics/Lines/SmoothPath.cs b/osu.Framework/Graphics/Lines/SmoothPath.cs index f7ffa51fa..afdaac503 100644 --- a/osu.Framework/Graphics/Lines/SmoothPath.cs +++ b/osu.Framework/Graphics/Lines/SmoothPath.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Allocation; using osu.Framework.Caching; @@ -18,7 +16,7 @@ namespace osu.Framework.Graphics.Lines public partial class SmoothPath : Path { [Resolved] - private IRenderer renderer { get; set; } + private IRenderer renderer { get; set; } = null!; [BackgroundDependencyLoader] private void load() diff --git a/osu.Framework/Graphics/Sprites/IHasText.cs b/osu.Framework/Graphics/Sprites/IHasText.cs index b78aeb4c2..f5a82b4f5 100644 --- a/osu.Framework/Graphics/Sprites/IHasText.cs +++ b/osu.Framework/Graphics/Sprites/IHasText.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Localisation; namespace osu.Framework.Graphics.Sprites diff --git a/osu.Framework/Graphics/Sprites/SpriteText_DrawNode.cs b/osu.Framework/Graphics/Sprites/SpriteText_DrawNode.cs index 5b08325a3..1192d4f9e 100644 --- a/osu.Framework/Graphics/Sprites/SpriteText_DrawNode.cs +++ b/osu.Framework/Graphics/Sprites/SpriteText_DrawNode.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections.Generic; using osu.Framework.Graphics.Colour; diff --git a/osu.Framework/Graphics/Textures/ITextureUpload.cs b/osu.Framework/Graphics/Textures/ITextureUpload.cs index 01dba8abf..2f7828471 100644 --- a/osu.Framework/Graphics/Textures/ITextureUpload.cs +++ b/osu.Framework/Graphics/Textures/ITextureUpload.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Graphics.Primitives; using osuTK.Graphics.ES30; diff --git a/osu.Framework/Graphics/TransformSequenceExtensions.cs b/osu.Framework/Graphics/TransformSequenceExtensions.cs index e6ac365c6..84fffead9 100644 --- a/osu.Framework/Graphics/TransformSequenceExtensions.cs +++ b/osu.Framework/Graphics/TransformSequenceExtensions.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osuTK; using osuTK.Graphics; using osu.Framework.Graphics.Colour; diff --git a/osu.Framework/Graphics/Transforms/DefaultEasingFunction.cs b/osu.Framework/Graphics/Transforms/DefaultEasingFunction.cs index f48785fb8..52339bbb5 100644 --- a/osu.Framework/Graphics/Transforms/DefaultEasingFunction.cs +++ b/osu.Framework/Graphics/Transforms/DefaultEasingFunction.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; namespace osu.Framework.Graphics.Transforms diff --git a/osu.Framework/Graphics/Transforms/ITransformable.cs b/osu.Framework/Graphics/Transforms/ITransformable.cs index 0a84ab890..54550edff 100644 --- a/osu.Framework/Graphics/Transforms/ITransformable.cs +++ b/osu.Framework/Graphics/Transforms/ITransformable.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Allocation; using osu.Framework.Timing; diff --git a/osu.Framework/Graphics/Transforms/TransformBindable.cs b/osu.Framework/Graphics/Transforms/TransformBindable.cs index a0200b60e..f6552d6d5 100644 --- a/osu.Framework/Graphics/Transforms/TransformBindable.cs +++ b/osu.Framework/Graphics/Transforms/TransformBindable.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Bindables; using osu.Framework.Utils; diff --git a/osu.Framework/Graphics/UserInterface/BasicButton.cs b/osu.Framework/Graphics/UserInterface/BasicButton.cs index 7d85081b2..2aa52c8f5 100644 --- a/osu.Framework/Graphics/UserInterface/BasicButton.cs +++ b/osu.Framework/Graphics/UserInterface/BasicButton.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Bindables; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics.Sprites; diff --git a/osu.Framework/Graphics/UserInterface/BasicCheckbox.cs b/osu.Framework/Graphics/UserInterface/BasicCheckbox.cs index 254741372..8c41d7f5f 100644 --- a/osu.Framework/Graphics/UserInterface/BasicCheckbox.cs +++ b/osu.Framework/Graphics/UserInterface/BasicCheckbox.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osuTK; using osuTK.Graphics; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework/Graphics/UserInterface/BasicColourPicker.cs b/osu.Framework/Graphics/UserInterface/BasicColourPicker.cs index f50369848..a12f44c84 100644 --- a/osu.Framework/Graphics/UserInterface/BasicColourPicker.cs +++ b/osu.Framework/Graphics/UserInterface/BasicColourPicker.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - namespace osu.Framework.Graphics.UserInterface { public partial class BasicColourPicker : ColourPicker diff --git a/osu.Framework/Graphics/UserInterface/BasicDirectorySelectorParentDirectory.cs b/osu.Framework/Graphics/UserInterface/BasicDirectorySelectorParentDirectory.cs index f42b0abd2..96715281b 100644 --- a/osu.Framework/Graphics/UserInterface/BasicDirectorySelectorParentDirectory.cs +++ b/osu.Framework/Graphics/UserInterface/BasicDirectorySelectorParentDirectory.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.IO; using osu.Framework.Graphics.Sprites; diff --git a/osu.Framework/Graphics/UserInterface/BasicDropdown.cs b/osu.Framework/Graphics/UserInterface/BasicDropdown.cs index 80ca284b4..651b475b7 100644 --- a/osu.Framework/Graphics/UserInterface/BasicDropdown.cs +++ b/osu.Framework/Graphics/UserInterface/BasicDropdown.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; using osu.Framework.Localisation; diff --git a/osu.Framework/Graphics/UserInterface/BasicHSVColourPicker.cs b/osu.Framework/Graphics/UserInterface/BasicHSVColourPicker.cs index e0ed733db..567b979df 100644 --- a/osu.Framework/Graphics/UserInterface/BasicHSVColourPicker.cs +++ b/osu.Framework/Graphics/UserInterface/BasicHSVColourPicker.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osuTK; diff --git a/osu.Framework/Graphics/UserInterface/BasicHexColourPicker.cs b/osu.Framework/Graphics/UserInterface/BasicHexColourPicker.cs index a1caf6575..e09559493 100644 --- a/osu.Framework/Graphics/UserInterface/BasicHexColourPicker.cs +++ b/osu.Framework/Graphics/UserInterface/BasicHexColourPicker.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics.Shapes; namespace osu.Framework.Graphics.UserInterface diff --git a/osu.Framework/Graphics/UserInterface/BasicMenu.cs b/osu.Framework/Graphics/UserInterface/BasicMenu.cs index d50a6b9e6..38c540194 100644 --- a/osu.Framework/Graphics/UserInterface/BasicMenu.cs +++ b/osu.Framework/Graphics/UserInterface/BasicMenu.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; diff --git a/osu.Framework/Graphics/UserInterface/BasicPasswordTextBox.cs b/osu.Framework/Graphics/UserInterface/BasicPasswordTextBox.cs index 7dc26a8da..b0791317b 100644 --- a/osu.Framework/Graphics/UserInterface/BasicPasswordTextBox.cs +++ b/osu.Framework/Graphics/UserInterface/BasicPasswordTextBox.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input; namespace osu.Framework.Graphics.UserInterface diff --git a/osu.Framework/Graphics/UserInterface/BasicSliderBar.cs b/osu.Framework/Graphics/UserInterface/BasicSliderBar.cs index 1d5973319..2babb3aa1 100644 --- a/osu.Framework/Graphics/UserInterface/BasicSliderBar.cs +++ b/osu.Framework/Graphics/UserInterface/BasicSliderBar.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osuTK; using osuTK.Graphics; diff --git a/osu.Framework/Graphics/UserInterface/BasicTextBox.cs b/osu.Framework/Graphics/UserInterface/BasicTextBox.cs index fc7332dab..69609ee23 100644 --- a/osu.Framework/Graphics/UserInterface/BasicTextBox.cs +++ b/osu.Framework/Graphics/UserInterface/BasicTextBox.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; diff --git a/osu.Framework/Graphics/UserInterface/Caret.cs b/osu.Framework/Graphics/UserInterface/Caret.cs index 27cdfac2d..4c6189640 100644 --- a/osu.Framework/Graphics/UserInterface/Caret.cs +++ b/osu.Framework/Graphics/UserInterface/Caret.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics.Containers; using osuTK; diff --git a/osu.Framework/Graphics/UserInterface/Checkbox.cs b/osu.Framework/Graphics/UserInterface/Checkbox.cs index 3a2770521..8f4bcdbe9 100644 --- a/osu.Framework/Graphics/UserInterface/Checkbox.cs +++ b/osu.Framework/Graphics/UserInterface/Checkbox.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Bindables; using osu.Framework.Graphics.Containers; using osu.Framework.Input.Events; diff --git a/osu.Framework/Graphics/UserInterface/ColourPicker.cs b/osu.Framework/Graphics/UserInterface/ColourPicker.cs index 42d573e8f..4aa0e52b8 100644 --- a/osu.Framework/Graphics/UserInterface/ColourPicker.cs +++ b/osu.Framework/Graphics/UserInterface/ColourPicker.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Bindables; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework/Graphics/UserInterface/Counter.cs b/osu.Framework/Graphics/UserInterface/Counter.cs index 8bbd88e26..727d6fd66 100644 --- a/osu.Framework/Graphics/UserInterface/Counter.cs +++ b/osu.Framework/Graphics/UserInterface/Counter.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Transforms; diff --git a/osu.Framework/Graphics/UserInterface/DropdownMenuItem.cs b/osu.Framework/Graphics/UserInterface/DropdownMenuItem.cs index bb51b1ab8..4f9305f8a 100644 --- a/osu.Framework/Graphics/UserInterface/DropdownMenuItem.cs +++ b/osu.Framework/Graphics/UserInterface/DropdownMenuItem.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Localisation; diff --git a/osu.Framework/Graphics/UserInterface/HSVColourPicker.cs b/osu.Framework/Graphics/UserInterface/HSVColourPicker.cs index 950403977..f954193ca 100644 --- a/osu.Framework/Graphics/UserInterface/HSVColourPicker.cs +++ b/osu.Framework/Graphics/UserInterface/HSVColourPicker.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Bindables; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; diff --git a/osu.Framework/Graphics/UserInterface/HexColourPicker.cs b/osu.Framework/Graphics/UserInterface/HexColourPicker.cs index 749cb78a3..6dc2436fa 100644 --- a/osu.Framework/Graphics/UserInterface/HexColourPicker.cs +++ b/osu.Framework/Graphics/UserInterface/HexColourPicker.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Bindables; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; diff --git a/osu.Framework/Graphics/UserInterface/IHasCurrentValue.cs b/osu.Framework/Graphics/UserInterface/IHasCurrentValue.cs index 57f2775c5..506ffcdf4 100644 --- a/osu.Framework/Graphics/UserInterface/IHasCurrentValue.cs +++ b/osu.Framework/Graphics/UserInterface/IHasCurrentValue.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Bindables; namespace osu.Framework.Graphics.UserInterface diff --git a/osu.Framework/Graphics/UserInterface/MenuItem.cs b/osu.Framework/Graphics/UserInterface/MenuItem.cs index 41ed29b69..a6e6bc04b 100644 --- a/osu.Framework/Graphics/UserInterface/MenuItem.cs +++ b/osu.Framework/Graphics/UserInterface/MenuItem.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections.Generic; using osu.Framework.Bindables; diff --git a/osu.Framework/Graphics/UserInterface/Popover.cs b/osu.Framework/Graphics/UserInterface/Popover.cs index e4cdfb248..9679ca15c 100644 --- a/osu.Framework/Graphics/UserInterface/Popover.cs +++ b/osu.Framework/Graphics/UserInterface/Popover.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Extensions; using osu.Framework.Extensions.EnumExtensions; diff --git a/osu.Framework/Graphics/UserInterface/SliderBar.cs b/osu.Framework/Graphics/UserInterface/SliderBar.cs index 6ab08472c..24dcb4de2 100644 --- a/osu.Framework/Graphics/UserInterface/SliderBar.cs +++ b/osu.Framework/Graphics/UserInterface/SliderBar.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Globalization; using osu.Framework.Bindables; diff --git a/osu.Framework/Graphics/Vector2Extensions.cs b/osu.Framework/Graphics/Vector2Extensions.cs index 072f0d517..69bb00d0c 100644 --- a/osu.Framework/Graphics/Vector2Extensions.cs +++ b/osu.Framework/Graphics/Vector2Extensions.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Runtime.CompilerServices; using osu.Framework.Graphics.Primitives; diff --git a/osu.Framework/Graphics/Video/AVHWDeviceTypePerformanceComparer.cs b/osu.Framework/Graphics/Video/AVHWDeviceTypePerformanceComparer.cs index 44e367752..368a6ac9c 100644 --- a/osu.Framework/Graphics/Video/AVHWDeviceTypePerformanceComparer.cs +++ b/osu.Framework/Graphics/Video/AVHWDeviceTypePerformanceComparer.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using FFmpeg.AutoGen; diff --git a/osu.Framework/Graphics/Video/FFmpegExtensions.cs b/osu.Framework/Graphics/Video/FFmpegExtensions.cs index ef639affa..be6142ca9 100644 --- a/osu.Framework/Graphics/Video/FFmpegExtensions.cs +++ b/osu.Framework/Graphics/Video/FFmpegExtensions.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using FFmpeg.AutoGen; namespace osu.Framework.Graphics.Video diff --git a/osu.Framework/Graphics/Video/HardwareVideoDecoder.cs b/osu.Framework/Graphics/Video/HardwareVideoDecoder.cs index df73677b1..fd8636651 100644 --- a/osu.Framework/Graphics/Video/HardwareVideoDecoder.cs +++ b/osu.Framework/Graphics/Video/HardwareVideoDecoder.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.ComponentModel; diff --git a/osu.Framework/Graphics/Video/StdIo.cs b/osu.Framework/Graphics/Video/StdIo.cs index 102e3395f..63a84b410 100644 --- a/osu.Framework/Graphics/Video/StdIo.cs +++ b/osu.Framework/Graphics/Video/StdIo.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - namespace osu.Framework.Graphics.Video { internal static class StdIo diff --git a/osu.Framework/Graphics/Video/VideoSprite.cs b/osu.Framework/Graphics/Video/VideoSprite.cs index 9ce3b6cd9..43771868c 100644 --- a/osu.Framework/Graphics/Video/VideoSprite.cs +++ b/osu.Framework/Graphics/Video/VideoSprite.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Allocation; using osu.Framework.Graphics.Shaders; using osu.Framework.Graphics.Sprites; diff --git a/osu.Framework/Graphics/Video/VideoTextureUpload.cs b/osu.Framework/Graphics/Video/VideoTextureUpload.cs index 31f6168c7..ee6442cca 100644 --- a/osu.Framework/Graphics/Video/VideoTextureUpload.cs +++ b/osu.Framework/Graphics/Video/VideoTextureUpload.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Graphics.Textures; using osuTK.Graphics.ES30; diff --git a/osu.Framework/Graphics/Visualisation/Audio/AudioChannelDisplay.cs b/osu.Framework/Graphics/Visualisation/Audio/AudioChannelDisplay.cs index 10d046b11..e4ba45fc3 100644 --- a/osu.Framework/Graphics/Visualisation/Audio/AudioChannelDisplay.cs +++ b/osu.Framework/Graphics/Visualisation/Audio/AudioChannelDisplay.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using ManagedBass; using ManagedBass.Mix; diff --git a/osu.Framework/Graphics/Visualisation/Audio/MixerDisplay.cs b/osu.Framework/Graphics/Visualisation/Audio/MixerDisplay.cs index 208e5046d..be15983b4 100644 --- a/osu.Framework/Graphics/Visualisation/Audio/MixerDisplay.cs +++ b/osu.Framework/Graphics/Visualisation/Audio/MixerDisplay.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Linq; using ManagedBass.Mix; using osu.Framework.Audio.Mixing; diff --git a/osu.Framework/Graphics/Visualisation/DrawableInspector.cs b/osu.Framework/Graphics/Visualisation/DrawableInspector.cs index 8c4435770..7f64e4f10 100644 --- a/osu.Framework/Graphics/Visualisation/DrawableInspector.cs +++ b/osu.Framework/Graphics/Visualisation/DrawableInspector.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Linq; using osu.Framework.Allocation; diff --git a/osu.Framework/Graphics/Visualisation/IContainVisualisedDrawables.cs b/osu.Framework/Graphics/Visualisation/IContainVisualisedDrawables.cs index 72711e088..5426cb9f0 100644 --- a/osu.Framework/Graphics/Visualisation/IContainVisualisedDrawables.cs +++ b/osu.Framework/Graphics/Visualisation/IContainVisualisedDrawables.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - namespace osu.Framework.Graphics.Visualisation { /// diff --git a/osu.Framework/Graphics/Visualisation/TitleBar.cs b/osu.Framework/Graphics/Visualisation/TitleBar.cs index 89c4fee76..4ced440d0 100644 --- a/osu.Framework/Graphics/Visualisation/TitleBar.cs +++ b/osu.Framework/Graphics/Visualisation/TitleBar.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Framework.Graphics.Sprites; diff --git a/osu.Framework/Graphics/Visualisation/ToolWindow.cs b/osu.Framework/Graphics/Visualisation/ToolWindow.cs index 187c49d1d..98a5ba33f 100644 --- a/osu.Framework/Graphics/Visualisation/ToolWindow.cs +++ b/osu.Framework/Graphics/Visualisation/ToolWindow.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Cursor; diff --git a/osu.Framework/IO/Serialization/ISerializableBindable.cs b/osu.Framework/IO/Serialization/ISerializableBindable.cs index 3686027a5..7805823c8 100644 --- a/osu.Framework/IO/Serialization/ISerializableBindable.cs +++ b/osu.Framework/IO/Serialization/ISerializableBindable.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using Newtonsoft.Json; using osu.Framework.Bindables; diff --git a/osu.Framework/IO/Serialization/ISerializableSortedList.cs b/osu.Framework/IO/Serialization/ISerializableSortedList.cs index 40a56278b..abbb5bf81 100644 --- a/osu.Framework/IO/Serialization/ISerializableSortedList.cs +++ b/osu.Framework/IO/Serialization/ISerializableSortedList.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using Newtonsoft.Json; using osu.Framework.Lists; diff --git a/osu.Framework/IO/Stores/IGlyphStore.cs b/osu.Framework/IO/Stores/IGlyphStore.cs index 797e7dc69..cec02ef74 100644 --- a/osu.Framework/IO/Stores/IGlyphStore.cs +++ b/osu.Framework/IO/Stores/IGlyphStore.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Threading.Tasks; using osu.Framework.Text; diff --git a/osu.Framework/IO/Stores/NamespacedResourceStore.cs b/osu.Framework/IO/Stores/NamespacedResourceStore.cs index f01d8cbd1..fd46d3ba1 100644 --- a/osu.Framework/IO/Stores/NamespacedResourceStore.cs +++ b/osu.Framework/IO/Stores/NamespacedResourceStore.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections.Generic; using System.Linq; diff --git a/osu.Framework/IStateful.cs b/osu.Framework/IStateful.cs index 231704b32..c453a8dbf 100644 --- a/osu.Framework/IStateful.cs +++ b/osu.Framework/IStateful.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; namespace osu.Framework diff --git a/osu.Framework/Input/Bindings/IKeyBinding.cs b/osu.Framework/Input/Bindings/IKeyBinding.cs index a140a461f..f92d2d5b6 100644 --- a/osu.Framework/Input/Bindings/IKeyBinding.cs +++ b/osu.Framework/Input/Bindings/IKeyBinding.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - namespace osu.Framework.Input.Bindings { /// diff --git a/osu.Framework/Input/Bindings/IKeyBindingHandler.cs b/osu.Framework/Input/Bindings/IKeyBindingHandler.cs index 8db87d2fa..82d1190d5 100644 --- a/osu.Framework/Input/Bindings/IKeyBindingHandler.cs +++ b/osu.Framework/Input/Bindings/IKeyBindingHandler.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics; using osu.Framework.Input.Events; diff --git a/osu.Framework/Input/Bindings/IScrollBindingHandler.cs b/osu.Framework/Input/Bindings/IScrollBindingHandler.cs index 2d9aca200..0a55cd8d1 100644 --- a/osu.Framework/Input/Bindings/IScrollBindingHandler.cs +++ b/osu.Framework/Input/Bindings/IScrollBindingHandler.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.Events; namespace osu.Framework.Input.Bindings diff --git a/osu.Framework/Input/Bindings/InputKey.cs b/osu.Framework/Input/Bindings/InputKey.cs index e6e71447f..d463e60e9 100644 --- a/osu.Framework/Input/Bindings/InputKey.cs +++ b/osu.Framework/Input/Bindings/InputKey.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Utils; namespace osu.Framework.Input.Bindings diff --git a/osu.Framework/Input/Bindings/KeyBindingExtensions.cs b/osu.Framework/Input/Bindings/KeyBindingExtensions.cs index 18a3b056f..6474823c6 100644 --- a/osu.Framework/Input/Bindings/KeyBindingExtensions.cs +++ b/osu.Framework/Input/Bindings/KeyBindingExtensions.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - namespace osu.Framework.Input.Bindings { public static class KeyBindingExtensions diff --git a/osu.Framework/Input/CustomInputManager.cs b/osu.Framework/Input/CustomInputManager.cs index e72d02fc2..4eb3565de 100644 --- a/osu.Framework/Input/CustomInputManager.cs +++ b/osu.Framework/Input/CustomInputManager.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Immutable; using System.Linq; using osu.Framework.Input.Handlers; diff --git a/osu.Framework/Input/Events/ClickEvent.cs b/osu.Framework/Input/Events/ClickEvent.cs index 5904d3e6d..60e76d156 100644 --- a/osu.Framework/Input/Events/ClickEvent.cs +++ b/osu.Framework/Input/Events/ClickEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; using osuTK; using osuTK.Input; diff --git a/osu.Framework/Input/Events/DoubleClickEvent.cs b/osu.Framework/Input/Events/DoubleClickEvent.cs index 1640776d6..17ce9a8fa 100644 --- a/osu.Framework/Input/Events/DoubleClickEvent.cs +++ b/osu.Framework/Input/Events/DoubleClickEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; using osuTK; using osuTK.Input; diff --git a/osu.Framework/Input/Events/DragEndEvent.cs b/osu.Framework/Input/Events/DragEndEvent.cs index d2f4a7c91..9ea803d7d 100644 --- a/osu.Framework/Input/Events/DragEndEvent.cs +++ b/osu.Framework/Input/Events/DragEndEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; using osuTK; using osuTK.Input; diff --git a/osu.Framework/Input/Events/DragEvent.cs b/osu.Framework/Input/Events/DragEvent.cs index e0809a0e3..1b451a382 100644 --- a/osu.Framework/Input/Events/DragEvent.cs +++ b/osu.Framework/Input/Events/DragEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; using osuTK; using osuTK.Input; diff --git a/osu.Framework/Input/Events/DragStartEvent.cs b/osu.Framework/Input/Events/DragStartEvent.cs index ba6eb1e17..8362acd30 100644 --- a/osu.Framework/Input/Events/DragStartEvent.cs +++ b/osu.Framework/Input/Events/DragStartEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; using osuTK; using osuTK.Input; diff --git a/osu.Framework/Input/Events/FocusEvent.cs b/osu.Framework/Input/Events/FocusEvent.cs index 4f80ebfd2..889bf5b3d 100644 --- a/osu.Framework/Input/Events/FocusEvent.cs +++ b/osu.Framework/Input/Events/FocusEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using JetBrains.Annotations; using osu.Framework.Graphics; using osu.Framework.Input.States; diff --git a/osu.Framework/Input/Events/FocusLostEvent.cs b/osu.Framework/Input/Events/FocusLostEvent.cs index 70b15ae35..80d38da71 100644 --- a/osu.Framework/Input/Events/FocusLostEvent.cs +++ b/osu.Framework/Input/Events/FocusLostEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using JetBrains.Annotations; using osu.Framework.Graphics; using osu.Framework.Input.States; diff --git a/osu.Framework/Input/Events/HoverEvent.cs b/osu.Framework/Input/Events/HoverEvent.cs index f904ecfa2..df5e7f5f3 100644 --- a/osu.Framework/Input/Events/HoverEvent.cs +++ b/osu.Framework/Input/Events/HoverEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; namespace osu.Framework.Input.Events diff --git a/osu.Framework/Input/Events/HoverLostEvent.cs b/osu.Framework/Input/Events/HoverLostEvent.cs index f33671891..8be4aed28 100644 --- a/osu.Framework/Input/Events/HoverLostEvent.cs +++ b/osu.Framework/Input/Events/HoverLostEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; namespace osu.Framework.Input.Events diff --git a/osu.Framework/Input/Events/JoystickAxisMoveEvent.cs b/osu.Framework/Input/Events/JoystickAxisMoveEvent.cs index 91c018e31..a292904da 100644 --- a/osu.Framework/Input/Events/JoystickAxisMoveEvent.cs +++ b/osu.Framework/Input/Events/JoystickAxisMoveEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using JetBrains.Annotations; using osu.Framework.Extensions.TypeExtensions; using osu.Framework.Input.States; diff --git a/osu.Framework/Input/Events/JoystickButtonEvent.cs b/osu.Framework/Input/Events/JoystickButtonEvent.cs index bb703d46d..8218909c6 100644 --- a/osu.Framework/Input/Events/JoystickButtonEvent.cs +++ b/osu.Framework/Input/Events/JoystickButtonEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Extensions.TypeExtensions; using osu.Framework.Input.States; diff --git a/osu.Framework/Input/Events/JoystickEvent.cs b/osu.Framework/Input/Events/JoystickEvent.cs index db6d7c108..f719bbd86 100644 --- a/osu.Framework/Input/Events/JoystickEvent.cs +++ b/osu.Framework/Input/Events/JoystickEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; diff --git a/osu.Framework/Input/Events/JoystickPressEvent.cs b/osu.Framework/Input/Events/JoystickPressEvent.cs index 97e7806d5..927dc120c 100644 --- a/osu.Framework/Input/Events/JoystickPressEvent.cs +++ b/osu.Framework/Input/Events/JoystickPressEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; namespace osu.Framework.Input.Events diff --git a/osu.Framework/Input/Events/JoystickReleaseEvent.cs b/osu.Framework/Input/Events/JoystickReleaseEvent.cs index 1b1abdf16..8e857624e 100644 --- a/osu.Framework/Input/Events/JoystickReleaseEvent.cs +++ b/osu.Framework/Input/Events/JoystickReleaseEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; namespace osu.Framework.Input.Events diff --git a/osu.Framework/Input/Events/KeyBindingEvent.cs b/osu.Framework/Input/Events/KeyBindingEvent.cs index 9070d6777..18c3390db 100644 --- a/osu.Framework/Input/Events/KeyBindingEvent.cs +++ b/osu.Framework/Input/Events/KeyBindingEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; namespace osu.Framework.Input.Events diff --git a/osu.Framework/Input/Events/KeyBindingPressEvent.cs b/osu.Framework/Input/Events/KeyBindingPressEvent.cs index 6f8ac1d29..fdc871c7e 100644 --- a/osu.Framework/Input/Events/KeyBindingPressEvent.cs +++ b/osu.Framework/Input/Events/KeyBindingPressEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; namespace osu.Framework.Input.Events diff --git a/osu.Framework/Input/Events/KeyBindingReleaseEvent.cs b/osu.Framework/Input/Events/KeyBindingReleaseEvent.cs index f2d7ed95b..1293d15b6 100644 --- a/osu.Framework/Input/Events/KeyBindingReleaseEvent.cs +++ b/osu.Framework/Input/Events/KeyBindingReleaseEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; namespace osu.Framework.Input.Events diff --git a/osu.Framework/Input/Events/KeyBindingScrollEvent.cs b/osu.Framework/Input/Events/KeyBindingScrollEvent.cs index b7e3288a4..3c798c13e 100644 --- a/osu.Framework/Input/Events/KeyBindingScrollEvent.cs +++ b/osu.Framework/Input/Events/KeyBindingScrollEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; namespace osu.Framework.Input.Events diff --git a/osu.Framework/Input/Events/KeyDownEvent.cs b/osu.Framework/Input/Events/KeyDownEvent.cs index d00ad2325..8071e75a8 100644 --- a/osu.Framework/Input/Events/KeyDownEvent.cs +++ b/osu.Framework/Input/Events/KeyDownEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Extensions.TypeExtensions; using osu.Framework.Input.States; using osuTK.Input; diff --git a/osu.Framework/Input/Events/KeyUpEvent.cs b/osu.Framework/Input/Events/KeyUpEvent.cs index eef98649d..cf0b6402b 100644 --- a/osu.Framework/Input/Events/KeyUpEvent.cs +++ b/osu.Framework/Input/Events/KeyUpEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; using osuTK.Input; diff --git a/osu.Framework/Input/Events/KeyboardEvent.cs b/osu.Framework/Input/Events/KeyboardEvent.cs index 995e759ef..a3cfdb5c3 100644 --- a/osu.Framework/Input/Events/KeyboardEvent.cs +++ b/osu.Framework/Input/Events/KeyboardEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using osu.Framework.Extensions.TypeExtensions; using osu.Framework.Input.States; diff --git a/osu.Framework/Input/Events/MidiDownEvent.cs b/osu.Framework/Input/Events/MidiDownEvent.cs index dab24495e..a95a6177f 100644 --- a/osu.Framework/Input/Events/MidiDownEvent.cs +++ b/osu.Framework/Input/Events/MidiDownEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using JetBrains.Annotations; using osu.Framework.Input.States; diff --git a/osu.Framework/Input/Events/MidiEvent.cs b/osu.Framework/Input/Events/MidiEvent.cs index f94825ecc..424774eae 100644 --- a/osu.Framework/Input/Events/MidiEvent.cs +++ b/osu.Framework/Input/Events/MidiEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using JetBrains.Annotations; using osu.Framework.Extensions.TypeExtensions; diff --git a/osu.Framework/Input/Events/MidiUpEvent.cs b/osu.Framework/Input/Events/MidiUpEvent.cs index 8b36d2365..565b77efb 100644 --- a/osu.Framework/Input/Events/MidiUpEvent.cs +++ b/osu.Framework/Input/Events/MidiUpEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using JetBrains.Annotations; using osu.Framework.Input.States; diff --git a/osu.Framework/Input/Events/MouseButtonEvent.cs b/osu.Framework/Input/Events/MouseButtonEvent.cs index d4b6181a7..201bacd1d 100644 --- a/osu.Framework/Input/Events/MouseButtonEvent.cs +++ b/osu.Framework/Input/Events/MouseButtonEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Extensions.TypeExtensions; using osu.Framework.Input.States; using osuTK; diff --git a/osu.Framework/Input/Events/MouseDownEvent.cs b/osu.Framework/Input/Events/MouseDownEvent.cs index 506a33019..01b4f340a 100644 --- a/osu.Framework/Input/Events/MouseDownEvent.cs +++ b/osu.Framework/Input/Events/MouseDownEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; using osuTK; using osuTK.Input; diff --git a/osu.Framework/Input/Events/MouseEvent.cs b/osu.Framework/Input/Events/MouseEvent.cs index f2878b5ec..b1f44fbd5 100644 --- a/osu.Framework/Input/Events/MouseEvent.cs +++ b/osu.Framework/Input/Events/MouseEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using osu.Framework.Input.States; using osuTK.Input; diff --git a/osu.Framework/Input/Events/MouseMoveEvent.cs b/osu.Framework/Input/Events/MouseMoveEvent.cs index 85c718d99..3118447e4 100644 --- a/osu.Framework/Input/Events/MouseMoveEvent.cs +++ b/osu.Framework/Input/Events/MouseMoveEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; using osuTK; diff --git a/osu.Framework/Input/Events/MouseUpEvent.cs b/osu.Framework/Input/Events/MouseUpEvent.cs index 7d169eaa5..f0e9acea7 100644 --- a/osu.Framework/Input/Events/MouseUpEvent.cs +++ b/osu.Framework/Input/Events/MouseUpEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; using osuTK; using osuTK.Input; diff --git a/osu.Framework/Input/Events/ScrollEvent.cs b/osu.Framework/Input/Events/ScrollEvent.cs index b4f4c2d04..d5dd77a10 100644 --- a/osu.Framework/Input/Events/ScrollEvent.cs +++ b/osu.Framework/Input/Events/ScrollEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Extensions.TypeExtensions; using osu.Framework.Input.States; using osuTK; diff --git a/osu.Framework/Input/Events/TabletAuxiliaryButtonEvent.cs b/osu.Framework/Input/Events/TabletAuxiliaryButtonEvent.cs index d181416d1..3ca4c690a 100644 --- a/osu.Framework/Input/Events/TabletAuxiliaryButtonEvent.cs +++ b/osu.Framework/Input/Events/TabletAuxiliaryButtonEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Extensions.TypeExtensions; using osu.Framework.Input.States; diff --git a/osu.Framework/Input/Events/TabletAuxiliaryButtonPressEvent.cs b/osu.Framework/Input/Events/TabletAuxiliaryButtonPressEvent.cs index 46d5c290d..09b14452a 100644 --- a/osu.Framework/Input/Events/TabletAuxiliaryButtonPressEvent.cs +++ b/osu.Framework/Input/Events/TabletAuxiliaryButtonPressEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; namespace osu.Framework.Input.Events diff --git a/osu.Framework/Input/Events/TabletAuxiliaryButtonReleaseEvent.cs b/osu.Framework/Input/Events/TabletAuxiliaryButtonReleaseEvent.cs index e85e64deb..c4055549c 100644 --- a/osu.Framework/Input/Events/TabletAuxiliaryButtonReleaseEvent.cs +++ b/osu.Framework/Input/Events/TabletAuxiliaryButtonReleaseEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; namespace osu.Framework.Input.Events diff --git a/osu.Framework/Input/Events/TabletEvent.cs b/osu.Framework/Input/Events/TabletEvent.cs index fe7e485b3..ecc9d95a7 100644 --- a/osu.Framework/Input/Events/TabletEvent.cs +++ b/osu.Framework/Input/Events/TabletEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using JetBrains.Annotations; using osu.Framework.Input.States; diff --git a/osu.Framework/Input/Events/TabletPenButtonEvent.cs b/osu.Framework/Input/Events/TabletPenButtonEvent.cs index 06fdfb887..d9b366bb9 100644 --- a/osu.Framework/Input/Events/TabletPenButtonEvent.cs +++ b/osu.Framework/Input/Events/TabletPenButtonEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Extensions.TypeExtensions; using osu.Framework.Input.States; diff --git a/osu.Framework/Input/Events/TabletPenButtonPressEvent.cs b/osu.Framework/Input/Events/TabletPenButtonPressEvent.cs index 97d5532b9..a697d7172 100644 --- a/osu.Framework/Input/Events/TabletPenButtonPressEvent.cs +++ b/osu.Framework/Input/Events/TabletPenButtonPressEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; namespace osu.Framework.Input.Events diff --git a/osu.Framework/Input/Events/TabletPenButtonReleaseEvent.cs b/osu.Framework/Input/Events/TabletPenButtonReleaseEvent.cs index 0ce5c47a3..497af2d33 100644 --- a/osu.Framework/Input/Events/TabletPenButtonReleaseEvent.cs +++ b/osu.Framework/Input/Events/TabletPenButtonReleaseEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; namespace osu.Framework.Input.Events diff --git a/osu.Framework/Input/Events/TouchDownEvent.cs b/osu.Framework/Input/Events/TouchDownEvent.cs index 5cb8ba4d1..598c0d64a 100644 --- a/osu.Framework/Input/Events/TouchDownEvent.cs +++ b/osu.Framework/Input/Events/TouchDownEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; namespace osu.Framework.Input.Events diff --git a/osu.Framework/Input/Events/TouchEvent.cs b/osu.Framework/Input/Events/TouchEvent.cs index 787c22120..524846f81 100644 --- a/osu.Framework/Input/Events/TouchEvent.cs +++ b/osu.Framework/Input/Events/TouchEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Extensions.TypeExtensions; using osu.Framework.Input.States; using osuTK; diff --git a/osu.Framework/Input/Events/TouchMoveEvent.cs b/osu.Framework/Input/Events/TouchMoveEvent.cs index 1d030d515..552df4bf5 100644 --- a/osu.Framework/Input/Events/TouchMoveEvent.cs +++ b/osu.Framework/Input/Events/TouchMoveEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; using osuTK; diff --git a/osu.Framework/Input/Events/TouchUpEvent.cs b/osu.Framework/Input/Events/TouchUpEvent.cs index 344917283..f80c0a9ee 100644 --- a/osu.Framework/Input/Events/TouchUpEvent.cs +++ b/osu.Framework/Input/Events/TouchUpEvent.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; using osuTK; diff --git a/osu.Framework/Input/FrameworkActionContainer.cs b/osu.Framework/Input/FrameworkActionContainer.cs index e8eb23997..a2e140eef 100644 --- a/osu.Framework/Input/FrameworkActionContainer.cs +++ b/osu.Framework/Input/FrameworkActionContainer.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using osu.Framework.Input.Bindings; diff --git a/osu.Framework/Input/Handlers/IHasCursorSensitivity.cs b/osu.Framework/Input/Handlers/IHasCursorSensitivity.cs index 4a36dcc77..23c22cefc 100644 --- a/osu.Framework/Input/Handlers/IHasCursorSensitivity.cs +++ b/osu.Framework/Input/Handlers/IHasCursorSensitivity.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Bindables; namespace osu.Framework.Input.Handlers diff --git a/osu.Framework/Input/Handlers/INeedsMousePositionFeedback.cs b/osu.Framework/Input/Handlers/INeedsMousePositionFeedback.cs index 99be6571c..d98eaf1be 100644 --- a/osu.Framework/Input/Handlers/INeedsMousePositionFeedback.cs +++ b/osu.Framework/Input/Handlers/INeedsMousePositionFeedback.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osuTK; namespace osu.Framework.Input.Handlers diff --git a/osu.Framework/Input/Handlers/Joystick/JoystickHandler.cs b/osu.Framework/Input/Handlers/Joystick/JoystickHandler.cs index 6f9dc261f..75fdfe08e 100644 --- a/osu.Framework/Input/Handlers/Joystick/JoystickHandler.cs +++ b/osu.Framework/Input/Handlers/Joystick/JoystickHandler.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Bindables; using osu.Framework.Input.StateChanges; diff --git a/osu.Framework/Input/Handlers/Keyboard/KeyboardHandler.cs b/osu.Framework/Input/Handlers/Keyboard/KeyboardHandler.cs index 4645b0492..44eafeda5 100644 --- a/osu.Framework/Input/Handlers/Keyboard/KeyboardHandler.cs +++ b/osu.Framework/Input/Handlers/Keyboard/KeyboardHandler.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.StateChanges; using osu.Framework.Platform; using osu.Framework.Statistics; diff --git a/osu.Framework/Input/Handlers/Tablet/AbsoluteTabletMode.cs b/osu.Framework/Input/Handlers/Tablet/AbsoluteTabletMode.cs index 4d4e528bc..e7ca36726 100644 --- a/osu.Framework/Input/Handlers/Tablet/AbsoluteTabletMode.cs +++ b/osu.Framework/Input/Handlers/Tablet/AbsoluteTabletMode.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using OpenTabletDriver.Plugin.Output; using OpenTabletDriver.Plugin.Platform.Pointer; diff --git a/osu.Framework/Input/Handlers/Tablet/ITabletHandler.cs b/osu.Framework/Input/Handlers/Tablet/ITabletHandler.cs index 8709b590d..85870b244 100644 --- a/osu.Framework/Input/Handlers/Tablet/ITabletHandler.cs +++ b/osu.Framework/Input/Handlers/Tablet/ITabletHandler.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Bindables; using osuTK; diff --git a/osu.Framework/Input/Handlers/Tablet/TabletInfo.cs b/osu.Framework/Input/Handlers/Tablet/TabletInfo.cs index 92f6b3e37..56402c180 100644 --- a/osu.Framework/Input/Handlers/Tablet/TabletInfo.cs +++ b/osu.Framework/Input/Handlers/Tablet/TabletInfo.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osuTK; namespace osu.Framework.Input.Handlers.Tablet diff --git a/osu.Framework/Input/InputResampler.cs b/osu.Framework/Input/InputResampler.cs index e1c018dab..03fc3e7ce 100644 --- a/osu.Framework/Input/InputResampler.cs +++ b/osu.Framework/Input/InputResampler.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections.Generic; using osuTK; diff --git a/osu.Framework/Input/JoystickAxis.cs b/osu.Framework/Input/JoystickAxis.cs index 3020c83d2..ee451029f 100644 --- a/osu.Framework/Input/JoystickAxis.cs +++ b/osu.Framework/Input/JoystickAxis.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - namespace osu.Framework.Input { public readonly struct JoystickAxis diff --git a/osu.Framework/Input/JoystickAxisSource.cs b/osu.Framework/Input/JoystickAxisSource.cs index 1d99462b7..24d282a80 100644 --- a/osu.Framework/Input/JoystickAxisSource.cs +++ b/osu.Framework/Input/JoystickAxisSource.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - namespace osu.Framework.Input { public enum JoystickAxisSource diff --git a/osu.Framework/Input/JoystickButton.cs b/osu.Framework/Input/JoystickButton.cs index 7ba89305d..f839b1def 100644 --- a/osu.Framework/Input/JoystickButton.cs +++ b/osu.Framework/Input/JoystickButton.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - namespace osu.Framework.Input { public enum JoystickButton diff --git a/osu.Framework/Input/JoystickButtonEventManager.cs b/osu.Framework/Input/JoystickButtonEventManager.cs index 7378a5220..7fe1d05c6 100644 --- a/osu.Framework/Input/JoystickButtonEventManager.cs +++ b/osu.Framework/Input/JoystickButtonEventManager.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using osu.Framework.Graphics; using osu.Framework.Input.Events; diff --git a/osu.Framework/Input/KeyEventManager.cs b/osu.Framework/Input/KeyEventManager.cs index fc239ce92..8a48e443e 100644 --- a/osu.Framework/Input/KeyEventManager.cs +++ b/osu.Framework/Input/KeyEventManager.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using System.Linq; using osu.Framework.Extensions.ObjectExtensions; diff --git a/osu.Framework/Input/MidiKey.cs b/osu.Framework/Input/MidiKey.cs index 9ec977f7f..fb2adea01 100644 --- a/osu.Framework/Input/MidiKey.cs +++ b/osu.Framework/Input/MidiKey.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - namespace osu.Framework.Input { public enum MidiKey diff --git a/osu.Framework/Input/MidiKeyEventManager.cs b/osu.Framework/Input/MidiKeyEventManager.cs index 8b0151ea5..bfa7c265d 100644 --- a/osu.Framework/Input/MidiKeyEventManager.cs +++ b/osu.Framework/Input/MidiKeyEventManager.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using osu.Framework.Graphics; using osu.Framework.Input.Events; diff --git a/osu.Framework/Input/PlatformActionContainer.cs b/osu.Framework/Input/PlatformActionContainer.cs index 35a5ff2ef..f96e07efb 100644 --- a/osu.Framework/Input/PlatformActionContainer.cs +++ b/osu.Framework/Input/PlatformActionContainer.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using osu.Framework.Allocation; using osu.Framework.Input.Bindings; @@ -19,7 +17,7 @@ namespace osu.Framework.Input public partial class PlatformActionContainer : KeyBindingContainer, IHandleGlobalKeyboardInput { [Resolved] - private GameHost host { get; set; } + private GameHost host { get; set; } = null!; public PlatformActionContainer() : base(SimultaneousBindingMode.None, KeyCombinationMatchingMode.Modifiers) diff --git a/osu.Framework/Input/SDL2WindowTextInput.cs b/osu.Framework/Input/SDL2WindowTextInput.cs index 368cd47f4..6660725c7 100644 --- a/osu.Framework/Input/SDL2WindowTextInput.cs +++ b/osu.Framework/Input/SDL2WindowTextInput.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics.Primitives; using osu.Framework.Platform; diff --git a/osu.Framework/Input/StateChanges/ButtonInput.cs b/osu.Framework/Input/StateChanges/ButtonInput.cs index 1eb83a51a..87d394c43 100644 --- a/osu.Framework/Input/StateChanges/ButtonInput.cs +++ b/osu.Framework/Input/StateChanges/ButtonInput.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using System.Collections.Immutable; using osu.Framework.Input.StateChanges.Events; diff --git a/osu.Framework/Input/StateChanges/ButtonInputEntry.cs b/osu.Framework/Input/StateChanges/ButtonInputEntry.cs index a7bf6c845..546c144c9 100644 --- a/osu.Framework/Input/StateChanges/ButtonInputEntry.cs +++ b/osu.Framework/Input/StateChanges/ButtonInputEntry.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - namespace osu.Framework.Input.StateChanges { /// diff --git a/osu.Framework/Input/StateChanges/Events/ButtonStateChangeEvent.cs b/osu.Framework/Input/StateChanges/Events/ButtonStateChangeEvent.cs index 4e204a29a..a72f4af38 100644 --- a/osu.Framework/Input/StateChanges/Events/ButtonStateChangeEvent.cs +++ b/osu.Framework/Input/StateChanges/Events/ButtonStateChangeEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; namespace osu.Framework.Input.StateChanges.Events diff --git a/osu.Framework/Input/StateChanges/Events/InputStateChangeEvent.cs b/osu.Framework/Input/StateChanges/Events/InputStateChangeEvent.cs index a06d3a7ff..01e635c45 100644 --- a/osu.Framework/Input/StateChanges/Events/InputStateChangeEvent.cs +++ b/osu.Framework/Input/StateChanges/Events/InputStateChangeEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using JetBrains.Annotations; using osu.Framework.Input.States; diff --git a/osu.Framework/Input/StateChanges/Events/JoystickAxisChangeEvent.cs b/osu.Framework/Input/StateChanges/Events/JoystickAxisChangeEvent.cs index c3a4aa46b..a05387f61 100644 --- a/osu.Framework/Input/StateChanges/Events/JoystickAxisChangeEvent.cs +++ b/osu.Framework/Input/StateChanges/Events/JoystickAxisChangeEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; namespace osu.Framework.Input.StateChanges.Events diff --git a/osu.Framework/Input/StateChanges/Events/MousePositionChangeEvent.cs b/osu.Framework/Input/StateChanges/Events/MousePositionChangeEvent.cs index 7c8d43331..8b0958ab7 100644 --- a/osu.Framework/Input/StateChanges/Events/MousePositionChangeEvent.cs +++ b/osu.Framework/Input/StateChanges/Events/MousePositionChangeEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; using osuTK; diff --git a/osu.Framework/Input/StateChanges/Events/MouseScrollChangeEvent.cs b/osu.Framework/Input/StateChanges/Events/MouseScrollChangeEvent.cs index 15295b1ae..35dec2daf 100644 --- a/osu.Framework/Input/StateChanges/Events/MouseScrollChangeEvent.cs +++ b/osu.Framework/Input/StateChanges/Events/MouseScrollChangeEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; using osuTK; diff --git a/osu.Framework/Input/StateChanges/Events/TouchStateChangeEvent.cs b/osu.Framework/Input/StateChanges/Events/TouchStateChangeEvent.cs index 850bc840b..cf2b25ed1 100644 --- a/osu.Framework/Input/StateChanges/Events/TouchStateChangeEvent.cs +++ b/osu.Framework/Input/StateChanges/Events/TouchStateChangeEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; using osuTK; diff --git a/osu.Framework/Input/StateChanges/IInput.cs b/osu.Framework/Input/StateChanges/IInput.cs index 3f647d143..ecfc002ea 100644 --- a/osu.Framework/Input/StateChanges/IInput.cs +++ b/osu.Framework/Input/StateChanges/IInput.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.States; namespace osu.Framework.Input.StateChanges diff --git a/osu.Framework/Input/StateChanges/IInputStateChangeHandler.cs b/osu.Framework/Input/StateChanges/IInputStateChangeHandler.cs index 7033dff7c..77d1ea209 100644 --- a/osu.Framework/Input/StateChanges/IInputStateChangeHandler.cs +++ b/osu.Framework/Input/StateChanges/IInputStateChangeHandler.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.StateChanges.Events; using osu.Framework.Input.States; diff --git a/osu.Framework/Input/StateChanges/ISourcedFromTouch.cs b/osu.Framework/Input/StateChanges/ISourcedFromTouch.cs index 86f3a9fee..d06a6e308 100644 --- a/osu.Framework/Input/StateChanges/ISourcedFromTouch.cs +++ b/osu.Framework/Input/StateChanges/ISourcedFromTouch.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.StateChanges.Events; namespace osu.Framework.Input.StateChanges diff --git a/osu.Framework/Input/StateChanges/JoystickAxisInput.cs b/osu.Framework/Input/StateChanges/JoystickAxisInput.cs index ea62274c6..2a939c129 100644 --- a/osu.Framework/Input/StateChanges/JoystickAxisInput.cs +++ b/osu.Framework/Input/StateChanges/JoystickAxisInput.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections.Generic; using System.Linq; diff --git a/osu.Framework/Input/StateChanges/JoystickButtonInput.cs b/osu.Framework/Input/StateChanges/JoystickButtonInput.cs index a13013f22..61538ef5c 100644 --- a/osu.Framework/Input/StateChanges/JoystickButtonInput.cs +++ b/osu.Framework/Input/StateChanges/JoystickButtonInput.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using osu.Framework.Input.States; diff --git a/osu.Framework/Input/StateChanges/KeyboardKeyInput.cs b/osu.Framework/Input/StateChanges/KeyboardKeyInput.cs index 1bd4bcdcb..2f84c462a 100644 --- a/osu.Framework/Input/StateChanges/KeyboardKeyInput.cs +++ b/osu.Framework/Input/StateChanges/KeyboardKeyInput.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using osu.Framework.Input.States; using osuTK.Input; diff --git a/osu.Framework/Input/StateChanges/MidiKeyInput.cs b/osu.Framework/Input/StateChanges/MidiKeyInput.cs index 389eedf99..e82828528 100644 --- a/osu.Framework/Input/StateChanges/MidiKeyInput.cs +++ b/osu.Framework/Input/StateChanges/MidiKeyInput.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using System.Linq; using osu.Framework.Input.States; diff --git a/osu.Framework/Input/StateChanges/MouseButtonInput.cs b/osu.Framework/Input/StateChanges/MouseButtonInput.cs index 949e1d2c7..2debe2d76 100644 --- a/osu.Framework/Input/StateChanges/MouseButtonInput.cs +++ b/osu.Framework/Input/StateChanges/MouseButtonInput.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using osu.Framework.Input.States; using osuTK.Input; diff --git a/osu.Framework/Input/StateChanges/MouseButtonInputFromTouch.cs b/osu.Framework/Input/StateChanges/MouseButtonInputFromTouch.cs index 63e69ddb2..572fd0616 100644 --- a/osu.Framework/Input/StateChanges/MouseButtonInputFromTouch.cs +++ b/osu.Framework/Input/StateChanges/MouseButtonInputFromTouch.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.StateChanges.Events; using osuTK.Input; diff --git a/osu.Framework/Input/StateChanges/MousePositionAbsoluteInput.cs b/osu.Framework/Input/StateChanges/MousePositionAbsoluteInput.cs index becaa224b..4bef388c4 100644 --- a/osu.Framework/Input/StateChanges/MousePositionAbsoluteInput.cs +++ b/osu.Framework/Input/StateChanges/MousePositionAbsoluteInput.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.StateChanges.Events; using osu.Framework.Input.States; using osuTK; diff --git a/osu.Framework/Input/StateChanges/MousePositionAbsoluteInputFromTouch.cs b/osu.Framework/Input/StateChanges/MousePositionAbsoluteInputFromTouch.cs index 27c4915ce..22d414c9c 100644 --- a/osu.Framework/Input/StateChanges/MousePositionAbsoluteInputFromTouch.cs +++ b/osu.Framework/Input/StateChanges/MousePositionAbsoluteInputFromTouch.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.StateChanges.Events; namespace osu.Framework.Input.StateChanges diff --git a/osu.Framework/Input/StateChanges/MousePositionRelativeInput.cs b/osu.Framework/Input/StateChanges/MousePositionRelativeInput.cs index a7da88b3b..19f384794 100644 --- a/osu.Framework/Input/StateChanges/MousePositionRelativeInput.cs +++ b/osu.Framework/Input/StateChanges/MousePositionRelativeInput.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.StateChanges.Events; using osu.Framework.Input.States; using osuTK; diff --git a/osu.Framework/Input/StateChanges/MouseScrollRelativeInput.cs b/osu.Framework/Input/StateChanges/MouseScrollRelativeInput.cs index 5b337de68..cf368f483 100644 --- a/osu.Framework/Input/StateChanges/MouseScrollRelativeInput.cs +++ b/osu.Framework/Input/StateChanges/MouseScrollRelativeInput.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.StateChanges.Events; using osu.Framework.Input.States; using osuTK; diff --git a/osu.Framework/Input/StateChanges/TabletAuxiliaryButtonInput.cs b/osu.Framework/Input/StateChanges/TabletAuxiliaryButtonInput.cs index ebedc45f8..85f4a38a6 100644 --- a/osu.Framework/Input/StateChanges/TabletAuxiliaryButtonInput.cs +++ b/osu.Framework/Input/StateChanges/TabletAuxiliaryButtonInput.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using osu.Framework.Input.States; diff --git a/osu.Framework/Input/StateChanges/TabletPenButtonInput.cs b/osu.Framework/Input/StateChanges/TabletPenButtonInput.cs index d6f14ea22..fc95828c2 100644 --- a/osu.Framework/Input/StateChanges/TabletPenButtonInput.cs +++ b/osu.Framework/Input/StateChanges/TabletPenButtonInput.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using osu.Framework.Input.States; diff --git a/osu.Framework/Input/StateChanges/TouchInput.cs b/osu.Framework/Input/StateChanges/TouchInput.cs index 99ca1a987..921708283 100644 --- a/osu.Framework/Input/StateChanges/TouchInput.cs +++ b/osu.Framework/Input/StateChanges/TouchInput.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Input.StateChanges.Events; diff --git a/osu.Framework/Input/States/ButtonStates.cs b/osu.Framework/Input/States/ButtonStates.cs index e4926d5a1..74f31d34f 100644 --- a/osu.Framework/Input/States/ButtonStates.cs +++ b/osu.Framework/Input/States/ButtonStates.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections; using System.Collections.Generic; diff --git a/osu.Framework/Input/States/JoystickState.cs b/osu.Framework/Input/States/JoystickState.cs index 6c3c35665..03b592d7f 100644 --- a/osu.Framework/Input/States/JoystickState.cs +++ b/osu.Framework/Input/States/JoystickState.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using System.Linq; diff --git a/osu.Framework/Input/States/KeyboardState.cs b/osu.Framework/Input/States/KeyboardState.cs index e11b13f36..40fbe2cbc 100644 --- a/osu.Framework/Input/States/KeyboardState.cs +++ b/osu.Framework/Input/States/KeyboardState.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osuTK.Input; namespace osu.Framework.Input.States diff --git a/osu.Framework/Input/States/MidiState.cs b/osu.Framework/Input/States/MidiState.cs index df0e9ca28..aa8f3dbd0 100644 --- a/osu.Framework/Input/States/MidiState.cs +++ b/osu.Framework/Input/States/MidiState.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; namespace osu.Framework.Input.States diff --git a/osu.Framework/Input/States/TabletState.cs b/osu.Framework/Input/States/TabletState.cs index 405c46606..557bf51d0 100644 --- a/osu.Framework/Input/States/TabletState.cs +++ b/osu.Framework/Input/States/TabletState.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Extensions.TypeExtensions; using osuTK; diff --git a/osu.Framework/Input/States/TouchState.cs b/osu.Framework/Input/States/TouchState.cs index 3db2d5b24..8a26e4d40 100644 --- a/osu.Framework/Input/States/TouchState.cs +++ b/osu.Framework/Input/States/TouchState.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections.Generic; using System.Linq; diff --git a/osu.Framework/Input/TabletAuxiliaryButtonEventManager.cs b/osu.Framework/Input/TabletAuxiliaryButtonEventManager.cs index a1538fe2b..8e17031d7 100644 --- a/osu.Framework/Input/TabletAuxiliaryButtonEventManager.cs +++ b/osu.Framework/Input/TabletAuxiliaryButtonEventManager.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using osu.Framework.Graphics; using osu.Framework.Input.Events; diff --git a/osu.Framework/Input/TabletPenButtonEventManager.cs b/osu.Framework/Input/TabletPenButtonEventManager.cs index 0bcba8a5f..525fc549f 100644 --- a/osu.Framework/Input/TabletPenButtonEventManager.cs +++ b/osu.Framework/Input/TabletPenButtonEventManager.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using osu.Framework.Graphics; using osu.Framework.Input.Events; diff --git a/osu.Framework/Input/UserInputManager.cs b/osu.Framework/Input/UserInputManager.cs index a1c947146..3a44dcb8a 100644 --- a/osu.Framework/Input/UserInputManager.cs +++ b/osu.Framework/Input/UserInputManager.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections.Immutable; using System.Drawing; diff --git a/osu.Framework/Layout/InvalidationSource.cs b/osu.Framework/Layout/InvalidationSource.cs index 97abfcbf3..48fb31719 100644 --- a/osu.Framework/Layout/InvalidationSource.cs +++ b/osu.Framework/Layout/InvalidationSource.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Graphics; diff --git a/osu.Framework/Lists/INotifyArrayChanged.cs b/osu.Framework/Lists/INotifyArrayChanged.cs index 4468b6d04..073c912b1 100644 --- a/osu.Framework/Lists/INotifyArrayChanged.cs +++ b/osu.Framework/Lists/INotifyArrayChanged.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; namespace osu.Framework.Lists diff --git a/osu.Framework/Lists/IWeakList.cs b/osu.Framework/Lists/IWeakList.cs index 79a37d7e6..7ccc72fc4 100644 --- a/osu.Framework/Lists/IWeakList.cs +++ b/osu.Framework/Lists/IWeakList.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; namespace osu.Framework.Lists diff --git a/osu.Framework/Lists/LazyList.cs b/osu.Framework/Lists/LazyList.cs index aebc35193..3090639c4 100644 --- a/osu.Framework/Lists/LazyList.cs +++ b/osu.Framework/Lists/LazyList.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections; using System.Collections.Generic; diff --git a/osu.Framework/Localisation/ILocalisedBindableString.cs b/osu.Framework/Localisation/ILocalisedBindableString.cs index 9539a61a8..9c8c44bc7 100644 --- a/osu.Framework/Localisation/ILocalisedBindableString.cs +++ b/osu.Framework/Localisation/ILocalisedBindableString.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Bindables; namespace osu.Framework.Localisation diff --git a/osu.Framework/Localisation/LocalisableDescriptionAttribute.cs b/osu.Framework/Localisation/LocalisableDescriptionAttribute.cs index 96d526d7b..d2c0a0dd4 100644 --- a/osu.Framework/Localisation/LocalisableDescriptionAttribute.cs +++ b/osu.Framework/Localisation/LocalisableDescriptionAttribute.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Extensions; diff --git a/osu.Framework/Logging/LoadingComponentsLogger.cs b/osu.Framework/Logging/LoadingComponentsLogger.cs index 28e05b405..463bc6562 100644 --- a/osu.Framework/Logging/LoadingComponentsLogger.cs +++ b/osu.Framework/Logging/LoadingComponentsLogger.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Linq; using System.Threading; using osu.Framework.Development; diff --git a/osu.Framework/Logging/RollingTime.cs b/osu.Framework/Logging/RollingTime.cs index 9cb43e51f..8ec0ef546 100644 --- a/osu.Framework/Logging/RollingTime.cs +++ b/osu.Framework/Logging/RollingTime.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; namespace osu.Framework.Logging diff --git a/osu.Framework/Physics/IRigidBody.cs b/osu.Framework/Physics/IRigidBody.cs index fd1ab34a1..cf3efae35 100644 --- a/osu.Framework/Physics/IRigidBody.cs +++ b/osu.Framework/Physics/IRigidBody.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osuTK; using osu.Framework.Graphics; diff --git a/osu.Framework/Physics/RigidBodySimulation.cs b/osu.Framework/Physics/RigidBodySimulation.cs index c8c81d9a4..eeb0e6ef1 100644 --- a/osu.Framework/Physics/RigidBodySimulation.cs +++ b/osu.Framework/Physics/RigidBodySimulation.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osuTK; using osu.Framework.Graphics; using System.Collections.Generic; diff --git a/osu.Framework/Platform/DesktopStorage.cs b/osu.Framework/Platform/DesktopStorage.cs index 3665994dd..9e4caa8b2 100644 --- a/osu.Framework/Platform/DesktopStorage.cs +++ b/osu.Framework/Platform/DesktopStorage.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - namespace osu.Framework.Platform { public class DesktopStorage : NativeStorage diff --git a/osu.Framework/Platform/ExecutionMode.cs b/osu.Framework/Platform/ExecutionMode.cs index d87b6442d..9481ebcca 100644 --- a/osu.Framework/Platform/ExecutionMode.cs +++ b/osu.Framework/Platform/ExecutionMode.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.ComponentModel; namespace osu.Framework.Platform diff --git a/osu.Framework/Platform/FlushingStream.cs b/osu.Framework/Platform/FlushingStream.cs index ea399527b..e6609f6d2 100644 --- a/osu.Framework/Platform/FlushingStream.cs +++ b/osu.Framework/Platform/FlushingStream.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.IO; namespace osu.Framework.Platform diff --git a/osu.Framework/Platform/IIpcHost.cs b/osu.Framework/Platform/IIpcHost.cs index 5d9aaa55b..dc27d8e4b 100644 --- a/osu.Framework/Platform/IIpcHost.cs +++ b/osu.Framework/Platform/IIpcHost.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Threading.Tasks; diff --git a/osu.Framework/Platform/Linux/LinuxReadableKeyCombinationProvider.cs b/osu.Framework/Platform/Linux/LinuxReadableKeyCombinationProvider.cs index 5f400e1d7..532ac01df 100644 --- a/osu.Framework/Platform/Linux/LinuxReadableKeyCombinationProvider.cs +++ b/osu.Framework/Platform/Linux/LinuxReadableKeyCombinationProvider.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.Bindings; using osu.Framework.Platform.SDL2; using SDL2; diff --git a/osu.Framework/Platform/MacOS/MacOSClipboard.cs b/osu.Framework/Platform/MacOS/MacOSClipboard.cs index aeaf575eb..07d08d927 100644 --- a/osu.Framework/Platform/MacOS/MacOSClipboard.cs +++ b/osu.Framework/Platform/MacOS/MacOSClipboard.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Platform.MacOS.Native; using SixLabors.ImageSharp; diff --git a/osu.Framework/Platform/MacOS/MacOSReadableKeyCombinationProvider.cs b/osu.Framework/Platform/MacOS/MacOSReadableKeyCombinationProvider.cs index 20362c33e..cf118531a 100644 --- a/osu.Framework/Platform/MacOS/MacOSReadableKeyCombinationProvider.cs +++ b/osu.Framework/Platform/MacOS/MacOSReadableKeyCombinationProvider.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Input.Bindings; using osu.Framework.Platform.SDL2; using SDL2; diff --git a/osu.Framework/Platform/MacOS/Native/Class.cs b/osu.Framework/Platform/MacOS/Native/Class.cs index 2d6ce3e4f..4cd0784ab 100644 --- a/osu.Framework/Platform/MacOS/Native/Class.cs +++ b/osu.Framework/Platform/MacOS/Native/Class.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Runtime.InteropServices; diff --git a/osu.Framework/Platform/MacOS/Native/NSArray.cs b/osu.Framework/Platform/MacOS/Native/NSArray.cs index db3d9ca41..6e7c62f83 100644 --- a/osu.Framework/Platform/MacOS/Native/NSArray.cs +++ b/osu.Framework/Platform/MacOS/Native/NSArray.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; namespace osu.Framework.Platform.MacOS.Native diff --git a/osu.Framework/Platform/MacOS/Native/NSData.cs b/osu.Framework/Platform/MacOS/Native/NSData.cs index 3e1a3b4e4..16793c152 100644 --- a/osu.Framework/Platform/MacOS/Native/NSData.cs +++ b/osu.Framework/Platform/MacOS/Native/NSData.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Runtime.InteropServices; diff --git a/osu.Framework/Platform/MacOS/Native/NSDictionary.cs b/osu.Framework/Platform/MacOS/Native/NSDictionary.cs index 5e819602b..095761c95 100644 --- a/osu.Framework/Platform/MacOS/Native/NSDictionary.cs +++ b/osu.Framework/Platform/MacOS/Native/NSDictionary.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; namespace osu.Framework.Platform.MacOS.Native diff --git a/osu.Framework/Platform/MacOS/Native/NSNotificationCenter.cs b/osu.Framework/Platform/MacOS/Native/NSNotificationCenter.cs index 6a517c6f8..e7e6206b3 100644 --- a/osu.Framework/Platform/MacOS/Native/NSNotificationCenter.cs +++ b/osu.Framework/Platform/MacOS/Native/NSNotificationCenter.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; namespace osu.Framework.Platform.MacOS.Native diff --git a/osu.Framework/Platform/MacOS/Native/NSPasteboard.cs b/osu.Framework/Platform/MacOS/Native/NSPasteboard.cs index c16c07275..cd2bf1834 100644 --- a/osu.Framework/Platform/MacOS/Native/NSPasteboard.cs +++ b/osu.Framework/Platform/MacOS/Native/NSPasteboard.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; namespace osu.Framework.Platform.MacOS.Native diff --git a/osu.Framework/Platform/MacOS/Native/NSStringEncoding.cs b/osu.Framework/Platform/MacOS/Native/NSStringEncoding.cs index 82faffc2e..2c933d754 100644 --- a/osu.Framework/Platform/MacOS/Native/NSStringEncoding.cs +++ b/osu.Framework/Platform/MacOS/Native/NSStringEncoding.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - namespace osu.Framework.Platform.MacOS.Native { public enum NSStringEncoding : uint diff --git a/osu.Framework/Platform/MacOS/Native/Selector.cs b/osu.Framework/Platform/MacOS/Native/Selector.cs index 4be2f2114..286a1171d 100644 --- a/osu.Framework/Platform/MacOS/Native/Selector.cs +++ b/osu.Framework/Platform/MacOS/Native/Selector.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Runtime.InteropServices; diff --git a/osu.Framework/Platform/MonoPInvokeCallbackAttribute.cs b/osu.Framework/Platform/MonoPInvokeCallbackAttribute.cs index 6269d2211..060075a8b 100644 --- a/osu.Framework/Platform/MonoPInvokeCallbackAttribute.cs +++ b/osu.Framework/Platform/MonoPInvokeCallbackAttribute.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Runtime.CompilerServices; diff --git a/osu.Framework/Platform/SDL2/SDL2ReadableKeyCombinationProvider.cs b/osu.Framework/Platform/SDL2/SDL2ReadableKeyCombinationProvider.cs index 855688f4a..538dbf9b2 100644 --- a/osu.Framework/Platform/SDL2/SDL2ReadableKeyCombinationProvider.cs +++ b/osu.Framework/Platform/SDL2/SDL2ReadableKeyCombinationProvider.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Globalization; using osu.Framework.Input; using osu.Framework.Input.Bindings; diff --git a/osu.Framework/Platform/SDL2/SDL2Structs.cs b/osu.Framework/Platform/SDL2/SDL2Structs.cs index 4950ee822..32c7ffaf9 100644 --- a/osu.Framework/Platform/SDL2/SDL2Structs.cs +++ b/osu.Framework/Platform/SDL2/SDL2Structs.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Runtime.InteropServices; using SDL2; diff --git a/osu.Framework/Platform/ThreadRunner.cs b/osu.Framework/Platform/ThreadRunner.cs index 6425c026e..a0602abfc 100644 --- a/osu.Framework/Platform/ThreadRunner.cs +++ b/osu.Framework/Platform/ThreadRunner.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. diff --git a/osu.Framework/Properties/AssemblyInfo.cs b/osu.Framework/Properties/AssemblyInfo.cs index eaf0f9899..fd5c8270a 100644 --- a/osu.Framework/Properties/AssemblyInfo.cs +++ b/osu.Framework/Properties/AssemblyInfo.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Runtime.CompilerServices; using System.Reflection.Metadata; using osu.Framework.Testing; diff --git a/osu.Framework/RuntimeInfo.cs b/osu.Framework/RuntimeInfo.cs index f58383272..96ba36aeb 100644 --- a/osu.Framework/RuntimeInfo.cs +++ b/osu.Framework/RuntimeInfo.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Diagnostics; using System.Reflection; diff --git a/osu.Framework/Screens/Screen.cs b/osu.Framework/Screens/Screen.cs index a13155132..41a069f58 100644 --- a/osu.Framework/Screens/Screen.cs +++ b/osu.Framework/Screens/Screen.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Allocation; using osu.Framework.Graphics; @@ -20,7 +18,7 @@ namespace osu.Framework.Screens public sealed override bool RemoveWhenNotAlive => false; [Resolved] - protected Game Game { get; private set; } + protected Game Game { get; private set; } = null!; public Screen() { diff --git a/osu.Framework/Screens/ScreenExitEvent.cs b/osu.Framework/Screens/ScreenExitEvent.cs index 20767049f..dd8cb697b 100644 --- a/osu.Framework/Screens/ScreenExitEvent.cs +++ b/osu.Framework/Screens/ScreenExitEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - namespace osu.Framework.Screens { /// diff --git a/osu.Framework/Screens/ScreenTransitionEvent.cs b/osu.Framework/Screens/ScreenTransitionEvent.cs index 55992f748..052dc5a44 100644 --- a/osu.Framework/Screens/ScreenTransitionEvent.cs +++ b/osu.Framework/Screens/ScreenTransitionEvent.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - namespace osu.Framework.Screens { /// diff --git a/osu.Framework/Statistics/FrameStatistics.cs b/osu.Framework/Statistics/FrameStatistics.cs index be00cc47a..4ee6c0076 100644 --- a/osu.Framework/Statistics/FrameStatistics.cs +++ b/osu.Framework/Statistics/FrameStatistics.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections.Generic; diff --git a/osu.Framework/Statistics/IGlobalStatistic.cs b/osu.Framework/Statistics/IGlobalStatistic.cs index aeee8bd99..a6c927d48 100644 --- a/osu.Framework/Statistics/IGlobalStatistic.cs +++ b/osu.Framework/Statistics/IGlobalStatistic.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - namespace osu.Framework.Statistics { public interface IGlobalStatistic diff --git a/osu.Framework/Statistics/TypePerformanceMonitor.cs b/osu.Framework/Statistics/TypePerformanceMonitor.cs index 8bbf88dd4..dc00f38e1 100644 --- a/osu.Framework/Statistics/TypePerformanceMonitor.cs +++ b/osu.Framework/Statistics/TypePerformanceMonitor.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using System.Collections.Generic; using System.Linq; diff --git a/osu.Framework/Testing/DrawFrameRecordingContainer.cs b/osu.Framework/Testing/DrawFrameRecordingContainer.cs index ea0ed6d9c..5a193d955 100644 --- a/osu.Framework/Testing/DrawFrameRecordingContainer.cs +++ b/osu.Framework/Testing/DrawFrameRecordingContainer.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using System.Diagnostics; using JetBrains.Annotations; diff --git a/osu.Framework/Testing/Drawables/Sections/ToolbarRateSection.cs b/osu.Framework/Testing/Drawables/Sections/ToolbarRateSection.cs index 9f46e2efb..be878df99 100644 --- a/osu.Framework/Testing/Drawables/Sections/ToolbarRateSection.cs +++ b/osu.Framework/Testing/Drawables/Sections/ToolbarRateSection.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework/Testing/Drawables/Steps/LabelStep.cs b/osu.Framework/Testing/Drawables/Steps/LabelStep.cs index 400ff0202..c6fcd6161 100644 --- a/osu.Framework/Testing/Drawables/Steps/LabelStep.cs +++ b/osu.Framework/Testing/Drawables/Steps/LabelStep.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osuTK.Graphics; namespace osu.Framework.Testing.Drawables.Steps diff --git a/osu.Framework/Testing/Drawables/Steps/ToggleStepButton.cs b/osu.Framework/Testing/Drawables/Steps/ToggleStepButton.cs index a71956b34..758dfd9c6 100644 --- a/osu.Framework/Testing/Drawables/Steps/ToggleStepButton.cs +++ b/osu.Framework/Testing/Drawables/Steps/ToggleStepButton.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Graphics; using osuTK.Graphics; diff --git a/osu.Framework/Testing/Drawables/TestGroupButton.cs b/osu.Framework/Testing/Drawables/TestGroupButton.cs index f1f728bfc..1fdf98bc6 100644 --- a/osu.Framework/Testing/Drawables/TestGroupButton.cs +++ b/osu.Framework/Testing/Drawables/TestGroupButton.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework/Testing/Drawables/ToolbarSection.cs b/osu.Framework/Testing/Drawables/ToolbarSection.cs index 1e33218df..007cfc64f 100644 --- a/osu.Framework/Testing/Drawables/ToolbarSection.cs +++ b/osu.Framework/Testing/Drawables/ToolbarSection.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics.Containers; namespace osu.Framework.Testing.Drawables diff --git a/osu.Framework/Testing/GridTestScene.cs b/osu.Framework/Testing/GridTestScene.cs index b6ed20285..d351b4d3b 100644 --- a/osu.Framework/Testing/GridTestScene.cs +++ b/osu.Framework/Testing/GridTestScene.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework/Testing/HeadlessTestAttribute.cs b/osu.Framework/Testing/HeadlessTestAttribute.cs index 40ea956be..f15495836 100644 --- a/osu.Framework/Testing/HeadlessTestAttribute.cs +++ b/osu.Framework/Testing/HeadlessTestAttribute.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using JetBrains.Annotations; diff --git a/osu.Framework/Testing/Input/ManualInputManager.cs b/osu.Framework/Testing/Input/ManualInputManager.cs index f5d09dbde..4cb2d4082 100644 --- a/osu.Framework/Testing/Input/ManualInputManager.cs +++ b/osu.Framework/Testing/Input/ManualInputManager.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Linq; using System; using osu.Framework.Graphics; diff --git a/osu.Framework/Testing/Input/TestCursorContainer.cs b/osu.Framework/Testing/Input/TestCursorContainer.cs index 2cd492069..da6dd8252 100644 --- a/osu.Framework/Testing/Input/TestCursorContainer.cs +++ b/osu.Framework/Testing/Input/TestCursorContainer.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Linq; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework/Testing/ManualInputManagerTestScene.cs b/osu.Framework/Testing/ManualInputManagerTestScene.cs index 30dc4a6a6..5155b86ad 100644 --- a/osu.Framework/Testing/ManualInputManagerTestScene.cs +++ b/osu.Framework/Testing/ManualInputManagerTestScene.cs @@ -1,8 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using NUnit.Framework; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Graphics; diff --git a/osu.Framework/Testing/SetUpStepsAttribute.cs b/osu.Framework/Testing/SetUpStepsAttribute.cs index 08a50a357..c009f7bef 100644 --- a/osu.Framework/Testing/SetUpStepsAttribute.cs +++ b/osu.Framework/Testing/SetUpStepsAttribute.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using JetBrains.Annotations; diff --git a/osu.Framework/Testing/TearDownStepsAttribute.cs b/osu.Framework/Testing/TearDownStepsAttribute.cs index d608d36fe..4d5738903 100644 --- a/osu.Framework/Testing/TearDownStepsAttribute.cs +++ b/osu.Framework/Testing/TearDownStepsAttribute.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System; using JetBrains.Annotations; diff --git a/osu.Framework/Testing/TestBrowserConfig.cs b/osu.Framework/Testing/TestBrowserConfig.cs index e28106f3d..aaeb47d1c 100644 --- a/osu.Framework/Testing/TestBrowserConfig.cs +++ b/osu.Framework/Testing/TestBrowserConfig.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Configuration; using osu.Framework.Platform; diff --git a/osu.Framework/Testing/TestingExtensions.cs b/osu.Framework/Testing/TestingExtensions.cs index 7c79f430f..ca680a905 100644 --- a/osu.Framework/Testing/TestingExtensions.cs +++ b/osu.Framework/Testing/TestingExtensions.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Collections.Generic; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; diff --git a/osu.Framework/Text/ICharacterGlyph.cs b/osu.Framework/Text/ICharacterGlyph.cs index 939a269b6..4860a7112 100644 --- a/osu.Framework/Text/ICharacterGlyph.cs +++ b/osu.Framework/Text/ICharacterGlyph.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - namespace osu.Framework.Text { /// diff --git a/osu.Framework/Text/ITexturedCharacterGlyph.cs b/osu.Framework/Text/ITexturedCharacterGlyph.cs index f6b6bf2eb..e08297f60 100644 --- a/osu.Framework/Text/ITexturedCharacterGlyph.cs +++ b/osu.Framework/Text/ITexturedCharacterGlyph.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using osu.Framework.Graphics.Textures; namespace osu.Framework.Text diff --git a/osu.Framework/Text/ITexturedGlyphLookupStore.cs b/osu.Framework/Text/ITexturedGlyphLookupStore.cs index 2d45f5229..49bb42c3e 100644 --- a/osu.Framework/Text/ITexturedGlyphLookupStore.cs +++ b/osu.Framework/Text/ITexturedGlyphLookupStore.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Threading.Tasks; namespace osu.Framework.Text diff --git a/osu.Framework/Text/TextBuilderGlyph.cs b/osu.Framework/Text/TextBuilderGlyph.cs index 80ffb40fa..c1631fef6 100644 --- a/osu.Framework/Text/TextBuilderGlyph.cs +++ b/osu.Framework/Text/TextBuilderGlyph.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Runtime.CompilerServices; using osu.Framework.Graphics.Primitives; using osu.Framework.Graphics.Textures; diff --git a/osu.Framework/Text/TexturedCharacterGlyph.cs b/osu.Framework/Text/TexturedCharacterGlyph.cs index e37d533d1..78b7f43a5 100644 --- a/osu.Framework/Text/TexturedCharacterGlyph.cs +++ b/osu.Framework/Text/TexturedCharacterGlyph.cs @@ -1,8 +1,6 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -#nullable disable - using System.Runtime.CompilerServices; using osu.Framework.Graphics.Textures;