Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Commit 90fcbd6

Browse files
committed
Update ifdefs from DNXCORE50 to DOTNET5_4
Fixes #467
1 parent 4efc40d commit 90fcbd6

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

Diff for: src/Microsoft.AspNet.Http/FormCollection.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4+
using System;
45
using System.Collections;
56
using System.Collections.Generic;
67
using Microsoft.Extensions.Primitives;
@@ -13,7 +14,7 @@ namespace Microsoft.AspNet.Http.Internal
1314
public class FormCollection : IFormCollection
1415
{
1516
public static readonly FormCollection Empty = new FormCollection();
16-
#if DNXCORE50
17+
#if DOTNET5_4
1718
private static readonly string[] EmptyKeys = Array.Empty<string>();
1819
private static readonly StringValues[] EmptyValues = Array.Empty<StringValues>();
1920
#else

Diff for: src/Microsoft.AspNet.Http/HeaderDictionary.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Microsoft.AspNet.Http.Internal
1313
/// </summary>
1414
public class HeaderDictionary : IHeaderDictionary
1515
{
16-
#if DNXCORE50
16+
#if DOTNET5_4
1717
private static readonly string[] EmptyKeys = Array.Empty<string>();
1818
private static readonly StringValues[] EmptyValues = Array.Empty<StringValues>();
1919
#else

Diff for: src/Microsoft.AspNet.Http/QueryCollection.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace Microsoft.AspNet.Http.Internal
1414
public class QueryCollection : IQueryCollection
1515
{
1616
public static readonly QueryCollection Empty = new QueryCollection();
17-
#if DNXCORE50
17+
#if DOTNET5_4
1818
private static readonly string[] EmptyKeys = Array.Empty<string>();
1919
private static readonly StringValues[] EmptyValues = Array.Empty<StringValues>();
2020
#else

Diff for: src/Microsoft.AspNet.Http/RequestCookieCollection.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Microsoft.AspNet.Http.Internal
1111
public class RequestCookieCollection : IRequestCookieCollection
1212
{
1313
public static readonly RequestCookieCollection Empty = new RequestCookieCollection();
14-
#if DNXCORE50
14+
#if DOTNET5_4
1515
private static readonly string[] EmptyKeys = Array.Empty<string>();
1616
#else
1717
private static readonly string[] EmptyKeys = new string[0];

0 commit comments

Comments
 (0)