Roslyn : - SyntaxFactory.InitializerExpression


If you're getting exception using SyntaxFactory.InitializerExpression, that's because you need to pair it with one and only one 'Kind' ....

SyntaxFactory.InitializerExpression(SyntaxKind.ObjectInitializerExpression);


Comments

Popular posts from this blog

Windows SSH: Permissions for 'private-key' are too open

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20