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:
authorhalf-ogre <nemo@half-ogre.com>2014-03-06 02:42:28 +0400
committerhalf-ogre <nemo@half-ogre.com>2014-03-06 11:30:08 +0400
commit393b3bcdc91e2c8652344b3eab3db188afcbbaa9 (patch)
tree08fff7088751400129c9f877880d1a23f02b6231 /LibGit2Sharp/StashCollection.cs
parent907d22204a3a8baac92b8c697c954d72b73f8625 (diff)
meta fixture ensuring GetEnumerators are testable
fix other non-virtual GetEnumerators the simplest thing that works simpler still when in Romeā€¦
Diffstat (limited to 'LibGit2Sharp/StashCollection.cs')
-rw-r--r--LibGit2Sharp/StashCollection.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit2Sharp/StashCollection.cs b/LibGit2Sharp/StashCollection.cs
index 24f7f173..e0bd7d24 100644
--- a/LibGit2Sharp/StashCollection.cs
+++ b/LibGit2Sharp/StashCollection.cs
@@ -40,7 +40,7 @@ namespace LibGit2Sharp
/// </para>
/// </summary>
/// <returns>An <see cref="IEnumerator{T}"/> object that can be used to iterate through the collection.</returns>
- public IEnumerator<Stash> GetEnumerator()
+ public virtual IEnumerator<Stash> GetEnumerator()
{
return Proxy.git_stash_foreach(repo.Handle,
(index, message, commitId) => new Stash(repo, new ObjectId(commitId), index)).GetEnumerator();