Skip to content

Commit 6ff7bf8

Browse files
committed
Upgrade to .Net 4.0
Fix #654
1 parent ac394b4 commit 6ff7bf8

36 files changed

+364
-957
lines changed

Lib/MoQ/Moq.dll

149 KB
Binary file not shown.

Lib/MoQ/Moq.xml

Lines changed: 347 additions & 666 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LibGit2Sharp.Tests/BlobFixture.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System;
2-
using System.IO;
1+
using System.IO;
32
using System.Linq;
43
using System.Text;
54
using LibGit2Sharp.Tests.TestHelpers;

LibGit2Sharp.Tests/LazyFixture.cs

Lines changed: 0 additions & 40 deletions
This file was deleted.

LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<RootNamespace>LibGit2Sharp.Tests</RootNamespace>
1212
<AssemblyName>LibGit2Sharp.Tests</AssemblyName>
13-
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
13+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
15+
<TargetFrameworkProfile />
1516
</PropertyGroup>
1617
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1718
<DebugSymbols>true</DebugSymbols>
1819
<DebugType>full</DebugType>
1920
<Optimize>false</Optimize>
2021
<OutputPath>bin\Debug\</OutputPath>
21-
<DefineConstants>TRACE;DEBUG;NET35</DefineConstants>
22+
<DefineConstants>TRACE;DEBUG;NET40</DefineConstants>
2223
<ErrorReport>prompt</ErrorReport>
2324
<WarningLevel>4</WarningLevel>
2425
<DocumentationFile />
@@ -37,7 +38,7 @@
3738
<DebugType>full</DebugType>
3839
<Optimize>false</Optimize>
3940
<OutputPath>bin\Leaks\</OutputPath>
40-
<DefineConstants>TRACE;DEBUG;NET35;LEAKS</DefineConstants>
41+
<DefineConstants>TRACE;DEBUG;NET40;LEAKS</DefineConstants>
4142
<ErrorReport>prompt</ErrorReport>
4243
<WarningLevel>4</WarningLevel>
4344
<DocumentationFile />
@@ -96,7 +97,6 @@
9697
<Compile Include="DiffTreeToTreeFixture.cs" />
9798
<Compile Include="RepositoryOptionsFixture.cs" />
9899
<Compile Include="ResetHeadFixture.cs" />
99-
<Compile Include="LazyFixture.cs" />
100100
<Compile Include="FetchFixture.cs" />
101101
<Compile Include="ResetIndexFixture.cs" />
102102
<Compile Include="StatusFixture.cs" />
@@ -122,7 +122,6 @@
122122
<Compile Include="TestHelpers\SkippableFactAttribute.cs" />
123123
<Compile Include="TreeDefinitionFixture.cs" />
124124
<Compile Include="TreeFixture.cs" />
125-
<Compile Include="TupleFixture.cs" />
126125
<Compile Include="UnstageFixture.cs" />
127126
</ItemGroup>
128127
<ItemGroup>

LibGit2Sharp.Tests/NetworkFixture.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using System.Collections.Generic;
1+
using System;
2+
using System.Collections.Generic;
23
using System.Linq;
3-
using LibGit2Sharp.Core.Compat;
44
using LibGit2Sharp.Tests.TestHelpers;
55
using Xunit;
66
using Xunit.Extensions;

LibGit2Sharp.Tests/TupleFixture.cs

Lines changed: 0 additions & 54 deletions
This file was deleted.

LibGit2Sharp/BlameHunk.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Diagnostics;
33
using System.Globalization;
44
using LibGit2Sharp.Core;
5-
using LibGit2Sharp.Core.Compat;
65

76
namespace LibGit2Sharp
87
{

LibGit2Sharp/Branch.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Globalization;
33
using LibGit2Sharp.Core;
4-
using LibGit2Sharp.Core.Compat;
54
using LibGit2Sharp.Handlers;
65

76
namespace LibGit2Sharp

LibGit2Sharp/Commit.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using System.Globalization;
66
using System.Linq;
77
using LibGit2Sharp.Core;
8-
using LibGit2Sharp.Core.Compat;
98
using LibGit2Sharp.Core.Handles;
109

1110
namespace LibGit2Sharp

LibGit2Sharp/Core/Compat/EnumExtensions.cs

Lines changed: 0 additions & 15 deletions
This file was deleted.

LibGit2Sharp/Core/Compat/Environment.cs

Lines changed: 0 additions & 18 deletions
This file was deleted.

LibGit2Sharp/Core/Compat/Lazy.cs

Lines changed: 0 additions & 54 deletions
This file was deleted.

LibGit2Sharp/Core/Compat/Tuple.cs

Lines changed: 0 additions & 65 deletions
This file was deleted.

LibGit2Sharp/Core/EnumExtensions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4-
using LibGit2Sharp.Core.Compat;
54

65
namespace LibGit2Sharp.Core
76
{

LibGit2Sharp/Core/GitDiffExtensions.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using LibGit2Sharp.Core.Compat;
2-
31
namespace LibGit2Sharp.Core
42
{
53
internal static class GitDiffExtensions

LibGit2Sharp/Core/LazyGroup.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using LibGit2Sharp.Core.Compat;
43

54
namespace LibGit2Sharp.Core
65
{

LibGit2Sharp/Core/NativeMethods.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public static string ProcessorArchitecture
7979
{
8080
get
8181
{
82-
if (Compat.Environment.Is64BitProcess)
82+
if (Environment.Is64BitProcess)
8383
{
8484
return "amd64";
8585
}

LibGit2Sharp/Core/Proxy.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using System.Linq;
66
using System.Runtime.InteropServices;
77
using System.Threading;
8-
using LibGit2Sharp.Core.Compat;
98
using LibGit2Sharp.Core.Handles;
109

1110
// ReSharper disable InconsistentNaming

LibGit2Sharp/Diff.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using System.Linq;
55
using System.Text;
66
using LibGit2Sharp.Core;
7-
using LibGit2Sharp.Core.Compat;
87
using LibGit2Sharp.Core.Handles;
98
using Environment = System.Environment;
109

LibGit2Sharp/DirectReference.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using LibGit2Sharp.Core.Compat;
1+
using System;
22

33
namespace LibGit2Sharp
44
{

LibGit2Sharp/HistoryDivergence.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
using System;
12
using LibGit2Sharp.Core;
2-
using LibGit2Sharp.Core.Compat;
33

44
namespace LibGit2Sharp
55
{

0 commit comments

Comments
 (0)