2 writes to CurrentConnectionStateUnsynchronized
Microsoft.AspNetCore.SignalR.Client.Core (2)
20 references to CurrentConnectionStateUnsynchronized
Microsoft.AspNetCore.SignalR.Client.Core (20)
HubConnection.cs (20)
220public string? ConnectionId => _state.CurrentConnectionStateUnsynchronized?.Connection.ConnectionId;
516SafeAssert(_state.CurrentConnectionStateUnsynchronized == null, "We already have a connection!");
605var connectionState = _state.CurrentConnectionStateUnsynchronized;
690if (_state.CurrentConnectionStateUnsynchronized is { } connectionState)
721if (_state.CurrentConnectionStateUnsynchronized is { } connectionState)
885connectionState = _state.CurrentConnectionStateUnsynchronized;
1418if (_state.CurrentConnectionStateUnsynchronized != null)
1423await SendHubMessage(_state.CurrentConnectionStateUnsynchronized, new CancelInvocationMessage(irq.InvocationId), cancellationToken: default).ConfigureAwait(false);
2031return _state.CurrentConnectionStateUnsynchronized!.RunTimerActions();
2038_state.CurrentConnectionStateUnsynchronized!.OnServerTimeout();
2049SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, connectionState),
2176SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, null),
2217SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, null),
2671if (_hubConnection._state.CurrentConnectionStateUnsynchronized != null)
2673SafeAssert(ReferenceEquals(_hubConnection._state.CurrentConnectionStateUnsynchronized, this),
2791SafeAssert(CurrentConnectionStateUnsynchronized != null, "We don't have a connection!", memberName, fileName, lineNumber);
2820return CurrentConnectionStateUnsynchronized;
2823[MemberNotNullWhen(true, nameof(CurrentConnectionStateUnsynchronized))]
2827return CurrentConnectionStateUnsynchronized is not null && !CurrentConnectionStateUnsynchronized.Stopping;