4 references to DirectiveStack
Microsoft.CodeAnalysis.CSharp (4)
Parser\Directives.cs (4)
120
public static readonly DirectiveStack Empty = new
DirectiveStack
(ConsList<Directive>.Empty, seenAnyIfDirectives: false);
242
return new
DirectiveStack
(CompleteIf(_directives, out _), seenAnyIfDirectives: _seenAnyIfDirectives);
251
return new
DirectiveStack
(CompleteRegion(_directives), seenAnyIfDirectives: _seenAnyIfDirectives); // remove region directives from stack but leave everything else
253
return new
DirectiveStack
(new ConsList<Directive>(directive, _directives ?? ConsList<Directive>.Empty),