Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- Remove unnecessary files from SentryCocoaFramework before packing ([#4602](https://github.com/getsentry/sentry-dotnet/pull/4602))
- ScopeExtensions.Populate is now internal ([#4611](https://github.com/getsentry/sentry-dotnet/pull/4611))

## 6.0.0-preview.1

Expand Down
4 changes: 2 additions & 2 deletions src/Sentry.AspNetCore/ScopeExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static class ScopeExtensions
/// NOTE: The scope is applied to the event BEFORE running the event processors/exception processors.
/// The main Sentry SDK has processors which run right before any additional processors to the Event
/// </remarks>
public static void Populate(this Scope scope, HttpContext context, SentryAspNetCoreOptions options)
internal static void Populate(this Scope scope, HttpContext context, SentryAspNetCoreOptions options)
{
// Not to throw on code that ignores nullability warnings.
if (scope.IsNull() || context.IsNull() || options.IsNull())
Expand Down Expand Up @@ -190,7 +190,7 @@ private static void SetBody(Scope scope, HttpContext context, SentryAspNetCoreOp
/// </summary>
/// <param name="scope">The scope.</param>
/// <param name="activity">The activity.</param>
public static void Populate(this Scope scope, Activity activity)
internal static void Populate(this Scope scope, Activity activity)
{
// Not to throw on code that ignores nullability warnings.
if (scope.IsNull() || activity.IsNull())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@ namespace Sentry.AspNetCore
public static string? TryGetHttpPath(this Sentry.TransactionSamplingContext samplingContext) { }
public static string? TryGetHttpRoute(this Sentry.TransactionSamplingContext samplingContext) { }
}
public static class ScopeExtensions
{
public static void Populate(this Sentry.Scope scope, System.Diagnostics.Activity activity) { }
public static void Populate(this Sentry.Scope scope, Microsoft.AspNetCore.Http.HttpContext context, Sentry.AspNetCore.SentryAspNetCoreOptions options) { }
}
public static class ScopeExtensions { }
[Microsoft.Extensions.Logging.ProviderAlias("Sentry")]
public class SentryAspNetCoreLoggerProvider : Sentry.Extensions.Logging.SentryLoggerProvider
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@ namespace Sentry.AspNetCore
public static string? TryGetHttpPath(this Sentry.TransactionSamplingContext samplingContext) { }
public static string? TryGetHttpRoute(this Sentry.TransactionSamplingContext samplingContext) { }
}
public static class ScopeExtensions
{
public static void Populate(this Sentry.Scope scope, System.Diagnostics.Activity activity) { }
public static void Populate(this Sentry.Scope scope, Microsoft.AspNetCore.Http.HttpContext context, Sentry.AspNetCore.SentryAspNetCoreOptions options) { }
}
public static class ScopeExtensions { }
[Microsoft.Extensions.Logging.ProviderAlias("Sentry")]
public class SentryAspNetCoreLoggerProvider : Sentry.Extensions.Logging.SentryLoggerProvider
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@ namespace Sentry.AspNetCore
public static string? TryGetHttpPath(this Sentry.TransactionSamplingContext samplingContext) { }
public static string? TryGetHttpRoute(this Sentry.TransactionSamplingContext samplingContext) { }
}
public static class ScopeExtensions
{
public static void Populate(this Sentry.Scope scope, System.Diagnostics.Activity activity) { }
public static void Populate(this Sentry.Scope scope, Microsoft.AspNetCore.Http.HttpContext context, Sentry.AspNetCore.SentryAspNetCoreOptions options) { }
}
public static class ScopeExtensions { }
[Microsoft.Extensions.Logging.ProviderAlias("Sentry")]
public class SentryAspNetCoreLoggerProvider : Sentry.Extensions.Logging.SentryLoggerProvider
{
Expand Down
Loading