File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
src/Servers/Kestrel/Core/src/Internal/Http Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,8 @@ public void SetReadOnly()
111
111
_isReadOnly = true ;
112
112
}
113
113
114
+ // Inline to allow ClearFast to devirtualize in caller
115
+ [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
114
116
public void Reset ( )
115
117
{
116
118
_isReadOnly = false ;
Original file line number Diff line number Diff line change 11
11
12
12
namespace Microsoft . AspNetCore . Server . Kestrel . Core . Internal . Http
13
13
{
14
- public partial class HttpRequestHeaders : HttpHeaders
14
+ public sealed partial class HttpRequestHeaders : HttpHeaders
15
15
{
16
16
private static long ParseContentLength ( string value )
17
17
{
Original file line number Diff line number Diff line change 12
12
13
13
namespace Microsoft . AspNetCore . Server . Kestrel . Core . Internal . Http
14
14
{
15
- public partial class HttpResponseHeaders : HttpHeaders
15
+ public sealed partial class HttpResponseHeaders : HttpHeaders
16
16
{
17
17
private static readonly byte [ ] _CrLf = new [ ] { ( byte ) '\r ' , ( byte ) '\n ' } ;
18
18
private static readonly byte [ ] _colonSpace = new [ ] { ( byte ) ':' , ( byte ) ' ' } ;
You can’t perform that action at this time.
0 commit comments