public void Flush() { lock (flushLock) { BaseStream?.Flush(); diagnosticOutputStream.Flush(); } }
public void Flush() { baseStream.Flush(); }
public void Flush() { lock (sync) baseStream.Flush(); }