Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Http/Http.Results/src/Results.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ public static IResult ServerSentEvents<T>(IAsyncEnumerable<SseItem<T>> values)
/// <summary>
/// Produces an empty result response, that when executed will do nothing.
/// </summary>
public static IResult Empty { get; } = TypedResults.Empty;
public static IResult Empty => EmptyHttpResult.Instance;

/// <summary>
/// Provides a container for external libraries to extend
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Http.Results/src/TypedResults.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ public static ServerSentEventsResult<T> ServerSentEvents<T>(IAsyncEnumerable<Sse
/// <summary>
/// Produces an empty result response, that when executed will do nothing.
/// </summary>
public static EmptyHttpResult Empty { get; } = EmptyHttpResult.Instance;
public static EmptyHttpResult Empty => EmptyHttpResult.Instance;

/// <summary>
/// Provides a container for external libraries to extend
Expand Down
Loading