Skip to content

Commit d0dce52

Browse files
Update ref to stable and fix warnings
1 parent 2ac2e3c commit d0dce52

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/ImageSharp.Web/Commands/Converters/ColorConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public Color ConvertFrom(CommandParser parser, CultureInfo culture, string? valu
5050

5151
// Numeric r,g,b - r,g,b,a
5252
char separator = ConverterUtility.GetListSeparator(culture);
53-
if (value.IndexOf(separator) != -1)
53+
if (value.Contains(separator))
5454
{
5555
string[] components = value.Split(separator);
5656

src/ImageSharp.Web/Commands/Converters/EnumConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public sealed class EnumConverter : ICommandConverter<object>
3535
try
3636
{
3737
char separator = ConverterUtility.GetListSeparator(culture);
38-
if (value.IndexOf(separator) != -1)
38+
if (value.Contains(separator))
3939
{
4040
long convertedValue = 0;
4141
foreach (string pill in GetStringArray(value, separator))

src/ImageSharp.Web/FormattedImage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ internal static async Task<FormattedImage> LoadAsync(DecoderOptions options, Str
127127
internal void Save(Stream destination) => this.Image.Save(destination, this.encoder);
128128

129129
/// <summary>
130-
/// Gets the EXIF orientation metata for the <see cref="FormattedImage"/>.
130+
/// Gets the EXIF orientation metadata for the <see cref="FormattedImage"/>.
131131
/// </summary>
132132
/// <param name="value">
133133
/// When this method returns, contains the value parsed from decoded EXIF metadata; otherwise,

src/ImageSharp.Web/ImageSharp.Web.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<ItemGroup>
4747
<FrameworkReference Include="Microsoft.AspNetCore.App" />
4848
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="2.3.2" />
49-
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.0-alpha.0.43" />
49+
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.0" />
5050
</ItemGroup>
5151

5252
<Import Project="..\..\shared-infrastructure\src\SharedInfrastructure\SharedInfrastructure.projitems" Label="Shared" />

0 commit comments

Comments
 (0)