Normally I would use the SyntaxFactory but I cannot figure out how to create a true or false node with it.
I just figured it out. true and false are keywords and I haven't had to deal with keywords much so I was looking in the wrong spot. Keywords apparently tend to rely on having their own SyntaxKind.
SyntaxFactory.LiteralExpression( SyntaxKind.TrueLiteralExpression );
After searching for the last hour I finally remembered this tool. If anyone has a similar problem that tool might be able to help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With