diff --git a/test/Sentry.Android.AssemblyReader.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt b/test/Sentry.Android.AssemblyReader.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt deleted file mode 100644 index 42c0fac236..0000000000 --- a/test/Sentry.Android.AssemblyReader.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt +++ /dev/null @@ -1,12 +0,0 @@ -namespace Sentry.Android.AssemblyReader -{ - public static class AndroidAssemblyReaderFactory - { - public static Sentry.Android.AssemblyReader.IAndroidAssemblyReader Open(string apkPath, System.Collections.Generic.IList supportedAbis, Sentry.Android.AssemblyReader.DebugLogger? logger = null) { } - } - public delegate void DebugLogger(string message, params object?[] args); - public interface IAndroidAssemblyReader : System.IDisposable - { - System.Reflection.PortableExecutable.PEReader? TryReadAssembly(string name); - } -} \ No newline at end of file diff --git a/test/Sentry.Android.AssemblyReader.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt b/test/Sentry.Android.AssemblyReader.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt deleted file mode 100644 index 42c0fac236..0000000000 --- a/test/Sentry.Android.AssemblyReader.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt +++ /dev/null @@ -1,12 +0,0 @@ -namespace Sentry.Android.AssemblyReader -{ - public static class AndroidAssemblyReaderFactory - { - public static Sentry.Android.AssemblyReader.IAndroidAssemblyReader Open(string apkPath, System.Collections.Generic.IList supportedAbis, Sentry.Android.AssemblyReader.DebugLogger? logger = null) { } - } - public delegate void DebugLogger(string message, params object?[] args); - public interface IAndroidAssemblyReader : System.IDisposable - { - System.Reflection.PortableExecutable.PEReader? TryReadAssembly(string name); - } -} \ No newline at end of file diff --git a/test/Sentry.AspNetCore.Grpc.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt b/test/Sentry.AspNetCore.Grpc.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt deleted file mode 100644 index 60439aee0e..0000000000 --- a/test/Sentry.AspNetCore.Grpc.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt +++ /dev/null @@ -1,50 +0,0 @@ -namespace Sentry.AspNetCore.Grpc -{ - public class DefaultProtobufRequestPayloadExtractor : Sentry.AspNetCore.Grpc.IProtobufRequestPayloadExtractor - { - public DefaultProtobufRequestPayloadExtractor() { } - public Google.Protobuf.IMessage ExtractPayload(Sentry.AspNetCore.Grpc.IProtobufRequest request) - where TRequest : class, Google.Protobuf.IMessage { } - } - public interface IProtobufRequestPayloadExtractor - { - Google.Protobuf.IMessage? ExtractPayload(Sentry.AspNetCore.Grpc.IProtobufRequest request) - where TRequest : class, Google.Protobuf.IMessage; - } - public interface IProtobufRequest - { - long? ContentLength { get; } - TRequest Request { get; } - } - public class ProtobufRequestExtractionDispatcher : Sentry.AspNetCore.Grpc.IProtobufRequestPayloadExtractor - { - public ProtobufRequestExtractionDispatcher(System.Collections.Generic.IEnumerable extractors, Sentry.SentryOptions options, System.Func sizeSwitch) { } - public Google.Protobuf.IMessage? ExtractPayload(Sentry.AspNetCore.Grpc.IProtobufRequest request) - where TRequest : class, Google.Protobuf.IMessage { } - } - public static class ScopeExtensions - { - public static void Populate(this Sentry.Scope scope, Grpc.Core.ServerCallContext context, TRequest? request, Sentry.AspNetCore.SentryAspNetCoreOptions options) - where TRequest : class { } - } - public static class SentryBuilderExtensions - { - public static Sentry.AspNetCore.ISentryBuilder AddGrpc(this Sentry.AspNetCore.ISentryBuilder builder) { } - } - public class SentryGrpcInterceptor : Grpc.Core.Interceptors.Interceptor - { - public SentryGrpcInterceptor(System.Func hubAccessor, Microsoft.Extensions.Options.IOptions options) { } - public override System.Threading.Tasks.Task ClientStreamingServerHandler(Grpc.Core.IAsyncStreamReader requestStream, Grpc.Core.ServerCallContext context, Grpc.Core.ClientStreamingServerMethod continuation) - where TRequest : class - where TResponse : class { } - public override System.Threading.Tasks.Task DuplexStreamingServerHandler(Grpc.Core.IAsyncStreamReader requestStream, Grpc.Core.IServerStreamWriter responseStream, Grpc.Core.ServerCallContext context, Grpc.Core.DuplexStreamingServerMethod continuation) - where TRequest : class - where TResponse : class { } - public override System.Threading.Tasks.Task ServerStreamingServerHandler(TRequest request, Grpc.Core.IServerStreamWriter responseStream, Grpc.Core.ServerCallContext context, Grpc.Core.ServerStreamingServerMethod continuation) - where TRequest : class - where TResponse : class { } - public override System.Threading.Tasks.Task UnaryServerHandler(TRequest request, Grpc.Core.ServerCallContext context, Grpc.Core.UnaryServerMethod continuation) - where TRequest : class - where TResponse : class { } - } -} \ No newline at end of file diff --git a/test/Sentry.AspNetCore.Grpc.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt b/test/Sentry.AspNetCore.Grpc.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt deleted file mode 100644 index 60439aee0e..0000000000 --- a/test/Sentry.AspNetCore.Grpc.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt +++ /dev/null @@ -1,50 +0,0 @@ -namespace Sentry.AspNetCore.Grpc -{ - public class DefaultProtobufRequestPayloadExtractor : Sentry.AspNetCore.Grpc.IProtobufRequestPayloadExtractor - { - public DefaultProtobufRequestPayloadExtractor() { } - public Google.Protobuf.IMessage ExtractPayload(Sentry.AspNetCore.Grpc.IProtobufRequest request) - where TRequest : class, Google.Protobuf.IMessage { } - } - public interface IProtobufRequestPayloadExtractor - { - Google.Protobuf.IMessage? ExtractPayload(Sentry.AspNetCore.Grpc.IProtobufRequest request) - where TRequest : class, Google.Protobuf.IMessage; - } - public interface IProtobufRequest - { - long? ContentLength { get; } - TRequest Request { get; } - } - public class ProtobufRequestExtractionDispatcher : Sentry.AspNetCore.Grpc.IProtobufRequestPayloadExtractor - { - public ProtobufRequestExtractionDispatcher(System.Collections.Generic.IEnumerable extractors, Sentry.SentryOptions options, System.Func sizeSwitch) { } - public Google.Protobuf.IMessage? ExtractPayload(Sentry.AspNetCore.Grpc.IProtobufRequest request) - where TRequest : class, Google.Protobuf.IMessage { } - } - public static class ScopeExtensions - { - public static void Populate(this Sentry.Scope scope, Grpc.Core.ServerCallContext context, TRequest? request, Sentry.AspNetCore.SentryAspNetCoreOptions options) - where TRequest : class { } - } - public static class SentryBuilderExtensions - { - public static Sentry.AspNetCore.ISentryBuilder AddGrpc(this Sentry.AspNetCore.ISentryBuilder builder) { } - } - public class SentryGrpcInterceptor : Grpc.Core.Interceptors.Interceptor - { - public SentryGrpcInterceptor(System.Func hubAccessor, Microsoft.Extensions.Options.IOptions options) { } - public override System.Threading.Tasks.Task ClientStreamingServerHandler(Grpc.Core.IAsyncStreamReader requestStream, Grpc.Core.ServerCallContext context, Grpc.Core.ClientStreamingServerMethod continuation) - where TRequest : class - where TResponse : class { } - public override System.Threading.Tasks.Task DuplexStreamingServerHandler(Grpc.Core.IAsyncStreamReader requestStream, Grpc.Core.IServerStreamWriter responseStream, Grpc.Core.ServerCallContext context, Grpc.Core.DuplexStreamingServerMethod continuation) - where TRequest : class - where TResponse : class { } - public override System.Threading.Tasks.Task ServerStreamingServerHandler(TRequest request, Grpc.Core.IServerStreamWriter responseStream, Grpc.Core.ServerCallContext context, Grpc.Core.ServerStreamingServerMethod continuation) - where TRequest : class - where TResponse : class { } - public override System.Threading.Tasks.Task UnaryServerHandler(TRequest request, Grpc.Core.ServerCallContext context, Grpc.Core.UnaryServerMethod continuation) - where TRequest : class - where TResponse : class { } - } -} \ No newline at end of file diff --git a/test/Sentry.AspNetCore.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt b/test/Sentry.AspNetCore.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt deleted file mode 100644 index 5f9eab70e9..0000000000 --- a/test/Sentry.AspNetCore.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt +++ /dev/null @@ -1,83 +0,0 @@ -namespace Microsoft.AspNetCore.Builder -{ - public static class SentryTracingMiddlewareExtensions - { - public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseSentryTracing(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder) { } - } -} -namespace Microsoft.AspNetCore.Hosting -{ - public static class SentryWebHostBuilderExtensions - { - public static void AddSentryTunneling(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, params string[] hostnames) { } - public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSentry(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder) { } - public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSentry(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, System.Action? configureSentry) { } - public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSentry(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, System.Action? configureOptions) { } - public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSentry(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, System.Action? configureSentry) { } - public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSentry(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, System.Action? configureOptions) { } - public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSentry(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, string dsn) { } - public static void UseSentryTunneling(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, string path = "/tunnel") { } - } -} -namespace Microsoft.Extensions.DependencyInjection -{ - public static class ServiceCollectionExtensions - { - public static Sentry.AspNetCore.ISentryBuilder AddSentry(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) { } - } -} -namespace Sentry.AspNetCore -{ - public interface ISentryBuilder - { - Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; } - } - public static class SamplingExtensions - { - public static Microsoft.AspNetCore.Http.HttpContext? TryGetHttpContext(this Sentry.TransactionSamplingContext samplingContext) { } - public static string? TryGetHttpMethod(this Sentry.TransactionSamplingContext samplingContext) { } - 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) { } - } - [Microsoft.Extensions.Logging.ProviderAlias("Sentry")] - public class SentryAspNetCoreLoggerProvider : Sentry.Extensions.Logging.SentryLoggerProvider - { - public SentryAspNetCoreLoggerProvider(Microsoft.Extensions.Options.IOptions options, Sentry.IHub hub) { } - } - public class SentryAspNetCoreOptions : Sentry.Extensions.Logging.SentryLoggingOptions - { - public SentryAspNetCoreOptions() { } - public bool AdjustStandardEnvironmentNameCasing { get; set; } - public bool AutoRegisterTracing { get; set; } - public bool CaptureBlockingCalls { get; set; } - public bool FlushOnCompletedRequest { get; set; } - public bool IncludeActivityData { get; set; } - public Sentry.Extensibility.RequestSize MaxRequestBodySize { get; set; } - public Sentry.AspNetCore.TransactionNameProvider? TransactionNameProvider { get; set; } - } - public class SentryAspNetCoreOptionsSetup : Microsoft.Extensions.Options.IConfigureOptions - { - public SentryAspNetCoreOptionsSetup(Microsoft.Extensions.Logging.Configuration.ILoggerProviderConfiguration providerConfiguration) { } - public void Configure(Sentry.AspNetCore.SentryAspNetCoreOptions options) { } - } - public static class SentryBuilderExtensions - { - public static Sentry.AspNetCore.ISentryBuilder AddSentryOptions(this Sentry.AspNetCore.ISentryBuilder builder, System.Action? configureOptions) { } - } - public class SentryStartupFilter : Microsoft.AspNetCore.Hosting.IStartupFilter - { - public SentryStartupFilter() { } - public System.Action Configure(System.Action next) { } - } - public class SentryTunnelMiddleware : Microsoft.AspNetCore.Http.IMiddleware - { - public SentryTunnelMiddleware(string[] allowedHosts) { } - public System.Threading.Tasks.Task InvokeAsync(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.RequestDelegate next) { } - } - public delegate string? TransactionNameProvider(Microsoft.AspNetCore.Http.HttpContext context); -} \ No newline at end of file diff --git a/test/Sentry.AspNetCore.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt b/test/Sentry.AspNetCore.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt deleted file mode 100644 index 5f9eab70e9..0000000000 --- a/test/Sentry.AspNetCore.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt +++ /dev/null @@ -1,83 +0,0 @@ -namespace Microsoft.AspNetCore.Builder -{ - public static class SentryTracingMiddlewareExtensions - { - public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseSentryTracing(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder) { } - } -} -namespace Microsoft.AspNetCore.Hosting -{ - public static class SentryWebHostBuilderExtensions - { - public static void AddSentryTunneling(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, params string[] hostnames) { } - public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSentry(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder) { } - public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSentry(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, System.Action? configureSentry) { } - public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSentry(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, System.Action? configureOptions) { } - public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSentry(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, System.Action? configureSentry) { } - public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSentry(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, System.Action? configureOptions) { } - public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSentry(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, string dsn) { } - public static void UseSentryTunneling(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, string path = "/tunnel") { } - } -} -namespace Microsoft.Extensions.DependencyInjection -{ - public static class ServiceCollectionExtensions - { - public static Sentry.AspNetCore.ISentryBuilder AddSentry(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) { } - } -} -namespace Sentry.AspNetCore -{ - public interface ISentryBuilder - { - Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; } - } - public static class SamplingExtensions - { - public static Microsoft.AspNetCore.Http.HttpContext? TryGetHttpContext(this Sentry.TransactionSamplingContext samplingContext) { } - public static string? TryGetHttpMethod(this Sentry.TransactionSamplingContext samplingContext) { } - 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) { } - } - [Microsoft.Extensions.Logging.ProviderAlias("Sentry")] - public class SentryAspNetCoreLoggerProvider : Sentry.Extensions.Logging.SentryLoggerProvider - { - public SentryAspNetCoreLoggerProvider(Microsoft.Extensions.Options.IOptions options, Sentry.IHub hub) { } - } - public class SentryAspNetCoreOptions : Sentry.Extensions.Logging.SentryLoggingOptions - { - public SentryAspNetCoreOptions() { } - public bool AdjustStandardEnvironmentNameCasing { get; set; } - public bool AutoRegisterTracing { get; set; } - public bool CaptureBlockingCalls { get; set; } - public bool FlushOnCompletedRequest { get; set; } - public bool IncludeActivityData { get; set; } - public Sentry.Extensibility.RequestSize MaxRequestBodySize { get; set; } - public Sentry.AspNetCore.TransactionNameProvider? TransactionNameProvider { get; set; } - } - public class SentryAspNetCoreOptionsSetup : Microsoft.Extensions.Options.IConfigureOptions - { - public SentryAspNetCoreOptionsSetup(Microsoft.Extensions.Logging.Configuration.ILoggerProviderConfiguration providerConfiguration) { } - public void Configure(Sentry.AspNetCore.SentryAspNetCoreOptions options) { } - } - public static class SentryBuilderExtensions - { - public static Sentry.AspNetCore.ISentryBuilder AddSentryOptions(this Sentry.AspNetCore.ISentryBuilder builder, System.Action? configureOptions) { } - } - public class SentryStartupFilter : Microsoft.AspNetCore.Hosting.IStartupFilter - { - public SentryStartupFilter() { } - public System.Action Configure(System.Action next) { } - } - public class SentryTunnelMiddleware : Microsoft.AspNetCore.Http.IMiddleware - { - public SentryTunnelMiddleware(string[] allowedHosts) { } - public System.Threading.Tasks.Task InvokeAsync(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.RequestDelegate next) { } - } - public delegate string? TransactionNameProvider(Microsoft.AspNetCore.Http.HttpContext context); -} \ No newline at end of file diff --git a/test/Sentry.AspNetCore.Tests/WebIntegrationTests.Versioning.DotNet6_0.verified.txt b/test/Sentry.AspNetCore.Tests/WebIntegrationTests.Versioning.DotNet6_0.verified.txt deleted file mode 100644 index 0da3599287..0000000000 --- a/test/Sentry.AspNetCore.Tests/WebIntegrationTests.Versioning.DotNet6_0.verified.txt +++ /dev/null @@ -1,92 +0,0 @@ -{ - result: Hello world, - Payloads: [ - { - Source: { - Origin: auto.http.aspnetcore, - Name: GET /v1.1/Target, - NameSource: Route, - Platform: csharp, - Operation: http.server, - Description: , - Status: Ok, - IsSampled: true, - SampleRate: 1.0, - Request: { - Method: GET, - QueryString: - }, - Contexts: { - trace: { - Operation: http.server, - Origin: auto.http.aspnetcore, - Description: , - Status: Ok, - IsSampled: true - } - }, - User: { - Id: Guid_1, - IpAddress: {{auto}} - }, - Environment: production, - Breadcrumbs: [ - { - Message: Request starting HTTP/1.1 GET http://localhost/v1.1/Target - -, - Data: { - eventId: 1 - }, - Category: Microsoft.AspNetCore.Hosting.Diagnostics - }, - { - Message: Executing endpoint 'Sentry.AspNetCore.Tests.WebIntegrationTests+VersionController.Method (Sentry.AspNetCore.Tests)', - Data: { - eventId: ExecutingEndpoint - }, - Category: Microsoft.AspNetCore.Routing.EndpointMiddleware - }, - { - Message: Route matched with {action = "Method", controller = "Version"}. Executing controller action with signature System.String Method() on controller Sentry.AspNetCore.Tests.WebIntegrationTests+VersionController (Sentry.AspNetCore.Tests)., - Data: { - eventId: ControllerActionExecuting - }, - Category: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker - }, - { - Message: Executing ObjectResult, writing value of type 'System.String'., - Data: { - eventId: ObjectResultExecuting - }, - Category: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor - }, - { - Message: Executed action Sentry.AspNetCore.Tests.WebIntegrationTests+VersionController.Method, - Data: { - eventId: ActionExecuted - }, - Category: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker - }, - { - Message: Executed endpoint 'Sentry.AspNetCore.Tests.WebIntegrationTests+VersionController.Method (Sentry.AspNetCore.Tests)', - Data: { - eventId: ExecutedEndpoint - }, - Category: Microsoft.AspNetCore.Routing.EndpointMiddleware - } - ], - Extra: { - http.request.method: GET, - http.response.status_code: 200 - }, - Tags: { - ActionId: Guid_2, - ActionName: Sentry.AspNetCore.Tests.WebIntegrationTests+VersionController.Method (Sentry.AspNetCore.Tests), - route.action: Method, - route.controller: Version, - route.version: 1.1 - }, - IsFinished: true - } - } - ] -} \ No newline at end of file diff --git a/test/Sentry.AspNetCore.Tests/WebIntegrationTests.Versioning.DotNet7_0.verified.txt b/test/Sentry.AspNetCore.Tests/WebIntegrationTests.Versioning.DotNet7_0.verified.txt deleted file mode 100644 index 0da3599287..0000000000 --- a/test/Sentry.AspNetCore.Tests/WebIntegrationTests.Versioning.DotNet7_0.verified.txt +++ /dev/null @@ -1,92 +0,0 @@ -{ - result: Hello world, - Payloads: [ - { - Source: { - Origin: auto.http.aspnetcore, - Name: GET /v1.1/Target, - NameSource: Route, - Platform: csharp, - Operation: http.server, - Description: , - Status: Ok, - IsSampled: true, - SampleRate: 1.0, - Request: { - Method: GET, - QueryString: - }, - Contexts: { - trace: { - Operation: http.server, - Origin: auto.http.aspnetcore, - Description: , - Status: Ok, - IsSampled: true - } - }, - User: { - Id: Guid_1, - IpAddress: {{auto}} - }, - Environment: production, - Breadcrumbs: [ - { - Message: Request starting HTTP/1.1 GET http://localhost/v1.1/Target - -, - Data: { - eventId: 1 - }, - Category: Microsoft.AspNetCore.Hosting.Diagnostics - }, - { - Message: Executing endpoint 'Sentry.AspNetCore.Tests.WebIntegrationTests+VersionController.Method (Sentry.AspNetCore.Tests)', - Data: { - eventId: ExecutingEndpoint - }, - Category: Microsoft.AspNetCore.Routing.EndpointMiddleware - }, - { - Message: Route matched with {action = "Method", controller = "Version"}. Executing controller action with signature System.String Method() on controller Sentry.AspNetCore.Tests.WebIntegrationTests+VersionController (Sentry.AspNetCore.Tests)., - Data: { - eventId: ControllerActionExecuting - }, - Category: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker - }, - { - Message: Executing ObjectResult, writing value of type 'System.String'., - Data: { - eventId: ObjectResultExecuting - }, - Category: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor - }, - { - Message: Executed action Sentry.AspNetCore.Tests.WebIntegrationTests+VersionController.Method, - Data: { - eventId: ActionExecuted - }, - Category: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker - }, - { - Message: Executed endpoint 'Sentry.AspNetCore.Tests.WebIntegrationTests+VersionController.Method (Sentry.AspNetCore.Tests)', - Data: { - eventId: ExecutedEndpoint - }, - Category: Microsoft.AspNetCore.Routing.EndpointMiddleware - } - ], - Extra: { - http.request.method: GET, - http.response.status_code: 200 - }, - Tags: { - ActionId: Guid_2, - ActionName: Sentry.AspNetCore.Tests.WebIntegrationTests+VersionController.Method (Sentry.AspNetCore.Tests), - route.action: Method, - route.controller: Version, - route.version: 1.1 - }, - IsFinished: true - } - } - ] -} \ No newline at end of file diff --git a/test/Sentry.Azure.Functions.Worker.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt b/test/Sentry.Azure.Functions.Worker.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt deleted file mode 100644 index f6955863c0..0000000000 --- a/test/Sentry.Azure.Functions.Worker.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt +++ /dev/null @@ -1,13 +0,0 @@ -namespace Sentry.Azure.Functions.Worker -{ - public class SentryAzureFunctionsOptions : Sentry.Extensions.Logging.SentryLoggingOptions - { - public SentryAzureFunctionsOptions() { } - } - public static class SentryFunctionsWorkerApplicationBuilderExtensions - { - public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseSentry(this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder, Microsoft.Extensions.Hosting.HostBuilderContext context) { } - public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseSentry(this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder, Microsoft.Extensions.Hosting.HostBuilderContext context, System.Action? optionsConfiguration) { } - public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseSentry(this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder, Microsoft.Extensions.Hosting.HostBuilderContext context, string dsn) { } - } -} \ No newline at end of file diff --git a/test/Sentry.Azure.Functions.Worker.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt b/test/Sentry.Azure.Functions.Worker.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt deleted file mode 100644 index f6955863c0..0000000000 --- a/test/Sentry.Azure.Functions.Worker.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt +++ /dev/null @@ -1,13 +0,0 @@ -namespace Sentry.Azure.Functions.Worker -{ - public class SentryAzureFunctionsOptions : Sentry.Extensions.Logging.SentryLoggingOptions - { - public SentryAzureFunctionsOptions() { } - } - public static class SentryFunctionsWorkerApplicationBuilderExtensions - { - public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseSentry(this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder, Microsoft.Extensions.Hosting.HostBuilderContext context) { } - public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseSentry(this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder, Microsoft.Extensions.Hosting.HostBuilderContext context, System.Action? optionsConfiguration) { } - public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseSentry(this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder, Microsoft.Extensions.Hosting.HostBuilderContext context, string dsn) { } - } -} \ No newline at end of file diff --git a/test/Sentry.DiagnosticSource.IntegrationTests/SqlListenerTests.LoggingAsync.DotNet6_0.verified.txt b/test/Sentry.DiagnosticSource.IntegrationTests/SqlListenerTests.LoggingAsync.DotNet6_0.verified.txt deleted file mode 100644 index 4a7f4cdba6..0000000000 --- a/test/Sentry.DiagnosticSource.IntegrationTests/SqlListenerTests.LoggingAsync.DotNet6_0.verified.txt +++ /dev/null @@ -1,118 +0,0 @@ -[ - { - Source: { - Message: { - Message: Failed executing DbCommand, - Formatted: -Failed executing DbCommand -SET NOCOUNT ON; -INSERT INTO [TestEntities] ([Property]) -VALUES (@p0); -SELECT [Id] -FROM [TestEntities] -WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); - }, - Logger: Microsoft.EntityFrameworkCore.Database.Command, - Platform: csharp, - Level: error, - Request: {}, - Contexts: { - trace: { - Operation: - } - }, - User: { - Id: Guid_1, - IpAddress: {{auto}} - }, - Breadcrumbs: [ - { - Message: Entity Framework Core initialized 'TestDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:' with options: NoTracking , - Data: { - eventId: Microsoft.EntityFrameworkCore.Infrastructure.ContextInitialized - }, - Category: Microsoft.EntityFrameworkCore.Infrastructure - } - ], - Tags: { - commandText: -SET NOCOUNT ON; -INSERT INTO [TestEntities] ([Property]) -VALUES (@p0); -SELECT [Id] -FROM [TestEntities] -WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity();, - commandTimeout: 30, - commandType: Text, - eventId: Microsoft.EntityFrameworkCore.Database.Command.CommandError, - newLine: -, - parameters: @p0='?' (Size = 450) - } - } - }, - { - Source: { - Name: my transaction, - Platform: csharp, - Operation: my operation, - Description: , - Status: Ok, - IsSampled: true, - SampleRate: 1.0, - Request: {}, - Contexts: { - trace: { - Operation: my operation, - Description: , - Status: Ok, - IsSampled: true - } - }, - User: { - Id: Guid_1, - IpAddress: {{auto}} - }, - Spans: [ - { - IsFinished: true, - Operation: db.connection, - Description: SqlListenerTests.verify_LoggingAsync, - Status: Ok, - IsSampled: true, - Extra: { - bytes_sent : 510, - db.connection_id: Guid_2, - db.name: SqlListenerTests.verify_LoggingAsync, - db.operation_id: Guid_3, - db.server: (LocalDb)\SqlListenerTests, - db.system: sql, - rows_sent: 0 - } - }, - { - IsFinished: true, - Operation: db.query, - Description: -SET NOCOUNT ON; -INSERT INTO [TestEntities] ([Property]) -VALUES (@p0); -SELECT [Id] -FROM [TestEntities] -WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); - -, - Status: InternalError, - IsSampled: true, - Extra: { - db.connection_id: Guid_2, - db.name: SqlListenerTests.verify_LoggingAsync, - db.operation_id: Guid_4, - db.system: sql - } - } - ], - IsFinished: true - } - } -] \ No newline at end of file diff --git a/test/Sentry.DiagnosticSource.IntegrationTests/SqlListenerTests.LoggingAsync.DotNet7_0.verified.txt b/test/Sentry.DiagnosticSource.IntegrationTests/SqlListenerTests.LoggingAsync.DotNet7_0.verified.txt deleted file mode 100644 index 4a7f4cdba6..0000000000 --- a/test/Sentry.DiagnosticSource.IntegrationTests/SqlListenerTests.LoggingAsync.DotNet7_0.verified.txt +++ /dev/null @@ -1,118 +0,0 @@ -[ - { - Source: { - Message: { - Message: Failed executing DbCommand, - Formatted: -Failed executing DbCommand -SET NOCOUNT ON; -INSERT INTO [TestEntities] ([Property]) -VALUES (@p0); -SELECT [Id] -FROM [TestEntities] -WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); - }, - Logger: Microsoft.EntityFrameworkCore.Database.Command, - Platform: csharp, - Level: error, - Request: {}, - Contexts: { - trace: { - Operation: - } - }, - User: { - Id: Guid_1, - IpAddress: {{auto}} - }, - Breadcrumbs: [ - { - Message: Entity Framework Core initialized 'TestDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:' with options: NoTracking , - Data: { - eventId: Microsoft.EntityFrameworkCore.Infrastructure.ContextInitialized - }, - Category: Microsoft.EntityFrameworkCore.Infrastructure - } - ], - Tags: { - commandText: -SET NOCOUNT ON; -INSERT INTO [TestEntities] ([Property]) -VALUES (@p0); -SELECT [Id] -FROM [TestEntities] -WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity();, - commandTimeout: 30, - commandType: Text, - eventId: Microsoft.EntityFrameworkCore.Database.Command.CommandError, - newLine: -, - parameters: @p0='?' (Size = 450) - } - } - }, - { - Source: { - Name: my transaction, - Platform: csharp, - Operation: my operation, - Description: , - Status: Ok, - IsSampled: true, - SampleRate: 1.0, - Request: {}, - Contexts: { - trace: { - Operation: my operation, - Description: , - Status: Ok, - IsSampled: true - } - }, - User: { - Id: Guid_1, - IpAddress: {{auto}} - }, - Spans: [ - { - IsFinished: true, - Operation: db.connection, - Description: SqlListenerTests.verify_LoggingAsync, - Status: Ok, - IsSampled: true, - Extra: { - bytes_sent : 510, - db.connection_id: Guid_2, - db.name: SqlListenerTests.verify_LoggingAsync, - db.operation_id: Guid_3, - db.server: (LocalDb)\SqlListenerTests, - db.system: sql, - rows_sent: 0 - } - }, - { - IsFinished: true, - Operation: db.query, - Description: -SET NOCOUNT ON; -INSERT INTO [TestEntities] ([Property]) -VALUES (@p0); -SELECT [Id] -FROM [TestEntities] -WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); - -, - Status: InternalError, - IsSampled: true, - Extra: { - db.connection_id: Guid_2, - db.name: SqlListenerTests.verify_LoggingAsync, - db.operation_id: Guid_4, - db.system: sql - } - } - ], - IsFinished: true - } - } -] \ No newline at end of file diff --git a/test/Sentry.DiagnosticSource.IntegrationTests/SqlListenerTests.RecordsEfAsync.DotNet6_0.verified.txt b/test/Sentry.DiagnosticSource.IntegrationTests/SqlListenerTests.RecordsEfAsync.DotNet6_0.verified.txt deleted file mode 100644 index 4830a78537..0000000000 --- a/test/Sentry.DiagnosticSource.IntegrationTests/SqlListenerTests.RecordsEfAsync.DotNet6_0.verified.txt +++ /dev/null @@ -1,124 +0,0 @@ -[ - { - Source: { - Exception: { - $type: Exception, - Type: Exception, - Message: my exception - }, - Platform: csharp, - SentryExceptions: [ - { - Type: System.Exception, - Value: my exception - } - ], - Level: error, - TransactionName: my transaction, - Request: {}, - Contexts: { - trace: { - Operation: - } - }, - User: { - Id: Guid_1, - IpAddress: {{auto}} - } - } - }, - { - Source: { - Name: my transaction, - Platform: csharp, - Operation: my operation, - Description: , - Status: Ok, - IsSampled: true, - SampleRate: 1.0, - Request: {}, - Contexts: { - trace: { - Operation: my operation, - Description: , - Status: Ok, - IsSampled: true - } - }, - User: { - Id: Guid_1, - IpAddress: {{auto}} - }, - Breadcrumbs: [ - { - Message: my exception, - Category: Exception, - Level: critical - } - ], - Spans: [ - { - IsFinished: true, - Operation: db.connection, - Description: SqlListenerTests.verify_RecordsEfAsync, - Status: Ok, - IsSampled: true, - Extra: { - bytes_received: 304, - bytes_sent : 704, - db.connection_id: Guid_2, - db.name: SqlListenerTests.verify_RecordsEfAsync, - db.operation_id: Guid_3, - db.server: (LocalDb)\SqlListenerTests, - db.system: sql, - rows_sent: 1 - } - }, - { - IsFinished: true, - Operation: db.query, - Description: -SET NOCOUNT ON; -INSERT INTO [TestEntities] ([Property]) -VALUES (@p0); -SELECT [Id] -FROM [TestEntities] -WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); - -, - Status: Ok, - IsSampled: true, - Extra: { - db.connection_id: Guid_2, - db.name: SqlListenerTests.verify_RecordsEfAsync, - db.operation_id: Guid_4, - db.system: sql - } - }, - { - IsFinished: true, - Operation: db.query.compile, - Description: 'DbSet()', - Status: Ok, - IsSampled: true - }, - { - IsFinished: true, - Operation: db.query, - Description: -SELECT [t].[Id], [t].[Property] -FROM [TestEntities] AS [t], - Status: Ok, - IsSampled: true, - Extra: { - db.connection_id: Guid_2, - db.name: SqlListenerTests.verify_RecordsEfAsync, - db.operation_id: Guid_5, - db.system: sql - } - } - ], - IsFinished: true - } - } -] \ No newline at end of file diff --git a/test/Sentry.DiagnosticSource.IntegrationTests/SqlListenerTests.RecordsEfAsync.DotNet7_0.verified.txt b/test/Sentry.DiagnosticSource.IntegrationTests/SqlListenerTests.RecordsEfAsync.DotNet7_0.verified.txt deleted file mode 100644 index 4830a78537..0000000000 --- a/test/Sentry.DiagnosticSource.IntegrationTests/SqlListenerTests.RecordsEfAsync.DotNet7_0.verified.txt +++ /dev/null @@ -1,124 +0,0 @@ -[ - { - Source: { - Exception: { - $type: Exception, - Type: Exception, - Message: my exception - }, - Platform: csharp, - SentryExceptions: [ - { - Type: System.Exception, - Value: my exception - } - ], - Level: error, - TransactionName: my transaction, - Request: {}, - Contexts: { - trace: { - Operation: - } - }, - User: { - Id: Guid_1, - IpAddress: {{auto}} - } - } - }, - { - Source: { - Name: my transaction, - Platform: csharp, - Operation: my operation, - Description: , - Status: Ok, - IsSampled: true, - SampleRate: 1.0, - Request: {}, - Contexts: { - trace: { - Operation: my operation, - Description: , - Status: Ok, - IsSampled: true - } - }, - User: { - Id: Guid_1, - IpAddress: {{auto}} - }, - Breadcrumbs: [ - { - Message: my exception, - Category: Exception, - Level: critical - } - ], - Spans: [ - { - IsFinished: true, - Operation: db.connection, - Description: SqlListenerTests.verify_RecordsEfAsync, - Status: Ok, - IsSampled: true, - Extra: { - bytes_received: 304, - bytes_sent : 704, - db.connection_id: Guid_2, - db.name: SqlListenerTests.verify_RecordsEfAsync, - db.operation_id: Guid_3, - db.server: (LocalDb)\SqlListenerTests, - db.system: sql, - rows_sent: 1 - } - }, - { - IsFinished: true, - Operation: db.query, - Description: -SET NOCOUNT ON; -INSERT INTO [TestEntities] ([Property]) -VALUES (@p0); -SELECT [Id] -FROM [TestEntities] -WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); - -, - Status: Ok, - IsSampled: true, - Extra: { - db.connection_id: Guid_2, - db.name: SqlListenerTests.verify_RecordsEfAsync, - db.operation_id: Guid_4, - db.system: sql - } - }, - { - IsFinished: true, - Operation: db.query.compile, - Description: 'DbSet()', - Status: Ok, - IsSampled: true - }, - { - IsFinished: true, - Operation: db.query, - Description: -SELECT [t].[Id], [t].[Property] -FROM [TestEntities] AS [t], - Status: Ok, - IsSampled: true, - Extra: { - db.connection_id: Guid_2, - db.name: SqlListenerTests.verify_RecordsEfAsync, - db.operation_id: Guid_5, - db.system: sql - } - } - ], - IsFinished: true - } - } -] \ No newline at end of file diff --git a/test/Sentry.EntityFramework.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt b/test/Sentry.EntityFramework.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt deleted file mode 100644 index 53cafe92cc..0000000000 --- a/test/Sentry.EntityFramework.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt +++ /dev/null @@ -1,39 +0,0 @@ -namespace Sentry.EntityFramework.ErrorProcessors -{ - public class DbConcurrencyExceptionProcessor : Sentry.Extensibility.SentryEventExceptionProcessor - { - public DbConcurrencyExceptionProcessor() { } - protected override void ProcessException(System.Data.DBConcurrencyException exception, Sentry.SentryEvent sentryEvent) { } - } - public class DbEntityValidationExceptionProcessor : Sentry.Extensibility.SentryEventExceptionProcessor - { - public DbEntityValidationExceptionProcessor() { } - protected override void ProcessException(System.Data.Entity.Validation.DbEntityValidationException exception, Sentry.SentryEvent sentryEvent) { } - } -} -namespace Sentry.EntityFramework -{ - public interface IQueryLogger - { - void Log(string text, Sentry.BreadcrumbLevel level = -1); - } - public class SentryCommandInterceptor : System.Data.Entity.Infrastructure.Interception.IDbCommandInterceptor, System.Data.Entity.Infrastructure.Interception.IDbInterceptor - { - public SentryCommandInterceptor(Sentry.EntityFramework.IQueryLogger queryLogger) { } - public virtual void Log(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext interceptionContext) { } - public void NonQueryExecuted(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext interceptionContext) { } - public void NonQueryExecuting(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext interceptionContext) { } - public void ReaderExecuted(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext interceptionContext) { } - public void ReaderExecuting(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext interceptionContext) { } - public void ScalarExecuted(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext interceptionContext) { } - public void ScalarExecuting(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext interceptionContext) { } - } -} -namespace Sentry -{ - public static class SentryOptionsExtensions - { - public static Sentry.SentryOptions AddEntityFramework(this Sentry.SentryOptions sentryOptions) { } - public static void DisableDbInterceptionIntegration(this Sentry.SentryOptions options) { } - } -} \ No newline at end of file diff --git a/test/Sentry.EntityFramework.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt b/test/Sentry.EntityFramework.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt deleted file mode 100644 index 53cafe92cc..0000000000 --- a/test/Sentry.EntityFramework.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt +++ /dev/null @@ -1,39 +0,0 @@ -namespace Sentry.EntityFramework.ErrorProcessors -{ - public class DbConcurrencyExceptionProcessor : Sentry.Extensibility.SentryEventExceptionProcessor - { - public DbConcurrencyExceptionProcessor() { } - protected override void ProcessException(System.Data.DBConcurrencyException exception, Sentry.SentryEvent sentryEvent) { } - } - public class DbEntityValidationExceptionProcessor : Sentry.Extensibility.SentryEventExceptionProcessor - { - public DbEntityValidationExceptionProcessor() { } - protected override void ProcessException(System.Data.Entity.Validation.DbEntityValidationException exception, Sentry.SentryEvent sentryEvent) { } - } -} -namespace Sentry.EntityFramework -{ - public interface IQueryLogger - { - void Log(string text, Sentry.BreadcrumbLevel level = -1); - } - public class SentryCommandInterceptor : System.Data.Entity.Infrastructure.Interception.IDbCommandInterceptor, System.Data.Entity.Infrastructure.Interception.IDbInterceptor - { - public SentryCommandInterceptor(Sentry.EntityFramework.IQueryLogger queryLogger) { } - public virtual void Log(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext interceptionContext) { } - public void NonQueryExecuted(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext interceptionContext) { } - public void NonQueryExecuting(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext interceptionContext) { } - public void ReaderExecuted(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext interceptionContext) { } - public void ReaderExecuting(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext interceptionContext) { } - public void ScalarExecuted(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext interceptionContext) { } - public void ScalarExecuting(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext interceptionContext) { } - } -} -namespace Sentry -{ - public static class SentryOptionsExtensions - { - public static Sentry.SentryOptions AddEntityFramework(this Sentry.SentryOptions sentryOptions) { } - public static void DisableDbInterceptionIntegration(this Sentry.SentryOptions options) { } - } -} \ No newline at end of file diff --git a/test/Sentry.Extensions.Logging.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt b/test/Sentry.Extensions.Logging.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt deleted file mode 100644 index b438b0af45..0000000000 --- a/test/Sentry.Extensions.Logging.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt +++ /dev/null @@ -1,59 +0,0 @@ -namespace Microsoft.Extensions.Logging -{ - public static class LoggingBuilderExtensions - { - public static Microsoft.Extensions.Logging.ILoggingBuilder AddSentry(this Microsoft.Extensions.Logging.ILoggingBuilder builder) { } - public static Microsoft.Extensions.Logging.ILoggingBuilder AddSentry(this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Action? optionsConfiguration) { } - public static Microsoft.Extensions.Logging.ILoggingBuilder AddSentry(this Microsoft.Extensions.Logging.ILoggingBuilder builder, string dsn) { } - } - public static class SentryLoggerFactoryExtensions - { - public static Microsoft.Extensions.Logging.ILoggerFactory AddSentry(this Microsoft.Extensions.Logging.ILoggerFactory factory, System.Action? optionsConfiguration = null) { } - } -} -namespace Sentry.Extensions.Logging -{ - public class DelegateLogEntryFilter : Sentry.Extensions.Logging.ILogEntryFilter - { - public DelegateLogEntryFilter(System.Func filter) { } - public bool Filter(string categoryName, Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, System.Exception? exception) { } - } - public interface ILogEntryFilter - { - bool Filter(string categoryName, Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, System.Exception? exception); - } - public class MelDiagnosticLogger : Sentry.Extensibility.IDiagnosticLogger - { - public MelDiagnosticLogger(Microsoft.Extensions.Logging.ILogger logger, Sentry.SentryLevel level) { } - public bool IsEnabled(Sentry.SentryLevel level) { } - public void Log(Sentry.SentryLevel logLevel, string message, System.Exception? exception = null, params object?[] args) { } - } - [Microsoft.Extensions.Logging.ProviderAlias("Sentry")] - public class SentryLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, System.IDisposable - { - public SentryLoggerProvider(Microsoft.Extensions.Options.IOptions options, Sentry.IHub hub) { } - public Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName) { } - public void Dispose() { } - } - public class SentryLoggingOptions : Sentry.SentryOptions - { - public SentryLoggingOptions() { } - public bool InitializeSdk { get; set; } - public Microsoft.Extensions.Logging.LogLevel MinimumBreadcrumbLevel { get; set; } - public Microsoft.Extensions.Logging.LogLevel MinimumEventLevel { get; set; } - public void ConfigureScope(System.Action action) { } - } - public static class SentryLoggingOptionsExtensions - { - public static void AddLogEntryFilter(this Sentry.Extensions.Logging.SentryLoggingOptions options, Sentry.Extensions.Logging.ILogEntryFilter filter) { } - public static void AddLogEntryFilter(this Sentry.Extensions.Logging.SentryLoggingOptions options, System.Func filter) { } - } -} -namespace Sentry.Extensions.Logging.Extensions.DependencyInjection -{ - public static class ServiceCollectionExtensions - { - public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddSentry(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) - where TOptions : Sentry.Extensions.Logging.SentryLoggingOptions, new () { } - } -} \ No newline at end of file diff --git a/test/Sentry.Extensions.Logging.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt b/test/Sentry.Extensions.Logging.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt deleted file mode 100644 index b438b0af45..0000000000 --- a/test/Sentry.Extensions.Logging.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt +++ /dev/null @@ -1,59 +0,0 @@ -namespace Microsoft.Extensions.Logging -{ - public static class LoggingBuilderExtensions - { - public static Microsoft.Extensions.Logging.ILoggingBuilder AddSentry(this Microsoft.Extensions.Logging.ILoggingBuilder builder) { } - public static Microsoft.Extensions.Logging.ILoggingBuilder AddSentry(this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Action? optionsConfiguration) { } - public static Microsoft.Extensions.Logging.ILoggingBuilder AddSentry(this Microsoft.Extensions.Logging.ILoggingBuilder builder, string dsn) { } - } - public static class SentryLoggerFactoryExtensions - { - public static Microsoft.Extensions.Logging.ILoggerFactory AddSentry(this Microsoft.Extensions.Logging.ILoggerFactory factory, System.Action? optionsConfiguration = null) { } - } -} -namespace Sentry.Extensions.Logging -{ - public class DelegateLogEntryFilter : Sentry.Extensions.Logging.ILogEntryFilter - { - public DelegateLogEntryFilter(System.Func filter) { } - public bool Filter(string categoryName, Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, System.Exception? exception) { } - } - public interface ILogEntryFilter - { - bool Filter(string categoryName, Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, System.Exception? exception); - } - public class MelDiagnosticLogger : Sentry.Extensibility.IDiagnosticLogger - { - public MelDiagnosticLogger(Microsoft.Extensions.Logging.ILogger logger, Sentry.SentryLevel level) { } - public bool IsEnabled(Sentry.SentryLevel level) { } - public void Log(Sentry.SentryLevel logLevel, string message, System.Exception? exception = null, params object?[] args) { } - } - [Microsoft.Extensions.Logging.ProviderAlias("Sentry")] - public class SentryLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, System.IDisposable - { - public SentryLoggerProvider(Microsoft.Extensions.Options.IOptions options, Sentry.IHub hub) { } - public Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName) { } - public void Dispose() { } - } - public class SentryLoggingOptions : Sentry.SentryOptions - { - public SentryLoggingOptions() { } - public bool InitializeSdk { get; set; } - public Microsoft.Extensions.Logging.LogLevel MinimumBreadcrumbLevel { get; set; } - public Microsoft.Extensions.Logging.LogLevel MinimumEventLevel { get; set; } - public void ConfigureScope(System.Action action) { } - } - public static class SentryLoggingOptionsExtensions - { - public static void AddLogEntryFilter(this Sentry.Extensions.Logging.SentryLoggingOptions options, Sentry.Extensions.Logging.ILogEntryFilter filter) { } - public static void AddLogEntryFilter(this Sentry.Extensions.Logging.SentryLoggingOptions options, System.Func filter) { } - } -} -namespace Sentry.Extensions.Logging.Extensions.DependencyInjection -{ - public static class ServiceCollectionExtensions - { - public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddSentry(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) - where TOptions : Sentry.Extensions.Logging.SentryLoggingOptions, new () { } - } -} \ No newline at end of file diff --git a/test/Sentry.Google.Cloud.Functions.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt b/test/Sentry.Google.Cloud.Functions.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt deleted file mode 100644 index acc2519014..0000000000 --- a/test/Sentry.Google.Cloud.Functions.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt +++ /dev/null @@ -1,10 +0,0 @@ -namespace Google.Cloud.Functions.Framework -{ - public class SentryStartup : Google.Cloud.Functions.Hosting.FunctionsStartup - { - public SentryStartup() { } - public override void Configure(Microsoft.AspNetCore.Hosting.WebHostBuilderContext context, Microsoft.AspNetCore.Builder.IApplicationBuilder app) { } - public override void ConfigureLogging(Microsoft.AspNetCore.Hosting.WebHostBuilderContext context, Microsoft.Extensions.Logging.ILoggingBuilder logging) { } - public override void ConfigureServices(Microsoft.AspNetCore.Hosting.WebHostBuilderContext context, Microsoft.Extensions.DependencyInjection.IServiceCollection services) { } - } -} \ No newline at end of file diff --git a/test/Sentry.Google.Cloud.Functions.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt b/test/Sentry.Google.Cloud.Functions.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt deleted file mode 100644 index acc2519014..0000000000 --- a/test/Sentry.Google.Cloud.Functions.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt +++ /dev/null @@ -1,10 +0,0 @@ -namespace Google.Cloud.Functions.Framework -{ - public class SentryStartup : Google.Cloud.Functions.Hosting.FunctionsStartup - { - public SentryStartup() { } - public override void Configure(Microsoft.AspNetCore.Hosting.WebHostBuilderContext context, Microsoft.AspNetCore.Builder.IApplicationBuilder app) { } - public override void ConfigureLogging(Microsoft.AspNetCore.Hosting.WebHostBuilderContext context, Microsoft.Extensions.Logging.ILoggingBuilder logging) { } - public override void ConfigureServices(Microsoft.AspNetCore.Hosting.WebHostBuilderContext context, Microsoft.Extensions.DependencyInjection.IServiceCollection services) { } - } -} \ No newline at end of file diff --git a/test/Sentry.Log4Net.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt b/test/Sentry.Log4Net.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt deleted file mode 100644 index 117659776a..0000000000 --- a/test/Sentry.Log4Net.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt +++ /dev/null @@ -1,14 +0,0 @@ -[assembly: System.CLSCompliant(true)] -namespace Sentry.Log4Net -{ - public class SentryAppender : log4net.Appender.AppenderSkeleton - { - public SentryAppender() { } - public string? Dsn { get; set; } - public string? Environment { get; set; } - public log4net.Core.Level? MinimumEventLevel { get; set; } - public bool SendIdentity { get; set; } - protected override void Append(log4net.Core.LoggingEvent loggingEvent) { } - protected override void OnClose() { } - } -} \ No newline at end of file diff --git a/test/Sentry.Log4Net.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt b/test/Sentry.Log4Net.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt deleted file mode 100644 index 117659776a..0000000000 --- a/test/Sentry.Log4Net.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt +++ /dev/null @@ -1,14 +0,0 @@ -[assembly: System.CLSCompliant(true)] -namespace Sentry.Log4Net -{ - public class SentryAppender : log4net.Appender.AppenderSkeleton - { - public SentryAppender() { } - public string? Dsn { get; set; } - public string? Environment { get; set; } - public log4net.Core.Level? MinimumEventLevel { get; set; } - public bool SendIdentity { get; set; } - protected override void Append(log4net.Core.LoggingEvent loggingEvent) { } - protected override void OnClose() { } - } -} \ No newline at end of file diff --git a/test/Sentry.Maui.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt b/test/Sentry.Maui.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt deleted file mode 100644 index 2113579db2..0000000000 --- a/test/Sentry.Maui.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt +++ /dev/null @@ -1,22 +0,0 @@ -namespace Microsoft.Maui.Hosting -{ - public static class SentryMauiAppBuilderExtensions - { - public static Microsoft.Maui.Hosting.MauiAppBuilder UseSentry(this Microsoft.Maui.Hosting.MauiAppBuilder builder) { } - public static Microsoft.Maui.Hosting.MauiAppBuilder UseSentry(this Microsoft.Maui.Hosting.MauiAppBuilder builder, System.Action? configureOptions) { } - public static Microsoft.Maui.Hosting.MauiAppBuilder UseSentry(this Microsoft.Maui.Hosting.MauiAppBuilder builder, string dsn) { } - } -} -namespace Sentry.Maui -{ - public class SentryMauiOptions : Sentry.Extensions.Logging.SentryLoggingOptions - { - public SentryMauiOptions() { } - public bool AttachScreenshot { get; set; } - public bool CreateElementEventsBreadcrumbs { get; set; } - public bool IncludeBackgroundingStateInBreadcrumbs { get; set; } - public bool IncludeTextInBreadcrumbs { get; set; } - public bool IncludeTitleInBreadcrumbs { get; set; } - public void SetBeforeScreenshotCapture(System.Func beforeCapture) { } - } -} \ No newline at end of file diff --git a/test/Sentry.NLog.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt b/test/Sentry.NLog.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt deleted file mode 100644 index 00a36bc53b..0000000000 --- a/test/Sentry.NLog.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt +++ /dev/null @@ -1,81 +0,0 @@ -[assembly: System.CLSCompliant(true)] -namespace NLog -{ - public static class ConfigurationExtensions - { - public static NLog.Config.LoggingConfiguration AddSentry(this NLog.Config.LoggingConfiguration configuration, System.Action? optionsConfig = null) { } - public static NLog.Config.LoggingConfiguration AddSentry(this NLog.Config.LoggingConfiguration configuration, string? dsn, System.Action? optionsConfig = null) { } - public static NLog.Config.LoggingConfiguration AddSentry(this NLog.Config.LoggingConfiguration configuration, string? dsn, string targetName, System.Action? optionsConfig = null) { } - public static void AddTag(this Sentry.NLog.SentryNLogOptions options, string name, NLog.Layouts.Layout layout) { } - } -} -namespace Sentry.NLog -{ - [NLog.Config.NLogConfigurationItem] - public class SentryNLogOptions : Sentry.SentryOptions - { - public SentryNLogOptions() { } - [NLog.Config.NLogConfigurationIgnoreProperty] - public NLog.Layouts.Layout? BreadcrumbCategoryLayout { get; set; } - [NLog.Config.NLogConfigurationIgnoreProperty] - public NLog.Layouts.Layout? BreadcrumbLayout { get; set; } - [NLog.Config.NLogConfigurationIgnoreProperty] - public NLog.Layouts.Layout? DsnLayout { get; set; } - [NLog.Config.NLogConfigurationIgnoreProperty] - public NLog.Layouts.Layout? EnvironmentLayout { get; set; } - public bool IgnoreEventsWithNoException { get; set; } - public bool IncludeEventDataOnBreadcrumbs { get; set; } - public bool IncludeEventPropertiesAsTags { get; set; } - public bool InitializeSdk { get; set; } - [NLog.Config.NLogConfigurationIgnoreProperty] - public NLog.Layouts.Layout? Layout { get; set; } - public NLog.LogLevel? MinimumBreadcrumbLevel { get; set; } - public NLog.LogLevel? MinimumEventLevel { get; set; } - [NLog.Config.NLogConfigurationIgnoreProperty] - public NLog.Layouts.Layout? ReleaseLayout { get; set; } - public int ShutdownTimeoutSeconds { get; set; } - [NLog.Config.NLogConfigurationIgnoreProperty] - public System.Collections.Generic.IList Tags { get; } - [NLog.Config.NLogConfigurationIgnoreProperty] - public Sentry.NLog.SentryNLogUser? User { get; set; } - } - [NLog.Config.NLogConfigurationItem] - public class SentryNLogUser - { - public SentryNLogUser() { } - public NLog.Layouts.Layout? Email { get; set; } - public NLog.Layouts.Layout? Id { get; set; } - public NLog.Layouts.Layout? IpAddress { get; set; } - [NLog.Config.ArrayParameter(typeof(NLog.Targets.TargetPropertyWithContext?), "other")] - public System.Collections.Generic.IList? Other { get; } - public NLog.Layouts.Layout? Segment { get; set; } - public NLog.Layouts.Layout? Username { get; set; } - } - [NLog.Targets.Target("Sentry")] - public sealed class SentryTarget : NLog.Targets.TargetWithContext - { - public SentryTarget() { } - public SentryTarget(Sentry.NLog.SentryNLogOptions options) { } - public NLog.Layouts.Layout? BreadcrumbCategory { get; set; } - public NLog.Layouts.Layout? BreadcrumbLayout { get; set; } - public NLog.Layouts.Layout? Dsn { get; set; } - public NLog.Layouts.Layout? Environment { get; set; } - public int FlushTimeoutSeconds { get; set; } - public bool IgnoreEventsWithNoException { get; set; } - public bool IncludeEventDataOnBreadcrumbs { get; set; } - public bool IncludeEventPropertiesAsTags { get; set; } - public bool InitializeSdk { get; set; } - public string MinimumBreadcrumbLevel { get; set; } - public string MinimumEventLevel { get; set; } - public Sentry.NLog.SentryNLogOptions Options { get; } - public NLog.Layouts.Layout? Release { get; set; } - public int ShutdownTimeoutSeconds { get; set; } - [NLog.Config.ArrayParameter(typeof(NLog.Targets.TargetPropertyWithContext), "tag")] - public System.Collections.Generic.IList Tags { get; } - public Sentry.NLog.SentryNLogUser? User { get; set; } - protected override void CloseTarget() { } - protected override void FlushAsync(NLog.Common.AsyncContinuation asyncContinuation) { } - protected override void InitializeTarget() { } - protected override void Write(NLog.LogEventInfo logEvent) { } - } -} \ No newline at end of file diff --git a/test/Sentry.NLog.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt b/test/Sentry.NLog.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt deleted file mode 100644 index 00a36bc53b..0000000000 --- a/test/Sentry.NLog.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt +++ /dev/null @@ -1,81 +0,0 @@ -[assembly: System.CLSCompliant(true)] -namespace NLog -{ - public static class ConfigurationExtensions - { - public static NLog.Config.LoggingConfiguration AddSentry(this NLog.Config.LoggingConfiguration configuration, System.Action? optionsConfig = null) { } - public static NLog.Config.LoggingConfiguration AddSentry(this NLog.Config.LoggingConfiguration configuration, string? dsn, System.Action? optionsConfig = null) { } - public static NLog.Config.LoggingConfiguration AddSentry(this NLog.Config.LoggingConfiguration configuration, string? dsn, string targetName, System.Action? optionsConfig = null) { } - public static void AddTag(this Sentry.NLog.SentryNLogOptions options, string name, NLog.Layouts.Layout layout) { } - } -} -namespace Sentry.NLog -{ - [NLog.Config.NLogConfigurationItem] - public class SentryNLogOptions : Sentry.SentryOptions - { - public SentryNLogOptions() { } - [NLog.Config.NLogConfigurationIgnoreProperty] - public NLog.Layouts.Layout? BreadcrumbCategoryLayout { get; set; } - [NLog.Config.NLogConfigurationIgnoreProperty] - public NLog.Layouts.Layout? BreadcrumbLayout { get; set; } - [NLog.Config.NLogConfigurationIgnoreProperty] - public NLog.Layouts.Layout? DsnLayout { get; set; } - [NLog.Config.NLogConfigurationIgnoreProperty] - public NLog.Layouts.Layout? EnvironmentLayout { get; set; } - public bool IgnoreEventsWithNoException { get; set; } - public bool IncludeEventDataOnBreadcrumbs { get; set; } - public bool IncludeEventPropertiesAsTags { get; set; } - public bool InitializeSdk { get; set; } - [NLog.Config.NLogConfigurationIgnoreProperty] - public NLog.Layouts.Layout? Layout { get; set; } - public NLog.LogLevel? MinimumBreadcrumbLevel { get; set; } - public NLog.LogLevel? MinimumEventLevel { get; set; } - [NLog.Config.NLogConfigurationIgnoreProperty] - public NLog.Layouts.Layout? ReleaseLayout { get; set; } - public int ShutdownTimeoutSeconds { get; set; } - [NLog.Config.NLogConfigurationIgnoreProperty] - public System.Collections.Generic.IList Tags { get; } - [NLog.Config.NLogConfigurationIgnoreProperty] - public Sentry.NLog.SentryNLogUser? User { get; set; } - } - [NLog.Config.NLogConfigurationItem] - public class SentryNLogUser - { - public SentryNLogUser() { } - public NLog.Layouts.Layout? Email { get; set; } - public NLog.Layouts.Layout? Id { get; set; } - public NLog.Layouts.Layout? IpAddress { get; set; } - [NLog.Config.ArrayParameter(typeof(NLog.Targets.TargetPropertyWithContext?), "other")] - public System.Collections.Generic.IList? Other { get; } - public NLog.Layouts.Layout? Segment { get; set; } - public NLog.Layouts.Layout? Username { get; set; } - } - [NLog.Targets.Target("Sentry")] - public sealed class SentryTarget : NLog.Targets.TargetWithContext - { - public SentryTarget() { } - public SentryTarget(Sentry.NLog.SentryNLogOptions options) { } - public NLog.Layouts.Layout? BreadcrumbCategory { get; set; } - public NLog.Layouts.Layout? BreadcrumbLayout { get; set; } - public NLog.Layouts.Layout? Dsn { get; set; } - public NLog.Layouts.Layout? Environment { get; set; } - public int FlushTimeoutSeconds { get; set; } - public bool IgnoreEventsWithNoException { get; set; } - public bool IncludeEventDataOnBreadcrumbs { get; set; } - public bool IncludeEventPropertiesAsTags { get; set; } - public bool InitializeSdk { get; set; } - public string MinimumBreadcrumbLevel { get; set; } - public string MinimumEventLevel { get; set; } - public Sentry.NLog.SentryNLogOptions Options { get; } - public NLog.Layouts.Layout? Release { get; set; } - public int ShutdownTimeoutSeconds { get; set; } - [NLog.Config.ArrayParameter(typeof(NLog.Targets.TargetPropertyWithContext), "tag")] - public System.Collections.Generic.IList Tags { get; } - public Sentry.NLog.SentryNLogUser? User { get; set; } - protected override void CloseTarget() { } - protected override void FlushAsync(NLog.Common.AsyncContinuation asyncContinuation) { } - protected override void InitializeTarget() { } - protected override void Write(NLog.LogEventInfo logEvent) { } - } -} \ No newline at end of file diff --git a/test/Sentry.NLog.Tests/IntegrationTests.Simple.DotNet6_0.verified.txt b/test/Sentry.NLog.Tests/IntegrationTests.Simple.DotNet6_0.verified.txt deleted file mode 100644 index 0546a4fe28..0000000000 --- a/test/Sentry.NLog.Tests/IntegrationTests.Simple.DotNet6_0.verified.txt +++ /dev/null @@ -1,106 +0,0 @@ -[ - { - Header: { - event_id: Guid_1, - sdk: { - name: sentry.dotnet - }, - trace: { - environment: production, - public_key: d4d82fc1c2c4032a83f3a29aa3a3aff, - release: test-release, - trace_id: Guid_2 - } - }, - Items: [ - { - Header: { - type: event - }, - Payload: { - Source: { - Exception: { - $type: Exception, - Type: Exception, - Message: Exception message - }, - Message: { - Message: message = {arg}, - Formatted: message = "arg value" - }, - Logger: Sentry.NLog.Tests.IntegrationTests, - Platform: csharp, - SentryExceptions: [ - { - Type: System.Exception, - Value: Exception message, - Stacktrace: { - Frames: [ - { - FileName: IntegrationTests.verify.cs, - Function: Task IntegrationTests.Simple(), - Module: null, - LineNumber: 52, - ColumnNumber: 17, - AbsolutePath: {ProjectDirectory}IntegrationTests.verify.cs, - ContextLine: null, - InApp: false, - Package: Sentry.NLog.Tests, Version=SCRUBBED, Culture=SCRUBBED, PublicKeyToken=SCRUBBED, - Platform: null, - ImageAddress: null, - SymbolAddress: null, - InstructionAddress: 2, - AddressMode: rel:0, - FunctionId: 1 - } - ] - }, - Mechanism: { - Type: generic, - Handled: true, - Synthetic: false, - IsExceptionGroup: false - } - } - ], - DebugImages: [ - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: ______:________________________________________________________________, - DebugFile: .../Sentry.NLog.Tests.pdb, - CodeId: ______________, - CodeFile: .../Sentry.NLog.Tests.dll - } - ], - Level: error, - Request: {}, - Contexts: { - trace: { - Operation: - } - }, - User: { - Id: myId, - Username: , - Email: , - IpAddress: , - Other: { - mood: joyous - } - }, - Environment: production, - Extra: { - arg: arg value - }, - Tags: { - logger: Sentry.NLog.Tests.IntegrationTests - } - } - } - } - ] - } -] \ No newline at end of file diff --git a/test/Sentry.NLog.Tests/IntegrationTests.Simple.DotNet7_0.verified.txt b/test/Sentry.NLog.Tests/IntegrationTests.Simple.DotNet7_0.verified.txt deleted file mode 100644 index 0546a4fe28..0000000000 --- a/test/Sentry.NLog.Tests/IntegrationTests.Simple.DotNet7_0.verified.txt +++ /dev/null @@ -1,106 +0,0 @@ -[ - { - Header: { - event_id: Guid_1, - sdk: { - name: sentry.dotnet - }, - trace: { - environment: production, - public_key: d4d82fc1c2c4032a83f3a29aa3a3aff, - release: test-release, - trace_id: Guid_2 - } - }, - Items: [ - { - Header: { - type: event - }, - Payload: { - Source: { - Exception: { - $type: Exception, - Type: Exception, - Message: Exception message - }, - Message: { - Message: message = {arg}, - Formatted: message = "arg value" - }, - Logger: Sentry.NLog.Tests.IntegrationTests, - Platform: csharp, - SentryExceptions: [ - { - Type: System.Exception, - Value: Exception message, - Stacktrace: { - Frames: [ - { - FileName: IntegrationTests.verify.cs, - Function: Task IntegrationTests.Simple(), - Module: null, - LineNumber: 52, - ColumnNumber: 17, - AbsolutePath: {ProjectDirectory}IntegrationTests.verify.cs, - ContextLine: null, - InApp: false, - Package: Sentry.NLog.Tests, Version=SCRUBBED, Culture=SCRUBBED, PublicKeyToken=SCRUBBED, - Platform: null, - ImageAddress: null, - SymbolAddress: null, - InstructionAddress: 2, - AddressMode: rel:0, - FunctionId: 1 - } - ] - }, - Mechanism: { - Type: generic, - Handled: true, - Synthetic: false, - IsExceptionGroup: false - } - } - ], - DebugImages: [ - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: ______:________________________________________________________________, - DebugFile: .../Sentry.NLog.Tests.pdb, - CodeId: ______________, - CodeFile: .../Sentry.NLog.Tests.dll - } - ], - Level: error, - Request: {}, - Contexts: { - trace: { - Operation: - } - }, - User: { - Id: myId, - Username: , - Email: , - IpAddress: , - Other: { - mood: joyous - } - }, - Environment: production, - Extra: { - arg: arg value - }, - Tags: { - logger: Sentry.NLog.Tests.IntegrationTests - } - } - } - } - ] - } -] \ No newline at end of file diff --git a/test/Sentry.Serilog.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt b/test/Sentry.Serilog.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt deleted file mode 100644 index 893bc8a67e..0000000000 --- a/test/Sentry.Serilog.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt +++ /dev/null @@ -1,46 +0,0 @@ -[assembly: System.CLSCompliant(true)] -namespace Sentry.Serilog -{ - public class SentrySerilogOptions : Sentry.SentryOptions - { - public SentrySerilogOptions() { } - public System.IFormatProvider? FormatProvider { get; set; } - public bool InitializeSdk { get; set; } - public Serilog.Events.LogEventLevel MinimumBreadcrumbLevel { get; set; } - public Serilog.Events.LogEventLevel MinimumEventLevel { get; set; } - public Serilog.Formatting.ITextFormatter? TextFormatter { get; set; } - } -} -namespace Serilog -{ - public static class SentrySinkExtensions - { - public static Serilog.LoggerConfiguration Sentry(this Serilog.Configuration.LoggerSinkConfiguration loggerConfiguration, System.Action configureOptions) { } - public static Serilog.LoggerConfiguration Sentry(this Serilog.Configuration.LoggerSinkConfiguration loggerConfiguration, Serilog.Events.LogEventLevel? minimumEventLevel = default, Serilog.Events.LogEventLevel? minimumBreadcrumbLevel = default, System.IFormatProvider? formatProvider = null, Serilog.Formatting.ITextFormatter? textFormatter = null) { } - public static Serilog.LoggerConfiguration Sentry( - this Serilog.Configuration.LoggerSinkConfiguration loggerConfiguration, - string dsn, - Serilog.Events.LogEventLevel? minimumBreadcrumbLevel = default, - Serilog.Events.LogEventLevel? minimumEventLevel = default, - System.IFormatProvider? formatProvider = null, - Serilog.Formatting.ITextFormatter? textFormatter = null, - bool? sendDefaultPii = default, - bool? isEnvironmentUser = default, - string? serverName = null, - bool? attachStackTrace = default, - int? maxBreadcrumbs = default, - float? sampleRate = default, - string? release = null, - string? environment = null, - int? maxQueueItems = default, - System.TimeSpan? shutdownTimeout = default, - System.Net.DecompressionMethods? decompressionMethods = default, - System.IO.Compression.CompressionLevel? requestBodyCompressionLevel = default, - bool? requestBodyCompressionBuffered = default, - bool? debug = default, - Sentry.SentryLevel? diagnosticLevel = default, - Sentry.ReportAssembliesMode? reportAssembliesMode = default, - Sentry.DeduplicateMode? deduplicateMode = default, - System.Collections.Generic.Dictionary? defaultTags = null) { } - } -} \ No newline at end of file diff --git a/test/Sentry.Serilog.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt b/test/Sentry.Serilog.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt deleted file mode 100644 index 893bc8a67e..0000000000 --- a/test/Sentry.Serilog.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt +++ /dev/null @@ -1,46 +0,0 @@ -[assembly: System.CLSCompliant(true)] -namespace Sentry.Serilog -{ - public class SentrySerilogOptions : Sentry.SentryOptions - { - public SentrySerilogOptions() { } - public System.IFormatProvider? FormatProvider { get; set; } - public bool InitializeSdk { get; set; } - public Serilog.Events.LogEventLevel MinimumBreadcrumbLevel { get; set; } - public Serilog.Events.LogEventLevel MinimumEventLevel { get; set; } - public Serilog.Formatting.ITextFormatter? TextFormatter { get; set; } - } -} -namespace Serilog -{ - public static class SentrySinkExtensions - { - public static Serilog.LoggerConfiguration Sentry(this Serilog.Configuration.LoggerSinkConfiguration loggerConfiguration, System.Action configureOptions) { } - public static Serilog.LoggerConfiguration Sentry(this Serilog.Configuration.LoggerSinkConfiguration loggerConfiguration, Serilog.Events.LogEventLevel? minimumEventLevel = default, Serilog.Events.LogEventLevel? minimumBreadcrumbLevel = default, System.IFormatProvider? formatProvider = null, Serilog.Formatting.ITextFormatter? textFormatter = null) { } - public static Serilog.LoggerConfiguration Sentry( - this Serilog.Configuration.LoggerSinkConfiguration loggerConfiguration, - string dsn, - Serilog.Events.LogEventLevel? minimumBreadcrumbLevel = default, - Serilog.Events.LogEventLevel? minimumEventLevel = default, - System.IFormatProvider? formatProvider = null, - Serilog.Formatting.ITextFormatter? textFormatter = null, - bool? sendDefaultPii = default, - bool? isEnvironmentUser = default, - string? serverName = null, - bool? attachStackTrace = default, - int? maxBreadcrumbs = default, - float? sampleRate = default, - string? release = null, - string? environment = null, - int? maxQueueItems = default, - System.TimeSpan? shutdownTimeout = default, - System.Net.DecompressionMethods? decompressionMethods = default, - System.IO.Compression.CompressionLevel? requestBodyCompressionLevel = default, - bool? requestBodyCompressionBuffered = default, - bool? debug = default, - Sentry.SentryLevel? diagnosticLevel = default, - Sentry.ReportAssembliesMode? reportAssembliesMode = default, - Sentry.DeduplicateMode? deduplicateMode = default, - System.Collections.Generic.Dictionary? defaultTags = null) { } - } -} \ No newline at end of file diff --git a/test/Sentry.Serilog.Tests/IntegrationTests.Simple.DotNet6_0.verified.txt b/test/Sentry.Serilog.Tests/IntegrationTests.Simple.DotNet6_0.verified.txt deleted file mode 100644 index 1f894bd0ef..0000000000 --- a/test/Sentry.Serilog.Tests/IntegrationTests.Simple.DotNet6_0.verified.txt +++ /dev/null @@ -1,280 +0,0 @@ -[ - { - Header: { - event_id: Guid_1, - sdk: { - name: sentry.dotnet - }, - trace: { - environment: production, - public_key: d4d82fc1c2c4032a83f3a29aa3a3aff, - release: test-release, - trace_id: Guid_2 - } - }, - Items: [ - { - Header: { - type: event - }, - Payload: { - Source: { - Message: { - Message: Debug message stored as breadcrumb., - Formatted: [42] Debug message stored as breadcrumb. - }, - Platform: csharp, - ServerName: TheMachineName, - Level: debug, - Request: {}, - Contexts: { - trace: { - Operation: - } - }, - User: { - Id: Guid_3, - Username: TheUserName, - IpAddress: {{auto}} - }, - Environment: production, - Extra: { - inventory: { SmallPotion = 3, BigPotion = 0, CheeseWheels = 512 }, - MyTaskId: 42 - } - } - } - } - ] - }, - { - Header: { - event_id: Guid_4, - sdk: { - name: sentry.dotnet - }, - trace: { - environment: production, - public_key: d4d82fc1c2c4032a83f3a29aa3a3aff, - release: test-release, - trace_id: Guid_2 - } - }, - Items: [ - { - Header: { - type: event - }, - Payload: { - Source: { - Message: { - Message: Message with a different MyTaskId, - Formatted: [65] Message with a different MyTaskId - }, - Platform: csharp, - ServerName: TheMachineName, - Level: debug, - Request: {}, - Contexts: { - trace: { - Operation: - } - }, - User: { - Id: Guid_3, - Username: TheUserName, - IpAddress: {{auto}} - }, - Environment: production, - Breadcrumbs: [ - { - Message: [42] Debug message stored as breadcrumb., - Level: debug - } - ], - Extra: { - inventory: { SmallPotion = 3, BigPotion = 0, CheeseWheels = 512 }, - MyTaskId: 65 - } - } - } - } - ] - }, - { - Header: { - event_id: Guid_5, - sdk: { - name: sentry.dotnet - }, - trace: { - environment: production, - public_key: d4d82fc1c2c4032a83f3a29aa3a3aff, - release: test-release, - trace_id: Guid_2 - } - }, - Items: [ - { - Header: { - type: event - }, - Payload: { - Source: { - Message: { - Message: Some event that includes the previous breadcrumbs, - Formatted: [42] Some event that includes the previous breadcrumbs - }, - Platform: csharp, - ServerName: TheMachineName, - Level: error, - Request: {}, - Contexts: { - trace: { - Operation: - } - }, - User: { - Id: Guid_3, - Username: TheUserName, - IpAddress: {{auto}} - }, - Environment: production, - Breadcrumbs: [ - { - Message: [42] Debug message stored as breadcrumb., - Level: debug - }, - { - Message: [65] Message with a different MyTaskId, - Level: debug - } - ], - Extra: { - inventory: { SmallPotion = 3, BigPotion = 0, CheeseWheels = 512 }, - MyTaskId: 42 - } - } - } - } - ] - }, - { - Header: { - event_id: Guid_6, - sdk: { - name: sentry.dotnet - }, - trace: { - environment: production, - public_key: d4d82fc1c2c4032a83f3a29aa3a3aff, - release: test-release, - trace_id: Guid_2 - } - }, - Items: [ - { - Header: { - type: event - }, - Payload: { - Source: { - Exception: { - $type: Exception, - Type: Exception, - Message: Exception message, - Data: { - details: Do work always throws. - } - }, - Message: { - Message: Error: with exception, - Formatted: [42] Error: with exception - }, - Platform: csharp, - ServerName: TheMachineName, - SentryExceptions: [ - { - Type: System.Exception, - Value: Exception message, - Stacktrace: { - Frames: [ - { - FileName: IntegrationTests.verify.cs, - Function: Task IntegrationTests.Simple(), - Module: null, - LineNumber: 47, - ColumnNumber: 17, - AbsolutePath: {ProjectDirectory}IntegrationTests.verify.cs, - ContextLine: null, - InApp: false, - Package: Sentry.Serilog.Tests, Version=SCRUBBED, Culture=SCRUBBED, PublicKeyToken=SCRUBBED, - Platform: null, - ImageAddress: null, - SymbolAddress: null, - InstructionAddress: 2, - AddressMode: rel:0, - FunctionId: 1 - } - ] - }, - Mechanism: { - Type: generic, - Handled: true, - Synthetic: false, - IsExceptionGroup: false, - Data: { - details: Do work always throws. - } - } - } - ], - DebugImages: [ - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: ______:________________________________________________________________, - DebugFile: .../Sentry.Serilog.Tests.pdb, - CodeId: ______________, - CodeFile: .../Sentry.Serilog.Tests.dll - } - ], - Level: fatal, - Request: {}, - Contexts: { - trace: { - Operation: - } - }, - User: { - Id: Guid_3, - Username: TheUserName, - IpAddress: {{auto}} - }, - Environment: production, - Breadcrumbs: [ - { - Message: [42] Debug message stored as breadcrumb., - Level: debug - }, - { - Message: [65] Message with a different MyTaskId, - Level: debug - }, - { - Message: [42] Some event that includes the previous breadcrumbs, - Level: error - } - ], - Extra: { - inventory: { SmallPotion = 3, BigPotion = 0, CheeseWheels = 512 }, - MyTaskId: 42 - } - } - } - } - ] - } -] \ No newline at end of file diff --git a/test/Sentry.Serilog.Tests/IntegrationTests.Simple.DotNet7_0.verified.txt b/test/Sentry.Serilog.Tests/IntegrationTests.Simple.DotNet7_0.verified.txt deleted file mode 100644 index 1f894bd0ef..0000000000 --- a/test/Sentry.Serilog.Tests/IntegrationTests.Simple.DotNet7_0.verified.txt +++ /dev/null @@ -1,280 +0,0 @@ -[ - { - Header: { - event_id: Guid_1, - sdk: { - name: sentry.dotnet - }, - trace: { - environment: production, - public_key: d4d82fc1c2c4032a83f3a29aa3a3aff, - release: test-release, - trace_id: Guid_2 - } - }, - Items: [ - { - Header: { - type: event - }, - Payload: { - Source: { - Message: { - Message: Debug message stored as breadcrumb., - Formatted: [42] Debug message stored as breadcrumb. - }, - Platform: csharp, - ServerName: TheMachineName, - Level: debug, - Request: {}, - Contexts: { - trace: { - Operation: - } - }, - User: { - Id: Guid_3, - Username: TheUserName, - IpAddress: {{auto}} - }, - Environment: production, - Extra: { - inventory: { SmallPotion = 3, BigPotion = 0, CheeseWheels = 512 }, - MyTaskId: 42 - } - } - } - } - ] - }, - { - Header: { - event_id: Guid_4, - sdk: { - name: sentry.dotnet - }, - trace: { - environment: production, - public_key: d4d82fc1c2c4032a83f3a29aa3a3aff, - release: test-release, - trace_id: Guid_2 - } - }, - Items: [ - { - Header: { - type: event - }, - Payload: { - Source: { - Message: { - Message: Message with a different MyTaskId, - Formatted: [65] Message with a different MyTaskId - }, - Platform: csharp, - ServerName: TheMachineName, - Level: debug, - Request: {}, - Contexts: { - trace: { - Operation: - } - }, - User: { - Id: Guid_3, - Username: TheUserName, - IpAddress: {{auto}} - }, - Environment: production, - Breadcrumbs: [ - { - Message: [42] Debug message stored as breadcrumb., - Level: debug - } - ], - Extra: { - inventory: { SmallPotion = 3, BigPotion = 0, CheeseWheels = 512 }, - MyTaskId: 65 - } - } - } - } - ] - }, - { - Header: { - event_id: Guid_5, - sdk: { - name: sentry.dotnet - }, - trace: { - environment: production, - public_key: d4d82fc1c2c4032a83f3a29aa3a3aff, - release: test-release, - trace_id: Guid_2 - } - }, - Items: [ - { - Header: { - type: event - }, - Payload: { - Source: { - Message: { - Message: Some event that includes the previous breadcrumbs, - Formatted: [42] Some event that includes the previous breadcrumbs - }, - Platform: csharp, - ServerName: TheMachineName, - Level: error, - Request: {}, - Contexts: { - trace: { - Operation: - } - }, - User: { - Id: Guid_3, - Username: TheUserName, - IpAddress: {{auto}} - }, - Environment: production, - Breadcrumbs: [ - { - Message: [42] Debug message stored as breadcrumb., - Level: debug - }, - { - Message: [65] Message with a different MyTaskId, - Level: debug - } - ], - Extra: { - inventory: { SmallPotion = 3, BigPotion = 0, CheeseWheels = 512 }, - MyTaskId: 42 - } - } - } - } - ] - }, - { - Header: { - event_id: Guid_6, - sdk: { - name: sentry.dotnet - }, - trace: { - environment: production, - public_key: d4d82fc1c2c4032a83f3a29aa3a3aff, - release: test-release, - trace_id: Guid_2 - } - }, - Items: [ - { - Header: { - type: event - }, - Payload: { - Source: { - Exception: { - $type: Exception, - Type: Exception, - Message: Exception message, - Data: { - details: Do work always throws. - } - }, - Message: { - Message: Error: with exception, - Formatted: [42] Error: with exception - }, - Platform: csharp, - ServerName: TheMachineName, - SentryExceptions: [ - { - Type: System.Exception, - Value: Exception message, - Stacktrace: { - Frames: [ - { - FileName: IntegrationTests.verify.cs, - Function: Task IntegrationTests.Simple(), - Module: null, - LineNumber: 47, - ColumnNumber: 17, - AbsolutePath: {ProjectDirectory}IntegrationTests.verify.cs, - ContextLine: null, - InApp: false, - Package: Sentry.Serilog.Tests, Version=SCRUBBED, Culture=SCRUBBED, PublicKeyToken=SCRUBBED, - Platform: null, - ImageAddress: null, - SymbolAddress: null, - InstructionAddress: 2, - AddressMode: rel:0, - FunctionId: 1 - } - ] - }, - Mechanism: { - Type: generic, - Handled: true, - Synthetic: false, - IsExceptionGroup: false, - Data: { - details: Do work always throws. - } - } - } - ], - DebugImages: [ - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: ______:________________________________________________________________, - DebugFile: .../Sentry.Serilog.Tests.pdb, - CodeId: ______________, - CodeFile: .../Sentry.Serilog.Tests.dll - } - ], - Level: fatal, - Request: {}, - Contexts: { - trace: { - Operation: - } - }, - User: { - Id: Guid_3, - Username: TheUserName, - IpAddress: {{auto}} - }, - Environment: production, - Breadcrumbs: [ - { - Message: [42] Debug message stored as breadcrumb., - Level: debug - }, - { - Message: [65] Message with a different MyTaskId, - Level: debug - }, - { - Message: [42] Some event that includes the previous breadcrumbs, - Level: error - } - ], - Extra: { - inventory: { SmallPotion = 3, BigPotion = 0, CheeseWheels = 512 }, - MyTaskId: 42 - } - } - } - } - ] - } -] \ No newline at end of file diff --git a/test/Sentry.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt b/test/Sentry.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt deleted file mode 100644 index bb10750b76..0000000000 --- a/test/Sentry.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt +++ /dev/null @@ -1,1812 +0,0 @@ -[assembly: System.CLSCompliant(true)] -namespace Sentry -{ - public enum AttachmentType - { - Default = 0, - Minidump = 1, - AppleCrashReport = 2, - UnrealContext = 3, - UnrealLogs = 4, - ViewHierarchy = 5, - } - public class BaggageHeader - { - public override string ToString() { } - } - [System.Diagnostics.DebuggerDisplay("Message: {Message}, Type: {Type}")] - public sealed class Breadcrumb : Sentry.ISentryJsonSerializable - { - public Breadcrumb(string message, string type, System.Collections.Generic.IReadOnlyDictionary? data = null, string? category = null, Sentry.BreadcrumbLevel level = 0) { } - public string? Category { get; } - public System.Collections.Generic.IReadOnlyDictionary? Data { get; } - public Sentry.BreadcrumbLevel Level { get; } - public string? Message { get; } - public System.DateTimeOffset Timestamp { get; } - public string? Type { get; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.Breadcrumb FromJson(System.Text.Json.JsonElement json) { } - } - public enum BreadcrumbLevel - { - [System.Runtime.Serialization.EnumMember(Value="debug")] - Debug = -1, - [System.Runtime.Serialization.EnumMember(Value="info")] - Info = 0, - [System.Runtime.Serialization.EnumMember(Value="warning")] - Warning = 1, - [System.Runtime.Serialization.EnumMember(Value="error")] - Error = 2, - [System.Runtime.Serialization.EnumMember(Value="critical")] - Critical = 3, - } - public static class BuiltInSystemDiagnosticsMeters - { - public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreDiagnostics; - public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreHeaderParsing; - public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreHosting; - public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreHttpConnections; - public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreRateLimiting; - public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreRouting; - public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreServerKestrel; - public static readonly Sentry.StringOrRegex MicrosoftExtensionsDiagnosticsHealthChecks; - public static readonly Sentry.StringOrRegex MicrosoftExtensionsDiagnosticsResourceMonitoring; - public static readonly Sentry.StringOrRegex OpenTelemetryInstrumentationRuntime; - public static readonly Sentry.StringOrRegex SystemNetHttp; - public static readonly Sentry.StringOrRegex SystemNetNameResolution; - public static System.Collections.Generic.IList All { get; } - } - public class ByteAttachmentContent : Sentry.IAttachmentContent - { - public ByteAttachmentContent(byte[] bytes) { } - public System.IO.Stream GetStream() { } - } - public enum CheckInStatus - { - InProgress = 0, - Ok = 1, - Error = 2, - } - [System.Obsolete("WARNING: This method deliberately causes a crash, and should not be used in a rea" + - "l application.")] - public enum CrashType - { - Managed = 0, - ManagedBackgroundThread = 1, - } - public class Debouncer - { - public static Sentry.Debouncer PerApplicationLifetime(int eventMaximum = 1, System.TimeSpan? cooldown = default) { } - public static Sentry.Debouncer PerDay(int eventMaximum = 1, System.TimeSpan? cooldown = default) { } - public static Sentry.Debouncer PerHour(int eventMaximum = 1, System.TimeSpan? cooldown = default) { } - public static Sentry.Debouncer PerMinute(int eventMaximum = 1, System.TimeSpan? cooldown = default) { } - } - [System.Flags] - public enum DeduplicateMode - { - SameEvent = 1, - SameExceptionInstance = 2, - InnerException = 4, - AggregateException = 8, - All = 2147483647, - } - public class DefaultSentryScopeStateProcessor : Sentry.ISentryScopeStateProcessor - { - public DefaultSentryScopeStateProcessor() { } - public void Apply(Sentry.Scope scope, object state) { } - } - [System.AttributeUsage(System.AttributeTargets.Assembly)] - public class DsnAttribute : System.Attribute - { - public DsnAttribute(string dsn) { } - public string Dsn { get; } - } - public static class EventLikeExtensions - { - public static void AddBreadcrumb(this Sentry.IEventLike eventLike, string message, string? category, string? type, System.ValueTuple? dataPair = default, Sentry.BreadcrumbLevel level = 0) { } - public static void AddBreadcrumb(this Sentry.IEventLike eventLike, string message, string? category = null, string? type = null, System.Collections.Generic.IReadOnlyDictionary? data = null, Sentry.BreadcrumbLevel level = 0) { } - public static void AddBreadcrumb(this Sentry.IEventLike eventLike, System.DateTimeOffset? timestamp, string message, string? category = null, string? type = null, System.Collections.Generic.IReadOnlyDictionary? data = null, Sentry.BreadcrumbLevel level = 0) { } - public static bool HasUser(this Sentry.IEventLike eventLike) { } - public static void SetFingerprint(this Sentry.IEventLike eventLike, System.Collections.Generic.IEnumerable fingerprint) { } - public static void SetFingerprint(this Sentry.IEventLike eventLike, params string[] fingerprint) { } - } - public class ExperimentalMetricsOptions - { - public ExperimentalMetricsOptions() { } - public System.Collections.Generic.IList CaptureSystemDiagnosticsInstruments { get; set; } - public System.Collections.Generic.IList CaptureSystemDiagnosticsMeters { get; set; } - public bool EnableCodeLocations { get; set; } - } - public class FileAttachmentContent : Sentry.IAttachmentContent - { - public FileAttachmentContent(string filePath) { } - public FileAttachmentContent(string filePath, bool readFileAsynchronously) { } - public System.IO.Stream GetStream() { } - } - public static class HasExtraExtensions - { - public static void SetExtras(this Sentry.IHasExtra hasExtra, System.Collections.Generic.IEnumerable> values) { } - } - public static class HasTagsExtensions - { - public static void SetTags(this Sentry.IHasTags hasTags, System.Collections.Generic.IEnumerable> tags) { } - } - public delegate bool HeapDumpTrigger(long usedMemory, long totalMemory); - public static class HintTypes - { - public const string HttpResponseMessage = "http-response-message"; - } - public readonly struct HttpStatusCodeRange : System.IEquatable - { - public HttpStatusCodeRange(int statusCode) { } - public HttpStatusCodeRange(int start, int end) { } - public int End { get; init; } - public int Start { get; init; } - public bool Contains(int statusCode) { } - public bool Contains(System.Net.HttpStatusCode statusCode) { } - public static Sentry.HttpStatusCodeRange op_Implicit(int statusCode) { } - public static Sentry.HttpStatusCodeRange op_Implicit(System.Net.HttpStatusCode statusCode) { } - public static Sentry.HttpStatusCodeRange op_Implicit([System.Runtime.CompilerServices.TupleElementNames(new string[] { - "Start", - "End"})] System.ValueTuple range) { } - public static Sentry.HttpStatusCodeRange op_Implicit([System.Runtime.CompilerServices.TupleElementNames(new string[] { - "start", - "end"})] System.ValueTuple range) { } - } - public static class HubExtensions - { - public static void AddBreadcrumb(this Sentry.IHub hub, Sentry.Breadcrumb breadcrumb, Sentry.SentryHint? hint = null) { } - public static void AddBreadcrumb(this Sentry.IHub hub, string message, string? category = null, string? type = null, System.Collections.Generic.IDictionary? data = null, Sentry.BreadcrumbLevel level = 0) { } - public static void AddBreadcrumb(this Sentry.IHub hub, Sentry.Infrastructure.ISystemClock? clock, string message, string? category = null, string? type = null, System.Collections.Generic.IDictionary? data = null, Sentry.BreadcrumbLevel level = 0) { } - public static Sentry.SentryId CaptureException(this Sentry.IHub hub, System.Exception ex, System.Action configureScope) { } - public static Sentry.SentryId CaptureMessage(this Sentry.IHub hub, string message, System.Action configureScope, Sentry.SentryLevel level = 1) { } - public static void LockScope(this Sentry.IHub hub) { } - public static System.IDisposable PushAndLockScope(this Sentry.IHub hub) { } - public static Sentry.ITransactionTracer StartTransaction(this Sentry.IHub hub, Sentry.ITransactionContext context) { } - public static Sentry.ITransactionTracer StartTransaction(this Sentry.IHub hub, string name, string operation) { } - public static Sentry.ITransactionTracer StartTransaction(this Sentry.IHub hub, string name, string operation, Sentry.SentryTraceHeader traceHeader) { } - public static Sentry.ITransactionTracer StartTransaction(this Sentry.IHub hub, string name, string operation, string? description) { } - public static void UnlockScope(this Sentry.IHub hub) { } - } - public interface IAttachmentContent - { - System.IO.Stream GetStream(); - } - public interface IEventLike : Sentry.IHasExtra, Sentry.IHasTags - { - System.Collections.Generic.IReadOnlyCollection Breadcrumbs { get; } - Sentry.SentryContexts Contexts { get; set; } - string? Distribution { get; set; } - string? Environment { get; set; } - System.Collections.Generic.IReadOnlyList Fingerprint { get; set; } - Sentry.SentryLevel? Level { get; set; } - string? Release { get; set; } - Sentry.SentryRequest Request { get; set; } - Sentry.SdkVersion Sdk { get; } - string? TransactionName { get; set; } - Sentry.SentryUser User { get; set; } - void AddBreadcrumb(Sentry.Breadcrumb breadcrumb); - } - public interface IHasExtra - { - System.Collections.Generic.IReadOnlyDictionary Extra { get; } - void SetExtra(string key, object? value); - } - public interface IHasTags - { - System.Collections.Generic.IReadOnlyDictionary Tags { get; } - void SetTag(string key, string value); - void UnsetTag(string key); - } - public interface IHub : Sentry.ISentryClient, Sentry.ISentryScopeManager - { - Sentry.SentryId LastEventId { get; } - void BindException(System.Exception exception, Sentry.ISpan span); - Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, System.Action configureScope); - Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.SentryHint? hint, System.Action configureScope); - Sentry.TransactionContext ContinueTrace(Sentry.SentryTraceHeader? traceHeader, Sentry.BaggageHeader? baggageHeader, string? name = null, string? operation = null); - Sentry.TransactionContext ContinueTrace(string? traceHeader, string? baggageHeader, string? name = null, string? operation = null); - void EndSession(Sentry.SessionEndStatus status = 0); - Sentry.BaggageHeader? GetBaggage(); - Sentry.ISpan? GetSpan(); - Sentry.SentryTraceHeader? GetTraceHeader(); - void PauseSession(); - void ResumeSession(); - void StartSession(); - Sentry.ITransactionTracer StartTransaction(Sentry.ITransactionContext context, System.Collections.Generic.IReadOnlyDictionary customSamplingContext); - } - public interface IScopeObserver - { - void AddBreadcrumb(Sentry.Breadcrumb breadcrumb); - void SetExtra(string key, object? value); - void SetTag(string key, string value); - void SetUser(Sentry.SentryUser? user); - void UnsetTag(string key); - } - public interface ISentryClient - { - bool IsEnabled { get; } - Sentry.SentryId CaptureCheckIn(string monitorSlug, Sentry.CheckInStatus status, Sentry.SentryId? sentryId = default, System.TimeSpan? duration = default, Sentry.Scope? scope = null, System.Action? configureMonitorOptions = null); - bool CaptureEnvelope(Sentry.Protocol.Envelopes.Envelope envelope); - Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null); - void CaptureSession(Sentry.SessionUpdate sessionUpdate); - void CaptureTransaction(Sentry.SentryTransaction transaction); - void CaptureTransaction(Sentry.SentryTransaction transaction, Sentry.Scope? scope, Sentry.SentryHint? hint); - void CaptureUserFeedback(Sentry.UserFeedback userFeedback); - System.Threading.Tasks.Task FlushAsync(System.TimeSpan timeout); - } - public interface ISentryJsonSerializable - { - void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger); - } - public interface ISentryScopeManager - { - void BindClient(Sentry.ISentryClient client); - void ConfigureScope(System.Action configureScope); - System.Threading.Tasks.Task ConfigureScopeAsync(System.Func configureScope); - System.IDisposable PushScope(); - System.IDisposable PushScope(TState state); - } - public interface ISentryScopeStateProcessor - { - void Apply(Sentry.Scope scope, object state); - } - public interface ISentrySession - { - string? DistinctId { get; } - string? Environment { get; } - int ErrorCount { get; } - Sentry.SentryId Id { get; } - string? IpAddress { get; } - string Release { get; } - System.DateTimeOffset StartTimestamp { get; } - string? UserAgent { get; } - } - public interface ISentryUserFactory - { - Sentry.SentryUser? Create(); - } - public interface ISpan : Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISpanData, Sentry.Protocol.ITraceContext - { - new string? Description { get; set; } - new string Operation { get; set; } - new Sentry.SpanStatus? Status { get; set; } - void Finish(); - void Finish(Sentry.SpanStatus status); - void Finish(System.Exception exception); - void Finish(System.Exception exception, Sentry.SpanStatus status); - Sentry.ISpan StartChild(string operation); - } - public interface ISpanData : Sentry.IHasExtra, Sentry.IHasTags, Sentry.Protocol.ITraceContext - { - System.DateTimeOffset? EndTimestamp { get; } - bool IsFinished { get; } - System.Collections.Generic.IReadOnlyDictionary Measurements { get; } - System.DateTimeOffset StartTimestamp { get; } - Sentry.SentryTraceHeader GetTraceHeader(); - void SetMeasurement(string name, Sentry.Protocol.Measurement measurement); - } - public interface ITransactionContext : Sentry.Protocol.ITraceContext - { - bool? IsParentSampled { get; } - string Name { get; } - Sentry.TransactionNameSource NameSource { get; } - } - public interface ITransactionData : Sentry.IEventLike, Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISpanData, Sentry.ITransactionContext, Sentry.Protocol.ITraceContext - { - string? Platform { get; set; } - } - public interface ITransactionTracer : Sentry.IEventLike, Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISpan, Sentry.ISpanData, Sentry.ITransactionContext, Sentry.ITransactionData, Sentry.Protocol.ITraceContext - { - new bool? IsParentSampled { get; set; } - new string Name { get; set; } - System.Collections.Generic.IReadOnlyCollection Spans { get; } - Sentry.ISpan? GetLastActiveSpan(); - } - public enum InstructionAddressAdjustment - { - Auto = 0, - All = 1, - AllButFirst = 2, - None = 3, - } - public enum Instrumenter - { - Sentry = 0, - OpenTelemetry = 1, - } - public readonly struct MeasurementUnit : System.IEquatable - { - public static Sentry.MeasurementUnit None; - public bool Equals(Sentry.MeasurementUnit other) { } - public override bool Equals(object? obj) { } - public override int GetHashCode() { } - public override string ToString() { } - public static Sentry.MeasurementUnit Custom(string name) { } - public static Sentry.MeasurementUnit op_Implicit(Sentry.MeasurementUnit.Duration unit) { } - public static Sentry.MeasurementUnit op_Implicit(Sentry.MeasurementUnit.Fraction unit) { } - public static Sentry.MeasurementUnit op_Implicit(Sentry.MeasurementUnit.Information unit) { } - public static bool operator !=(Sentry.MeasurementUnit left, Sentry.MeasurementUnit right) { } - public static bool operator ==(Sentry.MeasurementUnit left, Sentry.MeasurementUnit right) { } - public enum Duration - { - Nanosecond = 0, - Microsecond = 1, - Millisecond = 2, - Second = 3, - Minute = 4, - Hour = 5, - Day = 6, - Week = 7, - } - public enum Fraction - { - Ratio = 0, - Percent = 1, - } - public enum Information - { - Bit = 0, - Byte = 1, - Kilobyte = 2, - Kibibyte = 3, - Megabyte = 4, - Mebibyte = 5, - Gigabyte = 6, - Gibibyte = 7, - Terabyte = 8, - Tebibyte = 9, - Petabyte = 10, - Pebibyte = 11, - Exabyte = 12, - Exbibyte = 13, - } - } - public enum ReportAssembliesMode - { - None = 0, - Version = 1, - InformationalVersion = 2, - } - public class Scope : Sentry.IEventLike, Sentry.IHasExtra, Sentry.IHasTags - { - public Scope(Sentry.SentryOptions? options) { } - public System.Collections.Generic.IReadOnlyCollection Attachments { get; } - public System.Collections.Generic.IReadOnlyCollection Breadcrumbs { get; } - public Sentry.SentryContexts Contexts { get; set; } - public string? Distribution { get; set; } - public string? Environment { get; set; } - public System.Collections.Generic.IReadOnlyDictionary Extra { get; } - public System.Collections.Generic.IReadOnlyList Fingerprint { get; set; } - public Sentry.SentryLevel? Level { get; set; } - public string? Release { get; set; } - public Sentry.SentryRequest Request { get; set; } - public Sentry.SdkVersion Sdk { get; } - public Sentry.ISpan? Span { get; set; } - public System.Collections.Generic.IReadOnlyDictionary Tags { get; } - public Sentry.ITransactionTracer? Transaction { get; set; } - public string? TransactionName { get; set; } - public Sentry.SentryUser User { get; set; } - public void AddAttachment(Sentry.SentryAttachment attachment) { } - public void AddAttachment(string filePath, Sentry.AttachmentType type = 0, string? contentType = null) { } - public void AddAttachment(byte[] data, string fileName, Sentry.AttachmentType type = 0, string? contentType = null) { } - public void AddAttachment(System.IO.Stream stream, string fileName, Sentry.AttachmentType type = 0, string? contentType = null) { } - public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { } - public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb, Sentry.SentryHint hint) { } - public void AddEventProcessor(Sentry.Extensibility.ISentryEventProcessor processor) { } - public void AddEventProcessor(System.Func processor) { } - public void AddEventProcessors(System.Collections.Generic.IEnumerable processors) { } - public void AddExceptionProcessor(Sentry.Extensibility.ISentryEventExceptionProcessor processor) { } - public void AddExceptionProcessors(System.Collections.Generic.IEnumerable processors) { } - public void AddTransactionProcessor(Sentry.Extensibility.ISentryTransactionProcessor processor) { } - public void AddTransactionProcessor(System.Func processor) { } - public void AddTransactionProcessors(System.Collections.Generic.IEnumerable processors) { } - public void Apply(Sentry.IEventLike other) { } - public void Apply(Sentry.Scope other) { } - public void Apply(object state) { } - public void Clear() { } - public void ClearAttachments() { } - public void ClearBreadcrumbs() { } - public Sentry.Scope Clone() { } - public System.Collections.Generic.IEnumerable GetAllEventProcessors() { } - public System.Collections.Generic.IEnumerable GetAllExceptionProcessors() { } - public System.Collections.Generic.IEnumerable GetAllTransactionProcessors() { } - public void SetExtra(string key, object? value) { } - public void SetTag(string key, string value) { } - public void UnsetTag(string key) { } - } - public sealed class SdkVersion : Sentry.ISentryJsonSerializable - { - public SdkVersion() { } - public string? Name { get; set; } - public System.Collections.Generic.IEnumerable Packages { get; } - public string? Version { get; set; } - public void AddIntegration(string integration) { } - public void AddPackage(string name, string version) { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SdkVersion FromJson(System.Text.Json.JsonElement json) { } - } - [System.Diagnostics.DebuggerDisplay("{FileName}")] - public class SentryAttachment - { - public SentryAttachment(Sentry.AttachmentType type, Sentry.IAttachmentContent content, string fileName, string? contentType) { } - public Sentry.IAttachmentContent Content { get; } - public string? ContentType { get; } - public string FileName { get; } - public Sentry.AttachmentType Type { get; } - } - public class SentryCheckIn : Sentry.ISentryJsonSerializable - { - public SentryCheckIn(string monitorSlug, Sentry.CheckInStatus status, Sentry.SentryId? sentryId = default) { } - public System.TimeSpan? Duration { get; set; } - public string? Environment { get; set; } - public Sentry.SentryId Id { get; } - public string MonitorSlug { get; } - public string? Release { get; set; } - public Sentry.CheckInStatus Status { get; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - } - public class SentryClient : Sentry.ISentryClient, System.IDisposable - { - public SentryClient(Sentry.SentryOptions options) { } - public bool IsEnabled { get; } - public Sentry.SentryId CaptureCheckIn(string monitorSlug, Sentry.CheckInStatus status, Sentry.SentryId? sentryId = default, System.TimeSpan? duration = default, Sentry.Scope? scope = null, System.Action? configureMonitorOptions = null) { } - public bool CaptureEnvelope(Sentry.Protocol.Envelopes.Envelope envelope) { } - public Sentry.SentryId CaptureEvent(Sentry.SentryEvent? @event, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { } - public void CaptureSession(Sentry.SessionUpdate sessionUpdate) { } - public void CaptureTransaction(Sentry.SentryTransaction transaction) { } - public void CaptureTransaction(Sentry.SentryTransaction transaction, Sentry.Scope? scope, Sentry.SentryHint? hint) { } - public void CaptureUserFeedback(Sentry.UserFeedback userFeedback) { } - public void Dispose() { } - public System.Threading.Tasks.Task FlushAsync(System.TimeSpan timeout) { } - } - public static class SentryClientExtensions - { - public static Sentry.SentryId CaptureException(this Sentry.ISentryClient client, System.Exception ex) { } - public static Sentry.SentryId CaptureMessage(this Sentry.ISentryClient client, string message, Sentry.SentryLevel level = 1) { } - public static void CaptureUserFeedback(this Sentry.ISentryClient client, Sentry.SentryId eventId, string email, string comments, string? name = null) { } - public static void Flush(this Sentry.ISentryClient client) { } - public static void Flush(this Sentry.ISentryClient client, System.TimeSpan timeout) { } - public static System.Threading.Tasks.Task FlushAsync(this Sentry.ISentryClient client) { } - } - public static class SentryConstants - { - public const int DefaultMaxBreadcrumbs = 100; - public const string DisableSdkDsnValue = ""; - public const string Platform = "csharp"; - public const int ProtocolVersion = 7; - } - public sealed class SentryContexts : Sentry.ISentryJsonSerializable, System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable - { - public SentryContexts() { } - public Sentry.Protocol.App App { get; } - public Sentry.Protocol.Browser Browser { get; } - public int Count { get; } - public Sentry.Protocol.Device Device { get; } - public Sentry.Protocol.Gpu Gpu { get; } - public bool IsReadOnly { get; } - public object this[string key] { get; set; } - public System.Collections.Generic.ICollection Keys { get; } - public Sentry.Protocol.OperatingSystem OperatingSystem { get; } - public Sentry.Protocol.Response Response { get; } - public Sentry.Protocol.Runtime Runtime { get; } - public Sentry.Protocol.Trace Trace { get; } - public System.Collections.Generic.ICollection Values { get; } - public void Add(System.Collections.Generic.KeyValuePair item) { } - public void Add(string key, object value) { } - public void Clear() { } - public bool Contains(System.Collections.Generic.KeyValuePair item) { } - public bool ContainsKey(string key) { } - public void CopyTo(System.Collections.Generic.KeyValuePair[] array, int arrayIndex) { } - public System.Collections.Generic.IEnumerator> GetEnumerator() { } - public bool Remove(System.Collections.Generic.KeyValuePair item) { } - public bool Remove(string key) { } - public bool TryGetValue(string key, out object value) { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryContexts FromJson(System.Text.Json.JsonElement json) { } - } - [System.Diagnostics.DebuggerDisplay("{GetType().Name,nq}: {EventId,nq}")] - public sealed class SentryEvent : Sentry.IEventLike, Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISentryJsonSerializable - { - public SentryEvent() { } - public SentryEvent(System.Exception? exception) { } - public System.Collections.Generic.IReadOnlyCollection Breadcrumbs { get; } - public Sentry.SentryContexts Contexts { get; set; } - public System.Collections.Generic.List? DebugImages { get; set; } - public string? Distribution { get; set; } - public string? Environment { get; set; } - public Sentry.SentryId EventId { get; } - public System.Exception? Exception { get; } - public System.Collections.Generic.IReadOnlyDictionary Extra { get; } - public System.Collections.Generic.IReadOnlyList Fingerprint { get; set; } - public Sentry.SentryLevel? Level { get; set; } - public string? Logger { get; set; } - public Sentry.SentryMessage? Message { get; set; } - public System.Collections.Generic.IDictionary Modules { get; } - public string? Platform { get; set; } - public string? Release { get; set; } - public Sentry.SentryRequest Request { get; set; } - public Sentry.SdkVersion Sdk { get; } - public System.Collections.Generic.IEnumerable? SentryExceptions { get; set; } - public System.Collections.Generic.IEnumerable? SentryThreads { get; set; } - public string? ServerName { get; set; } - public System.Collections.Generic.IReadOnlyDictionary Tags { get; } - public System.DateTimeOffset Timestamp { get; } - public string? TransactionName { get; set; } - public Sentry.SentryUser User { get; set; } - public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { } - public void SetExtra(string key, object? value) { } - public void SetTag(string key, string value) { } - public void UnsetTag(string key) { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryEvent FromJson(System.Text.Json.JsonElement json) { } - } - public class SentryGraphQLHttpMessageHandler : Sentry.SentryMessageHandler - { - public SentryGraphQLHttpMessageHandler(System.Net.Http.HttpMessageHandler? innerHandler = null, Sentry.IHub? hub = null) { } - protected override void HandleResponse(System.Net.Http.HttpResponseMessage response, Sentry.ISpan? span, string method, string url) { } - protected override Sentry.ISpan? ProcessRequest(System.Net.Http.HttpRequestMessage request, string method, string url) { } - } - public class SentryHint - { - public SentryHint() { } - public SentryHint(string key, object? value) { } - public System.Collections.Generic.ICollection Attachments { get; } - public System.Collections.Generic.IDictionary Items { get; } - public void AddAttachment(string filePath, Sentry.AttachmentType type = 0, string? contentType = null) { } - public void AddAttachment(byte[] data, string fileName, Sentry.AttachmentType type = 0, string? contentType = null) { } - public static Sentry.SentryHint WithAttachments(params Sentry.SentryAttachment[] attachments) { } - public static Sentry.SentryHint WithAttachments(System.Collections.Generic.IEnumerable attachments) { } - } - public class SentryHttpMessageHandler : Sentry.SentryMessageHandler - { - public SentryHttpMessageHandler() { } - public SentryHttpMessageHandler(Sentry.IHub hub) { } - public SentryHttpMessageHandler(System.Net.Http.HttpMessageHandler innerHandler) { } - public SentryHttpMessageHandler(System.Net.Http.HttpMessageHandler innerHandler, Sentry.IHub hub) { } - protected override void HandleResponse(System.Net.Http.HttpResponseMessage response, Sentry.ISpan? span, string method, string url) { } - protected override Sentry.ISpan? ProcessRequest(System.Net.Http.HttpRequestMessage request, string method, string url) { } - } - public readonly struct SentryId : Sentry.ISentryJsonSerializable, System.IEquatable - { - public static readonly Sentry.SentryId Empty; - public SentryId(System.Guid guid) { } - public bool Equals(Sentry.SentryId other) { } - public override bool Equals(object? obj) { } - public override int GetHashCode() { } - public override string ToString() { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryId Create() { } - public static Sentry.SentryId FromJson(System.Text.Json.JsonElement json) { } - public static Sentry.SentryId Parse(string value) { } - public static System.Guid op_Implicit(Sentry.SentryId sentryId) { } - public static Sentry.SentryId op_Implicit(System.Guid guid) { } - public static bool operator !=(Sentry.SentryId left, Sentry.SentryId right) { } - public static bool operator ==(Sentry.SentryId left, Sentry.SentryId right) { } - } - public enum SentryLevel : short - { - [System.Runtime.Serialization.EnumMember(Value="debug")] - Debug = 0, - [System.Runtime.Serialization.EnumMember(Value="info")] - Info = 1, - [System.Runtime.Serialization.EnumMember(Value="warning")] - Warning = 2, - [System.Runtime.Serialization.EnumMember(Value="error")] - Error = 3, - [System.Runtime.Serialization.EnumMember(Value="fatal")] - Fatal = 4, - } - public sealed class SentryMessage : Sentry.ISentryJsonSerializable - { - public SentryMessage() { } - public string? Formatted { get; set; } - public string? Message { get; set; } - public System.Collections.Generic.IEnumerable? Params { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryMessage FromJson(System.Text.Json.JsonElement json) { } - public static Sentry.SentryMessage op_Implicit(string? message) { } - } - public abstract class SentryMessageHandler : System.Net.Http.DelegatingHandler - { - protected SentryMessageHandler() { } - protected SentryMessageHandler(Sentry.IHub hub) { } - protected SentryMessageHandler(System.Net.Http.HttpMessageHandler innerHandler) { } - protected SentryMessageHandler(System.Net.Http.HttpMessageHandler innerHandler, Sentry.IHub hub) { } - protected abstract void HandleResponse(System.Net.Http.HttpResponseMessage response, Sentry.ISpan? span, string method, string url); - protected abstract Sentry.ISpan? ProcessRequest(System.Net.Http.HttpRequestMessage request, string method, string url); - protected override System.Net.Http.HttpResponseMessage Send(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { } - protected override System.Threading.Tasks.Task SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { } - } - public enum SentryMonitorInterval - { - Year = 0, - Month = 1, - Week = 2, - Day = 3, - Hour = 4, - Minute = 5, - } - public class SentryMonitorOptions : Sentry.ISentryJsonSerializable - { - public System.TimeSpan? CheckInMargin { get; set; } - public int? FailureIssueThreshold { get; set; } - public System.TimeSpan? MaxRuntime { get; set; } - public string? Owner { get; set; } - public int? RecoveryThreshold { get; set; } - public string? TimeZone { get; set; } - public void Interval(string crontab) { } - public void Interval(int interval, Sentry.SentryMonitorInterval unit) { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - } - public class SentryOptions - { - public SentryOptions() { } - [System.CLSCompliant(false)] - public System.Func? AssemblyReader { get; set; } - public bool AttachStacktrace { get; set; } - public bool AutoSessionTracking { get; set; } - public System.TimeSpan AutoSessionTrackingInterval { get; set; } - public Sentry.Extensibility.IBackgroundWorker? BackgroundWorker { get; set; } - public string? CacheDirectoryPath { get; set; } - public bool CaptureFailedRequests { get; set; } - public System.Action? ConfigureClient { get; set; } - public System.Func? CrashedLastRun { get; set; } - public System.Func? CreateHttpMessageHandler { get; set; } - public bool Debug { get; set; } - public System.Net.DecompressionMethods DecompressionMethods { get; set; } - public Sentry.DeduplicateMode DeduplicateMode { get; set; } - public System.Collections.Generic.Dictionary DefaultTags { get; } - public Sentry.StartupTimeDetectionMode DetectStartupTime { get; set; } - public Sentry.SentryLevel DiagnosticLevel { get; set; } - public Sentry.Extensibility.IDiagnosticLogger? DiagnosticLogger { get; set; } - public bool DisableFileWrite { get; set; } - public string? Distribution { get; set; } - public string? Dsn { get; set; } - public bool EnableScopeSync { get; set; } - public bool EnableSpotlight { get; set; } - public string? Environment { get; set; } - public System.Collections.Generic.IList FailedRequestStatusCodes { get; set; } - public System.Collections.Generic.IList FailedRequestTargets { get; set; } - public System.TimeSpan FlushTimeout { get; set; } - public System.Net.IWebProxy? HttpProxy { get; set; } - public System.TimeSpan InitCacheFlushTimeout { get; set; } - public bool IsEnvironmentUser { get; set; } - public bool IsGlobalModeEnabled { get; set; } - public bool JsonPreserveReferences { get; set; } - public long MaxAttachmentSize { get; set; } - public int MaxBreadcrumbs { get; set; } - public int MaxCacheItems { get; set; } - public int MaxQueueItems { get; set; } - public Sentry.Extensibility.INetworkStatusListener? NetworkStatusListener { get; set; } - public double? ProfilesSampleRate { get; set; } - public string? Release { get; set; } - public Sentry.ReportAssembliesMode ReportAssembliesMode { get; set; } - public bool RequestBodyCompressionBuffered { get; set; } - public System.IO.Compression.CompressionLevel RequestBodyCompressionLevel { get; set; } - public float? SampleRate { get; set; } - public Sentry.IScopeObserver? ScopeObserver { get; set; } - public bool SendClientReports { get; set; } - public bool SendDefaultPii { get; set; } - public Sentry.ISentryScopeStateProcessor SentryScopeStateProcessor { get; set; } - public string? ServerName { get; set; } - public System.TimeSpan ShutdownTimeout { get; set; } - public string SpotlightUrl { get; set; } - public Sentry.StackTraceMode StackTraceMode { get; set; } - public System.Collections.Generic.IList TagFilters { get; set; } - public System.Collections.Generic.IList TracePropagationTargets { get; set; } - public double? TracesSampleRate { get; set; } - public System.Func? TracesSampler { get; set; } - public Sentry.Extensibility.ITransport? Transport { get; set; } - public bool UseAsyncFileIO { get; set; } - public void AddEventProcessor(Sentry.Extensibility.ISentryEventProcessor processor) { } - public void AddEventProcessorProvider(System.Func> processorProvider) { } - public void AddEventProcessors(System.Collections.Generic.IEnumerable processors) { } - public void AddExceptionFilter(Sentry.Extensibility.IExceptionFilter exceptionFilter) { } - public void AddExceptionFilterForType() - where TException : System.Exception { } - public void AddExceptionProcessor(Sentry.Extensibility.ISentryEventExceptionProcessor processor) { } - public void AddExceptionProcessorProvider(System.Func> processorProvider) { } - public void AddExceptionProcessors(System.Collections.Generic.IEnumerable processors) { } - public void AddInAppExclude(string prefix) { } - public void AddInAppExclude(System.Text.RegularExpressions.Regex regex) { } - public void AddInAppExcludeRegex(string pattern) { } - public void AddInAppInclude(string prefix) { } - public void AddInAppInclude(System.Text.RegularExpressions.Regex regex) { } - public void AddInAppIncludeRegex(string pattern) { } - public void AddIntegration(Sentry.Integrations.ISdkIntegration integration) { } - public void AddJsonConverter(System.Text.Json.Serialization.JsonConverter converter) { } - public void AddJsonSerializerContext(System.Func contextBuilder) - where T : System.Text.Json.Serialization.JsonSerializerContext { } - public void AddTransactionProcessor(Sentry.Extensibility.ISentryTransactionProcessor processor) { } - public void AddTransactionProcessorProvider(System.Func> processorProvider) { } - public void AddTransactionProcessors(System.Collections.Generic.IEnumerable processors) { } - public void ApplyDefaultTags(Sentry.IHasTags hasTags) { } - public void DisableAppDomainProcessExitFlush() { } - public void DisableAppDomainUnhandledExceptionCapture() { } - public void DisableDiagnosticSourceIntegration() { } - public void DisableDuplicateEventDetection() { } - public void DisableUnobservedTaskExceptionCapture() { } - public void DisableWinUiUnhandledExceptionIntegration() { } - public void EnableHeapDumps(Sentry.HeapDumpTrigger trigger, Sentry.Debouncer? debouncer = null, Sentry.SentryLevel level = 2) { } - public void EnableHeapDumps(short memoryPercentageThreshold, Sentry.Debouncer? debouncer = null, Sentry.SentryLevel level = 2) { } - public System.Collections.Generic.IEnumerable GetAllEventProcessors() { } - public System.Collections.Generic.IEnumerable GetAllExceptionProcessors() { } - public System.Collections.Generic.IEnumerable GetAllTransactionProcessors() { } - public void RemoveEventProcessor() - where TProcessor : Sentry.Extensibility.ISentryEventProcessor { } - public void RemoveExceptionFilter() - where TFilter : Sentry.Extensibility.IExceptionFilter { } - public void RemoveIntegration() - where TIntegration : Sentry.Integrations.ISdkIntegration { } - public void RemoveTransactionProcessor() - where TProcessor : Sentry.Extensibility.ISentryTransactionProcessor { } - public void SetBeforeBreadcrumb(System.Func beforeBreadcrumb) { } - public void SetBeforeBreadcrumb(System.Func beforeBreadcrumb) { } - public void SetBeforeSend(System.Func beforeSend) { } - public void SetBeforeSend(System.Func beforeSend) { } - public void SetBeforeSendTransaction(System.Func beforeSendTransaction) { } - public void SetBeforeSendTransaction(System.Func beforeSendTransaction) { } - public Sentry.SentryOptions UseStackTraceFactory(Sentry.Extensibility.ISentryStackTraceFactory sentryStackTraceFactory) { } - } - public sealed class SentryPackage : Sentry.ISentryJsonSerializable - { - public SentryPackage(string name, string version) { } - public string Name { get; } - public string Version { get; } - public override bool Equals(object? obj) { } - public override int GetHashCode() { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryPackage FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class SentryRequest : Sentry.ISentryJsonSerializable - { - public SentryRequest() { } - public string? ApiTarget { get; set; } - public string? Cookies { get; set; } - public object? Data { get; set; } - public System.Collections.Generic.IDictionary Env { get; } - public System.Collections.Generic.IDictionary Headers { get; } - public string? Method { get; set; } - public System.Collections.Generic.IDictionary Other { get; } - public string? QueryString { get; set; } - public string? Url { get; set; } - public Sentry.SentryRequest Clone() { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryRequest FromJson(System.Text.Json.JsonElement json) { } - } - public static class SentrySdk - { - public static bool IsEnabled { get; } - public static Sentry.SentryId LastEventId { get; } - public static void AddBreadcrumb(Sentry.Breadcrumb breadcrumb, Sentry.SentryHint? hint = null) { } - public static void AddBreadcrumb(string message, string? category = null, string? type = null, System.Collections.Generic.IDictionary? data = null, Sentry.BreadcrumbLevel level = 0) { } - public static void AddBreadcrumb(Sentry.Infrastructure.ISystemClock? clock, string message, string? category = null, string? type = null, System.Collections.Generic.IDictionary? data = null, Sentry.BreadcrumbLevel level = 0) { } - public static void BindClient(Sentry.ISentryClient client) { } - public static void BindException(System.Exception exception, Sentry.ISpan span) { } - public static Sentry.SentryId CaptureCheckIn(string monitorSlug, Sentry.CheckInStatus status, Sentry.SentryId? sentryId = default, System.TimeSpan? duration = default, Sentry.Scope? scope = null, System.Action? configureMonitorOptions = null) { } - public static bool CaptureEnvelope(Sentry.Protocol.Envelopes.Envelope envelope) { } - public static Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, System.Action configureScope) { } - public static Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { } - public static Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.SentryHint? hint, System.Action configureScope) { } - public static Sentry.SentryId CaptureException(System.Exception exception) { } - public static Sentry.SentryId CaptureException(System.Exception exception, System.Action configureScope) { } - public static Sentry.SentryId CaptureMessage(string message, Sentry.SentryLevel level = 1) { } - public static Sentry.SentryId CaptureMessage(string message, System.Action configureScope, Sentry.SentryLevel level = 1) { } - public static void CaptureSession(Sentry.SessionUpdate sessionUpdate) { } - public static void CaptureTransaction(Sentry.SentryTransaction transaction) { } - public static void CaptureTransaction(Sentry.SentryTransaction transaction, Sentry.Scope? scope, Sentry.SentryHint? hint) { } - public static void CaptureUserFeedback(Sentry.UserFeedback userFeedback) { } - public static void CaptureUserFeedback(Sentry.SentryId eventId, string email, string comments, string? name = null) { } - [System.Obsolete("WARNING: This method deliberately causes a crash, and should not be used in a rea" + - "l application.")] - public static void CauseCrash(Sentry.CrashType crashType) { } - public static void Close() { } - public static void ConfigureScope(System.Action configureScope) { } - public static System.Threading.Tasks.Task ConfigureScopeAsync(System.Func configureScope) { } - public static Sentry.TransactionContext ContinueTrace(Sentry.SentryTraceHeader? traceHeader, Sentry.BaggageHeader? baggageHeader, string? name = null, string? operation = null) { } - public static Sentry.TransactionContext ContinueTrace(string? traceHeader, string? baggageHeader, string? name = null, string? operation = null) { } - public static void EndSession(Sentry.SessionEndStatus status = 0) { } - public static void Flush() { } - public static void Flush(System.TimeSpan timeout) { } - public static System.Threading.Tasks.Task FlushAsync() { } - public static System.Threading.Tasks.Task FlushAsync(System.TimeSpan timeout) { } - public static Sentry.BaggageHeader? GetBaggage() { } - public static Sentry.ISpan? GetSpan() { } - public static Sentry.SentryTraceHeader? GetTraceHeader() { } - public static System.IDisposable Init() { } - public static System.IDisposable Init(Sentry.SentryOptions options) { } - public static System.IDisposable Init(System.Action? configureOptions) { } - public static System.IDisposable Init(string? dsn) { } - public static void PauseSession() { } - public static System.IDisposable PushScope() { } - public static System.IDisposable PushScope(TState state) { } - public static void ResumeSession() { } - public static void StartSession() { } - public static Sentry.ITransactionTracer StartTransaction(Sentry.ITransactionContext context) { } - public static Sentry.ITransactionTracer StartTransaction(Sentry.ITransactionContext context, System.Collections.Generic.IReadOnlyDictionary customSamplingContext) { } - public static Sentry.ITransactionTracer StartTransaction(string name, string operation) { } - public static Sentry.ITransactionTracer StartTransaction(string name, string operation, Sentry.SentryTraceHeader traceHeader) { } - public static Sentry.ITransactionTracer StartTransaction(string name, string operation, string? description) { } - } - public class SentrySession : Sentry.ISentrySession - { - public SentrySession(string? distinctId, string release, string? environment) { } - public string? DistinctId { get; } - public string? Environment { get; } - public int ErrorCount { get; } - public Sentry.SentryId Id { get; } - public string? IpAddress { get; } - public string Release { get; } - public System.DateTimeOffset StartTimestamp { get; } - public string? UserAgent { get; } - public void ReportError() { } - } - public class SentrySpan : Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISentryJsonSerializable, Sentry.ISpanData, Sentry.Protocol.ITraceContext - { - public SentrySpan(Sentry.ISpan tracer) { } - public SentrySpan(Sentry.SpanId? parentSpanId, string operation) { } - public string? Description { get; set; } - public System.DateTimeOffset? EndTimestamp { get; } - public System.Collections.Generic.IReadOnlyDictionary Extra { get; } - public bool IsFinished { get; } - public bool? IsSampled { get; } - public System.Collections.Generic.IReadOnlyDictionary Measurements { get; } - public string Operation { get; set; } - public string? Origin { get; } - public Sentry.SpanId? ParentSpanId { get; } - public Sentry.SpanId SpanId { get; } - public System.DateTimeOffset StartTimestamp { get; } - public Sentry.SpanStatus? Status { get; set; } - public System.Collections.Generic.IReadOnlyDictionary Tags { get; } - public Sentry.SentryId TraceId { get; } - public Sentry.SentryTraceHeader GetTraceHeader() { } - public void SetExtra(string key, object? value) { } - public void SetMeasurement(string name, Sentry.Protocol.Measurement measurement) { } - public void SetTag(string key, string value) { } - public void UnsetTag(string key) { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentrySpan FromJson(System.Text.Json.JsonElement json) { } - } - [System.Diagnostics.DebuggerDisplay("{Function}")] - public sealed class SentryStackFrame : Sentry.ISentryJsonSerializable - { - public SentryStackFrame() { } - public string? AbsolutePath { get; set; } - public string? AddressMode { get; set; } - public int? ColumnNumber { get; set; } - public string? ContextLine { get; set; } - public string? FileName { get; set; } - public System.Collections.Generic.IList FramesOmitted { get; } - public string? Function { get; set; } - public long? FunctionId { get; set; } - public long? ImageAddress { get; set; } - public bool? InApp { get; set; } - public long? InstructionAddress { get; set; } - public int? LineNumber { get; set; } - public string? Module { get; set; } - public string? Package { get; set; } - public string? Platform { get; set; } - public System.Collections.Generic.IList PostContext { get; } - public System.Collections.Generic.IList PreContext { get; } - public long? SymbolAddress { get; set; } - public System.Collections.Generic.IDictionary Vars { get; } - public void ConfigureAppFrame(Sentry.SentryOptions options) { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryStackFrame FromJson(System.Text.Json.JsonElement json) { } - } - public class SentryStackTrace : Sentry.ISentryJsonSerializable - { - public SentryStackTrace() { } - public Sentry.InstructionAddressAdjustment? AddressAdjustment { get; set; } - public System.Collections.Generic.IList Frames { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryStackTrace FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class SentryThread : Sentry.ISentryJsonSerializable - { - public SentryThread() { } - public bool? Crashed { get; set; } - public bool? Current { get; set; } - public int? Id { get; set; } - public string? Name { get; set; } - public Sentry.SentryStackTrace? Stacktrace { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryThread FromJson(System.Text.Json.JsonElement json) { } - } - public class SentryTraceHeader - { - public SentryTraceHeader(Sentry.SentryId traceId, Sentry.SpanId spanSpanId, bool? isSampled) { } - public bool? IsSampled { get; } - public Sentry.SpanId SpanId { get; } - public Sentry.SentryId TraceId { get; } - public override string ToString() { } - public static Sentry.SentryTraceHeader? Parse(string value) { } - } - public class SentryTransaction : Sentry.IEventLike, Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISentryJsonSerializable, Sentry.ISpanData, Sentry.ITransactionContext, Sentry.ITransactionData, Sentry.Protocol.ITraceContext - { - public SentryTransaction(Sentry.ITransactionTracer tracer) { } - public SentryTransaction(string name, string operation) { } - public SentryTransaction(string name, string operation, Sentry.TransactionNameSource nameSource) { } - public System.Collections.Generic.IReadOnlyCollection Breadcrumbs { get; } - public Sentry.SentryContexts Contexts { get; set; } - public string? Description { get; set; } - public string? Distribution { get; set; } - public System.DateTimeOffset? EndTimestamp { get; } - public string? Environment { get; set; } - public Sentry.SentryId EventId { get; } - public System.Collections.Generic.IReadOnlyDictionary Extra { get; } - public System.Collections.Generic.IReadOnlyList Fingerprint { get; set; } - public bool IsFinished { get; } - public bool? IsParentSampled { get; set; } - public bool? IsSampled { get; } - public Sentry.SentryLevel? Level { get; set; } - public System.Collections.Generic.IReadOnlyDictionary Measurements { get; } - public string Name { get; } - public Sentry.TransactionNameSource NameSource { get; } - public string Operation { get; } - public string? Origin { get; } - public Sentry.SpanId? ParentSpanId { get; } - public string? Platform { get; set; } - public string? Release { get; set; } - public Sentry.SentryRequest Request { get; set; } - public double? SampleRate { get; } - public Sentry.SdkVersion Sdk { get; } - public Sentry.SpanId SpanId { get; } - public System.Collections.Generic.IReadOnlyCollection Spans { get; } - public System.DateTimeOffset StartTimestamp { get; } - public Sentry.SpanStatus? Status { get; } - public System.Collections.Generic.IReadOnlyDictionary Tags { get; } - public Sentry.SentryId TraceId { get; } - public Sentry.SentryUser User { get; set; } - public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { } - public Sentry.SentryTraceHeader GetTraceHeader() { } - public void SetExtra(string key, object? value) { } - public void SetMeasurement(string name, Sentry.Protocol.Measurement measurement) { } - public void SetTag(string key, string value) { } - public void UnsetTag(string key) { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryTransaction FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class SentryUser : Sentry.ISentryJsonSerializable - { - public SentryUser() { } - public string? Email { get; set; } - public string? Id { get; set; } - public string? IpAddress { get; set; } - public System.Collections.Generic.IDictionary Other { get; set; } - public string? Username { get; set; } - public Sentry.SentryUser Clone() { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { } - public static Sentry.SentryUser FromJson(System.Text.Json.JsonElement json) { } - } - public enum SessionEndStatus - { - Exited = 0, - Crashed = 1, - Abnormal = 2, - } - public class SessionUpdate : Sentry.ISentryJsonSerializable, Sentry.ISentrySession - { - public SessionUpdate(Sentry.SessionUpdate sessionUpdate, bool isInitial) { } - public SessionUpdate(Sentry.SessionUpdate sessionUpdate, bool isInitial, Sentry.SessionEndStatus? endStatus) { } - public SessionUpdate(Sentry.ISentrySession session, bool isInitial, System.DateTimeOffset timestamp, int sequenceNumber, Sentry.SessionEndStatus? endStatus) { } - public SessionUpdate(Sentry.SentryId id, string? distinctId, System.DateTimeOffset startTimestamp, string release, string? environment, string? ipAddress, string? userAgent, int errorCount, bool isInitial, System.DateTimeOffset timestamp, int sequenceNumber, Sentry.SessionEndStatus? endStatus) { } - public string? DistinctId { get; } - public System.TimeSpan Duration { get; } - public Sentry.SessionEndStatus? EndStatus { get; } - public string? Environment { get; } - public int ErrorCount { get; } - public Sentry.SentryId Id { get; } - public string? IpAddress { get; } - public bool IsInitial { get; } - public string Release { get; } - public int SequenceNumber { get; } - public System.DateTimeOffset StartTimestamp { get; } - public System.DateTimeOffset Timestamp { get; } - public string? UserAgent { get; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SessionUpdate FromJson(System.Text.Json.JsonElement json) { } - } - public class SpanContext : Sentry.Protocol.ITraceContext - { - public SpanContext(string operation, Sentry.SpanId? spanId = default, Sentry.SpanId? parentSpanId = default, Sentry.SentryId? traceId = default, string? description = null, Sentry.SpanStatus? status = default, bool? isSampled = default) { } - public string? Description { get; } - public Sentry.Instrumenter Instrumenter { get; } - public bool? IsSampled { get; } - public string Operation { get; set; } - public string? Origin { get; } - public Sentry.SpanId? ParentSpanId { get; } - public Sentry.SpanId SpanId { get; } - public Sentry.SpanStatus? Status { get; } - public Sentry.SentryId TraceId { get; } - } - public static class SpanDataExtensions - { - public static void SetMeasurement(this Sentry.ISpanData spanData, string name, double value, Sentry.MeasurementUnit unit = default) { } - public static void SetMeasurement(this Sentry.ISpanData spanData, string name, int value, Sentry.MeasurementUnit unit = default) { } - public static void SetMeasurement(this Sentry.ISpanData spanData, string name, long value, Sentry.MeasurementUnit unit = default) { } - [System.CLSCompliant(false)] - public static void SetMeasurement(this Sentry.ISpanData spanData, string name, ulong value, Sentry.MeasurementUnit unit = default) { } - } - public static class SpanExtensions - { - public static Sentry.ITransactionTracer GetTransaction(this Sentry.ISpan span) { } - public static Sentry.ISpan StartChild(this Sentry.ISpan span, string operation, string? description) { } - } - public readonly struct SpanId : Sentry.ISentryJsonSerializable, System.IEquatable - { - public static readonly Sentry.SpanId Empty; - public SpanId(long value) { } - public SpanId(string value) { } - public bool Equals(Sentry.SpanId other) { } - public override bool Equals(object? obj) { } - public override int GetHashCode() { } - public override string ToString() { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { } - public static Sentry.SpanId Create() { } - public static Sentry.SpanId FromJson(System.Text.Json.JsonElement json) { } - public static Sentry.SpanId Parse(string value) { } - public static string op_Implicit(Sentry.SpanId id) { } - public static bool operator !=(Sentry.SpanId left, Sentry.SpanId right) { } - public static bool operator ==(Sentry.SpanId left, Sentry.SpanId right) { } - } - public enum SpanStatus - { - Ok = 0, - DeadlineExceeded = 1, - Unauthenticated = 2, - PermissionDenied = 3, - NotFound = 4, - ResourceExhausted = 5, - InvalidArgument = 6, - Unimplemented = 7, - Unavailable = 8, - InternalError = 9, - UnknownError = 10, - Cancelled = 11, - AlreadyExists = 12, - FailedPrecondition = 13, - Aborted = 14, - OutOfRange = 15, - DataLoss = 16, - } - public class SpanTracer : Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISpan, Sentry.ISpanData, Sentry.Protocol.ITraceContext - { - public SpanTracer(Sentry.IHub hub, Sentry.TransactionTracer transaction, Sentry.SpanId? parentSpanId, Sentry.SentryId traceId, string operation) { } - public string? Description { get; set; } - public System.DateTimeOffset? EndTimestamp { get; } - public System.Collections.Generic.IReadOnlyDictionary Extra { get; } - public bool IsFinished { get; } - public bool? IsSampled { get; } - public System.Collections.Generic.IReadOnlyDictionary Measurements { get; } - public string Operation { get; set; } - public string? Origin { get; } - public Sentry.SpanId? ParentSpanId { get; } - public Sentry.SpanId SpanId { get; } - public System.DateTimeOffset StartTimestamp { get; } - public Sentry.SpanStatus? Status { get; set; } - public System.Collections.Generic.IReadOnlyDictionary Tags { get; } - public Sentry.SentryId TraceId { get; } - public void Finish() { } - public void Finish(Sentry.SpanStatus status) { } - public void Finish(System.Exception exception) { } - public void Finish(System.Exception exception, Sentry.SpanStatus status) { } - public Sentry.SentryTraceHeader GetTraceHeader() { } - public void SetExtra(string key, object? value) { } - public void SetMeasurement(string name, Sentry.Protocol.Measurement measurement) { } - public void SetTag(string key, string value) { } - public Sentry.ISpan StartChild(string operation) { } - public void UnsetTag(string key) { } - } - public enum StackTraceMode - { - Original = 0, - Enhanced = 1, - } - public enum StartupTimeDetectionMode - { - None = 0, - Fast = 1, - Best = 2, - } - public class StreamAttachmentContent : Sentry.IAttachmentContent - { - public StreamAttachmentContent(System.IO.Stream stream) { } - public System.IO.Stream GetStream() { } - } - [System.ComponentModel.TypeConverter(typeof(Sentry.StringOrRegexTypeConverter))] - public class StringOrRegex - { - public StringOrRegex(string stringOrRegex) { } - public StringOrRegex(System.Text.RegularExpressions.Regex regex) { } - public override bool Equals(object? obj) { } - public override int GetHashCode() { } - public override string ToString() { } - public static Sentry.StringOrRegex op_Implicit(string stringOrRegex) { } - public static Sentry.StringOrRegex op_Implicit(System.Text.RegularExpressions.Regex regex) { } - } - public class TransactionContext : Sentry.SpanContext, Sentry.ITransactionContext, Sentry.Protocol.ITraceContext - { - public TransactionContext(string name, string operation, Sentry.SpanId? spanId = default, Sentry.SpanId? parentSpanId = default, Sentry.SentryId? traceId = default, string? description = "", Sentry.SpanStatus? status = default, bool? isSampled = default, bool? isParentSampled = default, Sentry.TransactionNameSource nameSource = 0) { } - public bool? IsParentSampled { get; } - public string Name { get; set; } - public Sentry.TransactionNameSource NameSource { get; set; } - } - public enum TransactionNameSource - { - Custom = 0, - Url = 1, - Route = 2, - View = 3, - Component = 4, - Task = 5, - } - public class TransactionSamplingContext - { - public TransactionSamplingContext(Sentry.ITransactionContext transactionContext, System.Collections.Generic.IReadOnlyDictionary customSamplingContext) { } - public System.Collections.Generic.IReadOnlyDictionary CustomSamplingContext { get; } - public Sentry.ITransactionContext TransactionContext { get; } - } - public class TransactionTracer : Sentry.IEventLike, Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISpan, Sentry.ISpanData, Sentry.ITransactionContext, Sentry.ITransactionData, Sentry.ITransactionTracer, Sentry.Protocol.ITraceContext - { - public TransactionTracer(Sentry.IHub hub, Sentry.ITransactionContext context) { } - public System.Collections.Generic.IReadOnlyCollection Breadcrumbs { get; } - public Sentry.SentryContexts Contexts { get; set; } - public string? Description { get; set; } - public string? Distribution { get; set; } - public System.DateTimeOffset? EndTimestamp { get; } - public string? Environment { get; set; } - public System.Collections.Generic.IReadOnlyDictionary Extra { get; } - public System.Collections.Generic.IReadOnlyList Fingerprint { get; set; } - public bool IsFinished { get; } - public bool? IsParentSampled { get; set; } - public bool? IsSampled { get; } - public Sentry.SentryLevel? Level { get; set; } - public System.Collections.Generic.IReadOnlyDictionary Measurements { get; } - public string Name { get; set; } - public Sentry.TransactionNameSource NameSource { get; set; } - public string Operation { get; set; } - public string? Origin { get; } - public Sentry.SpanId? ParentSpanId { get; } - public string? Platform { get; set; } - public string? Release { get; set; } - public Sentry.SentryRequest Request { get; set; } - public double? SampleRate { get; } - public Sentry.SdkVersion Sdk { get; } - public Sentry.SpanId SpanId { get; } - public System.Collections.Generic.IReadOnlyCollection Spans { get; } - public System.DateTimeOffset StartTimestamp { get; } - public Sentry.SpanStatus? Status { get; set; } - public System.Collections.Generic.IReadOnlyDictionary Tags { get; } - public Sentry.SentryId TraceId { get; } - public Sentry.SentryUser User { get; set; } - public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { } - public void Finish() { } - public void Finish(Sentry.SpanStatus status) { } - public void Finish(System.Exception exception) { } - public void Finish(System.Exception exception, Sentry.SpanStatus status) { } - public Sentry.ISpan? GetLastActiveSpan() { } - public Sentry.SentryTraceHeader GetTraceHeader() { } - public void SetExtra(string key, object? value) { } - public void SetMeasurement(string name, Sentry.Protocol.Measurement measurement) { } - public void SetTag(string key, string value) { } - public Sentry.ISpan StartChild(string operation) { } - public void UnsetTag(string key) { } - } - public sealed class UserFeedback : Sentry.ISentryJsonSerializable - { - public UserFeedback(Sentry.SentryId eventId, string? name, string? email, string? comments) { } - public string? Comments { get; } - public string? Email { get; } - public Sentry.SentryId EventId { get; } - public string? Name { get; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.UserFeedback FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class ViewHierarchy : Sentry.ISentryJsonSerializable - { - public ViewHierarchy(string renderingSystem) { } - public string RenderingSystem { get; set; } - public System.Collections.Generic.List Windows { get; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - } - public class ViewHierarchyAttachment : Sentry.SentryAttachment - { - public ViewHierarchyAttachment(Sentry.IAttachmentContent content) { } - } - public abstract class ViewHierarchyNode : Sentry.ISentryJsonSerializable - { - protected ViewHierarchyNode(string type) { } - public System.Collections.Generic.List Children { get; set; } - public string Type { get; set; } - protected abstract void WriteAdditionalProperties(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger); - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - } -} -namespace Sentry.Ben.BlockingDetector -{ - public class SuppressBlockingDetection : System.IDisposable - { - public SuppressBlockingDetection() { } - public void Dispose() { } - } -} -namespace Sentry.Extensibility -{ - public abstract class BaseRequestPayloadExtractor : Sentry.Extensibility.IRequestPayloadExtractor - { - protected BaseRequestPayloadExtractor() { } - protected abstract object? DoExtractPayLoad(Sentry.Extensibility.IHttpRequest request); - public object? ExtractPayload(Sentry.Extensibility.IHttpRequest request) { } - protected abstract bool IsSupported(Sentry.Extensibility.IHttpRequest request); - } - public class DefaultRequestPayloadExtractor : Sentry.Extensibility.BaseRequestPayloadExtractor - { - public DefaultRequestPayloadExtractor() { } - protected override object? DoExtractPayLoad(Sentry.Extensibility.IHttpRequest request) { } - protected override bool IsSupported(Sentry.Extensibility.IHttpRequest request) { } - } - public static class DiagnosticLoggerExtensions - { - public static void LogDebug(this Sentry.Extensibility.IDiagnosticLogger logger, string message) { } - public static void LogDebug(this Sentry.Extensibility.IDiagnosticLogger logger, string message, TArg arg) { } - public static void LogDebug(this Sentry.Extensibility.IDiagnosticLogger logger, string message, TArg arg, TArg2 arg2) { } - public static void LogError(this Sentry.Extensibility.IDiagnosticLogger logger, string message) { } - public static void LogError(this Sentry.Extensibility.IDiagnosticLogger logger, System.Exception exception, string message) { } - public static void LogError(this Sentry.Extensibility.IDiagnosticLogger logger, string message, TArg arg) { } - public static void LogError(this Sentry.Extensibility.IDiagnosticLogger logger, System.Exception exception, string message, TArg arg) { } - public static void LogError(this Sentry.Extensibility.IDiagnosticLogger logger, System.Exception exception, string message, TArg arg, TArg2 arg2) { } - public static void LogError(this Sentry.Extensibility.IDiagnosticLogger logger, System.Exception exception, string message, TArg arg, TArg2 arg2, TArg3 arg3) { } - public static void LogError(this Sentry.Extensibility.IDiagnosticLogger logger, System.Exception exception, string message, TArg arg, TArg2 arg2, TArg3 arg3, TArg4 arg4) { } - public static void LogFatal(this Sentry.Extensibility.IDiagnosticLogger logger, string message) { } - public static void LogFatal(this Sentry.Extensibility.IDiagnosticLogger logger, System.Exception exception, string message) { } - public static void LogInfo(this Sentry.Extensibility.IDiagnosticLogger logger, string message) { } - public static void LogInfo(this Sentry.Extensibility.IDiagnosticLogger logger, string message, TArg arg) { } - public static void LogInfo(this Sentry.Extensibility.IDiagnosticLogger logger, string message, TArg arg, TArg2 arg2) { } - public static void LogInfo(this Sentry.Extensibility.IDiagnosticLogger logger, string message, TArg arg, TArg2 arg2, TArg3 arg3) { } - public static void LogWarning(this Sentry.Extensibility.IDiagnosticLogger logger, string message) { } - public static void LogWarning(this Sentry.Extensibility.IDiagnosticLogger logger, System.Exception exception, string message) { } - public static void LogWarning(this Sentry.Extensibility.IDiagnosticLogger logger, string message, TArg arg) { } - public static void LogWarning(this Sentry.Extensibility.IDiagnosticLogger logger, string message, TArg arg, TArg2 arg2) { } - } - public class DisabledHub : Sentry.IHub, Sentry.ISentryClient, Sentry.ISentryScopeManager, System.IDisposable - { - public static readonly Sentry.Extensibility.DisabledHub Instance; - public bool IsEnabled { get; } - public Sentry.SentryId LastEventId { get; } - public void BindClient(Sentry.ISentryClient client) { } - public void BindException(System.Exception exception, Sentry.ISpan span) { } - public Sentry.SentryId CaptureCheckIn(string monitorSlug, Sentry.CheckInStatus status, Sentry.SentryId? sentryId = default, System.TimeSpan? duration = default, Sentry.Scope? scope = null, System.Action? configureMonitorOptions = null) { } - public bool CaptureEnvelope(Sentry.Protocol.Envelopes.Envelope envelope) { } - public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, System.Action configureScope) { } - public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { } - public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.SentryHint? hint, System.Action configureScope) { } - public void CaptureSession(Sentry.SessionUpdate sessionUpdate) { } - public void CaptureTransaction(Sentry.SentryTransaction transaction) { } - public void CaptureTransaction(Sentry.SentryTransaction transaction, Sentry.Scope? scope, Sentry.SentryHint? hint) { } - public void CaptureUserFeedback(Sentry.UserFeedback userFeedback) { } - public void ConfigureScope(System.Action configureScope) { } - public System.Threading.Tasks.Task ConfigureScopeAsync(System.Func configureScope) { } - public Sentry.TransactionContext ContinueTrace(Sentry.SentryTraceHeader? traceHeader, Sentry.BaggageHeader? baggageHeader, string? name = null, string? operation = null) { } - public Sentry.TransactionContext ContinueTrace(string? traceHeader, string? baggageHeader, string? name = null, string? operation = null) { } - public void Dispose() { } - public void EndSession(Sentry.SessionEndStatus status = 0) { } - public System.Threading.Tasks.Task FlushAsync(System.TimeSpan timeout) { } - public Sentry.BaggageHeader? GetBaggage() { } - public Sentry.ISpan? GetSpan() { } - public Sentry.SentryTraceHeader? GetTraceHeader() { } - public void PauseSession() { } - public System.IDisposable PushScope() { } - public System.IDisposable PushScope(TState state) { } - public void ResumeSession() { } - public void StartSession() { } - public Sentry.ITransactionTracer StartTransaction(Sentry.ITransactionContext context, System.Collections.Generic.IReadOnlyDictionary customSamplingContext) { } - } - public class FormRequestPayloadExtractor : Sentry.Extensibility.BaseRequestPayloadExtractor - { - public FormRequestPayloadExtractor() { } - protected override object? DoExtractPayLoad(Sentry.Extensibility.IHttpRequest request) { } - protected override bool IsSupported(Sentry.Extensibility.IHttpRequest request) { } - } - public sealed class HubAdapter : Sentry.IHub, Sentry.ISentryClient, Sentry.ISentryScopeManager - { - public static readonly Sentry.Extensibility.HubAdapter Instance; - public bool IsEnabled { get; } - public Sentry.SentryId LastEventId { get; } - public void AddBreadcrumb(string message, string? category = null, string? type = null, System.Collections.Generic.IDictionary? data = null, Sentry.BreadcrumbLevel level = 0) { } - public void AddBreadcrumb(Sentry.Infrastructure.ISystemClock clock, string message, string? category = null, string? type = null, System.Collections.Generic.IDictionary? data = null, Sentry.BreadcrumbLevel level = 0) { } - public void BindClient(Sentry.ISentryClient client) { } - public void BindException(System.Exception exception, Sentry.ISpan span) { } - public Sentry.SentryId CaptureCheckIn(string monitorSlug, Sentry.CheckInStatus status, Sentry.SentryId? sentryId = default, System.TimeSpan? duration = default, Sentry.Scope? scope = null, System.Action? monitorOptions = null) { } - public bool CaptureEnvelope(Sentry.Protocol.Envelopes.Envelope envelope) { } - public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt) { } - public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Scope? scope) { } - public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, System.Action configureScope) { } - public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Scope? scope, Sentry.SentryHint? hint = null) { } - public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.SentryHint? hint, System.Action configureScope) { } - public Sentry.SentryId CaptureException(System.Exception exception) { } - public void CaptureSession(Sentry.SessionUpdate sessionUpdate) { } - public void CaptureTransaction(Sentry.SentryTransaction transaction) { } - public void CaptureTransaction(Sentry.SentryTransaction transaction, Sentry.Scope? scope, Sentry.SentryHint? hint) { } - public void CaptureUserFeedback(Sentry.UserFeedback sentryUserFeedback) { } - public void ConfigureScope(System.Action configureScope) { } - public System.Threading.Tasks.Task ConfigureScopeAsync(System.Func configureScope) { } - public Sentry.TransactionContext ContinueTrace(Sentry.SentryTraceHeader? traceHeader, Sentry.BaggageHeader? baggageHeader, string? name = null, string? operation = null) { } - public Sentry.TransactionContext ContinueTrace(string? traceHeader, string? baggageHeader, string? name = null, string? operation = null) { } - public void EndSession(Sentry.SessionEndStatus status = 0) { } - public System.Threading.Tasks.Task FlushAsync(System.TimeSpan timeout) { } - public Sentry.BaggageHeader? GetBaggage() { } - public Sentry.ISpan? GetSpan() { } - public Sentry.SentryTraceHeader? GetTraceHeader() { } - public void PauseSession() { } - public System.IDisposable PushScope() { } - public System.IDisposable PushScope(TState state) { } - public void ResumeSession() { } - public void StartSession() { } - public Sentry.ITransactionTracer StartTransaction(Sentry.ITransactionContext context, System.Collections.Generic.IReadOnlyDictionary customSamplingContext) { } - } - public interface IBackgroundWorker - { - int QueuedItems { get; } - bool EnqueueEnvelope(Sentry.Protocol.Envelopes.Envelope envelope); - System.Threading.Tasks.Task FlushAsync(System.TimeSpan timeout); - } - public interface IDiagnosticLogger - { - bool IsEnabled(Sentry.SentryLevel level); - void Log(Sentry.SentryLevel logLevel, string message, System.Exception? exception = null, params object?[] args); - } - public interface IExceptionFilter - { - bool Filter(System.Exception ex); - } - public interface IHttpRequest - { - System.IO.Stream? Body { get; } - long? ContentLength { get; } - string? ContentType { get; } - System.Collections.Generic.IEnumerable>>? Form { get; } - } - public interface INetworkStatusListener - { - bool Online { get; } - System.Threading.Tasks.Task WaitForNetworkOnlineAsync(System.Threading.CancellationToken cancellationToken); - } - public interface IRequestPayloadExtractor - { - object? ExtractPayload(Sentry.Extensibility.IHttpRequest request); - } - public interface ISentryEventExceptionProcessor - { - void Process(System.Exception exception, Sentry.SentryEvent sentryEvent); - } - public interface ISentryEventProcessor - { - Sentry.SentryEvent? Process(Sentry.SentryEvent @event); - } - public interface ISentryEventProcessorWithHint : Sentry.Extensibility.ISentryEventProcessor - { - Sentry.SentryEvent? Process(Sentry.SentryEvent @event, Sentry.SentryHint hint); - } - public interface ISentryStackTraceFactory - { - Sentry.SentryStackTrace? Create(System.Exception? exception = null); - } - public interface ISentryTransactionProcessor - { - Sentry.SentryTransaction? Process(Sentry.SentryTransaction transaction); - } - public interface ISentryTransactionProcessorWithHint : Sentry.Extensibility.ISentryTransactionProcessor - { - Sentry.SentryTransaction? Process(Sentry.SentryTransaction transaction, Sentry.SentryHint hint); - } - public interface ITransport - { - System.Threading.Tasks.Task SendEnvelopeAsync(Sentry.Protocol.Envelopes.Envelope envelope, System.Threading.CancellationToken cancellationToken = default); - } - public class RequestBodyExtractionDispatcher : Sentry.Extensibility.IRequestPayloadExtractor - { - public RequestBodyExtractionDispatcher(System.Collections.Generic.IEnumerable extractors, Sentry.SentryOptions options, System.Func sizeSwitch) { } - public object? ExtractPayload(Sentry.Extensibility.IHttpRequest request) { } - } - public enum RequestSize - { - None = 0, - Small = 1, - Medium = 2, - Always = 3, - } - public abstract class SentryEventExceptionProcessor : Sentry.Extensibility.ISentryEventExceptionProcessor - where TException : System.Exception - { - protected SentryEventExceptionProcessor() { } - public void Process(System.Exception? exception, Sentry.SentryEvent sentryEvent) { } - protected abstract void ProcessException(TException exception, Sentry.SentryEvent sentryEvent); - } - public sealed class SentryStackTraceFactory : Sentry.Extensibility.ISentryStackTraceFactory - { - public SentryStackTraceFactory(Sentry.SentryOptions options) { } - public Sentry.SentryStackTrace? Create(System.Exception? exception = null) { } - } -} -namespace Sentry.Http -{ - public abstract class HttpTransportBase - { - protected HttpTransportBase(Sentry.SentryOptions options, System.Func? getEnvironmentVariable = null, Sentry.Infrastructure.ISystemClock? clock = null) { } - protected virtual System.Net.Http.HttpRequestMessage CreateRequest(Sentry.Protocol.Envelopes.Envelope envelope) { } - protected void HandleResponse(System.Net.Http.HttpResponseMessage response, Sentry.Protocol.Envelopes.Envelope envelope) { } - protected System.Threading.Tasks.Task HandleResponseAsync(System.Net.Http.HttpResponseMessage response, Sentry.Protocol.Envelopes.Envelope envelope, System.Threading.CancellationToken cancellationToken) { } - protected Sentry.Protocol.Envelopes.Envelope ProcessEnvelope(Sentry.Protocol.Envelopes.Envelope envelope) { } - protected System.IO.Stream ReadStreamFromHttpContent(System.Net.Http.HttpContent content) { } - } - public interface ISentryHttpClientFactory - { - System.Net.Http.HttpClient Create(Sentry.SentryOptions options); - } -} -namespace Sentry.Infrastructure -{ - public class ConsoleAndTraceDiagnosticLogger : Sentry.Infrastructure.DiagnosticLogger - { - public ConsoleAndTraceDiagnosticLogger(Sentry.SentryLevel minimalLevel) { } - protected override void LogMessage(string message) { } - } - public class ConsoleDiagnosticLogger : Sentry.Infrastructure.DiagnosticLogger - { - public ConsoleDiagnosticLogger(Sentry.SentryLevel minimalLevel) { } - protected override void LogMessage(string message) { } - } - public abstract class DiagnosticLogger : Sentry.Extensibility.IDiagnosticLogger - { - protected DiagnosticLogger(Sentry.SentryLevel minimalLevel) { } - public bool IsEnabled(Sentry.SentryLevel level) { } - public void Log(Sentry.SentryLevel logLevel, string message, System.Exception? exception = null, params object?[] args) { } - protected abstract void LogMessage(string message); - } - public class FileDiagnosticLogger : Sentry.Infrastructure.DiagnosticLogger - { - public FileDiagnosticLogger(string path, bool alsoWriteToConsole = false) { } - public FileDiagnosticLogger(string path, Sentry.SentryLevel minimalLevel, bool alsoWriteToConsole = false) { } - protected override void LogMessage(string message) { } - } - public interface ISystemClock - { - System.DateTimeOffset GetUtcNow(); - } - public sealed class SystemClock : Sentry.Infrastructure.ISystemClock - { - public static readonly Sentry.Infrastructure.SystemClock Clock; - public System.DateTimeOffset GetUtcNow() { } - } - public class TraceDiagnosticLogger : Sentry.Infrastructure.DiagnosticLogger - { - public TraceDiagnosticLogger(Sentry.SentryLevel minimalLevel) { } - protected override void LogMessage(string message) { } - } -} -namespace Sentry.Integrations -{ - public interface ISdkIntegration - { - void Register(Sentry.IHub hub, Sentry.SentryOptions options); - } -} -namespace Sentry.PlatformAbstractions -{ - public static class FrameworkInfo - { - public static System.Collections.Generic.IReadOnlyDictionary NetFxReleaseVersionMap { get; } - public static System.Collections.Generic.IEnumerable GetInstallations() { } - public static Sentry.PlatformAbstractions.FrameworkInstallation? GetLatest(int clr) { } - } - public class FrameworkInstallation - { - public FrameworkInstallation() { } - public Sentry.PlatformAbstractions.FrameworkProfile? Profile { get; set; } - public int? Release { get; set; } - public int? ServicePack { get; set; } - public string? ShortName { get; set; } - public System.Version? Version { get; set; } - public override string ToString() { } - } - public enum FrameworkProfile - { - Client = 0, - Full = 1, - } - public class SentryRuntime : System.IEquatable - { - public SentryRuntime(string? name = null, string? version = null, string? raw = null, string? identifier = null) { } - public string? Identifier { get; } - public string? Name { get; } - public string? Raw { get; } - public string? Version { get; } - public static Sentry.PlatformAbstractions.SentryRuntime Current { get; } - public bool Equals(Sentry.PlatformAbstractions.SentryRuntime? other) { } - public override bool Equals(object? obj) { } - public override int GetHashCode() { } - public override string? ToString() { } - } - public static class SentryRuntimeExtensions - { - public static bool IsMono(this Sentry.PlatformAbstractions.SentryRuntime runtime) { } - public static bool IsNetCore(this Sentry.PlatformAbstractions.SentryRuntime runtime) { } - public static bool IsNetFx(this Sentry.PlatformAbstractions.SentryRuntime runtime) { } - } -} -namespace Sentry.Protocol -{ - public sealed class App : Sentry.ISentryJsonSerializable - { - public const string Type = "app"; - public App() { } - public string? Build { get; set; } - public string? BuildType { get; set; } - public string? Hash { get; set; } - public string? Identifier { get; set; } - public bool? InForeground { get; set; } - public string? Name { get; set; } - public System.DateTimeOffset? StartTime { get; set; } - public string? Version { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { } - public static Sentry.Protocol.App FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class Browser : Sentry.ISentryJsonSerializable - { - public const string Type = "browser"; - public Browser() { } - public string? Name { get; set; } - public string? Version { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { } - public static Sentry.Protocol.Browser FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class DebugImage : Sentry.ISentryJsonSerializable - { - public DebugImage() { } - public string? CodeFile { get; set; } - public string? CodeId { get; set; } - public string? DebugChecksum { get; set; } - public string? DebugFile { get; set; } - public string? DebugId { get; set; } - public long? ImageAddress { get; set; } - public long? ImageSize { get; set; } - public string? Type { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.Protocol.DebugImage FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class Device : Sentry.ISentryJsonSerializable - { - public const string Type = "device"; - public Device() { } - public string? Architecture { get; set; } - public float? BatteryLevel { get; set; } - public string? BatteryStatus { get; set; } - public System.DateTimeOffset? BootTime { get; set; } - public string? Brand { get; set; } - public string? CpuDescription { get; set; } - public string? DeviceType { get; set; } - public string? DeviceUniqueIdentifier { get; set; } - public long? ExternalFreeStorage { get; set; } - public long? ExternalStorageSize { get; set; } - public string? Family { get; set; } - public long? FreeMemory { get; set; } - public long? FreeStorage { get; set; } - public bool? IsCharging { get; set; } - public bool? IsOnline { get; set; } - public bool? LowMemory { get; set; } - public string? Manufacturer { get; set; } - public long? MemorySize { get; set; } - public string? Model { get; set; } - public string? ModelId { get; set; } - public string? Name { get; set; } - public Sentry.Protocol.DeviceOrientation? Orientation { get; set; } - public int? ProcessorCount { get; set; } - public float? ProcessorFrequency { get; set; } - public float? ScreenDensity { get; set; } - public int? ScreenDpi { get; set; } - public string? ScreenResolution { get; set; } - public bool? Simulator { get; set; } - public long? StorageSize { get; set; } - public bool? SupportsAccelerometer { get; set; } - public bool? SupportsAudio { get; set; } - public bool? SupportsGyroscope { get; set; } - public bool? SupportsLocationService { get; set; } - public bool? SupportsVibration { get; set; } - public System.TimeZoneInfo? Timezone { get; set; } - public long? UsableMemory { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { } - public static Sentry.Protocol.Device FromJson(System.Text.Json.JsonElement json) { } - } - public enum DeviceOrientation - { - [System.Runtime.Serialization.EnumMember(Value="portrait")] - Portrait = 0, - [System.Runtime.Serialization.EnumMember(Value="landscape")] - Landscape = 1, - } - public sealed class Gpu : Sentry.ISentryJsonSerializable - { - public const string Type = "gpu"; - public Gpu() { } - public string? ApiType { get; set; } - public string? GraphicsShaderLevel { get; set; } - public int? Id { get; set; } - public int? MaxTextureSize { get; set; } - public int? MemorySize { get; set; } - public bool? MultiThreadedRendering { get; set; } - public string? Name { get; set; } - public string? NpotSupport { get; set; } - public bool? SupportsComputeShaders { get; set; } - public bool? SupportsDrawCallInstancing { get; set; } - public bool? SupportsGeometryShaders { get; set; } - public bool? SupportsRayTracing { get; set; } - public string? VendorId { get; set; } - public string? VendorName { get; set; } - public string? Version { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { } - public static Sentry.Protocol.Gpu FromJson(System.Text.Json.JsonElement json) { } - } - public interface ITraceContext - { - string? Description { get; } - bool? IsSampled { get; } - string Operation { get; } - string? Origin { get; } - Sentry.SpanId? ParentSpanId { get; } - Sentry.SpanId SpanId { get; } - Sentry.SpanStatus? Status { get; } - Sentry.SentryId TraceId { get; } - } - public sealed class Measurement : Sentry.ISentryJsonSerializable - { - public Sentry.MeasurementUnit Unit { get; } - public object Value { get; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.Protocol.Measurement FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class Mechanism : Sentry.ISentryJsonSerializable - { - public static readonly string DescriptionKey; - public static readonly string HandledKey; - public static readonly string MechanismKey; - public Mechanism() { } - public System.Collections.Generic.IDictionary Data { get; } - public string? Description { get; set; } - public int? ExceptionId { get; set; } - public bool? Handled { get; set; } - public string? HelpLink { get; set; } - public bool IsExceptionGroup { get; set; } - public System.Collections.Generic.IDictionary Meta { get; } - public int? ParentId { get; set; } - public string? Source { get; set; } - public bool Synthetic { get; set; } - public string Type { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.Protocol.Mechanism FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class OperatingSystem : Sentry.ISentryJsonSerializable - { - public const string Type = "os"; - public OperatingSystem() { } - public string? Build { get; set; } - public string? KernelVersion { get; set; } - public string? Name { get; set; } - public string? RawDescription { get; set; } - public bool? Rooted { get; set; } - public string? Version { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { } - public static Sentry.Protocol.OperatingSystem FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class Response : Sentry.ISentryJsonSerializable - { - public const string Type = "response"; - public Response() { } - public long? BodySize { get; set; } - public string? Cookies { get; set; } - public object? Data { get; set; } - public System.Collections.Generic.IDictionary Headers { get; } - public short? StatusCode { get; set; } - public Sentry.Protocol.Response Clone() { } - public void UpdateFrom(Sentry.Protocol.Response source) { } - public void UpdateFrom(object source) { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.Protocol.Response FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class Runtime : Sentry.ISentryJsonSerializable - { - public const string Type = "runtime"; - public Runtime() { } - public string? Build { get; set; } - public string? Identifier { get; set; } - public string? Name { get; set; } - public string? RawDescription { get; set; } - public string? Version { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { } - public static Sentry.Protocol.Runtime FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class SentryException : Sentry.ISentryJsonSerializable - { - public SentryException() { } - public Sentry.Protocol.Mechanism? Mechanism { get; set; } - public string? Module { get; set; } - public Sentry.SentryStackTrace? Stacktrace { get; set; } - public int ThreadId { get; set; } - public string? Type { get; set; } - public string? Value { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.Protocol.SentryException FromJson(System.Text.Json.JsonElement json) { } - } - public class Trace : Sentry.ISentryJsonSerializable, Sentry.Protocol.ITraceContext - { - public const string Type = "trace"; - public Trace() { } - public string? Description { get; set; } - public bool? IsSampled { get; } - public string Operation { get; set; } - public string? Origin { get; } - public Sentry.SpanId? ParentSpanId { get; set; } - public Sentry.SpanId SpanId { get; set; } - public Sentry.SpanStatus? Status { get; set; } - public Sentry.SentryId TraceId { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.Protocol.Trace FromJson(System.Text.Json.JsonElement json) { } - } -} -namespace Sentry.Protocol.Envelopes -{ - public sealed class Envelope : Sentry.Protocol.Envelopes.ISerializable, System.IDisposable - { - public Envelope(System.Collections.Generic.IReadOnlyDictionary header, System.Collections.Generic.IReadOnlyList items) { } - public System.Collections.Generic.IReadOnlyDictionary Header { get; } - public System.Collections.Generic.IReadOnlyList Items { get; } - public void Dispose() { } - public void Serialize(System.IO.Stream stream, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public System.Threading.Tasks.Task SerializeAsync(System.IO.Stream stream, Sentry.Extensibility.IDiagnosticLogger? logger, System.Threading.CancellationToken cancellationToken = default) { } - public Sentry.SentryId? TryGetEventId() { } - public static System.Threading.Tasks.Task DeserializeAsync(System.IO.Stream stream, System.Threading.CancellationToken cancellationToken = default) { } - public static Sentry.Protocol.Envelopes.Envelope FromCheckIn(Sentry.SentryCheckIn checkIn) { } - public static Sentry.Protocol.Envelopes.Envelope FromEvent(Sentry.SentryEvent @event, Sentry.Extensibility.IDiagnosticLogger? logger = null, System.Collections.Generic.IReadOnlyCollection? attachments = null, Sentry.SessionUpdate? sessionUpdate = null) { } - public static Sentry.Protocol.Envelopes.Envelope FromSession(Sentry.SessionUpdate sessionUpdate) { } - public static Sentry.Protocol.Envelopes.Envelope FromTransaction(Sentry.SentryTransaction transaction) { } - public static Sentry.Protocol.Envelopes.Envelope FromUserFeedback(Sentry.UserFeedback sentryUserFeedback) { } - } - public sealed class EnvelopeItem : Sentry.Protocol.Envelopes.ISerializable, System.IDisposable - { - public EnvelopeItem(System.Collections.Generic.IReadOnlyDictionary header, Sentry.Protocol.Envelopes.ISerializable payload) { } - public System.Collections.Generic.IReadOnlyDictionary Header { get; } - public Sentry.Protocol.Envelopes.ISerializable Payload { get; } - public void Dispose() { } - public void Serialize(System.IO.Stream stream, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public System.Threading.Tasks.Task SerializeAsync(System.IO.Stream stream, Sentry.Extensibility.IDiagnosticLogger? logger, System.Threading.CancellationToken cancellationToken = default) { } - public string? TryGetFileName() { } - public long? TryGetLength() { } - public string? TryGetType() { } - public static System.Threading.Tasks.Task DeserializeAsync(System.IO.Stream stream, System.Threading.CancellationToken cancellationToken = default) { } - public static Sentry.Protocol.Envelopes.EnvelopeItem FromAttachment(Sentry.SentryAttachment attachment) { } - public static Sentry.Protocol.Envelopes.EnvelopeItem FromCheckIn(Sentry.SentryCheckIn checkIn) { } - public static Sentry.Protocol.Envelopes.EnvelopeItem FromEvent(Sentry.SentryEvent @event) { } - public static Sentry.Protocol.Envelopes.EnvelopeItem FromSession(Sentry.SessionUpdate sessionUpdate) { } - public static Sentry.Protocol.Envelopes.EnvelopeItem FromTransaction(Sentry.SentryTransaction transaction) { } - public static Sentry.Protocol.Envelopes.EnvelopeItem FromUserFeedback(Sentry.UserFeedback sentryUserFeedback) { } - } - public interface ISerializable - { - void Serialize(System.IO.Stream stream, Sentry.Extensibility.IDiagnosticLogger? logger); - System.Threading.Tasks.Task SerializeAsync(System.IO.Stream stream, Sentry.Extensibility.IDiagnosticLogger? logger, System.Threading.CancellationToken cancellationToken = default); - } -} -namespace Sentry.Reflection -{ - public static class AssemblyExtensions - { - public static Sentry.SdkVersion GetNameAndVersion(this System.Reflection.Assembly asm) { } - } -} -public static class SentryExceptionExtensions -{ - public static void AddSentryContext(this System.Exception ex, string name, System.Collections.Generic.IReadOnlyDictionary data) { } - public static void AddSentryTag(this System.Exception ex, string name, string value) { } - public static void SetSentryMechanism(this System.Exception ex, string type, string? description = null, bool? handled = default) { } -} \ No newline at end of file diff --git a/test/Sentry.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt b/test/Sentry.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt deleted file mode 100644 index bb10750b76..0000000000 --- a/test/Sentry.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt +++ /dev/null @@ -1,1812 +0,0 @@ -[assembly: System.CLSCompliant(true)] -namespace Sentry -{ - public enum AttachmentType - { - Default = 0, - Minidump = 1, - AppleCrashReport = 2, - UnrealContext = 3, - UnrealLogs = 4, - ViewHierarchy = 5, - } - public class BaggageHeader - { - public override string ToString() { } - } - [System.Diagnostics.DebuggerDisplay("Message: {Message}, Type: {Type}")] - public sealed class Breadcrumb : Sentry.ISentryJsonSerializable - { - public Breadcrumb(string message, string type, System.Collections.Generic.IReadOnlyDictionary? data = null, string? category = null, Sentry.BreadcrumbLevel level = 0) { } - public string? Category { get; } - public System.Collections.Generic.IReadOnlyDictionary? Data { get; } - public Sentry.BreadcrumbLevel Level { get; } - public string? Message { get; } - public System.DateTimeOffset Timestamp { get; } - public string? Type { get; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.Breadcrumb FromJson(System.Text.Json.JsonElement json) { } - } - public enum BreadcrumbLevel - { - [System.Runtime.Serialization.EnumMember(Value="debug")] - Debug = -1, - [System.Runtime.Serialization.EnumMember(Value="info")] - Info = 0, - [System.Runtime.Serialization.EnumMember(Value="warning")] - Warning = 1, - [System.Runtime.Serialization.EnumMember(Value="error")] - Error = 2, - [System.Runtime.Serialization.EnumMember(Value="critical")] - Critical = 3, - } - public static class BuiltInSystemDiagnosticsMeters - { - public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreDiagnostics; - public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreHeaderParsing; - public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreHosting; - public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreHttpConnections; - public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreRateLimiting; - public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreRouting; - public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreServerKestrel; - public static readonly Sentry.StringOrRegex MicrosoftExtensionsDiagnosticsHealthChecks; - public static readonly Sentry.StringOrRegex MicrosoftExtensionsDiagnosticsResourceMonitoring; - public static readonly Sentry.StringOrRegex OpenTelemetryInstrumentationRuntime; - public static readonly Sentry.StringOrRegex SystemNetHttp; - public static readonly Sentry.StringOrRegex SystemNetNameResolution; - public static System.Collections.Generic.IList All { get; } - } - public class ByteAttachmentContent : Sentry.IAttachmentContent - { - public ByteAttachmentContent(byte[] bytes) { } - public System.IO.Stream GetStream() { } - } - public enum CheckInStatus - { - InProgress = 0, - Ok = 1, - Error = 2, - } - [System.Obsolete("WARNING: This method deliberately causes a crash, and should not be used in a rea" + - "l application.")] - public enum CrashType - { - Managed = 0, - ManagedBackgroundThread = 1, - } - public class Debouncer - { - public static Sentry.Debouncer PerApplicationLifetime(int eventMaximum = 1, System.TimeSpan? cooldown = default) { } - public static Sentry.Debouncer PerDay(int eventMaximum = 1, System.TimeSpan? cooldown = default) { } - public static Sentry.Debouncer PerHour(int eventMaximum = 1, System.TimeSpan? cooldown = default) { } - public static Sentry.Debouncer PerMinute(int eventMaximum = 1, System.TimeSpan? cooldown = default) { } - } - [System.Flags] - public enum DeduplicateMode - { - SameEvent = 1, - SameExceptionInstance = 2, - InnerException = 4, - AggregateException = 8, - All = 2147483647, - } - public class DefaultSentryScopeStateProcessor : Sentry.ISentryScopeStateProcessor - { - public DefaultSentryScopeStateProcessor() { } - public void Apply(Sentry.Scope scope, object state) { } - } - [System.AttributeUsage(System.AttributeTargets.Assembly)] - public class DsnAttribute : System.Attribute - { - public DsnAttribute(string dsn) { } - public string Dsn { get; } - } - public static class EventLikeExtensions - { - public static void AddBreadcrumb(this Sentry.IEventLike eventLike, string message, string? category, string? type, System.ValueTuple? dataPair = default, Sentry.BreadcrumbLevel level = 0) { } - public static void AddBreadcrumb(this Sentry.IEventLike eventLike, string message, string? category = null, string? type = null, System.Collections.Generic.IReadOnlyDictionary? data = null, Sentry.BreadcrumbLevel level = 0) { } - public static void AddBreadcrumb(this Sentry.IEventLike eventLike, System.DateTimeOffset? timestamp, string message, string? category = null, string? type = null, System.Collections.Generic.IReadOnlyDictionary? data = null, Sentry.BreadcrumbLevel level = 0) { } - public static bool HasUser(this Sentry.IEventLike eventLike) { } - public static void SetFingerprint(this Sentry.IEventLike eventLike, System.Collections.Generic.IEnumerable fingerprint) { } - public static void SetFingerprint(this Sentry.IEventLike eventLike, params string[] fingerprint) { } - } - public class ExperimentalMetricsOptions - { - public ExperimentalMetricsOptions() { } - public System.Collections.Generic.IList CaptureSystemDiagnosticsInstruments { get; set; } - public System.Collections.Generic.IList CaptureSystemDiagnosticsMeters { get; set; } - public bool EnableCodeLocations { get; set; } - } - public class FileAttachmentContent : Sentry.IAttachmentContent - { - public FileAttachmentContent(string filePath) { } - public FileAttachmentContent(string filePath, bool readFileAsynchronously) { } - public System.IO.Stream GetStream() { } - } - public static class HasExtraExtensions - { - public static void SetExtras(this Sentry.IHasExtra hasExtra, System.Collections.Generic.IEnumerable> values) { } - } - public static class HasTagsExtensions - { - public static void SetTags(this Sentry.IHasTags hasTags, System.Collections.Generic.IEnumerable> tags) { } - } - public delegate bool HeapDumpTrigger(long usedMemory, long totalMemory); - public static class HintTypes - { - public const string HttpResponseMessage = "http-response-message"; - } - public readonly struct HttpStatusCodeRange : System.IEquatable - { - public HttpStatusCodeRange(int statusCode) { } - public HttpStatusCodeRange(int start, int end) { } - public int End { get; init; } - public int Start { get; init; } - public bool Contains(int statusCode) { } - public bool Contains(System.Net.HttpStatusCode statusCode) { } - public static Sentry.HttpStatusCodeRange op_Implicit(int statusCode) { } - public static Sentry.HttpStatusCodeRange op_Implicit(System.Net.HttpStatusCode statusCode) { } - public static Sentry.HttpStatusCodeRange op_Implicit([System.Runtime.CompilerServices.TupleElementNames(new string[] { - "Start", - "End"})] System.ValueTuple range) { } - public static Sentry.HttpStatusCodeRange op_Implicit([System.Runtime.CompilerServices.TupleElementNames(new string[] { - "start", - "end"})] System.ValueTuple range) { } - } - public static class HubExtensions - { - public static void AddBreadcrumb(this Sentry.IHub hub, Sentry.Breadcrumb breadcrumb, Sentry.SentryHint? hint = null) { } - public static void AddBreadcrumb(this Sentry.IHub hub, string message, string? category = null, string? type = null, System.Collections.Generic.IDictionary? data = null, Sentry.BreadcrumbLevel level = 0) { } - public static void AddBreadcrumb(this Sentry.IHub hub, Sentry.Infrastructure.ISystemClock? clock, string message, string? category = null, string? type = null, System.Collections.Generic.IDictionary? data = null, Sentry.BreadcrumbLevel level = 0) { } - public static Sentry.SentryId CaptureException(this Sentry.IHub hub, System.Exception ex, System.Action configureScope) { } - public static Sentry.SentryId CaptureMessage(this Sentry.IHub hub, string message, System.Action configureScope, Sentry.SentryLevel level = 1) { } - public static void LockScope(this Sentry.IHub hub) { } - public static System.IDisposable PushAndLockScope(this Sentry.IHub hub) { } - public static Sentry.ITransactionTracer StartTransaction(this Sentry.IHub hub, Sentry.ITransactionContext context) { } - public static Sentry.ITransactionTracer StartTransaction(this Sentry.IHub hub, string name, string operation) { } - public static Sentry.ITransactionTracer StartTransaction(this Sentry.IHub hub, string name, string operation, Sentry.SentryTraceHeader traceHeader) { } - public static Sentry.ITransactionTracer StartTransaction(this Sentry.IHub hub, string name, string operation, string? description) { } - public static void UnlockScope(this Sentry.IHub hub) { } - } - public interface IAttachmentContent - { - System.IO.Stream GetStream(); - } - public interface IEventLike : Sentry.IHasExtra, Sentry.IHasTags - { - System.Collections.Generic.IReadOnlyCollection Breadcrumbs { get; } - Sentry.SentryContexts Contexts { get; set; } - string? Distribution { get; set; } - string? Environment { get; set; } - System.Collections.Generic.IReadOnlyList Fingerprint { get; set; } - Sentry.SentryLevel? Level { get; set; } - string? Release { get; set; } - Sentry.SentryRequest Request { get; set; } - Sentry.SdkVersion Sdk { get; } - string? TransactionName { get; set; } - Sentry.SentryUser User { get; set; } - void AddBreadcrumb(Sentry.Breadcrumb breadcrumb); - } - public interface IHasExtra - { - System.Collections.Generic.IReadOnlyDictionary Extra { get; } - void SetExtra(string key, object? value); - } - public interface IHasTags - { - System.Collections.Generic.IReadOnlyDictionary Tags { get; } - void SetTag(string key, string value); - void UnsetTag(string key); - } - public interface IHub : Sentry.ISentryClient, Sentry.ISentryScopeManager - { - Sentry.SentryId LastEventId { get; } - void BindException(System.Exception exception, Sentry.ISpan span); - Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, System.Action configureScope); - Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.SentryHint? hint, System.Action configureScope); - Sentry.TransactionContext ContinueTrace(Sentry.SentryTraceHeader? traceHeader, Sentry.BaggageHeader? baggageHeader, string? name = null, string? operation = null); - Sentry.TransactionContext ContinueTrace(string? traceHeader, string? baggageHeader, string? name = null, string? operation = null); - void EndSession(Sentry.SessionEndStatus status = 0); - Sentry.BaggageHeader? GetBaggage(); - Sentry.ISpan? GetSpan(); - Sentry.SentryTraceHeader? GetTraceHeader(); - void PauseSession(); - void ResumeSession(); - void StartSession(); - Sentry.ITransactionTracer StartTransaction(Sentry.ITransactionContext context, System.Collections.Generic.IReadOnlyDictionary customSamplingContext); - } - public interface IScopeObserver - { - void AddBreadcrumb(Sentry.Breadcrumb breadcrumb); - void SetExtra(string key, object? value); - void SetTag(string key, string value); - void SetUser(Sentry.SentryUser? user); - void UnsetTag(string key); - } - public interface ISentryClient - { - bool IsEnabled { get; } - Sentry.SentryId CaptureCheckIn(string monitorSlug, Sentry.CheckInStatus status, Sentry.SentryId? sentryId = default, System.TimeSpan? duration = default, Sentry.Scope? scope = null, System.Action? configureMonitorOptions = null); - bool CaptureEnvelope(Sentry.Protocol.Envelopes.Envelope envelope); - Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null); - void CaptureSession(Sentry.SessionUpdate sessionUpdate); - void CaptureTransaction(Sentry.SentryTransaction transaction); - void CaptureTransaction(Sentry.SentryTransaction transaction, Sentry.Scope? scope, Sentry.SentryHint? hint); - void CaptureUserFeedback(Sentry.UserFeedback userFeedback); - System.Threading.Tasks.Task FlushAsync(System.TimeSpan timeout); - } - public interface ISentryJsonSerializable - { - void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger); - } - public interface ISentryScopeManager - { - void BindClient(Sentry.ISentryClient client); - void ConfigureScope(System.Action configureScope); - System.Threading.Tasks.Task ConfigureScopeAsync(System.Func configureScope); - System.IDisposable PushScope(); - System.IDisposable PushScope(TState state); - } - public interface ISentryScopeStateProcessor - { - void Apply(Sentry.Scope scope, object state); - } - public interface ISentrySession - { - string? DistinctId { get; } - string? Environment { get; } - int ErrorCount { get; } - Sentry.SentryId Id { get; } - string? IpAddress { get; } - string Release { get; } - System.DateTimeOffset StartTimestamp { get; } - string? UserAgent { get; } - } - public interface ISentryUserFactory - { - Sentry.SentryUser? Create(); - } - public interface ISpan : Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISpanData, Sentry.Protocol.ITraceContext - { - new string? Description { get; set; } - new string Operation { get; set; } - new Sentry.SpanStatus? Status { get; set; } - void Finish(); - void Finish(Sentry.SpanStatus status); - void Finish(System.Exception exception); - void Finish(System.Exception exception, Sentry.SpanStatus status); - Sentry.ISpan StartChild(string operation); - } - public interface ISpanData : Sentry.IHasExtra, Sentry.IHasTags, Sentry.Protocol.ITraceContext - { - System.DateTimeOffset? EndTimestamp { get; } - bool IsFinished { get; } - System.Collections.Generic.IReadOnlyDictionary Measurements { get; } - System.DateTimeOffset StartTimestamp { get; } - Sentry.SentryTraceHeader GetTraceHeader(); - void SetMeasurement(string name, Sentry.Protocol.Measurement measurement); - } - public interface ITransactionContext : Sentry.Protocol.ITraceContext - { - bool? IsParentSampled { get; } - string Name { get; } - Sentry.TransactionNameSource NameSource { get; } - } - public interface ITransactionData : Sentry.IEventLike, Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISpanData, Sentry.ITransactionContext, Sentry.Protocol.ITraceContext - { - string? Platform { get; set; } - } - public interface ITransactionTracer : Sentry.IEventLike, Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISpan, Sentry.ISpanData, Sentry.ITransactionContext, Sentry.ITransactionData, Sentry.Protocol.ITraceContext - { - new bool? IsParentSampled { get; set; } - new string Name { get; set; } - System.Collections.Generic.IReadOnlyCollection Spans { get; } - Sentry.ISpan? GetLastActiveSpan(); - } - public enum InstructionAddressAdjustment - { - Auto = 0, - All = 1, - AllButFirst = 2, - None = 3, - } - public enum Instrumenter - { - Sentry = 0, - OpenTelemetry = 1, - } - public readonly struct MeasurementUnit : System.IEquatable - { - public static Sentry.MeasurementUnit None; - public bool Equals(Sentry.MeasurementUnit other) { } - public override bool Equals(object? obj) { } - public override int GetHashCode() { } - public override string ToString() { } - public static Sentry.MeasurementUnit Custom(string name) { } - public static Sentry.MeasurementUnit op_Implicit(Sentry.MeasurementUnit.Duration unit) { } - public static Sentry.MeasurementUnit op_Implicit(Sentry.MeasurementUnit.Fraction unit) { } - public static Sentry.MeasurementUnit op_Implicit(Sentry.MeasurementUnit.Information unit) { } - public static bool operator !=(Sentry.MeasurementUnit left, Sentry.MeasurementUnit right) { } - public static bool operator ==(Sentry.MeasurementUnit left, Sentry.MeasurementUnit right) { } - public enum Duration - { - Nanosecond = 0, - Microsecond = 1, - Millisecond = 2, - Second = 3, - Minute = 4, - Hour = 5, - Day = 6, - Week = 7, - } - public enum Fraction - { - Ratio = 0, - Percent = 1, - } - public enum Information - { - Bit = 0, - Byte = 1, - Kilobyte = 2, - Kibibyte = 3, - Megabyte = 4, - Mebibyte = 5, - Gigabyte = 6, - Gibibyte = 7, - Terabyte = 8, - Tebibyte = 9, - Petabyte = 10, - Pebibyte = 11, - Exabyte = 12, - Exbibyte = 13, - } - } - public enum ReportAssembliesMode - { - None = 0, - Version = 1, - InformationalVersion = 2, - } - public class Scope : Sentry.IEventLike, Sentry.IHasExtra, Sentry.IHasTags - { - public Scope(Sentry.SentryOptions? options) { } - public System.Collections.Generic.IReadOnlyCollection Attachments { get; } - public System.Collections.Generic.IReadOnlyCollection Breadcrumbs { get; } - public Sentry.SentryContexts Contexts { get; set; } - public string? Distribution { get; set; } - public string? Environment { get; set; } - public System.Collections.Generic.IReadOnlyDictionary Extra { get; } - public System.Collections.Generic.IReadOnlyList Fingerprint { get; set; } - public Sentry.SentryLevel? Level { get; set; } - public string? Release { get; set; } - public Sentry.SentryRequest Request { get; set; } - public Sentry.SdkVersion Sdk { get; } - public Sentry.ISpan? Span { get; set; } - public System.Collections.Generic.IReadOnlyDictionary Tags { get; } - public Sentry.ITransactionTracer? Transaction { get; set; } - public string? TransactionName { get; set; } - public Sentry.SentryUser User { get; set; } - public void AddAttachment(Sentry.SentryAttachment attachment) { } - public void AddAttachment(string filePath, Sentry.AttachmentType type = 0, string? contentType = null) { } - public void AddAttachment(byte[] data, string fileName, Sentry.AttachmentType type = 0, string? contentType = null) { } - public void AddAttachment(System.IO.Stream stream, string fileName, Sentry.AttachmentType type = 0, string? contentType = null) { } - public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { } - public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb, Sentry.SentryHint hint) { } - public void AddEventProcessor(Sentry.Extensibility.ISentryEventProcessor processor) { } - public void AddEventProcessor(System.Func processor) { } - public void AddEventProcessors(System.Collections.Generic.IEnumerable processors) { } - public void AddExceptionProcessor(Sentry.Extensibility.ISentryEventExceptionProcessor processor) { } - public void AddExceptionProcessors(System.Collections.Generic.IEnumerable processors) { } - public void AddTransactionProcessor(Sentry.Extensibility.ISentryTransactionProcessor processor) { } - public void AddTransactionProcessor(System.Func processor) { } - public void AddTransactionProcessors(System.Collections.Generic.IEnumerable processors) { } - public void Apply(Sentry.IEventLike other) { } - public void Apply(Sentry.Scope other) { } - public void Apply(object state) { } - public void Clear() { } - public void ClearAttachments() { } - public void ClearBreadcrumbs() { } - public Sentry.Scope Clone() { } - public System.Collections.Generic.IEnumerable GetAllEventProcessors() { } - public System.Collections.Generic.IEnumerable GetAllExceptionProcessors() { } - public System.Collections.Generic.IEnumerable GetAllTransactionProcessors() { } - public void SetExtra(string key, object? value) { } - public void SetTag(string key, string value) { } - public void UnsetTag(string key) { } - } - public sealed class SdkVersion : Sentry.ISentryJsonSerializable - { - public SdkVersion() { } - public string? Name { get; set; } - public System.Collections.Generic.IEnumerable Packages { get; } - public string? Version { get; set; } - public void AddIntegration(string integration) { } - public void AddPackage(string name, string version) { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SdkVersion FromJson(System.Text.Json.JsonElement json) { } - } - [System.Diagnostics.DebuggerDisplay("{FileName}")] - public class SentryAttachment - { - public SentryAttachment(Sentry.AttachmentType type, Sentry.IAttachmentContent content, string fileName, string? contentType) { } - public Sentry.IAttachmentContent Content { get; } - public string? ContentType { get; } - public string FileName { get; } - public Sentry.AttachmentType Type { get; } - } - public class SentryCheckIn : Sentry.ISentryJsonSerializable - { - public SentryCheckIn(string monitorSlug, Sentry.CheckInStatus status, Sentry.SentryId? sentryId = default) { } - public System.TimeSpan? Duration { get; set; } - public string? Environment { get; set; } - public Sentry.SentryId Id { get; } - public string MonitorSlug { get; } - public string? Release { get; set; } - public Sentry.CheckInStatus Status { get; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - } - public class SentryClient : Sentry.ISentryClient, System.IDisposable - { - public SentryClient(Sentry.SentryOptions options) { } - public bool IsEnabled { get; } - public Sentry.SentryId CaptureCheckIn(string monitorSlug, Sentry.CheckInStatus status, Sentry.SentryId? sentryId = default, System.TimeSpan? duration = default, Sentry.Scope? scope = null, System.Action? configureMonitorOptions = null) { } - public bool CaptureEnvelope(Sentry.Protocol.Envelopes.Envelope envelope) { } - public Sentry.SentryId CaptureEvent(Sentry.SentryEvent? @event, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { } - public void CaptureSession(Sentry.SessionUpdate sessionUpdate) { } - public void CaptureTransaction(Sentry.SentryTransaction transaction) { } - public void CaptureTransaction(Sentry.SentryTransaction transaction, Sentry.Scope? scope, Sentry.SentryHint? hint) { } - public void CaptureUserFeedback(Sentry.UserFeedback userFeedback) { } - public void Dispose() { } - public System.Threading.Tasks.Task FlushAsync(System.TimeSpan timeout) { } - } - public static class SentryClientExtensions - { - public static Sentry.SentryId CaptureException(this Sentry.ISentryClient client, System.Exception ex) { } - public static Sentry.SentryId CaptureMessage(this Sentry.ISentryClient client, string message, Sentry.SentryLevel level = 1) { } - public static void CaptureUserFeedback(this Sentry.ISentryClient client, Sentry.SentryId eventId, string email, string comments, string? name = null) { } - public static void Flush(this Sentry.ISentryClient client) { } - public static void Flush(this Sentry.ISentryClient client, System.TimeSpan timeout) { } - public static System.Threading.Tasks.Task FlushAsync(this Sentry.ISentryClient client) { } - } - public static class SentryConstants - { - public const int DefaultMaxBreadcrumbs = 100; - public const string DisableSdkDsnValue = ""; - public const string Platform = "csharp"; - public const int ProtocolVersion = 7; - } - public sealed class SentryContexts : Sentry.ISentryJsonSerializable, System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable - { - public SentryContexts() { } - public Sentry.Protocol.App App { get; } - public Sentry.Protocol.Browser Browser { get; } - public int Count { get; } - public Sentry.Protocol.Device Device { get; } - public Sentry.Protocol.Gpu Gpu { get; } - public bool IsReadOnly { get; } - public object this[string key] { get; set; } - public System.Collections.Generic.ICollection Keys { get; } - public Sentry.Protocol.OperatingSystem OperatingSystem { get; } - public Sentry.Protocol.Response Response { get; } - public Sentry.Protocol.Runtime Runtime { get; } - public Sentry.Protocol.Trace Trace { get; } - public System.Collections.Generic.ICollection Values { get; } - public void Add(System.Collections.Generic.KeyValuePair item) { } - public void Add(string key, object value) { } - public void Clear() { } - public bool Contains(System.Collections.Generic.KeyValuePair item) { } - public bool ContainsKey(string key) { } - public void CopyTo(System.Collections.Generic.KeyValuePair[] array, int arrayIndex) { } - public System.Collections.Generic.IEnumerator> GetEnumerator() { } - public bool Remove(System.Collections.Generic.KeyValuePair item) { } - public bool Remove(string key) { } - public bool TryGetValue(string key, out object value) { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryContexts FromJson(System.Text.Json.JsonElement json) { } - } - [System.Diagnostics.DebuggerDisplay("{GetType().Name,nq}: {EventId,nq}")] - public sealed class SentryEvent : Sentry.IEventLike, Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISentryJsonSerializable - { - public SentryEvent() { } - public SentryEvent(System.Exception? exception) { } - public System.Collections.Generic.IReadOnlyCollection Breadcrumbs { get; } - public Sentry.SentryContexts Contexts { get; set; } - public System.Collections.Generic.List? DebugImages { get; set; } - public string? Distribution { get; set; } - public string? Environment { get; set; } - public Sentry.SentryId EventId { get; } - public System.Exception? Exception { get; } - public System.Collections.Generic.IReadOnlyDictionary Extra { get; } - public System.Collections.Generic.IReadOnlyList Fingerprint { get; set; } - public Sentry.SentryLevel? Level { get; set; } - public string? Logger { get; set; } - public Sentry.SentryMessage? Message { get; set; } - public System.Collections.Generic.IDictionary Modules { get; } - public string? Platform { get; set; } - public string? Release { get; set; } - public Sentry.SentryRequest Request { get; set; } - public Sentry.SdkVersion Sdk { get; } - public System.Collections.Generic.IEnumerable? SentryExceptions { get; set; } - public System.Collections.Generic.IEnumerable? SentryThreads { get; set; } - public string? ServerName { get; set; } - public System.Collections.Generic.IReadOnlyDictionary Tags { get; } - public System.DateTimeOffset Timestamp { get; } - public string? TransactionName { get; set; } - public Sentry.SentryUser User { get; set; } - public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { } - public void SetExtra(string key, object? value) { } - public void SetTag(string key, string value) { } - public void UnsetTag(string key) { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryEvent FromJson(System.Text.Json.JsonElement json) { } - } - public class SentryGraphQLHttpMessageHandler : Sentry.SentryMessageHandler - { - public SentryGraphQLHttpMessageHandler(System.Net.Http.HttpMessageHandler? innerHandler = null, Sentry.IHub? hub = null) { } - protected override void HandleResponse(System.Net.Http.HttpResponseMessage response, Sentry.ISpan? span, string method, string url) { } - protected override Sentry.ISpan? ProcessRequest(System.Net.Http.HttpRequestMessage request, string method, string url) { } - } - public class SentryHint - { - public SentryHint() { } - public SentryHint(string key, object? value) { } - public System.Collections.Generic.ICollection Attachments { get; } - public System.Collections.Generic.IDictionary Items { get; } - public void AddAttachment(string filePath, Sentry.AttachmentType type = 0, string? contentType = null) { } - public void AddAttachment(byte[] data, string fileName, Sentry.AttachmentType type = 0, string? contentType = null) { } - public static Sentry.SentryHint WithAttachments(params Sentry.SentryAttachment[] attachments) { } - public static Sentry.SentryHint WithAttachments(System.Collections.Generic.IEnumerable attachments) { } - } - public class SentryHttpMessageHandler : Sentry.SentryMessageHandler - { - public SentryHttpMessageHandler() { } - public SentryHttpMessageHandler(Sentry.IHub hub) { } - public SentryHttpMessageHandler(System.Net.Http.HttpMessageHandler innerHandler) { } - public SentryHttpMessageHandler(System.Net.Http.HttpMessageHandler innerHandler, Sentry.IHub hub) { } - protected override void HandleResponse(System.Net.Http.HttpResponseMessage response, Sentry.ISpan? span, string method, string url) { } - protected override Sentry.ISpan? ProcessRequest(System.Net.Http.HttpRequestMessage request, string method, string url) { } - } - public readonly struct SentryId : Sentry.ISentryJsonSerializable, System.IEquatable - { - public static readonly Sentry.SentryId Empty; - public SentryId(System.Guid guid) { } - public bool Equals(Sentry.SentryId other) { } - public override bool Equals(object? obj) { } - public override int GetHashCode() { } - public override string ToString() { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryId Create() { } - public static Sentry.SentryId FromJson(System.Text.Json.JsonElement json) { } - public static Sentry.SentryId Parse(string value) { } - public static System.Guid op_Implicit(Sentry.SentryId sentryId) { } - public static Sentry.SentryId op_Implicit(System.Guid guid) { } - public static bool operator !=(Sentry.SentryId left, Sentry.SentryId right) { } - public static bool operator ==(Sentry.SentryId left, Sentry.SentryId right) { } - } - public enum SentryLevel : short - { - [System.Runtime.Serialization.EnumMember(Value="debug")] - Debug = 0, - [System.Runtime.Serialization.EnumMember(Value="info")] - Info = 1, - [System.Runtime.Serialization.EnumMember(Value="warning")] - Warning = 2, - [System.Runtime.Serialization.EnumMember(Value="error")] - Error = 3, - [System.Runtime.Serialization.EnumMember(Value="fatal")] - Fatal = 4, - } - public sealed class SentryMessage : Sentry.ISentryJsonSerializable - { - public SentryMessage() { } - public string? Formatted { get; set; } - public string? Message { get; set; } - public System.Collections.Generic.IEnumerable? Params { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryMessage FromJson(System.Text.Json.JsonElement json) { } - public static Sentry.SentryMessage op_Implicit(string? message) { } - } - public abstract class SentryMessageHandler : System.Net.Http.DelegatingHandler - { - protected SentryMessageHandler() { } - protected SentryMessageHandler(Sentry.IHub hub) { } - protected SentryMessageHandler(System.Net.Http.HttpMessageHandler innerHandler) { } - protected SentryMessageHandler(System.Net.Http.HttpMessageHandler innerHandler, Sentry.IHub hub) { } - protected abstract void HandleResponse(System.Net.Http.HttpResponseMessage response, Sentry.ISpan? span, string method, string url); - protected abstract Sentry.ISpan? ProcessRequest(System.Net.Http.HttpRequestMessage request, string method, string url); - protected override System.Net.Http.HttpResponseMessage Send(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { } - protected override System.Threading.Tasks.Task SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { } - } - public enum SentryMonitorInterval - { - Year = 0, - Month = 1, - Week = 2, - Day = 3, - Hour = 4, - Minute = 5, - } - public class SentryMonitorOptions : Sentry.ISentryJsonSerializable - { - public System.TimeSpan? CheckInMargin { get; set; } - public int? FailureIssueThreshold { get; set; } - public System.TimeSpan? MaxRuntime { get; set; } - public string? Owner { get; set; } - public int? RecoveryThreshold { get; set; } - public string? TimeZone { get; set; } - public void Interval(string crontab) { } - public void Interval(int interval, Sentry.SentryMonitorInterval unit) { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - } - public class SentryOptions - { - public SentryOptions() { } - [System.CLSCompliant(false)] - public System.Func? AssemblyReader { get; set; } - public bool AttachStacktrace { get; set; } - public bool AutoSessionTracking { get; set; } - public System.TimeSpan AutoSessionTrackingInterval { get; set; } - public Sentry.Extensibility.IBackgroundWorker? BackgroundWorker { get; set; } - public string? CacheDirectoryPath { get; set; } - public bool CaptureFailedRequests { get; set; } - public System.Action? ConfigureClient { get; set; } - public System.Func? CrashedLastRun { get; set; } - public System.Func? CreateHttpMessageHandler { get; set; } - public bool Debug { get; set; } - public System.Net.DecompressionMethods DecompressionMethods { get; set; } - public Sentry.DeduplicateMode DeduplicateMode { get; set; } - public System.Collections.Generic.Dictionary DefaultTags { get; } - public Sentry.StartupTimeDetectionMode DetectStartupTime { get; set; } - public Sentry.SentryLevel DiagnosticLevel { get; set; } - public Sentry.Extensibility.IDiagnosticLogger? DiagnosticLogger { get; set; } - public bool DisableFileWrite { get; set; } - public string? Distribution { get; set; } - public string? Dsn { get; set; } - public bool EnableScopeSync { get; set; } - public bool EnableSpotlight { get; set; } - public string? Environment { get; set; } - public System.Collections.Generic.IList FailedRequestStatusCodes { get; set; } - public System.Collections.Generic.IList FailedRequestTargets { get; set; } - public System.TimeSpan FlushTimeout { get; set; } - public System.Net.IWebProxy? HttpProxy { get; set; } - public System.TimeSpan InitCacheFlushTimeout { get; set; } - public bool IsEnvironmentUser { get; set; } - public bool IsGlobalModeEnabled { get; set; } - public bool JsonPreserveReferences { get; set; } - public long MaxAttachmentSize { get; set; } - public int MaxBreadcrumbs { get; set; } - public int MaxCacheItems { get; set; } - public int MaxQueueItems { get; set; } - public Sentry.Extensibility.INetworkStatusListener? NetworkStatusListener { get; set; } - public double? ProfilesSampleRate { get; set; } - public string? Release { get; set; } - public Sentry.ReportAssembliesMode ReportAssembliesMode { get; set; } - public bool RequestBodyCompressionBuffered { get; set; } - public System.IO.Compression.CompressionLevel RequestBodyCompressionLevel { get; set; } - public float? SampleRate { get; set; } - public Sentry.IScopeObserver? ScopeObserver { get; set; } - public bool SendClientReports { get; set; } - public bool SendDefaultPii { get; set; } - public Sentry.ISentryScopeStateProcessor SentryScopeStateProcessor { get; set; } - public string? ServerName { get; set; } - public System.TimeSpan ShutdownTimeout { get; set; } - public string SpotlightUrl { get; set; } - public Sentry.StackTraceMode StackTraceMode { get; set; } - public System.Collections.Generic.IList TagFilters { get; set; } - public System.Collections.Generic.IList TracePropagationTargets { get; set; } - public double? TracesSampleRate { get; set; } - public System.Func? TracesSampler { get; set; } - public Sentry.Extensibility.ITransport? Transport { get; set; } - public bool UseAsyncFileIO { get; set; } - public void AddEventProcessor(Sentry.Extensibility.ISentryEventProcessor processor) { } - public void AddEventProcessorProvider(System.Func> processorProvider) { } - public void AddEventProcessors(System.Collections.Generic.IEnumerable processors) { } - public void AddExceptionFilter(Sentry.Extensibility.IExceptionFilter exceptionFilter) { } - public void AddExceptionFilterForType() - where TException : System.Exception { } - public void AddExceptionProcessor(Sentry.Extensibility.ISentryEventExceptionProcessor processor) { } - public void AddExceptionProcessorProvider(System.Func> processorProvider) { } - public void AddExceptionProcessors(System.Collections.Generic.IEnumerable processors) { } - public void AddInAppExclude(string prefix) { } - public void AddInAppExclude(System.Text.RegularExpressions.Regex regex) { } - public void AddInAppExcludeRegex(string pattern) { } - public void AddInAppInclude(string prefix) { } - public void AddInAppInclude(System.Text.RegularExpressions.Regex regex) { } - public void AddInAppIncludeRegex(string pattern) { } - public void AddIntegration(Sentry.Integrations.ISdkIntegration integration) { } - public void AddJsonConverter(System.Text.Json.Serialization.JsonConverter converter) { } - public void AddJsonSerializerContext(System.Func contextBuilder) - where T : System.Text.Json.Serialization.JsonSerializerContext { } - public void AddTransactionProcessor(Sentry.Extensibility.ISentryTransactionProcessor processor) { } - public void AddTransactionProcessorProvider(System.Func> processorProvider) { } - public void AddTransactionProcessors(System.Collections.Generic.IEnumerable processors) { } - public void ApplyDefaultTags(Sentry.IHasTags hasTags) { } - public void DisableAppDomainProcessExitFlush() { } - public void DisableAppDomainUnhandledExceptionCapture() { } - public void DisableDiagnosticSourceIntegration() { } - public void DisableDuplicateEventDetection() { } - public void DisableUnobservedTaskExceptionCapture() { } - public void DisableWinUiUnhandledExceptionIntegration() { } - public void EnableHeapDumps(Sentry.HeapDumpTrigger trigger, Sentry.Debouncer? debouncer = null, Sentry.SentryLevel level = 2) { } - public void EnableHeapDumps(short memoryPercentageThreshold, Sentry.Debouncer? debouncer = null, Sentry.SentryLevel level = 2) { } - public System.Collections.Generic.IEnumerable GetAllEventProcessors() { } - public System.Collections.Generic.IEnumerable GetAllExceptionProcessors() { } - public System.Collections.Generic.IEnumerable GetAllTransactionProcessors() { } - public void RemoveEventProcessor() - where TProcessor : Sentry.Extensibility.ISentryEventProcessor { } - public void RemoveExceptionFilter() - where TFilter : Sentry.Extensibility.IExceptionFilter { } - public void RemoveIntegration() - where TIntegration : Sentry.Integrations.ISdkIntegration { } - public void RemoveTransactionProcessor() - where TProcessor : Sentry.Extensibility.ISentryTransactionProcessor { } - public void SetBeforeBreadcrumb(System.Func beforeBreadcrumb) { } - public void SetBeforeBreadcrumb(System.Func beforeBreadcrumb) { } - public void SetBeforeSend(System.Func beforeSend) { } - public void SetBeforeSend(System.Func beforeSend) { } - public void SetBeforeSendTransaction(System.Func beforeSendTransaction) { } - public void SetBeforeSendTransaction(System.Func beforeSendTransaction) { } - public Sentry.SentryOptions UseStackTraceFactory(Sentry.Extensibility.ISentryStackTraceFactory sentryStackTraceFactory) { } - } - public sealed class SentryPackage : Sentry.ISentryJsonSerializable - { - public SentryPackage(string name, string version) { } - public string Name { get; } - public string Version { get; } - public override bool Equals(object? obj) { } - public override int GetHashCode() { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryPackage FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class SentryRequest : Sentry.ISentryJsonSerializable - { - public SentryRequest() { } - public string? ApiTarget { get; set; } - public string? Cookies { get; set; } - public object? Data { get; set; } - public System.Collections.Generic.IDictionary Env { get; } - public System.Collections.Generic.IDictionary Headers { get; } - public string? Method { get; set; } - public System.Collections.Generic.IDictionary Other { get; } - public string? QueryString { get; set; } - public string? Url { get; set; } - public Sentry.SentryRequest Clone() { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryRequest FromJson(System.Text.Json.JsonElement json) { } - } - public static class SentrySdk - { - public static bool IsEnabled { get; } - public static Sentry.SentryId LastEventId { get; } - public static void AddBreadcrumb(Sentry.Breadcrumb breadcrumb, Sentry.SentryHint? hint = null) { } - public static void AddBreadcrumb(string message, string? category = null, string? type = null, System.Collections.Generic.IDictionary? data = null, Sentry.BreadcrumbLevel level = 0) { } - public static void AddBreadcrumb(Sentry.Infrastructure.ISystemClock? clock, string message, string? category = null, string? type = null, System.Collections.Generic.IDictionary? data = null, Sentry.BreadcrumbLevel level = 0) { } - public static void BindClient(Sentry.ISentryClient client) { } - public static void BindException(System.Exception exception, Sentry.ISpan span) { } - public static Sentry.SentryId CaptureCheckIn(string monitorSlug, Sentry.CheckInStatus status, Sentry.SentryId? sentryId = default, System.TimeSpan? duration = default, Sentry.Scope? scope = null, System.Action? configureMonitorOptions = null) { } - public static bool CaptureEnvelope(Sentry.Protocol.Envelopes.Envelope envelope) { } - public static Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, System.Action configureScope) { } - public static Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { } - public static Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.SentryHint? hint, System.Action configureScope) { } - public static Sentry.SentryId CaptureException(System.Exception exception) { } - public static Sentry.SentryId CaptureException(System.Exception exception, System.Action configureScope) { } - public static Sentry.SentryId CaptureMessage(string message, Sentry.SentryLevel level = 1) { } - public static Sentry.SentryId CaptureMessage(string message, System.Action configureScope, Sentry.SentryLevel level = 1) { } - public static void CaptureSession(Sentry.SessionUpdate sessionUpdate) { } - public static void CaptureTransaction(Sentry.SentryTransaction transaction) { } - public static void CaptureTransaction(Sentry.SentryTransaction transaction, Sentry.Scope? scope, Sentry.SentryHint? hint) { } - public static void CaptureUserFeedback(Sentry.UserFeedback userFeedback) { } - public static void CaptureUserFeedback(Sentry.SentryId eventId, string email, string comments, string? name = null) { } - [System.Obsolete("WARNING: This method deliberately causes a crash, and should not be used in a rea" + - "l application.")] - public static void CauseCrash(Sentry.CrashType crashType) { } - public static void Close() { } - public static void ConfigureScope(System.Action configureScope) { } - public static System.Threading.Tasks.Task ConfigureScopeAsync(System.Func configureScope) { } - public static Sentry.TransactionContext ContinueTrace(Sentry.SentryTraceHeader? traceHeader, Sentry.BaggageHeader? baggageHeader, string? name = null, string? operation = null) { } - public static Sentry.TransactionContext ContinueTrace(string? traceHeader, string? baggageHeader, string? name = null, string? operation = null) { } - public static void EndSession(Sentry.SessionEndStatus status = 0) { } - public static void Flush() { } - public static void Flush(System.TimeSpan timeout) { } - public static System.Threading.Tasks.Task FlushAsync() { } - public static System.Threading.Tasks.Task FlushAsync(System.TimeSpan timeout) { } - public static Sentry.BaggageHeader? GetBaggage() { } - public static Sentry.ISpan? GetSpan() { } - public static Sentry.SentryTraceHeader? GetTraceHeader() { } - public static System.IDisposable Init() { } - public static System.IDisposable Init(Sentry.SentryOptions options) { } - public static System.IDisposable Init(System.Action? configureOptions) { } - public static System.IDisposable Init(string? dsn) { } - public static void PauseSession() { } - public static System.IDisposable PushScope() { } - public static System.IDisposable PushScope(TState state) { } - public static void ResumeSession() { } - public static void StartSession() { } - public static Sentry.ITransactionTracer StartTransaction(Sentry.ITransactionContext context) { } - public static Sentry.ITransactionTracer StartTransaction(Sentry.ITransactionContext context, System.Collections.Generic.IReadOnlyDictionary customSamplingContext) { } - public static Sentry.ITransactionTracer StartTransaction(string name, string operation) { } - public static Sentry.ITransactionTracer StartTransaction(string name, string operation, Sentry.SentryTraceHeader traceHeader) { } - public static Sentry.ITransactionTracer StartTransaction(string name, string operation, string? description) { } - } - public class SentrySession : Sentry.ISentrySession - { - public SentrySession(string? distinctId, string release, string? environment) { } - public string? DistinctId { get; } - public string? Environment { get; } - public int ErrorCount { get; } - public Sentry.SentryId Id { get; } - public string? IpAddress { get; } - public string Release { get; } - public System.DateTimeOffset StartTimestamp { get; } - public string? UserAgent { get; } - public void ReportError() { } - } - public class SentrySpan : Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISentryJsonSerializable, Sentry.ISpanData, Sentry.Protocol.ITraceContext - { - public SentrySpan(Sentry.ISpan tracer) { } - public SentrySpan(Sentry.SpanId? parentSpanId, string operation) { } - public string? Description { get; set; } - public System.DateTimeOffset? EndTimestamp { get; } - public System.Collections.Generic.IReadOnlyDictionary Extra { get; } - public bool IsFinished { get; } - public bool? IsSampled { get; } - public System.Collections.Generic.IReadOnlyDictionary Measurements { get; } - public string Operation { get; set; } - public string? Origin { get; } - public Sentry.SpanId? ParentSpanId { get; } - public Sentry.SpanId SpanId { get; } - public System.DateTimeOffset StartTimestamp { get; } - public Sentry.SpanStatus? Status { get; set; } - public System.Collections.Generic.IReadOnlyDictionary Tags { get; } - public Sentry.SentryId TraceId { get; } - public Sentry.SentryTraceHeader GetTraceHeader() { } - public void SetExtra(string key, object? value) { } - public void SetMeasurement(string name, Sentry.Protocol.Measurement measurement) { } - public void SetTag(string key, string value) { } - public void UnsetTag(string key) { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentrySpan FromJson(System.Text.Json.JsonElement json) { } - } - [System.Diagnostics.DebuggerDisplay("{Function}")] - public sealed class SentryStackFrame : Sentry.ISentryJsonSerializable - { - public SentryStackFrame() { } - public string? AbsolutePath { get; set; } - public string? AddressMode { get; set; } - public int? ColumnNumber { get; set; } - public string? ContextLine { get; set; } - public string? FileName { get; set; } - public System.Collections.Generic.IList FramesOmitted { get; } - public string? Function { get; set; } - public long? FunctionId { get; set; } - public long? ImageAddress { get; set; } - public bool? InApp { get; set; } - public long? InstructionAddress { get; set; } - public int? LineNumber { get; set; } - public string? Module { get; set; } - public string? Package { get; set; } - public string? Platform { get; set; } - public System.Collections.Generic.IList PostContext { get; } - public System.Collections.Generic.IList PreContext { get; } - public long? SymbolAddress { get; set; } - public System.Collections.Generic.IDictionary Vars { get; } - public void ConfigureAppFrame(Sentry.SentryOptions options) { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryStackFrame FromJson(System.Text.Json.JsonElement json) { } - } - public class SentryStackTrace : Sentry.ISentryJsonSerializable - { - public SentryStackTrace() { } - public Sentry.InstructionAddressAdjustment? AddressAdjustment { get; set; } - public System.Collections.Generic.IList Frames { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryStackTrace FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class SentryThread : Sentry.ISentryJsonSerializable - { - public SentryThread() { } - public bool? Crashed { get; set; } - public bool? Current { get; set; } - public int? Id { get; set; } - public string? Name { get; set; } - public Sentry.SentryStackTrace? Stacktrace { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryThread FromJson(System.Text.Json.JsonElement json) { } - } - public class SentryTraceHeader - { - public SentryTraceHeader(Sentry.SentryId traceId, Sentry.SpanId spanSpanId, bool? isSampled) { } - public bool? IsSampled { get; } - public Sentry.SpanId SpanId { get; } - public Sentry.SentryId TraceId { get; } - public override string ToString() { } - public static Sentry.SentryTraceHeader? Parse(string value) { } - } - public class SentryTransaction : Sentry.IEventLike, Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISentryJsonSerializable, Sentry.ISpanData, Sentry.ITransactionContext, Sentry.ITransactionData, Sentry.Protocol.ITraceContext - { - public SentryTransaction(Sentry.ITransactionTracer tracer) { } - public SentryTransaction(string name, string operation) { } - public SentryTransaction(string name, string operation, Sentry.TransactionNameSource nameSource) { } - public System.Collections.Generic.IReadOnlyCollection Breadcrumbs { get; } - public Sentry.SentryContexts Contexts { get; set; } - public string? Description { get; set; } - public string? Distribution { get; set; } - public System.DateTimeOffset? EndTimestamp { get; } - public string? Environment { get; set; } - public Sentry.SentryId EventId { get; } - public System.Collections.Generic.IReadOnlyDictionary Extra { get; } - public System.Collections.Generic.IReadOnlyList Fingerprint { get; set; } - public bool IsFinished { get; } - public bool? IsParentSampled { get; set; } - public bool? IsSampled { get; } - public Sentry.SentryLevel? Level { get; set; } - public System.Collections.Generic.IReadOnlyDictionary Measurements { get; } - public string Name { get; } - public Sentry.TransactionNameSource NameSource { get; } - public string Operation { get; } - public string? Origin { get; } - public Sentry.SpanId? ParentSpanId { get; } - public string? Platform { get; set; } - public string? Release { get; set; } - public Sentry.SentryRequest Request { get; set; } - public double? SampleRate { get; } - public Sentry.SdkVersion Sdk { get; } - public Sentry.SpanId SpanId { get; } - public System.Collections.Generic.IReadOnlyCollection Spans { get; } - public System.DateTimeOffset StartTimestamp { get; } - public Sentry.SpanStatus? Status { get; } - public System.Collections.Generic.IReadOnlyDictionary Tags { get; } - public Sentry.SentryId TraceId { get; } - public Sentry.SentryUser User { get; set; } - public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { } - public Sentry.SentryTraceHeader GetTraceHeader() { } - public void SetExtra(string key, object? value) { } - public void SetMeasurement(string name, Sentry.Protocol.Measurement measurement) { } - public void SetTag(string key, string value) { } - public void UnsetTag(string key) { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SentryTransaction FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class SentryUser : Sentry.ISentryJsonSerializable - { - public SentryUser() { } - public string? Email { get; set; } - public string? Id { get; set; } - public string? IpAddress { get; set; } - public System.Collections.Generic.IDictionary Other { get; set; } - public string? Username { get; set; } - public Sentry.SentryUser Clone() { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { } - public static Sentry.SentryUser FromJson(System.Text.Json.JsonElement json) { } - } - public enum SessionEndStatus - { - Exited = 0, - Crashed = 1, - Abnormal = 2, - } - public class SessionUpdate : Sentry.ISentryJsonSerializable, Sentry.ISentrySession - { - public SessionUpdate(Sentry.SessionUpdate sessionUpdate, bool isInitial) { } - public SessionUpdate(Sentry.SessionUpdate sessionUpdate, bool isInitial, Sentry.SessionEndStatus? endStatus) { } - public SessionUpdate(Sentry.ISentrySession session, bool isInitial, System.DateTimeOffset timestamp, int sequenceNumber, Sentry.SessionEndStatus? endStatus) { } - public SessionUpdate(Sentry.SentryId id, string? distinctId, System.DateTimeOffset startTimestamp, string release, string? environment, string? ipAddress, string? userAgent, int errorCount, bool isInitial, System.DateTimeOffset timestamp, int sequenceNumber, Sentry.SessionEndStatus? endStatus) { } - public string? DistinctId { get; } - public System.TimeSpan Duration { get; } - public Sentry.SessionEndStatus? EndStatus { get; } - public string? Environment { get; } - public int ErrorCount { get; } - public Sentry.SentryId Id { get; } - public string? IpAddress { get; } - public bool IsInitial { get; } - public string Release { get; } - public int SequenceNumber { get; } - public System.DateTimeOffset StartTimestamp { get; } - public System.DateTimeOffset Timestamp { get; } - public string? UserAgent { get; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.SessionUpdate FromJson(System.Text.Json.JsonElement json) { } - } - public class SpanContext : Sentry.Protocol.ITraceContext - { - public SpanContext(string operation, Sentry.SpanId? spanId = default, Sentry.SpanId? parentSpanId = default, Sentry.SentryId? traceId = default, string? description = null, Sentry.SpanStatus? status = default, bool? isSampled = default) { } - public string? Description { get; } - public Sentry.Instrumenter Instrumenter { get; } - public bool? IsSampled { get; } - public string Operation { get; set; } - public string? Origin { get; } - public Sentry.SpanId? ParentSpanId { get; } - public Sentry.SpanId SpanId { get; } - public Sentry.SpanStatus? Status { get; } - public Sentry.SentryId TraceId { get; } - } - public static class SpanDataExtensions - { - public static void SetMeasurement(this Sentry.ISpanData spanData, string name, double value, Sentry.MeasurementUnit unit = default) { } - public static void SetMeasurement(this Sentry.ISpanData spanData, string name, int value, Sentry.MeasurementUnit unit = default) { } - public static void SetMeasurement(this Sentry.ISpanData spanData, string name, long value, Sentry.MeasurementUnit unit = default) { } - [System.CLSCompliant(false)] - public static void SetMeasurement(this Sentry.ISpanData spanData, string name, ulong value, Sentry.MeasurementUnit unit = default) { } - } - public static class SpanExtensions - { - public static Sentry.ITransactionTracer GetTransaction(this Sentry.ISpan span) { } - public static Sentry.ISpan StartChild(this Sentry.ISpan span, string operation, string? description) { } - } - public readonly struct SpanId : Sentry.ISentryJsonSerializable, System.IEquatable - { - public static readonly Sentry.SpanId Empty; - public SpanId(long value) { } - public SpanId(string value) { } - public bool Equals(Sentry.SpanId other) { } - public override bool Equals(object? obj) { } - public override int GetHashCode() { } - public override string ToString() { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { } - public static Sentry.SpanId Create() { } - public static Sentry.SpanId FromJson(System.Text.Json.JsonElement json) { } - public static Sentry.SpanId Parse(string value) { } - public static string op_Implicit(Sentry.SpanId id) { } - public static bool operator !=(Sentry.SpanId left, Sentry.SpanId right) { } - public static bool operator ==(Sentry.SpanId left, Sentry.SpanId right) { } - } - public enum SpanStatus - { - Ok = 0, - DeadlineExceeded = 1, - Unauthenticated = 2, - PermissionDenied = 3, - NotFound = 4, - ResourceExhausted = 5, - InvalidArgument = 6, - Unimplemented = 7, - Unavailable = 8, - InternalError = 9, - UnknownError = 10, - Cancelled = 11, - AlreadyExists = 12, - FailedPrecondition = 13, - Aborted = 14, - OutOfRange = 15, - DataLoss = 16, - } - public class SpanTracer : Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISpan, Sentry.ISpanData, Sentry.Protocol.ITraceContext - { - public SpanTracer(Sentry.IHub hub, Sentry.TransactionTracer transaction, Sentry.SpanId? parentSpanId, Sentry.SentryId traceId, string operation) { } - public string? Description { get; set; } - public System.DateTimeOffset? EndTimestamp { get; } - public System.Collections.Generic.IReadOnlyDictionary Extra { get; } - public bool IsFinished { get; } - public bool? IsSampled { get; } - public System.Collections.Generic.IReadOnlyDictionary Measurements { get; } - public string Operation { get; set; } - public string? Origin { get; } - public Sentry.SpanId? ParentSpanId { get; } - public Sentry.SpanId SpanId { get; } - public System.DateTimeOffset StartTimestamp { get; } - public Sentry.SpanStatus? Status { get; set; } - public System.Collections.Generic.IReadOnlyDictionary Tags { get; } - public Sentry.SentryId TraceId { get; } - public void Finish() { } - public void Finish(Sentry.SpanStatus status) { } - public void Finish(System.Exception exception) { } - public void Finish(System.Exception exception, Sentry.SpanStatus status) { } - public Sentry.SentryTraceHeader GetTraceHeader() { } - public void SetExtra(string key, object? value) { } - public void SetMeasurement(string name, Sentry.Protocol.Measurement measurement) { } - public void SetTag(string key, string value) { } - public Sentry.ISpan StartChild(string operation) { } - public void UnsetTag(string key) { } - } - public enum StackTraceMode - { - Original = 0, - Enhanced = 1, - } - public enum StartupTimeDetectionMode - { - None = 0, - Fast = 1, - Best = 2, - } - public class StreamAttachmentContent : Sentry.IAttachmentContent - { - public StreamAttachmentContent(System.IO.Stream stream) { } - public System.IO.Stream GetStream() { } - } - [System.ComponentModel.TypeConverter(typeof(Sentry.StringOrRegexTypeConverter))] - public class StringOrRegex - { - public StringOrRegex(string stringOrRegex) { } - public StringOrRegex(System.Text.RegularExpressions.Regex regex) { } - public override bool Equals(object? obj) { } - public override int GetHashCode() { } - public override string ToString() { } - public static Sentry.StringOrRegex op_Implicit(string stringOrRegex) { } - public static Sentry.StringOrRegex op_Implicit(System.Text.RegularExpressions.Regex regex) { } - } - public class TransactionContext : Sentry.SpanContext, Sentry.ITransactionContext, Sentry.Protocol.ITraceContext - { - public TransactionContext(string name, string operation, Sentry.SpanId? spanId = default, Sentry.SpanId? parentSpanId = default, Sentry.SentryId? traceId = default, string? description = "", Sentry.SpanStatus? status = default, bool? isSampled = default, bool? isParentSampled = default, Sentry.TransactionNameSource nameSource = 0) { } - public bool? IsParentSampled { get; } - public string Name { get; set; } - public Sentry.TransactionNameSource NameSource { get; set; } - } - public enum TransactionNameSource - { - Custom = 0, - Url = 1, - Route = 2, - View = 3, - Component = 4, - Task = 5, - } - public class TransactionSamplingContext - { - public TransactionSamplingContext(Sentry.ITransactionContext transactionContext, System.Collections.Generic.IReadOnlyDictionary customSamplingContext) { } - public System.Collections.Generic.IReadOnlyDictionary CustomSamplingContext { get; } - public Sentry.ITransactionContext TransactionContext { get; } - } - public class TransactionTracer : Sentry.IEventLike, Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISpan, Sentry.ISpanData, Sentry.ITransactionContext, Sentry.ITransactionData, Sentry.ITransactionTracer, Sentry.Protocol.ITraceContext - { - public TransactionTracer(Sentry.IHub hub, Sentry.ITransactionContext context) { } - public System.Collections.Generic.IReadOnlyCollection Breadcrumbs { get; } - public Sentry.SentryContexts Contexts { get; set; } - public string? Description { get; set; } - public string? Distribution { get; set; } - public System.DateTimeOffset? EndTimestamp { get; } - public string? Environment { get; set; } - public System.Collections.Generic.IReadOnlyDictionary Extra { get; } - public System.Collections.Generic.IReadOnlyList Fingerprint { get; set; } - public bool IsFinished { get; } - public bool? IsParentSampled { get; set; } - public bool? IsSampled { get; } - public Sentry.SentryLevel? Level { get; set; } - public System.Collections.Generic.IReadOnlyDictionary Measurements { get; } - public string Name { get; set; } - public Sentry.TransactionNameSource NameSource { get; set; } - public string Operation { get; set; } - public string? Origin { get; } - public Sentry.SpanId? ParentSpanId { get; } - public string? Platform { get; set; } - public string? Release { get; set; } - public Sentry.SentryRequest Request { get; set; } - public double? SampleRate { get; } - public Sentry.SdkVersion Sdk { get; } - public Sentry.SpanId SpanId { get; } - public System.Collections.Generic.IReadOnlyCollection Spans { get; } - public System.DateTimeOffset StartTimestamp { get; } - public Sentry.SpanStatus? Status { get; set; } - public System.Collections.Generic.IReadOnlyDictionary Tags { get; } - public Sentry.SentryId TraceId { get; } - public Sentry.SentryUser User { get; set; } - public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { } - public void Finish() { } - public void Finish(Sentry.SpanStatus status) { } - public void Finish(System.Exception exception) { } - public void Finish(System.Exception exception, Sentry.SpanStatus status) { } - public Sentry.ISpan? GetLastActiveSpan() { } - public Sentry.SentryTraceHeader GetTraceHeader() { } - public void SetExtra(string key, object? value) { } - public void SetMeasurement(string name, Sentry.Protocol.Measurement measurement) { } - public void SetTag(string key, string value) { } - public Sentry.ISpan StartChild(string operation) { } - public void UnsetTag(string key) { } - } - public sealed class UserFeedback : Sentry.ISentryJsonSerializable - { - public UserFeedback(Sentry.SentryId eventId, string? name, string? email, string? comments) { } - public string? Comments { get; } - public string? Email { get; } - public Sentry.SentryId EventId { get; } - public string? Name { get; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.UserFeedback FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class ViewHierarchy : Sentry.ISentryJsonSerializable - { - public ViewHierarchy(string renderingSystem) { } - public string RenderingSystem { get; set; } - public System.Collections.Generic.List Windows { get; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - } - public class ViewHierarchyAttachment : Sentry.SentryAttachment - { - public ViewHierarchyAttachment(Sentry.IAttachmentContent content) { } - } - public abstract class ViewHierarchyNode : Sentry.ISentryJsonSerializable - { - protected ViewHierarchyNode(string type) { } - public System.Collections.Generic.List Children { get; set; } - public string Type { get; set; } - protected abstract void WriteAdditionalProperties(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger); - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - } -} -namespace Sentry.Ben.BlockingDetector -{ - public class SuppressBlockingDetection : System.IDisposable - { - public SuppressBlockingDetection() { } - public void Dispose() { } - } -} -namespace Sentry.Extensibility -{ - public abstract class BaseRequestPayloadExtractor : Sentry.Extensibility.IRequestPayloadExtractor - { - protected BaseRequestPayloadExtractor() { } - protected abstract object? DoExtractPayLoad(Sentry.Extensibility.IHttpRequest request); - public object? ExtractPayload(Sentry.Extensibility.IHttpRequest request) { } - protected abstract bool IsSupported(Sentry.Extensibility.IHttpRequest request); - } - public class DefaultRequestPayloadExtractor : Sentry.Extensibility.BaseRequestPayloadExtractor - { - public DefaultRequestPayloadExtractor() { } - protected override object? DoExtractPayLoad(Sentry.Extensibility.IHttpRequest request) { } - protected override bool IsSupported(Sentry.Extensibility.IHttpRequest request) { } - } - public static class DiagnosticLoggerExtensions - { - public static void LogDebug(this Sentry.Extensibility.IDiagnosticLogger logger, string message) { } - public static void LogDebug(this Sentry.Extensibility.IDiagnosticLogger logger, string message, TArg arg) { } - public static void LogDebug(this Sentry.Extensibility.IDiagnosticLogger logger, string message, TArg arg, TArg2 arg2) { } - public static void LogError(this Sentry.Extensibility.IDiagnosticLogger logger, string message) { } - public static void LogError(this Sentry.Extensibility.IDiagnosticLogger logger, System.Exception exception, string message) { } - public static void LogError(this Sentry.Extensibility.IDiagnosticLogger logger, string message, TArg arg) { } - public static void LogError(this Sentry.Extensibility.IDiagnosticLogger logger, System.Exception exception, string message, TArg arg) { } - public static void LogError(this Sentry.Extensibility.IDiagnosticLogger logger, System.Exception exception, string message, TArg arg, TArg2 arg2) { } - public static void LogError(this Sentry.Extensibility.IDiagnosticLogger logger, System.Exception exception, string message, TArg arg, TArg2 arg2, TArg3 arg3) { } - public static void LogError(this Sentry.Extensibility.IDiagnosticLogger logger, System.Exception exception, string message, TArg arg, TArg2 arg2, TArg3 arg3, TArg4 arg4) { } - public static void LogFatal(this Sentry.Extensibility.IDiagnosticLogger logger, string message) { } - public static void LogFatal(this Sentry.Extensibility.IDiagnosticLogger logger, System.Exception exception, string message) { } - public static void LogInfo(this Sentry.Extensibility.IDiagnosticLogger logger, string message) { } - public static void LogInfo(this Sentry.Extensibility.IDiagnosticLogger logger, string message, TArg arg) { } - public static void LogInfo(this Sentry.Extensibility.IDiagnosticLogger logger, string message, TArg arg, TArg2 arg2) { } - public static void LogInfo(this Sentry.Extensibility.IDiagnosticLogger logger, string message, TArg arg, TArg2 arg2, TArg3 arg3) { } - public static void LogWarning(this Sentry.Extensibility.IDiagnosticLogger logger, string message) { } - public static void LogWarning(this Sentry.Extensibility.IDiagnosticLogger logger, System.Exception exception, string message) { } - public static void LogWarning(this Sentry.Extensibility.IDiagnosticLogger logger, string message, TArg arg) { } - public static void LogWarning(this Sentry.Extensibility.IDiagnosticLogger logger, string message, TArg arg, TArg2 arg2) { } - } - public class DisabledHub : Sentry.IHub, Sentry.ISentryClient, Sentry.ISentryScopeManager, System.IDisposable - { - public static readonly Sentry.Extensibility.DisabledHub Instance; - public bool IsEnabled { get; } - public Sentry.SentryId LastEventId { get; } - public void BindClient(Sentry.ISentryClient client) { } - public void BindException(System.Exception exception, Sentry.ISpan span) { } - public Sentry.SentryId CaptureCheckIn(string monitorSlug, Sentry.CheckInStatus status, Sentry.SentryId? sentryId = default, System.TimeSpan? duration = default, Sentry.Scope? scope = null, System.Action? configureMonitorOptions = null) { } - public bool CaptureEnvelope(Sentry.Protocol.Envelopes.Envelope envelope) { } - public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, System.Action configureScope) { } - public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { } - public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.SentryHint? hint, System.Action configureScope) { } - public void CaptureSession(Sentry.SessionUpdate sessionUpdate) { } - public void CaptureTransaction(Sentry.SentryTransaction transaction) { } - public void CaptureTransaction(Sentry.SentryTransaction transaction, Sentry.Scope? scope, Sentry.SentryHint? hint) { } - public void CaptureUserFeedback(Sentry.UserFeedback userFeedback) { } - public void ConfigureScope(System.Action configureScope) { } - public System.Threading.Tasks.Task ConfigureScopeAsync(System.Func configureScope) { } - public Sentry.TransactionContext ContinueTrace(Sentry.SentryTraceHeader? traceHeader, Sentry.BaggageHeader? baggageHeader, string? name = null, string? operation = null) { } - public Sentry.TransactionContext ContinueTrace(string? traceHeader, string? baggageHeader, string? name = null, string? operation = null) { } - public void Dispose() { } - public void EndSession(Sentry.SessionEndStatus status = 0) { } - public System.Threading.Tasks.Task FlushAsync(System.TimeSpan timeout) { } - public Sentry.BaggageHeader? GetBaggage() { } - public Sentry.ISpan? GetSpan() { } - public Sentry.SentryTraceHeader? GetTraceHeader() { } - public void PauseSession() { } - public System.IDisposable PushScope() { } - public System.IDisposable PushScope(TState state) { } - public void ResumeSession() { } - public void StartSession() { } - public Sentry.ITransactionTracer StartTransaction(Sentry.ITransactionContext context, System.Collections.Generic.IReadOnlyDictionary customSamplingContext) { } - } - public class FormRequestPayloadExtractor : Sentry.Extensibility.BaseRequestPayloadExtractor - { - public FormRequestPayloadExtractor() { } - protected override object? DoExtractPayLoad(Sentry.Extensibility.IHttpRequest request) { } - protected override bool IsSupported(Sentry.Extensibility.IHttpRequest request) { } - } - public sealed class HubAdapter : Sentry.IHub, Sentry.ISentryClient, Sentry.ISentryScopeManager - { - public static readonly Sentry.Extensibility.HubAdapter Instance; - public bool IsEnabled { get; } - public Sentry.SentryId LastEventId { get; } - public void AddBreadcrumb(string message, string? category = null, string? type = null, System.Collections.Generic.IDictionary? data = null, Sentry.BreadcrumbLevel level = 0) { } - public void AddBreadcrumb(Sentry.Infrastructure.ISystemClock clock, string message, string? category = null, string? type = null, System.Collections.Generic.IDictionary? data = null, Sentry.BreadcrumbLevel level = 0) { } - public void BindClient(Sentry.ISentryClient client) { } - public void BindException(System.Exception exception, Sentry.ISpan span) { } - public Sentry.SentryId CaptureCheckIn(string monitorSlug, Sentry.CheckInStatus status, Sentry.SentryId? sentryId = default, System.TimeSpan? duration = default, Sentry.Scope? scope = null, System.Action? monitorOptions = null) { } - public bool CaptureEnvelope(Sentry.Protocol.Envelopes.Envelope envelope) { } - public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt) { } - public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Scope? scope) { } - public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, System.Action configureScope) { } - public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Scope? scope, Sentry.SentryHint? hint = null) { } - public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.SentryHint? hint, System.Action configureScope) { } - public Sentry.SentryId CaptureException(System.Exception exception) { } - public void CaptureSession(Sentry.SessionUpdate sessionUpdate) { } - public void CaptureTransaction(Sentry.SentryTransaction transaction) { } - public void CaptureTransaction(Sentry.SentryTransaction transaction, Sentry.Scope? scope, Sentry.SentryHint? hint) { } - public void CaptureUserFeedback(Sentry.UserFeedback sentryUserFeedback) { } - public void ConfigureScope(System.Action configureScope) { } - public System.Threading.Tasks.Task ConfigureScopeAsync(System.Func configureScope) { } - public Sentry.TransactionContext ContinueTrace(Sentry.SentryTraceHeader? traceHeader, Sentry.BaggageHeader? baggageHeader, string? name = null, string? operation = null) { } - public Sentry.TransactionContext ContinueTrace(string? traceHeader, string? baggageHeader, string? name = null, string? operation = null) { } - public void EndSession(Sentry.SessionEndStatus status = 0) { } - public System.Threading.Tasks.Task FlushAsync(System.TimeSpan timeout) { } - public Sentry.BaggageHeader? GetBaggage() { } - public Sentry.ISpan? GetSpan() { } - public Sentry.SentryTraceHeader? GetTraceHeader() { } - public void PauseSession() { } - public System.IDisposable PushScope() { } - public System.IDisposable PushScope(TState state) { } - public void ResumeSession() { } - public void StartSession() { } - public Sentry.ITransactionTracer StartTransaction(Sentry.ITransactionContext context, System.Collections.Generic.IReadOnlyDictionary customSamplingContext) { } - } - public interface IBackgroundWorker - { - int QueuedItems { get; } - bool EnqueueEnvelope(Sentry.Protocol.Envelopes.Envelope envelope); - System.Threading.Tasks.Task FlushAsync(System.TimeSpan timeout); - } - public interface IDiagnosticLogger - { - bool IsEnabled(Sentry.SentryLevel level); - void Log(Sentry.SentryLevel logLevel, string message, System.Exception? exception = null, params object?[] args); - } - public interface IExceptionFilter - { - bool Filter(System.Exception ex); - } - public interface IHttpRequest - { - System.IO.Stream? Body { get; } - long? ContentLength { get; } - string? ContentType { get; } - System.Collections.Generic.IEnumerable>>? Form { get; } - } - public interface INetworkStatusListener - { - bool Online { get; } - System.Threading.Tasks.Task WaitForNetworkOnlineAsync(System.Threading.CancellationToken cancellationToken); - } - public interface IRequestPayloadExtractor - { - object? ExtractPayload(Sentry.Extensibility.IHttpRequest request); - } - public interface ISentryEventExceptionProcessor - { - void Process(System.Exception exception, Sentry.SentryEvent sentryEvent); - } - public interface ISentryEventProcessor - { - Sentry.SentryEvent? Process(Sentry.SentryEvent @event); - } - public interface ISentryEventProcessorWithHint : Sentry.Extensibility.ISentryEventProcessor - { - Sentry.SentryEvent? Process(Sentry.SentryEvent @event, Sentry.SentryHint hint); - } - public interface ISentryStackTraceFactory - { - Sentry.SentryStackTrace? Create(System.Exception? exception = null); - } - public interface ISentryTransactionProcessor - { - Sentry.SentryTransaction? Process(Sentry.SentryTransaction transaction); - } - public interface ISentryTransactionProcessorWithHint : Sentry.Extensibility.ISentryTransactionProcessor - { - Sentry.SentryTransaction? Process(Sentry.SentryTransaction transaction, Sentry.SentryHint hint); - } - public interface ITransport - { - System.Threading.Tasks.Task SendEnvelopeAsync(Sentry.Protocol.Envelopes.Envelope envelope, System.Threading.CancellationToken cancellationToken = default); - } - public class RequestBodyExtractionDispatcher : Sentry.Extensibility.IRequestPayloadExtractor - { - public RequestBodyExtractionDispatcher(System.Collections.Generic.IEnumerable extractors, Sentry.SentryOptions options, System.Func sizeSwitch) { } - public object? ExtractPayload(Sentry.Extensibility.IHttpRequest request) { } - } - public enum RequestSize - { - None = 0, - Small = 1, - Medium = 2, - Always = 3, - } - public abstract class SentryEventExceptionProcessor : Sentry.Extensibility.ISentryEventExceptionProcessor - where TException : System.Exception - { - protected SentryEventExceptionProcessor() { } - public void Process(System.Exception? exception, Sentry.SentryEvent sentryEvent) { } - protected abstract void ProcessException(TException exception, Sentry.SentryEvent sentryEvent); - } - public sealed class SentryStackTraceFactory : Sentry.Extensibility.ISentryStackTraceFactory - { - public SentryStackTraceFactory(Sentry.SentryOptions options) { } - public Sentry.SentryStackTrace? Create(System.Exception? exception = null) { } - } -} -namespace Sentry.Http -{ - public abstract class HttpTransportBase - { - protected HttpTransportBase(Sentry.SentryOptions options, System.Func? getEnvironmentVariable = null, Sentry.Infrastructure.ISystemClock? clock = null) { } - protected virtual System.Net.Http.HttpRequestMessage CreateRequest(Sentry.Protocol.Envelopes.Envelope envelope) { } - protected void HandleResponse(System.Net.Http.HttpResponseMessage response, Sentry.Protocol.Envelopes.Envelope envelope) { } - protected System.Threading.Tasks.Task HandleResponseAsync(System.Net.Http.HttpResponseMessage response, Sentry.Protocol.Envelopes.Envelope envelope, System.Threading.CancellationToken cancellationToken) { } - protected Sentry.Protocol.Envelopes.Envelope ProcessEnvelope(Sentry.Protocol.Envelopes.Envelope envelope) { } - protected System.IO.Stream ReadStreamFromHttpContent(System.Net.Http.HttpContent content) { } - } - public interface ISentryHttpClientFactory - { - System.Net.Http.HttpClient Create(Sentry.SentryOptions options); - } -} -namespace Sentry.Infrastructure -{ - public class ConsoleAndTraceDiagnosticLogger : Sentry.Infrastructure.DiagnosticLogger - { - public ConsoleAndTraceDiagnosticLogger(Sentry.SentryLevel minimalLevel) { } - protected override void LogMessage(string message) { } - } - public class ConsoleDiagnosticLogger : Sentry.Infrastructure.DiagnosticLogger - { - public ConsoleDiagnosticLogger(Sentry.SentryLevel minimalLevel) { } - protected override void LogMessage(string message) { } - } - public abstract class DiagnosticLogger : Sentry.Extensibility.IDiagnosticLogger - { - protected DiagnosticLogger(Sentry.SentryLevel minimalLevel) { } - public bool IsEnabled(Sentry.SentryLevel level) { } - public void Log(Sentry.SentryLevel logLevel, string message, System.Exception? exception = null, params object?[] args) { } - protected abstract void LogMessage(string message); - } - public class FileDiagnosticLogger : Sentry.Infrastructure.DiagnosticLogger - { - public FileDiagnosticLogger(string path, bool alsoWriteToConsole = false) { } - public FileDiagnosticLogger(string path, Sentry.SentryLevel minimalLevel, bool alsoWriteToConsole = false) { } - protected override void LogMessage(string message) { } - } - public interface ISystemClock - { - System.DateTimeOffset GetUtcNow(); - } - public sealed class SystemClock : Sentry.Infrastructure.ISystemClock - { - public static readonly Sentry.Infrastructure.SystemClock Clock; - public System.DateTimeOffset GetUtcNow() { } - } - public class TraceDiagnosticLogger : Sentry.Infrastructure.DiagnosticLogger - { - public TraceDiagnosticLogger(Sentry.SentryLevel minimalLevel) { } - protected override void LogMessage(string message) { } - } -} -namespace Sentry.Integrations -{ - public interface ISdkIntegration - { - void Register(Sentry.IHub hub, Sentry.SentryOptions options); - } -} -namespace Sentry.PlatformAbstractions -{ - public static class FrameworkInfo - { - public static System.Collections.Generic.IReadOnlyDictionary NetFxReleaseVersionMap { get; } - public static System.Collections.Generic.IEnumerable GetInstallations() { } - public static Sentry.PlatformAbstractions.FrameworkInstallation? GetLatest(int clr) { } - } - public class FrameworkInstallation - { - public FrameworkInstallation() { } - public Sentry.PlatformAbstractions.FrameworkProfile? Profile { get; set; } - public int? Release { get; set; } - public int? ServicePack { get; set; } - public string? ShortName { get; set; } - public System.Version? Version { get; set; } - public override string ToString() { } - } - public enum FrameworkProfile - { - Client = 0, - Full = 1, - } - public class SentryRuntime : System.IEquatable - { - public SentryRuntime(string? name = null, string? version = null, string? raw = null, string? identifier = null) { } - public string? Identifier { get; } - public string? Name { get; } - public string? Raw { get; } - public string? Version { get; } - public static Sentry.PlatformAbstractions.SentryRuntime Current { get; } - public bool Equals(Sentry.PlatformAbstractions.SentryRuntime? other) { } - public override bool Equals(object? obj) { } - public override int GetHashCode() { } - public override string? ToString() { } - } - public static class SentryRuntimeExtensions - { - public static bool IsMono(this Sentry.PlatformAbstractions.SentryRuntime runtime) { } - public static bool IsNetCore(this Sentry.PlatformAbstractions.SentryRuntime runtime) { } - public static bool IsNetFx(this Sentry.PlatformAbstractions.SentryRuntime runtime) { } - } -} -namespace Sentry.Protocol -{ - public sealed class App : Sentry.ISentryJsonSerializable - { - public const string Type = "app"; - public App() { } - public string? Build { get; set; } - public string? BuildType { get; set; } - public string? Hash { get; set; } - public string? Identifier { get; set; } - public bool? InForeground { get; set; } - public string? Name { get; set; } - public System.DateTimeOffset? StartTime { get; set; } - public string? Version { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { } - public static Sentry.Protocol.App FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class Browser : Sentry.ISentryJsonSerializable - { - public const string Type = "browser"; - public Browser() { } - public string? Name { get; set; } - public string? Version { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { } - public static Sentry.Protocol.Browser FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class DebugImage : Sentry.ISentryJsonSerializable - { - public DebugImage() { } - public string? CodeFile { get; set; } - public string? CodeId { get; set; } - public string? DebugChecksum { get; set; } - public string? DebugFile { get; set; } - public string? DebugId { get; set; } - public long? ImageAddress { get; set; } - public long? ImageSize { get; set; } - public string? Type { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.Protocol.DebugImage FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class Device : Sentry.ISentryJsonSerializable - { - public const string Type = "device"; - public Device() { } - public string? Architecture { get; set; } - public float? BatteryLevel { get; set; } - public string? BatteryStatus { get; set; } - public System.DateTimeOffset? BootTime { get; set; } - public string? Brand { get; set; } - public string? CpuDescription { get; set; } - public string? DeviceType { get; set; } - public string? DeviceUniqueIdentifier { get; set; } - public long? ExternalFreeStorage { get; set; } - public long? ExternalStorageSize { get; set; } - public string? Family { get; set; } - public long? FreeMemory { get; set; } - public long? FreeStorage { get; set; } - public bool? IsCharging { get; set; } - public bool? IsOnline { get; set; } - public bool? LowMemory { get; set; } - public string? Manufacturer { get; set; } - public long? MemorySize { get; set; } - public string? Model { get; set; } - public string? ModelId { get; set; } - public string? Name { get; set; } - public Sentry.Protocol.DeviceOrientation? Orientation { get; set; } - public int? ProcessorCount { get; set; } - public float? ProcessorFrequency { get; set; } - public float? ScreenDensity { get; set; } - public int? ScreenDpi { get; set; } - public string? ScreenResolution { get; set; } - public bool? Simulator { get; set; } - public long? StorageSize { get; set; } - public bool? SupportsAccelerometer { get; set; } - public bool? SupportsAudio { get; set; } - public bool? SupportsGyroscope { get; set; } - public bool? SupportsLocationService { get; set; } - public bool? SupportsVibration { get; set; } - public System.TimeZoneInfo? Timezone { get; set; } - public long? UsableMemory { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { } - public static Sentry.Protocol.Device FromJson(System.Text.Json.JsonElement json) { } - } - public enum DeviceOrientation - { - [System.Runtime.Serialization.EnumMember(Value="portrait")] - Portrait = 0, - [System.Runtime.Serialization.EnumMember(Value="landscape")] - Landscape = 1, - } - public sealed class Gpu : Sentry.ISentryJsonSerializable - { - public const string Type = "gpu"; - public Gpu() { } - public string? ApiType { get; set; } - public string? GraphicsShaderLevel { get; set; } - public int? Id { get; set; } - public int? MaxTextureSize { get; set; } - public int? MemorySize { get; set; } - public bool? MultiThreadedRendering { get; set; } - public string? Name { get; set; } - public string? NpotSupport { get; set; } - public bool? SupportsComputeShaders { get; set; } - public bool? SupportsDrawCallInstancing { get; set; } - public bool? SupportsGeometryShaders { get; set; } - public bool? SupportsRayTracing { get; set; } - public string? VendorId { get; set; } - public string? VendorName { get; set; } - public string? Version { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { } - public static Sentry.Protocol.Gpu FromJson(System.Text.Json.JsonElement json) { } - } - public interface ITraceContext - { - string? Description { get; } - bool? IsSampled { get; } - string Operation { get; } - string? Origin { get; } - Sentry.SpanId? ParentSpanId { get; } - Sentry.SpanId SpanId { get; } - Sentry.SpanStatus? Status { get; } - Sentry.SentryId TraceId { get; } - } - public sealed class Measurement : Sentry.ISentryJsonSerializable - { - public Sentry.MeasurementUnit Unit { get; } - public object Value { get; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.Protocol.Measurement FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class Mechanism : Sentry.ISentryJsonSerializable - { - public static readonly string DescriptionKey; - public static readonly string HandledKey; - public static readonly string MechanismKey; - public Mechanism() { } - public System.Collections.Generic.IDictionary Data { get; } - public string? Description { get; set; } - public int? ExceptionId { get; set; } - public bool? Handled { get; set; } - public string? HelpLink { get; set; } - public bool IsExceptionGroup { get; set; } - public System.Collections.Generic.IDictionary Meta { get; } - public int? ParentId { get; set; } - public string? Source { get; set; } - public bool Synthetic { get; set; } - public string Type { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.Protocol.Mechanism FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class OperatingSystem : Sentry.ISentryJsonSerializable - { - public const string Type = "os"; - public OperatingSystem() { } - public string? Build { get; set; } - public string? KernelVersion { get; set; } - public string? Name { get; set; } - public string? RawDescription { get; set; } - public bool? Rooted { get; set; } - public string? Version { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { } - public static Sentry.Protocol.OperatingSystem FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class Response : Sentry.ISentryJsonSerializable - { - public const string Type = "response"; - public Response() { } - public long? BodySize { get; set; } - public string? Cookies { get; set; } - public object? Data { get; set; } - public System.Collections.Generic.IDictionary Headers { get; } - public short? StatusCode { get; set; } - public Sentry.Protocol.Response Clone() { } - public void UpdateFrom(Sentry.Protocol.Response source) { } - public void UpdateFrom(object source) { } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.Protocol.Response FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class Runtime : Sentry.ISentryJsonSerializable - { - public const string Type = "runtime"; - public Runtime() { } - public string? Build { get; set; } - public string? Identifier { get; set; } - public string? Name { get; set; } - public string? RawDescription { get; set; } - public string? Version { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? _) { } - public static Sentry.Protocol.Runtime FromJson(System.Text.Json.JsonElement json) { } - } - public sealed class SentryException : Sentry.ISentryJsonSerializable - { - public SentryException() { } - public Sentry.Protocol.Mechanism? Mechanism { get; set; } - public string? Module { get; set; } - public Sentry.SentryStackTrace? Stacktrace { get; set; } - public int ThreadId { get; set; } - public string? Type { get; set; } - public string? Value { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.Protocol.SentryException FromJson(System.Text.Json.JsonElement json) { } - } - public class Trace : Sentry.ISentryJsonSerializable, Sentry.Protocol.ITraceContext - { - public const string Type = "trace"; - public Trace() { } - public string? Description { get; set; } - public bool? IsSampled { get; } - public string Operation { get; set; } - public string? Origin { get; } - public Sentry.SpanId? ParentSpanId { get; set; } - public Sentry.SpanId SpanId { get; set; } - public Sentry.SpanStatus? Status { get; set; } - public Sentry.SentryId TraceId { get; set; } - public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public static Sentry.Protocol.Trace FromJson(System.Text.Json.JsonElement json) { } - } -} -namespace Sentry.Protocol.Envelopes -{ - public sealed class Envelope : Sentry.Protocol.Envelopes.ISerializable, System.IDisposable - { - public Envelope(System.Collections.Generic.IReadOnlyDictionary header, System.Collections.Generic.IReadOnlyList items) { } - public System.Collections.Generic.IReadOnlyDictionary Header { get; } - public System.Collections.Generic.IReadOnlyList Items { get; } - public void Dispose() { } - public void Serialize(System.IO.Stream stream, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public System.Threading.Tasks.Task SerializeAsync(System.IO.Stream stream, Sentry.Extensibility.IDiagnosticLogger? logger, System.Threading.CancellationToken cancellationToken = default) { } - public Sentry.SentryId? TryGetEventId() { } - public static System.Threading.Tasks.Task DeserializeAsync(System.IO.Stream stream, System.Threading.CancellationToken cancellationToken = default) { } - public static Sentry.Protocol.Envelopes.Envelope FromCheckIn(Sentry.SentryCheckIn checkIn) { } - public static Sentry.Protocol.Envelopes.Envelope FromEvent(Sentry.SentryEvent @event, Sentry.Extensibility.IDiagnosticLogger? logger = null, System.Collections.Generic.IReadOnlyCollection? attachments = null, Sentry.SessionUpdate? sessionUpdate = null) { } - public static Sentry.Protocol.Envelopes.Envelope FromSession(Sentry.SessionUpdate sessionUpdate) { } - public static Sentry.Protocol.Envelopes.Envelope FromTransaction(Sentry.SentryTransaction transaction) { } - public static Sentry.Protocol.Envelopes.Envelope FromUserFeedback(Sentry.UserFeedback sentryUserFeedback) { } - } - public sealed class EnvelopeItem : Sentry.Protocol.Envelopes.ISerializable, System.IDisposable - { - public EnvelopeItem(System.Collections.Generic.IReadOnlyDictionary header, Sentry.Protocol.Envelopes.ISerializable payload) { } - public System.Collections.Generic.IReadOnlyDictionary Header { get; } - public Sentry.Protocol.Envelopes.ISerializable Payload { get; } - public void Dispose() { } - public void Serialize(System.IO.Stream stream, Sentry.Extensibility.IDiagnosticLogger? logger) { } - public System.Threading.Tasks.Task SerializeAsync(System.IO.Stream stream, Sentry.Extensibility.IDiagnosticLogger? logger, System.Threading.CancellationToken cancellationToken = default) { } - public string? TryGetFileName() { } - public long? TryGetLength() { } - public string? TryGetType() { } - public static System.Threading.Tasks.Task DeserializeAsync(System.IO.Stream stream, System.Threading.CancellationToken cancellationToken = default) { } - public static Sentry.Protocol.Envelopes.EnvelopeItem FromAttachment(Sentry.SentryAttachment attachment) { } - public static Sentry.Protocol.Envelopes.EnvelopeItem FromCheckIn(Sentry.SentryCheckIn checkIn) { } - public static Sentry.Protocol.Envelopes.EnvelopeItem FromEvent(Sentry.SentryEvent @event) { } - public static Sentry.Protocol.Envelopes.EnvelopeItem FromSession(Sentry.SessionUpdate sessionUpdate) { } - public static Sentry.Protocol.Envelopes.EnvelopeItem FromTransaction(Sentry.SentryTransaction transaction) { } - public static Sentry.Protocol.Envelopes.EnvelopeItem FromUserFeedback(Sentry.UserFeedback sentryUserFeedback) { } - } - public interface ISerializable - { - void Serialize(System.IO.Stream stream, Sentry.Extensibility.IDiagnosticLogger? logger); - System.Threading.Tasks.Task SerializeAsync(System.IO.Stream stream, Sentry.Extensibility.IDiagnosticLogger? logger, System.Threading.CancellationToken cancellationToken = default); - } -} -namespace Sentry.Reflection -{ - public static class AssemblyExtensions - { - public static Sentry.SdkVersion GetNameAndVersion(this System.Reflection.Assembly asm) { } - } -} -public static class SentryExceptionExtensions -{ - public static void AddSentryContext(this System.Exception ex, string name, System.Collections.Generic.IReadOnlyDictionary data) { } - public static void AddSentryTag(this System.Exception ex, string name, string value) { } - public static void SetSentryMechanism(this System.Exception ex, string type, string? description = null, bool? handled = default) { } -} \ No newline at end of file diff --git a/test/Sentry.Tests/HintTests.CaptureEvent_ActiveTransaction_UnhandledExceptionTransactionEndedAsCrashed.DotNet6_0.verified.txt b/test/Sentry.Tests/HintTests.CaptureEvent_ActiveTransaction_UnhandledExceptionTransactionEndedAsCrashed.DotNet6_0.verified.txt deleted file mode 100644 index ae69b386e8..0000000000 --- a/test/Sentry.Tests/HintTests.CaptureEvent_ActiveTransaction_UnhandledExceptionTransactionEndedAsCrashed.DotNet6_0.verified.txt +++ /dev/null @@ -1,181 +0,0 @@ -[ - { - Header: { - sdk: { - name: sentry.dotnet - } - }, - Items: [ - { - Header: { - type: session - }, - Payload: { - Source: { - DistinctId: Guid_1, - Release: release, - Environment: production, - IsInitial: true - } - } - } - ] - }, - { - Header: { - event_id: Guid_2, - sdk: { - name: sentry.dotnet - }, - trace: { - environment: production, - public_key: d4d82fc1c2c4032a83f3a29aa3a3aff, - release: release, - sample_rate: 1, - trace_id: Guid_3, - transaction: my transaction - } - }, - Items: [ - { - Header: { - type: event - }, - Payload: { - Source: { - Platform: csharp, - SentryExceptions: [ - { - Mechanism: { - Type: generic, - Handled: false, - Synthetic: false - } - } - ], - SentryThreads: [ - { - Crashed: false, - Current: true - } - ], - DebugImages: [ - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: null, - DebugFile: .../System.Private.CoreLib.pdb, - CodeId: ______________, - CodeFile: .../System.Private.CoreLib.dll - }, - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: ______:________________________________________________________________, - DebugFile: .../Sentry.Tests.pdb, - CodeId: _____________, - CodeFile: .../Sentry.Tests.dll - }, - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: ______:________________________________________________________________, - DebugFile: xunit.execution.dotnet.pdb, - CodeId: _____________, - CodeFile: .../xunit.execution.dotnet.dll - }, - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: ______:________________________________________________________________, - DebugFile: xunit.core.pdb, - CodeId: _____________, - CodeFile: .../xunit.core.dll - } - ], - Level: error, - TransactionName: my transaction, - Request: {}, - Contexts: { - trace: { - Operation: - } - }, - User: {}, - Environment: production - } - } - }, - { - Header: { - type: session - }, - Payload: { - Source: { - DistinctId: Guid_1, - Release: release, - Environment: production, - ErrorCount: 1, - IsInitial: false, - SequenceNumber: 1, - EndStatus: Crashed - } - } - } - ] - }, - { - Header: { - event_id: Guid_4, - sdk: { - name: sentry.dotnet - }, - trace: { - environment: production, - public_key: d4d82fc1c2c4032a83f3a29aa3a3aff, - release: release, - sample_rate: 1, - trace_id: Guid_3, - transaction: my transaction - } - }, - Items: [ - { - Header: { - type: transaction - }, - Payload: { - Source: { - Name: my transaction, - Platform: csharp, - Operation: my operation, - Description: , - Status: Aborted, - IsSampled: true, - SampleRate: 1.0, - Request: {}, - Contexts: { - trace: { - Operation: my operation, - Description: , - Status: Aborted, - IsSampled: true - } - }, - User: {}, - Environment: production, - IsFinished: true - } - } - } - ] - } -] \ No newline at end of file diff --git a/test/Sentry.Tests/HintTests.CaptureEvent_ActiveTransaction_UnhandledExceptionTransactionEndedAsCrashed.DotNet7_0.verified.txt b/test/Sentry.Tests/HintTests.CaptureEvent_ActiveTransaction_UnhandledExceptionTransactionEndedAsCrashed.DotNet7_0.verified.txt deleted file mode 100644 index 2824ce63df..0000000000 --- a/test/Sentry.Tests/HintTests.CaptureEvent_ActiveTransaction_UnhandledExceptionTransactionEndedAsCrashed.DotNet7_0.verified.txt +++ /dev/null @@ -1,181 +0,0 @@ -[ - { - Header: { - sdk: { - name: sentry.dotnet - } - }, - Items: [ - { - Header: { - type: session - }, - Payload: { - Source: { - DistinctId: Guid_1, - Release: release, - Environment: production, - IsInitial: true - } - } - } - ] - }, - { - Header: { - event_id: Guid_2, - sdk: { - name: sentry.dotnet - }, - trace: { - environment: production, - public_key: d4d82fc1c2c4032a83f3a29aa3a3aff, - release: release, - sample_rate: 1, - trace_id: Guid_3, - transaction: my transaction - } - }, - Items: [ - { - Header: { - type: event - }, - Payload: { - Source: { - Platform: csharp, - SentryExceptions: [ - { - Mechanism: { - Type: generic, - Handled: false, - Synthetic: false - } - } - ], - SentryThreads: [ - { - Crashed: false, - Current: true - } - ], - DebugImages: [ - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: ______:________________________________________________________________, - DebugFile: .../System.Private.CoreLib.pdb, - CodeId: ______________, - CodeFile: .../System.Private.CoreLib.dll - }, - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: ______:________________________________________________________________, - DebugFile: .../Sentry.Tests.pdb, - CodeId: _____________, - CodeFile: .../Sentry.Tests.dll - }, - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: ______:________________________________________________________________, - DebugFile: xunit.execution.dotnet.pdb, - CodeId: _____________, - CodeFile: .../xunit.execution.dotnet.dll - }, - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: ______:________________________________________________________________, - DebugFile: xunit.core.pdb, - CodeId: _____________, - CodeFile: .../xunit.core.dll - } - ], - Level: error, - TransactionName: my transaction, - Request: {}, - Contexts: { - trace: { - Operation: - } - }, - User: {}, - Environment: production - } - } - }, - { - Header: { - type: session - }, - Payload: { - Source: { - DistinctId: Guid_1, - Release: release, - Environment: production, - ErrorCount: 1, - IsInitial: false, - SequenceNumber: 1, - EndStatus: Crashed - } - } - } - ] - }, - { - Header: { - event_id: Guid_4, - sdk: { - name: sentry.dotnet - }, - trace: { - environment: production, - public_key: d4d82fc1c2c4032a83f3a29aa3a3aff, - release: release, - sample_rate: 1, - trace_id: Guid_3, - transaction: my transaction - } - }, - Items: [ - { - Header: { - type: transaction - }, - Payload: { - Source: { - Name: my transaction, - Platform: csharp, - Operation: my operation, - Description: , - Status: Aborted, - IsSampled: true, - SampleRate: 1.0, - Request: {}, - Contexts: { - trace: { - Operation: my operation, - Description: , - Status: Aborted, - IsSampled: true - } - }, - User: {}, - Environment: production, - IsFinished: true - } - } - } - ] - } -] \ No newline at end of file diff --git a/test/Sentry.Tests/HubTests.CaptureEvent_ActiveTransaction_UnhandledExceptionTransactionEndedAsCrashed.DotNet6_0.verified.txt b/test/Sentry.Tests/HubTests.CaptureEvent_ActiveTransaction_UnhandledExceptionTransactionEndedAsCrashed.DotNet6_0.verified.txt deleted file mode 100644 index a6d89f3137..0000000000 --- a/test/Sentry.Tests/HubTests.CaptureEvent_ActiveTransaction_UnhandledExceptionTransactionEndedAsCrashed.DotNet6_0.verified.txt +++ /dev/null @@ -1,190 +0,0 @@ -[ - { - Header: { - sdk: { - name: sentry.dotnet - } - }, - Items: [ - { - Header: { - type: session - }, - Payload: { - Source: { - DistinctId: Guid_1, - Release: release, - Environment: production, - IsInitial: true - } - } - } - ] - }, - { - Header: { - event_id: Guid_2, - sdk: { - name: sentry.dotnet - }, - trace: { - environment: production, - public_key: d4d82fc1c2c4032a83f3a29aa3a3aff, - release: release, - sample_rate: 1, - sampled: true, - trace_id: Guid_3, - transaction: my transaction - } - }, - Items: [ - { - Header: { - type: event - }, - Payload: { - Source: { - Platform: csharp, - SentryExceptions: [ - { - Mechanism: { - Type: generic, - Handled: false, - Synthetic: false, - IsExceptionGroup: false - } - } - ], - SentryThreads: [ - { - Crashed: false, - Current: true - } - ], - DebugImages: [ - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: null, - DebugFile: .../System.Private.CoreLib.pdb, - CodeId: ______________, - CodeFile: .../System.Private.CoreLib.dll - }, - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: ______:________________________________________________________________, - DebugFile: .../Sentry.Tests.pdb, - CodeId: ______________, - CodeFile: .../Sentry.Tests.dll - }, - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: ______:________________________________________________________________, - DebugFile: xunit.execution.dotnet.pdb, - CodeId: ______________, - CodeFile: .../xunit.execution.dotnet.dll - }, - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: ______:________________________________________________________________, - DebugFile: xunit.core.pdb, - CodeId: ______________, - CodeFile: .../xunit.core.dll - } - ], - Level: error, - TransactionName: my transaction, - Request: {}, - Contexts: { - trace: { - Operation: - } - }, - User: { - Id: Guid_1, - IpAddress: {{auto}} - }, - Environment: production - } - } - }, - { - Header: { - type: session - }, - Payload: { - Source: { - DistinctId: Guid_1, - Release: release, - Environment: production, - ErrorCount: 1, - IsInitial: false, - SequenceNumber: 1, - EndStatus: Crashed - } - } - } - ] - }, - { - Header: { - event_id: Guid_4, - sdk: { - name: sentry.dotnet - }, - trace: { - environment: production, - public_key: d4d82fc1c2c4032a83f3a29aa3a3aff, - release: release, - sample_rate: 1, - sampled: true, - trace_id: Guid_3, - transaction: my transaction - } - }, - Items: [ - { - Header: { - type: transaction - }, - Payload: { - Source: { - Name: my transaction, - Platform: csharp, - Operation: my operation, - Description: , - Status: Aborted, - IsSampled: true, - SampleRate: 1.0, - Request: {}, - Contexts: { - trace: { - Operation: my operation, - Description: , - Status: Aborted, - IsSampled: true - } - }, - User: { - Id: Guid_1, - IpAddress: {{auto}} - }, - Environment: production, - IsFinished: true - } - } - } - ] - } -] \ No newline at end of file diff --git a/test/Sentry.Tests/HubTests.CaptureEvent_ActiveTransaction_UnhandledExceptionTransactionEndedAsCrashed.DotNet7_0.verified.txt b/test/Sentry.Tests/HubTests.CaptureEvent_ActiveTransaction_UnhandledExceptionTransactionEndedAsCrashed.DotNet7_0.verified.txt deleted file mode 100644 index e2f6a68211..0000000000 --- a/test/Sentry.Tests/HubTests.CaptureEvent_ActiveTransaction_UnhandledExceptionTransactionEndedAsCrashed.DotNet7_0.verified.txt +++ /dev/null @@ -1,190 +0,0 @@ -[ - { - Header: { - sdk: { - name: sentry.dotnet - } - }, - Items: [ - { - Header: { - type: session - }, - Payload: { - Source: { - DistinctId: Guid_1, - Release: release, - Environment: production, - IsInitial: true - } - } - } - ] - }, - { - Header: { - event_id: Guid_2, - sdk: { - name: sentry.dotnet - }, - trace: { - environment: production, - public_key: d4d82fc1c2c4032a83f3a29aa3a3aff, - release: release, - sample_rate: 1, - sampled: true, - trace_id: Guid_3, - transaction: my transaction - } - }, - Items: [ - { - Header: { - type: event - }, - Payload: { - Source: { - Platform: csharp, - SentryExceptions: [ - { - Mechanism: { - Type: generic, - Handled: false, - Synthetic: false, - IsExceptionGroup: false - } - } - ], - SentryThreads: [ - { - Crashed: false, - Current: true - } - ], - DebugImages: [ - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: ______:________________________________________________________________, - DebugFile: .../System.Private.CoreLib.pdb, - CodeId: ______________, - CodeFile: .../System.Private.CoreLib.dll - }, - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: ______:________________________________________________________________, - DebugFile: .../Sentry.Tests.pdb, - CodeId: ______________, - CodeFile: .../Sentry.Tests.dll - }, - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: ______:________________________________________________________________, - DebugFile: xunit.execution.dotnet.pdb, - CodeId: ______________, - CodeFile: .../xunit.execution.dotnet.dll - }, - { - Type: pe_dotnet, - ImageAddress: null, - ImageSize: null, - DebugId: ________-____-____-____-____________-________, - DebugChecksum: ______:________________________________________________________________, - DebugFile: xunit.core.pdb, - CodeId: ______________, - CodeFile: .../xunit.core.dll - } - ], - Level: error, - TransactionName: my transaction, - Request: {}, - Contexts: { - trace: { - Operation: - } - }, - User: { - Id: Guid_1, - IpAddress: {{auto}} - }, - Environment: production - } - } - }, - { - Header: { - type: session - }, - Payload: { - Source: { - DistinctId: Guid_1, - Release: release, - Environment: production, - ErrorCount: 1, - IsInitial: false, - SequenceNumber: 1, - EndStatus: Crashed - } - } - } - ] - }, - { - Header: { - event_id: Guid_4, - sdk: { - name: sentry.dotnet - }, - trace: { - environment: production, - public_key: d4d82fc1c2c4032a83f3a29aa3a3aff, - release: release, - sample_rate: 1, - sampled: true, - trace_id: Guid_3, - transaction: my transaction - } - }, - Items: [ - { - Header: { - type: transaction - }, - Payload: { - Source: { - Name: my transaction, - Platform: csharp, - Operation: my operation, - Description: , - Status: Aborted, - IsSampled: true, - SampleRate: 1.0, - Request: {}, - Contexts: { - trace: { - Operation: my operation, - Description: , - Status: Aborted, - IsSampled: true - } - }, - User: { - Id: Guid_1, - IpAddress: {{auto}} - }, - Environment: production, - IsFinished: true - } - } - } - ] - } -] \ No newline at end of file diff --git a/test/Sentry.Tests/Internals/MemoryInfoTests.WriteTo.DotNet6_0.verified.txt b/test/Sentry.Tests/Internals/MemoryInfoTests.WriteTo.DotNet6_0.verified.txt deleted file mode 100644 index faa8bc7db0..0000000000 --- a/test/Sentry.Tests/Internals/MemoryInfoTests.WriteTo.DotNet6_0.verified.txt +++ /dev/null @@ -1,19 +0,0 @@ -{ - allocated_bytes: 1, - fragmented_bytes: 2, - heap_size_bytes: 3, - high_memory_load_threshold_bytes: 4, - total_available_memory_bytes: 5, - memory_load_bytes: 6, - total_committed_bytes: 7, - promoted_bytes: 8, - pinned_objects_count: 9, - pause_time_percentage: 10, - index: 11, - finalization_pending_count: 12, - compacted: true, - concurrent: false, - pause_durations: [ - 1000 - ] -} \ No newline at end of file diff --git a/test/Sentry.Tests/Internals/MemoryInfoTests.WriteTo.DotNet7_0.verified.txt b/test/Sentry.Tests/Internals/MemoryInfoTests.WriteTo.DotNet7_0.verified.txt deleted file mode 100644 index 05e978d7b7..0000000000 --- a/test/Sentry.Tests/Internals/MemoryInfoTests.WriteTo.DotNet7_0.verified.txt +++ /dev/null @@ -1,19 +0,0 @@ -{ - allocated_bytes: 1, - fragmented_bytes: 2, - heap_size_bytes: 3, - high_memory_load_threshold_bytes: 4, - total_available_memory_bytes: 5, - memory_load_bytes: 6, - total_committed_bytes: 7, - promoted_bytes: 8, - pinned_objects_count: 9, - pause_time_percentage: 10, - index: 11, - finalization_pending_count: 12, - compacted: true, - concurrent: false, - pause_durations: [ - 1000 - ] -} \ No newline at end of file diff --git a/test/Sentry.Tests/SentryClientTests.CaptureEvent_BeforeEventThrows_ErrorToEventBreadcrumb.DotNet6_0.verified.txt b/test/Sentry.Tests/SentryClientTests.CaptureEvent_BeforeEventThrows_ErrorToEventBreadcrumb.DotNet6_0.verified.txt deleted file mode 100644 index 6dcf0fd76a..0000000000 --- a/test/Sentry.Tests/SentryClientTests.CaptureEvent_BeforeEventThrows_ErrorToEventBreadcrumb.DotNet6_0.verified.txt +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - Timestamp: DateTimeOffset_1, - Message: BeforeSend callback failed., - Data: { - message: Exception message!, - stackTrace: -at Task Sentry.Tests.SentryClientTests.CaptureEvent_BeforeEventThrows_ErrorToEventBreadcrumb() -at void Sentry.SentryOptions.SetBeforeSend(...) -at SentryEvent Sentry.SentryClient.BeforeSend(...) - }, - Category: SentryClient, - Level: error - } -] \ No newline at end of file diff --git a/test/Sentry.Tests/SentryClientTests.CaptureEvent_BeforeEventThrows_ErrorToEventBreadcrumb.DotNet7_0.verified.txt b/test/Sentry.Tests/SentryClientTests.CaptureEvent_BeforeEventThrows_ErrorToEventBreadcrumb.DotNet7_0.verified.txt deleted file mode 100644 index 6dcf0fd76a..0000000000 --- a/test/Sentry.Tests/SentryClientTests.CaptureEvent_BeforeEventThrows_ErrorToEventBreadcrumb.DotNet7_0.verified.txt +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - Timestamp: DateTimeOffset_1, - Message: BeforeSend callback failed., - Data: { - message: Exception message!, - stackTrace: -at Task Sentry.Tests.SentryClientTests.CaptureEvent_BeforeEventThrows_ErrorToEventBreadcrumb() -at void Sentry.SentryOptions.SetBeforeSend(...) -at SentryEvent Sentry.SentryClient.BeforeSend(...) - }, - Category: SentryClient, - Level: error - } -] \ No newline at end of file