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);
136
return
_directives
== null;
144
return
_directives
== ConsList<Directive>.Empty;
150
for (var current =
_directives
; current != null && current.Any(); current = current.Tail)
193
for (var current =
_directives
; current != null && current.Any(); current = current.Tail)
210
var prev = GetPreviousIfElifElseOrRegion(
_directives
);
216
var prev = GetPreviousIfElifElseOrRegion(
_directives
);
222
var prev = GetPreviousIfElifElseOrRegion(
_directives
);
231
var prevIf = GetPreviousIf(
_directives
);
237
RoslynDebug.AssertNotNull(
_directives
); // If 'prevIf' isn't null, then '_directives' wasn't null.
238
return new DirectiveStack(CompleteIf(
_directives
, out _));
240
var prevRegion = GetPreviousRegion(
_directives
);
246
RoslynDebug.AssertNotNull(
_directives
); // If 'prevRegion' isn't null, then '_directives' wasn't null.
247
return new DirectiveStack(CompleteRegion(
_directives
)); // remove region directives from stack but leave everything else
249
return new DirectiveStack(new ConsList<Directive>(directive,
_directives
?? ConsList<Directive>.Empty));
371
for (var current =
_directives
; current != null && current.Any(); current = current.Tail)
386
var mine = SkipInsignificantDirectives(
_directives
);
387
var theirs = SkipInsignificantDirectives(other.
_directives
);