From 843c39c3853729d54ce8c76a2912eecc5bcacea1 Mon Sep 17 00:00:00 2001 From: Nora Date: Sun, 28 Jul 2024 21:43:02 -0400 Subject: [PATCH] remove many unused imports --- osu.Game.Rulesets.Tau.Tests/TestSceneResumeOverlay.cs | 1 - osu.Game.Rulesets.Tau.sln.DotSettings | 11 +++++++++++ .../Objects/Drawables/DrawableSlider.Graphics.cs | 1 - .../Objects/Drawables/DrawableTauHitObject.cs | 3 +-- osu.Game.Rulesets.Tau/UI/Cursor/CursorPiece.cs | 3 +-- osu.Game.Rulesets.Tau/UI/TauResumeOverlay.cs | 1 - 6 files changed, 13 insertions(+), 7 deletions(-) diff --git a/osu.Game.Rulesets.Tau.Tests/TestSceneResumeOverlay.cs b/osu.Game.Rulesets.Tau.Tests/TestSceneResumeOverlay.cs index 3257b91f..cf3d68da 100644 --- a/osu.Game.Rulesets.Tau.Tests/TestSceneResumeOverlay.cs +++ b/osu.Game.Rulesets.Tau.Tests/TestSceneResumeOverlay.cs @@ -1,7 +1,6 @@ using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; -using osu.Framework.Graphics.Cursor; using osu.Game.Rulesets.Tau.UI; using osu.Game.Rulesets.UI; using osu.Game.Screens.Play; diff --git a/osu.Game.Rulesets.Tau.sln.DotSettings b/osu.Game.Rulesets.Tau.sln.DotSettings index 1bf36aee..c9f676fe 100644 --- a/osu.Game.Rulesets.Tau.sln.DotSettings +++ b/osu.Game.Rulesets.Tau.sln.DotSettings @@ -678,9 +678,19 @@ <Policy Inspect="True" Prefix="" Suffix="" Style="aa_bb" /> <Policy Inspect="True" Prefix="" Suffix="" Style="AA_BB" /> <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /> + <Policy><Descriptor Staticness="Static" AccessRightKinds="Private" Description="Static readonly fields (private)"><ElementKinds><Kind Name="READONLY_FIELD" /></ElementKinds></Descriptor><Policy Inspect="True" Prefix="" Suffix="" Style="aa_bb" /></Policy> + <Policy><Descriptor Staticness="Any" AccessRightKinds="Private" Description="Constant fields (private)"><ElementKinds><Kind Name="CONSTANT_FIELD" /></ElementKinds></Descriptor><Policy Inspect="True" Prefix="" Suffix="" Style="aa_bb" /></Policy> + <Policy><Descriptor Staticness="Any" AccessRightKinds="Any" Description="Type parameters"><ElementKinds><Kind Name="TYPE_PARAMETER" /></ElementKinds></Descriptor><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></Policy> + <Policy><Descriptor Staticness="Instance" AccessRightKinds="Private" Description="Instance fields (private)"><ElementKinds><Kind Name="FIELD" /><Kind Name="READONLY_FIELD" /></ElementKinds></Descriptor><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb"><ExtraRule Prefix="_" Suffix="" Style="aaBb" /></Policy></Policy> + <Policy><Descriptor Staticness="Any" AccessRightKinds="Protected, ProtectedInternal, Internal, Public, PrivateProtected" Description="Constant fields (not private)"><ElementKinds><Kind Name="CONSTANT_FIELD" /></ElementKinds></Descriptor><Policy Inspect="True" Prefix="" Suffix="" Style="AA_BB" /></Policy> + <Policy><Descriptor Staticness="Any" AccessRightKinds="Any" Description="Local functions"><ElementKinds><Kind Name="LOCAL_FUNCTION" /></ElementKinds></Descriptor><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></Policy> + <Policy><Descriptor Staticness="Any" AccessRightKinds="Any" Description="Enum members"><ElementKinds><Kind Name="ENUM_MEMBER" /></ElementKinds></Descriptor><Policy Inspect="False" Prefix="" Suffix="" Style="AaBb" /></Policy> <Policy><Descriptor Staticness="Static, Instance" AccessRightKinds="Private" Description="private methods"><ElementKinds><Kind Name="ASYNC_METHOD" /><Kind Name="METHOD" /></ElementKinds></Descriptor><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></Policy> <Policy><Descriptor Staticness="Static, Instance" AccessRightKinds="Protected, ProtectedInternal, Internal, Public" Description="internal/protected/public methods"><ElementKinds><Kind Name="ASYNC_METHOD" /><Kind Name="METHOD" /></ElementKinds></Descriptor><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></Policy> <Policy><Descriptor Staticness="Static, Instance" AccessRightKinds="Private" Description="private properties"><ElementKinds><Kind Name="PROPERTY" /></ElementKinds></Descriptor><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></Policy> + <Policy><Descriptor Staticness="Any" AccessRightKinds="Any" Description="Local constants"><ElementKinds><Kind Name="LOCAL_CONSTANT" /></ElementKinds></Descriptor><Policy Inspect="True" Prefix="" Suffix="" Style="aa_bb" /></Policy> + <Policy><Descriptor Staticness="Static" AccessRightKinds="Protected, ProtectedInternal, Internal, Public, PrivateProtected" Description="Static readonly fields (not private)"><ElementKinds><Kind Name="READONLY_FIELD" /></ElementKinds></Descriptor><Policy Inspect="True" Prefix="" Suffix="" Style="AA_BB" /></Policy> + <Policy><Descriptor Staticness="Static" AccessRightKinds="Private" Description="Static fields (private)"><ElementKinds><Kind Name="FIELD" /></ElementKinds></Descriptor><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></Policy> <Policy><Descriptor Staticness="Static, Instance" AccessRightKinds="Protected, ProtectedInternal, Internal, Public" Description="internal/protected/public properties"><ElementKinds><Kind Name="PROPERTY" /></ElementKinds></Descriptor><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></Policy> <Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /> <Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /> @@ -733,6 +743,7 @@ True True True + True True True o!f – Object Initializer: Anchor&Origin diff --git a/osu.Game.Rulesets.Tau/Objects/Drawables/DrawableSlider.Graphics.cs b/osu.Game.Rulesets.Tau/Objects/Drawables/DrawableSlider.Graphics.cs index 33005786..c23b20f8 100644 --- a/osu.Game.Rulesets.Tau/Objects/Drawables/DrawableSlider.Graphics.cs +++ b/osu.Game.Rulesets.Tau/Objects/Drawables/DrawableSlider.Graphics.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using osu.Framework.Allocation; using osu.Framework.Caching; -using osu.Framework.Extensions.EnumExtensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Lines; using osu.Framework.Graphics.Primitives; diff --git a/osu.Game.Rulesets.Tau/Objects/Drawables/DrawableTauHitObject.cs b/osu.Game.Rulesets.Tau/Objects/Drawables/DrawableTauHitObject.cs index c54fd2b0..95efe7fb 100644 --- a/osu.Game.Rulesets.Tau/Objects/Drawables/DrawableTauHitObject.cs +++ b/osu.Game.Rulesets.Tau/Objects/Drawables/DrawableTauHitObject.cs @@ -1,5 +1,4 @@ -using System; -using System.Diagnostics; +using System.Diagnostics; using System.Linq; using osu.Framework.Allocation; using osu.Framework.Bindables; diff --git a/osu.Game.Rulesets.Tau/UI/Cursor/CursorPiece.cs b/osu.Game.Rulesets.Tau/UI/Cursor/CursorPiece.cs index 793aa06a..79e273c3 100644 --- a/osu.Game.Rulesets.Tau/UI/Cursor/CursorPiece.cs +++ b/osu.Game.Rulesets.Tau/UI/Cursor/CursorPiece.cs @@ -1,5 +1,4 @@ -using osu.Framework.Bindables; -using osu.Framework.Graphics; +using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.UserInterface; diff --git a/osu.Game.Rulesets.Tau/UI/TauResumeOverlay.cs b/osu.Game.Rulesets.Tau/UI/TauResumeOverlay.cs index 9ea68a6c..19fe098b 100644 --- a/osu.Game.Rulesets.Tau/UI/TauResumeOverlay.cs +++ b/osu.Game.Rulesets.Tau/UI/TauResumeOverlay.cs @@ -1,6 +1,5 @@ using System; using osu.Framework.Allocation; -using osu.Framework.Bindables; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers;