diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-06 22:46:19 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-06 22:46:19 -0400 |
commit | b4e979cc991a0c2a45ad986210108edd2d43e43d (patch) | |
tree | 6894e1f3e965680b5feb6516457e898647d7e9aa /src/SMAPI/Framework/ContentCoordinator.cs | |
parent | 2e7c233f6c9bf6430672b39f970a3324deba79dd (diff) | |
download | SMAPI-b4e979cc991a0c2a45ad986210108edd2d43e43d.tar.gz SMAPI-b4e979cc991a0c2a45ad986210108edd2d43e43d.tar.bz2 SMAPI-b4e979cc991a0c2a45ad986210108edd2d43e43d.zip |
fix all warnings to simplify migration to nullable annotations (#837)
Diffstat (limited to 'src/SMAPI/Framework/ContentCoordinator.cs')
-rw-r--r-- | src/SMAPI/Framework/ContentCoordinator.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/ContentCoordinator.cs b/src/SMAPI/Framework/ContentCoordinator.cs index bfde649a..81820b05 100644 --- a/src/SMAPI/Framework/ContentCoordinator.cs +++ b/src/SMAPI/Framework/ContentCoordinator.cs @@ -610,6 +610,7 @@ namespace StardewModdingAPI.Framework yield return group; // legacy load operations +#pragma warning disable CS0612, CS0618 // deprecated code foreach (ModLinked<IAssetLoader> loader in this.Loaders) { // check if loader applies @@ -695,6 +696,7 @@ namespace StardewModdingAPI.Framework } ); } +#pragma warning restore CS0612, CS0618 } /// <summary>Get an asset info compatible with legacy <see cref="IAssetLoader"/> and <see cref="IAssetEditor"/> instances, which always expect the base name.</summary> |