Permalink
Browse files

Fix syntax so that its compatible with .net 3.5

  • Loading branch information...
1 parent b7bb87c commit 68a6a7f886ec5b27e45b10f23839a496ba9cbea7 @matt-richardson matt-richardson committed Jul 25, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 Bounce.Framework/GitCommand.cs
@@ -53,8 +53,8 @@ class DirectoryChange : IDisposable {
}
static class GitOptionsExtentions {
- public static string ToOptionsString(this IDictionary<string, string> options) {
- return string.Join("", options.Select(o => string.Format("{0} {1} ", o.Key, o.Value))).Trim();
+ public static string ToOptionsString(this IEnumerable<KeyValuePair<string, string>> options) {
+ return string.Join("", options.Select(o => string.Format("{0} {1} ", o.Key, o.Value)).ToArray()).Trim();
}
}
}

1 comment on commit 68a6a7f

Contributor

alexbeletsky commented on 68a6a7f Jul 27, 2011

Yeap, haven't checked that for 3.5.. will try to remember that for future :)

Please sign in to comment.