Skip to content

Commit 2ed89bb

Browse files
committed
Use error=true
1 parent 63f2bb9 commit 2ed89bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ImageSharp.Web/DependencyInjection/ImageSharpBuilderExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static IImageSharpBuilder SetRequestParser(this IImageSharpBuilder builde
5454
/// <param name="builder">The core builder.</param>
5555
/// <param name="implementationFactory">The factory method for returning a <see cref="MemoryAllocator"/>.</param>
5656
/// <returns>The <see cref="IImageSharpBuilder"/>.</returns>
57-
[Obsolete("Use ImageSharp.Configuration.MemoryAllocator. This will be removed in a future version.")]
57+
[Obsolete("Use ImageSharp.Configuration.MemoryAllocator. This will be removed in a future version.", true)]
5858
public static IImageSharpBuilder SetMemoryAllocator(this IImageSharpBuilder builder, Func<IServiceProvider, MemoryAllocator> implementationFactory)
5959
=> builder;
6060

@@ -64,7 +64,7 @@ public static IImageSharpBuilder SetMemoryAllocator(this IImageSharpBuilder buil
6464
/// <typeparam name="TMemoryAllocator">The type of class implementing <see cref="MemoryAllocator"/>to add.</typeparam>
6565
/// <param name="builder">The core builder.</param>
6666
/// <returns>The <see cref="IImageSharpBuilder"/>.</returns>
67-
[Obsolete("Use ImageSharp.Configuration.MemoryAllocator. This will be removed in a future version.")]
67+
[Obsolete("Use ImageSharp.Configuration.MemoryAllocator. This will be removed in a future version.", true)]
6868
public static IImageSharpBuilder SetMemoryAllocator<TMemoryAllocator>(this IImageSharpBuilder builder)
6969
where TMemoryAllocator : MemoryAllocator
7070
=> builder;

0 commit comments

Comments
 (0)