1 write to _contexts
Microsoft.CodeAnalysis.CSharp (1)
Syntax\NullableContextStateMap.cs (1)
58
_contexts
= contexts;
9 references to _contexts
Microsoft.CodeAnalysis.CSharp (9)
Syntax\NullableContextStateMap.cs (9)
71
int index =
_contexts
.BinarySearch(searchContext, PositionComparer.Instance);
80
Debug.Assert(index <
_contexts
.Length);
84
Debug.Assert(
_contexts
[index].Position <= position);
85
Debug.Assert(index ==
_contexts
.Length - 1 || position <
_contexts
[index + 1].Position);
94
return index < 0 ? GetContextForFileStart() :
_contexts
[index];
107
var context = index < 0 ? GetContextForFileStart() :
_contexts
[index];
122
if (index >=
_contexts
.Length)
126
context =
_contexts
[index];