Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixing compilation on .NET 3.5

  • Loading branch information...
commit acef1aeee86e77ec63fd9895c0b09b866363e2c0 1 parent 9d491ff
Ayende Rahien ayende authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  Raven.Client.Lightweight/Connection/HttpJsonRequest.cs
2  Raven.Client.Lightweight/Connection/HttpJsonRequest.cs
@@ -281,6 +281,7 @@ private string ReadStringInternal(Func<WebResponse> getResponse)
281 281 throw;
282 282 return result;
283 283 }
  284 +#if !NET_3_5
284 285 catch (AggregateException e)
285 286 {
286 287 sp.Stop();
@@ -292,6 +293,7 @@ private string ReadStringInternal(Func<WebResponse> getResponse)
292 293 throw;
293 294 return result;
294 295 }
  296 +#endif
295 297
296 298 ResponseHeaders = response.Headers;
297 299 ResponseStatusCode = ((HttpWebResponse)response).StatusCode;

0 comments on commit acef1ae

Please sign in to comment.
Something went wrong with that request. Please try again.