Implemented interface member:
9 writes to IsReadOnly
Microsoft.AspNetCore.Server.HttpSys (9)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
631
Response.Headers.
IsReadOnly
= true; // Prohibit further modifications.
RequestProcessing\RequestContextOfT.cs (2)
89
Response.Headers.
IsReadOnly
= false;
90
Response.Trailers.
IsReadOnly
= false;
RequestProcessing\Response.cs (6)
43
Headers.
IsReadOnly
= false;
148
public HeaderCollection Trailers => _trailers ??= new HeaderCollection(checkTrailers: true) {
IsReadOnly
= BodyIsFinished };
190
_trailers.
IsReadOnly
= true;
379
Headers.
IsReadOnly
= false; // Temporarily unlock
477
Headers.
IsReadOnly
= true;
488
Headers.
IsReadOnly
= true; // Prohibit further modifications.
1 reference to IsReadOnly
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
254
if (
IsReadOnly
)