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