1 write to _headerByte
Microsoft.Build (1)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
1041_headerByte = new byte[5]; // 1 for the packet type, 4 for the body length
5 references to _headerByte
Microsoft.Build (5)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (5)
1094int bytesRead = await _pipeStream.ReadAsync(_headerByte.AsMemory(), CancellationToken.None).ConfigureAwait(false); 1108NodePacketType packetType = (NodePacketType)_headerByte[0]; 1109int packetLength = BinaryPrimitives.ReadInt32LittleEndian(new Span<byte>(_headerByte, 1, 4)); 1340if (bytesRead != _headerByte.Length) 1342CommunicationsUtilities.Trace(_nodeId, $"COMMUNICATIONS ERROR (HRC) Node: {_nodeId} Process: {_process.Id} Bytes Read: {bytesRead} Expected: {_headerByte.Length}");