5 writes to _partialBodyTagLength
Microsoft.AspNetCore.Watch.BrowserRefresh (5)
ScriptInjectingStream.cs (5)
128
_partialBodyTagLength
= 0;
133
_partialBodyTagLength
+= restPartialTagLength;
145
_partialBodyTagLength
= 0;
182
_partialBodyTagLength
= partialBodyTagLength;
286
_partialBodyTagLength
= 0;
8 references to _partialBodyTagLength
Microsoft.AspNetCore.Watch.BrowserRefresh (8)
ScriptInjectingStream.cs (8)
115
if (
_partialBodyTagLength
!= 0)
121
var restPartialTagLength = FindPartialTagLengthFromStart(currentBodyTagLength:
_partialBodyTagLength
, buffer.Span);
127
writer.Write(s_bodyTagBytes[..
_partialBodyTagLength
]);
135
Debug.Assert(
_partialBodyTagLength
<= s_bodyTagBytes.Length);
137
if (
_partialBodyTagLength
== s_bodyTagBytes.Length)
158
Debug.Assert(
_partialBodyTagLength
== 0);
280
if (
_partialBodyTagLength
> 0)
285
await _baseStream.WriteAsync(s_bodyTagBytes[..
_partialBodyTagLength
]);