While the C# and VB writer/visitors have invalid syntactic elements, the factory methods should compile and run as-is whether the language is C# or VB.
We should create an instance of the Roslyn compiler and try to compile and run the resulting code. If it compiles and runs without error, the unit test is successful.
While the C# and VB writer/visitors have invalid syntactic elements, the factory methods should compile and run as-is whether the language is C# or VB.
We should create an instance of the Roslyn compiler and try to compile and run the resulting code. If it compiles and runs without error, the unit test is successful.