1 write to _framer
System.Net.Security (1)
System\Net\Security\NegotiateStream.cs (1)
657_framer = new StreamFramer();
13 references to _framer
System.Net.Security (13)
System\Net\Security\NegotiateStream.cs (13)
658_framer.WriteHeader.MessageId = FrameHeader.HandshakeId; 791_framer!.WriteHeader.MessageId = FrameHeader.HandshakeDoneId; 805await _framer!.WriteMessageAsync<TIOAdapter>(InnerStream, message, cancellationToken).ConfigureAwait(false); 852await _framer!.WriteMessageAsync<TIOAdapter>(InnerStream, message, cancellationToken).ConfigureAwait(false); 862Debug.Assert(_framer != null); 864byte[]? message = await _framer.ReadMessageAsync<TIOAdapter>(InnerStream, cancellationToken).ConfigureAwait(false); 872if (_framer.ReadHeader.MessageId == FrameHeader.HandshakeErrId) 884if (_framer.ReadHeader.MessageId == FrameHeader.HandshakeDoneId) 897else if (_framer.ReadHeader.MessageId != FrameHeader.HandshakeId) 899throw new AuthenticationException(SR.Format(SR.net_io_header_id, nameof(FrameHeader.MessageId), _framer.ReadHeader.MessageId, FrameHeader.HandshakeId)); 907throw new AuthenticationException(SR.Format(SR.net_io_header_id, nameof(FrameHeader.MessageId), _framer.ReadHeader.MessageId, FrameHeader.HandshakeDoneId)); 922_framer!.WriteHeader.MessageId = FrameHeader.HandshakeErrId; 924await _framer.WriteMessageAsync<TIOAdapter>(InnerStream, message, cancellationToken).ConfigureAwait(false);