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