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;
1420if (_state.CurrentConnectionStateUnsynchronized != null)
1425await SendHubMessage(_state.CurrentConnectionStateUnsynchronized, new CancelInvocationMessage(irq.InvocationId), cancellationToken: default).ConfigureAwait(false);
2040return _state.CurrentConnectionStateUnsynchronized!.RunTimerActions();
2047_state.CurrentConnectionStateUnsynchronized!.OnServerTimeout();
2058SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, connectionState),
2185SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, null),
2226SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, null),
2680if (_hubConnection._state.CurrentConnectionStateUnsynchronized != null)
2682SafeAssert(ReferenceEquals(_hubConnection._state.CurrentConnectionStateUnsynchronized, this),
2803SafeAssert(CurrentConnectionStateUnsynchronized != null, "We don't have a connection!", memberName, fileName, lineNumber);
2832return CurrentConnectionStateUnsynchronized;
2835[MemberNotNullWhen(true, nameof(CurrentConnectionStateUnsynchronized))]
2839return CurrentConnectionStateUnsynchronized is not null && !CurrentConnectionStateUnsynchronized.Stopping;