public static SyntaxTokenList PrivateAsyncKeyword(bool withLeadingLineFeed = false, bool withTrailingSpace = true) { if (withLeadingLineFeed) { return(SyntaxFactory.TokenList( SyntaxTokenFactory.CarriageReturnLineFeed(), SyntaxTokenFactory.PrivateKeyword(), SyntaxTokenFactory.AsyncKeyword(withTrailingSpace))); } return(SyntaxFactory.TokenList( SyntaxTokenFactory.PrivateKeyword(), SyntaxTokenFactory.AsyncKeyword(withTrailingSpace))); }
public static SyntaxTokenList PrivateReadonlyKeyword(bool withTrailingSpace = true) { return(SyntaxFactory.TokenList( SyntaxTokenFactory.PrivateKeyword(), SyntaxTokenFactory.ReadOnlyKeyword(withTrailingSpace))); }