8 references to SafeAssert
Microsoft.AspNetCore.SignalR.Client.Core (8)
HubConnection.cs (8)
486SafeAssert(_state.CurrentConnectionStateUnsynchronized == null, "We already have a connection!");
1277SafeAssert(ReferenceEquals(expectedConnectionState, connectionState), "The connection state changed unexpectedly!");
1735SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, connectionState),
1869SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, null),
1910SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, null),
2366SafeAssert(ReferenceEquals(_hubConnection._state.CurrentConnectionStateUnsynchronized, this),
2478public 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);
2484SafeAssert(CurrentConnectionStateUnsynchronized != null, "We don't have a connection!", memberName, fileName, lineNumber);