5 writes to _partialBodyTagLength
Microsoft.DotNet.HotReload.Web.Middleware.Package (5)
ScriptInjectingStream.cs (5)
135
_partialBodyTagLength
= 0;
140
_partialBodyTagLength
+= restPartialTagLength;
152
_partialBodyTagLength
= 0;
189
_partialBodyTagLength
= partialBodyTagLength;
293
_partialBodyTagLength
= 0;
8 references to _partialBodyTagLength
Microsoft.DotNet.HotReload.Web.Middleware.Package (8)
ScriptInjectingStream.cs (8)
122
if (
_partialBodyTagLength
!= 0)
128
var restPartialTagLength = FindPartialTagLengthFromStart(currentBodyTagLength:
_partialBodyTagLength
, buffer.Span);
134
writer.Write(s_bodyTagBytes[..
_partialBodyTagLength
]);
142
Debug.Assert(
_partialBodyTagLength
<= s_bodyTagBytes.Length);
144
if (
_partialBodyTagLength
== s_bodyTagBytes.Length)
165
Debug.Assert(
_partialBodyTagLength
== 0);
287
if (
_partialBodyTagLength
> 0)
292
await _baseStream.WriteAsync(s_bodyTagBytes[..
_partialBodyTagLength
]);