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 @@ - +