1 write to _directives
Microsoft.CodeAnalysis.CSharp (1)
Parser\Directives.cs (1)
126_directives = directives;
19 references to _directives
Microsoft.CodeAnalysis.CSharp (19)
Parser\Directives.cs (19)
130=> Interlocked.CompareExchange(ref Unsafe.AsRef(in location._directives), value._directives, null); 136return _directives == null; 144return _directives == ConsList<Directive>.Empty; 150for (var current = _directives; current != null && current.Any(); current = current.Tail) 193for (var current = _directives; current != null && current.Any(); current = current.Tail) 210var prev = GetPreviousIfElifElseOrRegion(_directives); 216var prev = GetPreviousIfElifElseOrRegion(_directives); 222var prev = GetPreviousIfElifElseOrRegion(_directives); 231var prevIf = GetPreviousIf(_directives); 237RoslynDebug.AssertNotNull(_directives); // If 'prevIf' isn't null, then '_directives' wasn't null. 238return new DirectiveStack(CompleteIf(_directives, out _)); 240var prevRegion = GetPreviousRegion(_directives); 246RoslynDebug.AssertNotNull(_directives); // If 'prevRegion' isn't null, then '_directives' wasn't null. 247return new DirectiveStack(CompleteRegion(_directives)); // remove region directives from stack but leave everything else 249return new DirectiveStack(new ConsList<Directive>(directive, _directives ?? ConsList<Directive>.Empty)); 371for (var current = _directives; current != null && current.Any(); current = current.Tail) 386var mine = SkipInsignificantDirectives(_directives); 387var theirs = SkipInsignificantDirectives(other._directives);