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)
71int index = _contexts.BinarySearch(searchContext, PositionComparer.Instance); 80Debug.Assert(index < _contexts.Length); 84Debug.Assert(_contexts[index].Position <= position); 85Debug.Assert(index == _contexts.Length - 1 || position < _contexts[index + 1].Position); 94return index < 0 ? GetContextForFileStart() : _contexts[index]; 107var context = index < 0 ? GetContextForFileStart() : _contexts[index]; 122if (index >= _contexts.Length) 126context = _contexts[index];