8 references to SafeAssert
Microsoft.AspNetCore.SignalR.Client.Core (8)
HubConnection.cs (8)
516SafeAssert(_state.CurrentConnectionStateUnsynchronized == null, "We already have a connection!"); 1585SafeAssert(ReferenceEquals(expectedConnectionState, connectionState), "The connection state changed unexpectedly!"); 2049SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, connectionState), 2176SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, null), 2217SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, null), 2673SafeAssert(ReferenceEquals(_hubConnection._state.CurrentConnectionStateUnsynchronized, this), 2785public void AssertInConnectionLock([CallerMemberName] string? memberName = null, [CallerFilePath] string? fileName = null, [CallerLineNumber] int lineNumber = 0) => SafeAssert(_connectionLock.CurrentCount == 0, "We're not in the Connection Lock!", memberName, fileName, lineNumber); 2791SafeAssert(CurrentConnectionStateUnsynchronized != null, "We don't have a connection!", memberName, fileName, lineNumber);