Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Format code
  • Loading branch information
getsentry-bot committed May 5, 2025
commit bab48d3a19aca6e4ba93d63dc8b095cfed01cc77
2 changes: 1 addition & 1 deletion src/Sentry/Protocol/Response.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public sealed class Response : ISentryJsonSerializable, ICloneable<Response>, IU
/// <remarks>
/// If a header appears multiple times it needs to be merged according to the HTTP standard for header merging.
/// </remarks>
public IDictionary<string, string> Headers => InternalHeaders ??= new ();
public IDictionary<string, string> Headers => InternalHeaders ??= new();

/// <summary>
/// Gets or sets the HTTP Status response code
Expand Down
2 changes: 1 addition & 1 deletion src/Sentry/SentryRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public sealed class SentryRequest : ISentryJsonSerializable
/// If a header appears multiple times it needs to be merged according to the HTTP standard for header merging.
/// </remarks>
/// <value>The headers.</value>
public IDictionary<string, string> Headers => InternalHeaders ??= new ();
public IDictionary<string, string> Headers => InternalHeaders ??= new();

/// <summary>
/// Gets or sets the optional environment data.
Expand Down