fix a million warnings

This commit is contained in:
goat 2024-06-30 00:58:04 +02:00
parent b752d958f7
commit b425bb3e49
26 changed files with 1027 additions and 1019 deletions

View file

@ -1,7 +1,7 @@
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Dalamud.Interface.Internal;
using Dalamud.Interface.Textures.TextureWraps;
namespace Dalamud.Interface.Textures.Internal.SharedImmediateTextures;
@ -19,7 +19,10 @@ internal sealed class FileSystemSharedImmediateTexture : SharedImmediateTexture
/// <summary>Creates a new placeholder instance of <see cref="GamePathSharedImmediateTexture"/>.</summary>
/// <param name="path">The path.</param>
/// <returns>The new instance.</returns>
/// <remarks>Only to be used from <see cref="TextureManager.SharedTextureManager.GetFromFile"/>.</remarks>
/// <remarks>
/// Only to be used from <see cref="TextureManager.SharedTextureManager.GetFromFile(string)"/> or
/// <see cref="TextureManager.SharedTextureManager.GetFromFile(FileInfo)"/>.
/// </remarks>
public static SharedImmediateTexture CreatePlaceholder(string path) => new FileSystemSharedImmediateTexture(path);
/// <inheritdoc/>