From d935779f147605f3b34282b3bfb3fd5952438458 Mon Sep 17 00:00:00 2001 From: Samuel Arzt Date: Thu, 2 Nov 2017 18:39:17 +0100 Subject: [PATCH] Added net46 as second target framework. --- src/ILVerify/src/AccessVerificationHelpers.cs | 2 +- src/ILVerify/src/ILVerify.csproj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ILVerify/src/AccessVerificationHelpers.cs b/src/ILVerify/src/AccessVerificationHelpers.cs index 37064f850eb..9274cad5434 100644 --- a/src/ILVerify/src/AccessVerificationHelpers.cs +++ b/src/ILVerify/src/AccessVerificationHelpers.cs @@ -262,7 +262,7 @@ private static bool GrantsFriendAccessTo(this ModuleDesc module, ModuleDesc frie foreach (var attribute in assembly.GetDecodedCustomAttributes("System.Runtime.CompilerServices", "InternalsVisibleToAttribute")) { - var friendValues = ((string)attribute.FixedArguments[0].Value).Split(", "); + var friendValues = ((string)attribute.FixedArguments[0].Value).Split(new string[] { ", " }, StringSplitOptions.None); if (friendValues.Length >= 1 && friendValues.Length <= 2) { if (friendValues[0] != friendName.Name) diff --git a/src/ILVerify/src/ILVerify.csproj b/src/ILVerify/src/ILVerify.csproj index 73c0208a683..d07d962fa99 100644 --- a/src/ILVerify/src/ILVerify.csproj +++ b/src/ILVerify/src/ILVerify.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.0;net46 false true false @@ -294,7 +294,7 @@ - +