Fix an IDE0001 message VS was screaming about

This commit is contained in:
Jordan Dominion
2024-11-03 10:27:45 -05:00
parent bfd9d2ed1f
commit d98bc2918e
@@ -40,7 +40,7 @@ namespace Tgstation.Server.Host.Security
readonly ILogger<SessionInvalidationTracker> logger;
/// <summary>
/// <see cref="ConcurrentDictionary{TKey, TValue}"/> of tracked <see cref="IAuthenticationContext.SessionId"/>s and <see cref="Models.User"/> <see cref="Api.Models.EntityId.Id"/>s to the <see cref="TaskCompletionSource{TResult}"/> for their <see cref="SessionInvalidationReason"/>s.
/// <see cref="ConcurrentDictionary{TKey, TValue}"/> of tracked <see cref="IAuthenticationContext.SessionId"/>s and <see cref="User"/> <see cref="Api.Models.EntityId.Id"/>s to the <see cref="TaskCompletionSource{TResult}"/> for their <see cref="SessionInvalidationReason"/>s.
/// </summary>
readonly ConcurrentDictionary<(string SessionId, long UserId), TaskCompletionSource<SessionInvalidationReason>> trackedSessions;
@@ -122,7 +122,7 @@ namespace Tgstation.Server.Host.Security
}
/// <inheritdoc />
public void UserModifiedInvalidateSessions(Models.User user)
public void UserModifiedInvalidateSessions(User user)
{
ArgumentNullException.ThrowIfNull(user);