2 writes to CurrentConnectionStateUnsynchronized
Microsoft.AspNetCore.SignalR.Client.Core (2)
HubConnection.cs (2)
570_state.CurrentConnectionStateUnsynchronized = startingConnectionState; 2058_state.CurrentConnectionStateUnsynchronized = null;
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); 2038return _state.CurrentConnectionStateUnsynchronized!.RunTimerActions(); 2045_state.CurrentConnectionStateUnsynchronized!.OnServerTimeout(); 2056SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, connectionState), 2183SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, null), 2224SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, null), 2678if (_hubConnection._state.CurrentConnectionStateUnsynchronized != null) 2680SafeAssert(ReferenceEquals(_hubConnection._state.CurrentConnectionStateUnsynchronized, this), 2801SafeAssert(CurrentConnectionStateUnsynchronized != null, "We don't have a connection!", memberName, fileName, lineNumber); 2830return CurrentConnectionStateUnsynchronized; 2833[MemberNotNullWhen(true, nameof(CurrentConnectionStateUnsynchronized))] 2837return CurrentConnectionStateUnsynchronized is not null && !CurrentConnectionStateUnsynchronized.Stopping;