Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 3, 2023. It is now read-only.

Commit 29c8603

Browse files
Therzoknulltoken
authored andcommitted
Remove Leaks configuration
Fix libgit2#869
1 parent d61918a commit 29c8603

File tree

4 files changed

+3
-31
lines changed

4 files changed

+3
-31
lines changed

LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
<DefineConstants>TRACE;DEBUG;NET40</DefineConstants>
2323
<ErrorReport>prompt</ErrorReport>
2424
<WarningLevel>4</WarningLevel>
25-
<DocumentationFile />
2625
</PropertyGroup>
2726
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2827
<DebugType>pdbonly</DebugType>
@@ -31,17 +30,6 @@
3130
<DefineConstants>TRACE</DefineConstants>
3231
<ErrorReport>prompt</ErrorReport>
3332
<WarningLevel>4</WarningLevel>
34-
<DocumentationFile />
35-
</PropertyGroup>
36-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Leaks|AnyCPU' ">
37-
<DebugSymbols>true</DebugSymbols>
38-
<DebugType>full</DebugType>
39-
<Optimize>false</Optimize>
40-
<OutputPath>bin\Leaks\</OutputPath>
41-
<DefineConstants>TRACE;DEBUG;NET40;LEAKS</DefineConstants>
42-
<ErrorReport>prompt</ErrorReport>
43-
<WarningLevel>4</WarningLevel>
44-
<DocumentationFile />
4533
</PropertyGroup>
4634
<ItemGroup>
4735
<Reference Include="Moq, Version=4.0.10827.0, Culture=neutral, PublicKeyToken=69f491c39445e920, processorArchitecture=MSIL">

LibGit2Sharp.sln

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,22 @@ EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1010
Debug|Any CPU = Debug|Any CPU
11-
Leaks|Any CPU = Leaks|Any CPU
1211
Release|Any CPU = Release|Any CPU
1312
EndGlobalSection
1413
GlobalSection(ProjectConfigurationPlatforms) = postSolution
1514
{EE6ED99F-CB12-4683-B055-D28FC7357A34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
1615
{EE6ED99F-CB12-4683-B055-D28FC7357A34}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{EE6ED99F-CB12-4683-B055-D28FC7357A34}.Leaks|Any CPU.ActiveCfg = Leaks|Any CPU
18-
{EE6ED99F-CB12-4683-B055-D28FC7357A34}.Leaks|Any CPU.Build.0 = Leaks|Any CPU
1916
{EE6ED99F-CB12-4683-B055-D28FC7357A34}.Release|Any CPU.ActiveCfg = Release|Any CPU
2017
{EE6ED99F-CB12-4683-B055-D28FC7357A34}.Release|Any CPU.Build.0 = Release|Any CPU
2118
{286E63EB-04DD-4ADE-88D6-041B57800761}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2219
{286E63EB-04DD-4ADE-88D6-041B57800761}.Debug|Any CPU.Build.0 = Debug|Any CPU
23-
{286E63EB-04DD-4ADE-88D6-041B57800761}.Leaks|Any CPU.ActiveCfg = Leaks|Any CPU
24-
{286E63EB-04DD-4ADE-88D6-041B57800761}.Leaks|Any CPU.Build.0 = Leaks|Any CPU
2520
{286E63EB-04DD-4ADE-88D6-041B57800761}.Release|Any CPU.ActiveCfg = Release|Any CPU
2621
{286E63EB-04DD-4ADE-88D6-041B57800761}.Release|Any CPU.Build.0 = Release|Any CPU
2722
EndGlobalSection
2823
GlobalSection(SolutionProperties) = preSolution
2924
HideSolutionNode = FALSE
3025
EndGlobalSection
3126
GlobalSection(MonoDevelopProperties) = preSolution
32-
StartupItem = LibGit2Sharp.Core.Generator\LibGit2Sharp.Core.Generator.csproj
3327
Policies = $0
3428
$0.TextStylePolicy = $1
3529
$1.inheritsSet = null

LibGit2Sharp/Core/Handles/SafeHandleBase.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
using System;
1+
//#define LEAKS //Uncomment this or add a conditional symbol to activate this mode
2+
3+
using System;
24
using System.Diagnostics;
35
using System.Globalization;
46
using System.Runtime.ConstrainedExecution;

LibGit2Sharp/LibGit2Sharp.csproj

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,6 @@
3838
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
3939
<DocumentationFile>bin\Release\LibGit2Sharp.xml</DocumentationFile>
4040
</PropertyGroup>
41-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Leaks|AnyCPU'">
42-
<DebugSymbols>true</DebugSymbols>
43-
<DebugType>full</DebugType>
44-
<Optimize>false</Optimize>
45-
<OutputPath>bin\Leaks\</OutputPath>
46-
<DefineConstants>TRACE;DEBUG;NET40;LEAKS</DefineConstants>
47-
<ErrorReport>prompt</ErrorReport>
48-
<WarningLevel>4</WarningLevel>
49-
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
50-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
51-
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
52-
</PropertyGroup>
5341
<ItemGroup>
5442
<Reference Include="System" />
5543
<Reference Include="System.Core" />

0 commit comments

Comments
 (0)