1 write to Index
Microsoft.Extensions.AsyncState (1)
AsyncStateToken.cs (1)
15
Index
= index;
10 references to Index
Microsoft.Extensions.AsyncState (7)
AsyncState.cs (4)
61
EnsureCount(_asyncContextCurrent.Value.Features, token.
Index
+ 1);
63
value = _asyncContextCurrent.Value.Features[token.
Index
];
85
EnsureCount(_asyncContextCurrent.Value.Features, token.
Index
+ 1);
87
_asyncContextCurrent.Value.Features[token.
Index
] = value;
AsyncStateToken.cs (3)
37
return
Index
== other.
Index
;
46
return
Index
.GetHashCode();
Microsoft.Extensions.AsyncState.Tests (3)
AsyncStateTests.cs (3)
206
Assert.Equal(0, c1.
Index
- initialContextCount);
208
Assert.Equal(1, c2.
Index
- initialContextCount);
210
Assert.Equal(2, c3.
Index
- initialContextCount);