summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2/OAuth2/OAuthUtilities.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-04-23 10:05:50 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-04-23 10:05:50 -0700
commitab27c3ba3075583e95bf95d42e69bc5585f2a37e (patch)
treec23c9219cdb443e8511e17a102a32ef510724a99 /src/DotNetOpenAuth.OAuth2/OAuth2/OAuthUtilities.cs
parentbdaa24667d7e1b04174587143e005bb0fd1f5db1 (diff)
downloadDotNetOpenAuth-ab27c3ba3075583e95bf95d42e69bc5585f2a37e.zip
DotNetOpenAuth-ab27c3ba3075583e95bf95d42e69bc5585f2a37e.tar.gz
DotNetOpenAuth-ab27c3ba3075583e95bf95d42e69bc5585f2a37e.tar.bz2
Fixed build breaks when targeting .NET 3.5.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2/OAuth2/OAuthUtilities.cs')
-rw-r--r--src/DotNetOpenAuth.OAuth2/OAuth2/OAuthUtilities.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DotNetOpenAuth.OAuth2/OAuth2/OAuthUtilities.cs b/src/DotNetOpenAuth.OAuth2/OAuth2/OAuthUtilities.cs
index 4c46f75..5a4a0d3 100644
--- a/src/DotNetOpenAuth.OAuth2/OAuth2/OAuthUtilities.cs
+++ b/src/DotNetOpenAuth.OAuth2/OAuth2/OAuthUtilities.cs
@@ -74,7 +74,7 @@ namespace DotNetOpenAuth.OAuth2 {
/// </summary>
/// <param name="scopes">The scopes to serialize.</param>
/// <returns>A space-delimited list.</returns>
- public static string JoinScopes(ISet<string> scopes) {
+ public static string JoinScopes(HashSet<string> scopes) {
Requires.NotNull(scopes, "scopes");
VerifyValidScopeTokens(scopes);
return string.Join(" ", scopes.ToArray());
@@ -85,7 +85,7 @@ namespace DotNetOpenAuth.OAuth2 {
/// </summary>
/// <param name="scopes">The space-delimited string.</param>
/// <returns>A set.</returns>
- internal static ISet<string> ParseScopeSet(string scopes) {
+ internal static HashSet<string> ParseScopeSet(string scopes) {
Requires.NotNull(scopes, "scopes");
return ParseScopeSet(scopes.Split(scopeDelimiter, StringSplitOptions.RemoveEmptyEntries));
}
@@ -95,7 +95,7 @@ namespace DotNetOpenAuth.OAuth2 {
/// </summary>
/// <param name="scopes">The array of strings.</param>
/// <returns>A set.</returns>
- internal static ISet<string> ParseScopeSet(string[] scopes) {
+ internal static HashSet<string> ParseScopeSet(string[] scopes) {
Requires.NotNull(scopes, "scopes");
return new HashSet<string>(scopes, StringComparer.Ordinal);
}