1 write to _target
Microsoft.TemplateEngine.Core (1)
Util\ProcessorState.cs (1)
60_target = new StreamProxy(target, bufferSize);
32 references to _target
Microsoft.TemplateEngine.Core (32)
Util\ProcessorState.cs (32)
211_target.Write(CurrentBuffer, handoffBufferPosition - toWrite - matchLength, toWrite); 239_target.Flush(); 284_target.Write(CurrentBuffer, bufferPositionToAdvanceTo - toWrite, toWrite); 308_target.Write(CurrentBuffer, handoffBufferPosition - toWrite - matchLength, toWrite); 347_target.Write(CurrentBuffer, CurrentBufferLength - toWrite, toWrite); 350_target.FlushToTarget(); 357while (_target.Position > _bomSize) 359if (_target.Position - _bomSize < buffer.Length) 361_target.Position = _bomSize; 365_target.Position -= buffer.Length; 368int nRead = ReadExactBytes(_target, buffer, 0, buffer.Length); 384_target.Position -= nRead - bestPos + (consume ? match.TokenLength[best] : 0); 385_target.SetLength(_target.Position); 390if (_target.Position - _bomSize < buffer.Length) 392_target.Position = _bomSize; 396_target.Position -= buffer.Length; 400if (_target.Position == _bomSize) 402_target.SetLength(_bomSize); 409while (_target.Position > _bomSize) 411if (_target.Position - _bomSize < buffer.Length) 413_target.Position = _bomSize; 417_target.Position -= buffer.Length; 420int nRead = ReadExactBytes(_target, buffer, 0, buffer.Length); 437_target.SetLength(_target.Position); 442if (_target.Position - _bomSize < buffer.Length) 444_target.Position = _bomSize; 448_target.Position -= buffer.Length; 452if (_target.Position == _bomSize) 454_target.SetLength(_bomSize); 458public void WriteToTarget(byte[] buffer, int offset, int count) => _target.Write(buffer, offset, count);