Skip to content

Commit 5b6956b

Browse files
committed
Remove unused virtual keyword.
1 parent 1deeae3 commit 5b6956b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/RabbitMQ.Client/client/impl/SessionBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,13 @@ public event EventHandler<ShutdownEventArgs> SessionShutdown
8686
[MemberNotNullWhen(false, nameof(CloseReason))]
8787
public bool IsOpen => CloseReason is null;
8888

89-
public virtual Task OnConnectionShutdownAsync(object? conn, ShutdownEventArgs reason)
89+
public Task OnConnectionShutdownAsync(object? conn, ShutdownEventArgs reason)
9090
{
9191
Close(reason);
9292
return Task.CompletedTask;
9393
}
9494

95-
public virtual void OnSessionShutdown(ShutdownEventArgs reason)
95+
public void OnSessionShutdown(ShutdownEventArgs reason)
9696
{
9797
Connection.ConnectionShutdownAsync -= OnConnectionShutdownAsync;
9898
_sessionShutdownWrapper.Invoke(this, reason);

0 commit comments

Comments
 (0)