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

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUngureanu Marius <marius.ungureanu@xamarin.com>2014-05-31 09:44:56 +0400
committerUngureanu Marius <marius.ungureanu@xamarin.com>2014-05-31 15:58:11 +0400
commit80afd27a8544baee29a1164348245a1d1d808e20 (patch)
tree2fbc46a6c87418f01ff799564ff5d4c2debd1edc /LibGit2Sharp/ContentChanges.cs
parente69b6e0c3a11e856a2fbf1d27491a33ec8db242b (diff)
Fix issues reported by CodeAnalysis (NRefactory).
Diffstat (limited to 'LibGit2Sharp/ContentChanges.cs')
-rw-r--r--LibGit2Sharp/ContentChanges.cs9
1 files changed, 2 insertions, 7 deletions
diff --git a/LibGit2Sharp/ContentChanges.cs b/LibGit2Sharp/ContentChanges.cs
index 01fb4175..e5d84503 100644
--- a/LibGit2Sharp/ContentChanges.cs
+++ b/LibGit2Sharp/ContentChanges.cs
@@ -13,7 +13,6 @@ namespace LibGit2Sharp
public class ContentChanges
{
private readonly StringBuilder patchBuilder = new StringBuilder();
- private bool isBinaryComparison;
/// <summary>
/// Needed for mocking purposes.
@@ -31,7 +30,7 @@ namespace LibGit2Sharp
internal ContentChanges(bool isBinaryComparison)
{
- this.isBinaryComparison = isBinaryComparison;
+ this.IsBinaryComparison = isBinaryComparison;
}
internal void AppendToPatch(string patch)
@@ -60,11 +59,7 @@ namespace LibGit2Sharp
/// <summary>
/// Determines if at least one side of the comparison holds binary content.
/// </summary>
- public virtual bool IsBinaryComparison
- {
- get { return isBinaryComparison; }
- private set { isBinaryComparison = value; }
- }
+ public virtual bool IsBinaryComparison { get; private set; }
private int FileCallback(GitDiffDelta delta, float progress, IntPtr payload)
{