We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5624a75 commit 36499e4Copy full SHA for 36499e4
1 file changed
UnitTests/ReentracePermittedTests.cs
@@ -51,5 +51,25 @@ public async Task NestedFunctionCallReentrance()
51
await NestedFunctionAsync();
52
}
53
54
+
55
+ // Issue #18
56
+ [TestMethod]
57
+ //[Timeout(5)]
58
+ public async Task BackToBackReentrance()
59
+ {
60
+ var asyncLock = new AsyncLock();
61
+ async Task InnerFunctionAsync()
62
63
+ using (await asyncLock.LockAsync())
64
65
+ //
66
+ }
67
68
69
70
+ await InnerFunctionAsync();
71
72
73
74
75
0 commit comments