This repository was archived by the owner on Nov 20, 2018. It is now read-only.
File tree 4 files changed +5
-4
lines changed
src/Microsoft.AspNet.Http
4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
// Copyright (c) .NET Foundation. All rights reserved.
2
2
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3
3
4
+ using System ;
4
5
using System . Collections ;
5
6
using System . Collections . Generic ;
6
7
using Microsoft . Extensions . Primitives ;
@@ -13,7 +14,7 @@ namespace Microsoft.AspNet.Http.Internal
13
14
public class FormCollection : IFormCollection
14
15
{
15
16
public static readonly FormCollection Empty = new FormCollection ( ) ;
16
- #if DNXCORE50
17
+ #if DOTNET5_4
17
18
private static readonly string [ ] EmptyKeys = Array . Empty < string > ( ) ;
18
19
private static readonly StringValues [ ] EmptyValues = Array . Empty < StringValues > ( ) ;
19
20
#else
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ namespace Microsoft.AspNet.Http.Internal
13
13
/// </summary>
14
14
public class HeaderDictionary : IHeaderDictionary
15
15
{
16
- #if DNXCORE50
16
+ #if DOTNET5_4
17
17
private static readonly string [ ] EmptyKeys = Array . Empty < string > ( ) ;
18
18
private static readonly StringValues [ ] EmptyValues = Array . Empty < StringValues > ( ) ;
19
19
#else
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ namespace Microsoft.AspNet.Http.Internal
14
14
public class QueryCollection : IQueryCollection
15
15
{
16
16
public static readonly QueryCollection Empty = new QueryCollection ( ) ;
17
- #if DNXCORE50
17
+ #if DOTNET5_4
18
18
private static readonly string [ ] EmptyKeys = Array . Empty < string > ( ) ;
19
19
private static readonly StringValues [ ] EmptyValues = Array . Empty < StringValues > ( ) ;
20
20
#else
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ namespace Microsoft.AspNet.Http.Internal
11
11
public class RequestCookieCollection : IRequestCookieCollection
12
12
{
13
13
public static readonly RequestCookieCollection Empty = new RequestCookieCollection ( ) ;
14
- #if DNXCORE50
14
+ #if DOTNET5_4
15
15
private static readonly string [ ] EmptyKeys = Array . Empty < string > ( ) ;
16
16
#else
17
17
private static readonly string [ ] EmptyKeys = new string [ 0 ] ;
You can’t perform that action at this time.
0 commit comments