11 implementations of IsReadOnly
BasicWebSite (1)
StartupRequestLimitSize.cs (1)
130public bool IsReadOnly => false;
Microsoft.AspNetCore.Mvc.Core.Test (2)
Filters\DisableRequestSizeLimitFilterTest.cs (1)
129public bool IsReadOnly { get; set; }
Filters\RequestSizeLimitFilterTest.cs (1)
135public bool IsReadOnly { get; set; }
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
AntiforgeryMiddlewareTest.cs (1)
262public bool IsReadOnly { get; }
Microsoft.AspNetCore.RequestDecompression.Microbenchmarks (1)
RequestDecompressionMiddlewareBenchmark.cs (1)
66public bool IsReadOnly => false;
Microsoft.AspNetCore.RequestDecompression.Tests (1)
RequestDecompressionMiddlewareTests.cs (1)
785public bool IsReadOnly { get; }
Microsoft.AspNetCore.Routing.FunctionalTests (1)
MinimalFormTests.cs (1)
787public bool IsReadOnly { get; }
Microsoft.AspNetCore.Routing.Tests (1)
EndpointRoutingMiddlewareTest.cs (1)
443public bool IsReadOnly { get; }
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
585bool IHttpMaxRequestBodySizeFeature.IsReadOnly => Request.HasRequestBodyStarted;
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
437bool IHttpMaxRequestBodySizeFeature.IsReadOnly => HasStartedConsumingRequestBody || _wasUpgraded;
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
198bool IHttpMaxRequestBodySizeFeature.IsReadOnly => HasStartedConsumingRequestBody || IsUpgraded || IsExtendedConnectRequest;
38 references to IsReadOnly
IIS.Tests (1)
MaxRequestBodySizeTests.cs (1)
249Assert.True(feature.IsReadOnly);
InMemory.FunctionalTests (12)
Http2\Http2StreamTests.cs (4)
2051Assert.False(context.Features.Get<IHttpMaxRequestBodySizeFeature>().IsReadOnly); 2060Assert.True(context.Features.Get<IHttpMaxRequestBodySizeFeature>().IsReadOnly); 2111Assert.False(context.Features.Get<IHttpMaxRequestBodySizeFeature>().IsReadOnly); 2116Assert.True(context.Features.Get<IHttpMaxRequestBodySizeFeature>().IsReadOnly);
Http2\Http2WebSocketTests.cs (2)
398Assert.True(maxRequestBodySizeFeature.IsReadOnly); 400Assert.True(maxRequestBodySizeFeature.IsReadOnly);
Http3\Http3StreamTests.cs (4)
2664Assert.False(context.Features.Get<IHttpMaxRequestBodySizeFeature>().IsReadOnly); 2673Assert.True(context.Features.Get<IHttpMaxRequestBodySizeFeature>().IsReadOnly); 2716Assert.False(context.Features.Get<IHttpMaxRequestBodySizeFeature>().IsReadOnly); 2721Assert.True(context.Features.Get<IHttpMaxRequestBodySizeFeature>().IsReadOnly);
MaxRequestBodySizeTests.cs (2)
295Assert.True(feature.IsReadOnly); 335Assert.True(feature.IsReadOnly);
Microsoft.AspNetCore.Mvc.Core (2)
Filters\DisableRequestSizeLimitFilter.cs (1)
49else if (maxRequestBodySizeFeature.IsReadOnly)
Filters\RequestSizeLimitFilter.cs (1)
51else if (maxRequestBodySizeFeature.IsReadOnly)
Microsoft.AspNetCore.Routing (1)
EndpointRoutingMiddleware.cs (1)
316else if (maxRequestBodySizeFeature.IsReadOnly)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (20)
OpaqueUpgradeTests.cs (2)
136Assert.False(feature.IsReadOnly); 144Assert.True(feature.IsReadOnly);
RequestBodyLimitTests.cs (18)
28Assert.False(feature.IsReadOnly); 50Assert.False(feature.IsReadOnly); 72Assert.False(feature.IsReadOnly); 95Assert.False(feature.IsReadOnly); 117Assert.False(feature.IsReadOnly); 139Assert.False(feature.IsReadOnly); 162Assert.False(feature.IsReadOnly); 187Assert.False(feature.IsReadOnly); 212Assert.False(feature.IsReadOnly); 238Assert.False(feature.IsReadOnly); 263Assert.False(feature.IsReadOnly); 287Assert.False(feature.IsReadOnly); 315Assert.False(feature.IsReadOnly); 341Assert.False(feature.IsReadOnly); 365Assert.False(feature.IsReadOnly); 371Assert.True(feature.IsReadOnly); 389Assert.False(feature.IsReadOnly); 395Assert.True(feature.IsReadOnly);
Microsoft.AspNetCore.Server.IISIntegration (1)
IISMiddleware.cs (1)
129if (bodySizeFeature != null && !bodySizeFeature.IsReadOnly)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Http1\Http1ConnectionTests.cs (1)
939Assert.True(((IHttpMaxRequestBodySizeFeature)_http1Connection).IsReadOnly);