Skip to content

Commit

Permalink
Fix APIApproval
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebakken committed Feb 13, 2024
1 parent 8a1e276 commit b7c81fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Expand Up @@ -36,7 +36,7 @@
namespace RabbitMQ.Client.Logging
{
[EventSource(Name = "rabbitmq-dotnet-client")]
internal sealed partial class RabbitMqClientEventSource : EventSource
public sealed partial class RabbitMqClientEventSource : EventSource
{
public class Keywords
{
Expand Down
4 changes: 3 additions & 1 deletion projects/Unit/APIApproval.Approve.verified.txt
Expand Up @@ -675,10 +675,12 @@ namespace RabbitMQ.Client
public static RabbitMQ.Client.TimerBasedCredentialRefresherEventSource Log { get; }
[System.Diagnostics.Tracing.Event(6)]
public void AlreadyRegistered(string name) { }
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ReflectionAnalysis", "IL2026:RequiresUnreferencedCode", Justification="Parameters to this method are primitive and are trimmer safe")]
[System.Diagnostics.Tracing.Event(5)]
public void RefreshedCredentials(string name, bool succesfully) { }
[System.Diagnostics.Tracing.Event(1)]
public void Registered(string name) { }
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ReflectionAnalysis", "IL2026:RequiresUnreferencedCode", Justification="Parameters to this method are primitive and are trimmer safe")]
[System.Diagnostics.Tracing.Event(3)]
public void ScheduledTimer(string name, double interval) { }
[System.Diagnostics.Tracing.Event(4)]
Expand Down Expand Up @@ -985,7 +987,7 @@ namespace RabbitMQ.Client.Logging
[System.Diagnostics.Tracing.EventSource(Name="rabbitmq-dotnet-client")]
public sealed class RabbitMqClientEventSource : System.Diagnostics.Tracing.EventSource
{
public static RabbitMQ.Client.Logging.RabbitMqClientEventSource Log;
public static readonly RabbitMQ.Client.Logging.RabbitMqClientEventSource Log;
public RabbitMqClientEventSource() { }
[System.Diagnostics.Tracing.Event(3, Keywords=System.Diagnostics.Tracing.EventKeywords.None, Level=System.Diagnostics.Tracing.EventLevel.Error, Message="ERROR")]
public void Error(string message, RabbitMQ.Client.Logging.RabbitMqExceptionDetail ex) { }
Expand Down

0 comments on commit b7c81fe

Please sign in to comment.