Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Arzt <arzt.samuel@live.de>2017-11-02 23:05:34 +0300
committerJan Kotas <jkotas@microsoft.com>2017-11-02 23:05:34 +0300
commit4d824e261a7223bf2a36d5b6c85d5c8ed93a205a (patch)
treed99b442b48ef3feaa59f458aa71337f4c528c57e /src/ILVerify
parent3b9a7fc3fc60fdca245f431bfa40672f087a53d5 (diff)
Added net46 as second target framework. (#4862)
Diffstat (limited to 'src/ILVerify')
-rw-r--r--src/ILVerify/src/AccessVerificationHelpers.cs2
-rw-r--r--src/ILVerify/src/ILVerify.csproj4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ILVerify/src/AccessVerificationHelpers.cs b/src/ILVerify/src/AccessVerificationHelpers.cs
index 37064f850..9274cad54 100644
--- a/src/ILVerify/src/AccessVerificationHelpers.cs
+++ b/src/ILVerify/src/AccessVerificationHelpers.cs
@@ -262,7 +262,7 @@ namespace ILVerify
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 73c0208a6..d07d962fa 100644
--- a/src/ILVerify/src/ILVerify.csproj
+++ b/src/ILVerify/src/ILVerify.csproj
@@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
- <TargetFramework>netcoreapp2.0</TargetFramework>
+ <TargetFrameworks>netcoreapp2.0;net46</TargetFrameworks>
<CLSCompliant>false</CLSCompliant>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
@@ -294,7 +294,7 @@
</ItemGroup>
<ItemGroup>
- <PackageReference Include="System.IO.MemoryMappedFiles" Version="4.0.0" />
+ <PackageReference Include="System.IO.MemoryMappedFiles" Version="4.3.0" />
<PackageReference Include="System.Reflection.Metadata" Version="1.4.1" />
<PackageReference Include="System.CommandLine" Version="0.1.0-e160909-1" />
</ItemGroup>