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!");
2056SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, connectionState),
2183SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, null),
2224SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, null),
2680SafeAssert(ReferenceEquals(_hubConnection._state.CurrentConnectionStateUnsynchronized, this),
2795public 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);
2801SafeAssert(CurrentConnectionStateUnsynchronized != null, "We don't have a connection!", memberName, fileName, lineNumber);