示例#1
0
 private DirectiveTriviaSyntax ParseShebangDirective(SyntaxToken hash, SyntaxToken exclamation, bool isActive)
 {
     // Shebang directives must appear at the first position in the file
     // (before all other directives), so they should always be active.
     Debug.Assert(isActive);
     return(SyntaxFactory.ShebangDirectiveTrivia(hash, exclamation, this.ParseEndOfDirectiveWithOptionalPreprocessingMessage(), isActive));
 }