Commit e615d17
Document caution regarding AdvanceTo's side effect (#3659)
* Document caution regarding AdvanceTo's side effect
After calling `PipeReader.AdvanceTo`, the `ReadResult.Buffer` property's backing data is recycled, leading to indeterministic changes to not only the content but its `Length` property. This isn't particular predictable as a consumer and the docs didn't make it clear either.
* Use xref's
Co-Authored-By: Bill Wagner <wiwagn@microsoft.com>1 parent e66b5cb commit e615d17
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments