Fix iOS trim analyzer warnings and Android 16KB ELF page alignment #862
Annotations
1 error and 10 warnings
|
|
|
osu.Game.Tests/Skins/SkinDeserialisationTest.cs#L111
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The parameter 't' of method 'lambda expression' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
osu.Game.Tests/Rulesets/Scoring/ScoreProcessorTest.cs#L134
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The parameter 'rulesetType' of method 'osu.Game.Tests.Rulesets.Scoring.ScoreProcessorTest.TestBeatmapWithALotOfObjectsDoesNotOverflowClassicScore(Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
osu.Game.Tests/Input/RealmKeyBindingTest.cs#L41
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The parameter 'rulesetType' of method 'osu.Game.Tests.Input.RealmKeyBindingTest.TestUnmapRulesetActions(Type, Object, Int32?)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
osu.Game.Tests/Mods/MultiModIncompatibilityTest.cs#L30
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The parameter 'rulesetType' of method 'osu.Game.Tests.Mods.MultiModIncompatibilityTest.TestAllMultiModsFromRulesetAreIncompatible(Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
osu.Game.Tests/Online/TestSoloScoreInfoJsonSerialization.cs#L52
Using member 'Newtonsoft.Json.JsonConvert.SerializeObject(Object)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Newtonsoft.Json relies on reflection over types that may be removed when trimming.
|
|
osu.Game.Tests/Online/TestSoloScoreInfoJsonSerialization.cs#L35
Using member 'Newtonsoft.Json.JsonConvert.SerializeObject(Object)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Newtonsoft.Json relies on reflection over types that may be removed when trimming.
|
|
osu.iOS/AppDelegate.cs#L20
This call site is reachable on all platforms. 'UIWindowScene.InterfaceOrientation' is obsoleted on: 'ios' 26.0 and later (Use 'EffectiveGeometry.InterfaceOrientation' instead.), 'maccatalyst' 26.0 and later (Use 'EffectiveGeometry.InterfaceOrientation' instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
|
|
osu.iOS/AppDelegate.cs#L44
Nullability of reference types in type of parameter 'forWindow' of 'UIInterfaceOrientationMask AppDelegate.GetSupportedInterfaceOrientations(UIApplication application, UIWindow forWindow)' doesn't match implicitly implemented member 'UIInterfaceOrientationMask IUIApplicationDelegate.GetSupportedInterfaceOrientations(UIApplication application, UIWindow? forWindow)' (possibly because of nullability attributes).
|
|
osu.iOS/AppDelegate.cs#L12
Nullability of reference types in type of parameter 'launchOptions' of 'bool GameApplicationDelegate.FinishedLaunching(UIApplication application, NSDictionary launchOptions)' doesn't match implicitly implemented member 'bool IUIApplicationDelegate.FinishedLaunching(UIApplication application, NSDictionary? launchOptions)' (possibly because of nullability attributes).
|
|
osu.Game.Rulesets.Osu.Tests/Mods/TestSceneOsuModSpunOut.cs#L68
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The parameter 'additionalModType' of method 'osu.Game.Rulesets.Osu.Tests.Mods.TestSceneOsuModSpunOut.TestSpinRateUnaffectedByMods(Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
The logs for this run have expired and are no longer available.
Loading