From 88eb29b5d0f54306270e9e797104f585b89afafe Mon Sep 17 00:00:00 2001 From: David Fowler Date: Thu, 28 Aug 2014 22:39:13 -0700 Subject: [PATCH] Changed remaining ifdefs from K10 and ASPNETCORE50 --- src/Microsoft.AspNet.Mvc.Common/TypeExtensions.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Microsoft.AspNet.Mvc.Common/TypeExtensions.cs b/src/Microsoft.AspNet.Mvc.Common/TypeExtensions.cs index 5db791cd55..2a8daaef8f 100644 --- a/src/Microsoft.AspNet.Mvc.Common/TypeExtensions.cs +++ b/src/Microsoft.AspNet.Mvc.Common/TypeExtensions.cs @@ -10,8 +10,8 @@ namespace Microsoft.AspNet.Mvc internal static class TypeExtensions { // NOTE: Do not make #105 worse! Do not add new extension methods that conflict w/ .NET 4.5 methods. The - // exising NETFX_CORE || K10 methods should go away (soon). -#if NETFX_CORE || K10 + // exising NETFX_CORE || ASPNETCORE50 methods should go away (soon). +#if NETFX_CORE || ASPNETCORE50 private static bool EqualTo([NotNull] this Type[] t1, [NotNull] Type[] t2) { if (t1.Length != t2.Length) @@ -53,7 +53,7 @@ namespace Microsoft.AspNet.Mvc queryType.GetInterfaces().FirstOrDefault(matchesInterface); } -#if NETFX_CORE || K10 +#if NETFX_CORE || ASPNETCORE50 public static Type[] GetGenericArguments([NotNull] this Type type) { return type.GetTypeInfo().GenericTypeArguments;