3 references to NotNullWhen
Microsoft.AspNetCore.SignalR.Common (3)
Protocol\HandshakeProtocol.cs (2)
116
public static bool TryParseResponseMessage(ref ReadOnlySequence<byte> buffer, [
NotNullWhen
(true)] out HandshakeResponseMessage? responseMessage)
170
public static bool TryParseRequestMessage(ref ReadOnlySequence<byte> buffer, [
NotNullWhen
(true)] out HandshakeRequestMessage? requestMessage)
Protocol\IHubProtocol.cs (1)
38
bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, [
NotNullWhen
(true)] out HubMessage? message);