Skip to content

Commit 348024c

Browse files
committed
Make OperationRegistry.SystemOperationRegistrationScope ctor internal
1 parent 8c8d8b8 commit 348024c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Orm/Xtensive.Orm/Orm/Operations/OperationRegistry.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public sealed class OperationRegistry
2121
private readonly OperationRegistry registry;
2222
private readonly bool prevIsSystemOperationRegistrationEnabled;
2323

24-
public SystemOperationRegistrationScope(OperationRegistry registry, bool enable)
24+
internal SystemOperationRegistrationScope(OperationRegistry registry, bool enable)
2525
{
2626
this.registry = registry;
2727
prevIsSystemOperationRegistrationEnabled = registry.IsSystemOperationRegistrationEnabled;
@@ -32,9 +32,9 @@ public SystemOperationRegistrationScope(OperationRegistry registry, bool enable)
3232
}
3333

3434
private readonly ICompletableScope blockingScope;
35+
private readonly Collections.Deque<ICompletableScope> scopes = new();
3536
private bool isOperationRegistrationEnabled = true;
3637
private bool isUndoOperationRegistrationEnabled = true;
37-
private Collections.Deque<ICompletableScope> scopes = new Collections.Deque<ICompletableScope>();
3838

3939
/// <summary>
4040
/// Gets the session this instance is bound to.

0 commit comments

Comments
 (0)