GZipStream does not call underlying streams *Async methods when destination of CopyToAsync
问题 Using the following construct for a GZipStream it never seems to call the *Async method of my custom stream when GZipStream is the destination of CopyToAsync . using (var fs = new System.IO.FileStream(@"C:\BTR\Source\Assemblies\BTR.Rbl.Evolution.Documents.dll", System.IO.FileMode.Open, System.IO.FileAccess.Read, System.IO.FileShare.None, 8192, true)) { using (var ss = new GZipStream(new MyCustomStream(), CompressionMode.Compress)) { await fs.CopyToAsync(ss); } } It seems to only call the