Permalink
Browse files

Fixing 3.5 build

  • Loading branch information...
1 parent 02f416e commit 9a1b200431dbe534edff792d660cb030c31c0a35 @ayende ayende committed Jun 16, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 Raven.Client.Lightweight/Document/DocumentStore.cs
@@ -579,12 +579,6 @@ public IAsyncDocumentSession OpenAsyncSession()
}
}
- private void EnsureNotClosed()
- {
- if (WasDisposed)
- throw new ObjectDisposedException("DocumentStore", "The document store has already been disposed and cannot be used");
- }
-
/// <summary>
/// Opens the async session.
/// </summary>
@@ -670,6 +664,12 @@ internal void UpdateLastWrittenEtag(Guid? etag)
return etagHolder.Etag;
}
+ private void EnsureNotClosed()
+ {
+ if (WasDisposed)
+ throw new ObjectDisposedException("DocumentStore", "The document store has already been disposed and cannot be used");
+ }
+
private class EtagHolder
{
public Guid Etag;

0 comments on commit 9a1b200

Please sign in to comment.