python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to load assemblies when testing Roslyn analyzer with Microsoft.CodeAnalysis.CSharp.Testing.XUnit.AnalyzerVerifier?
Verifier has a method:
public static Task VerifyAnalyzerAsync(string source, params DiagnosticResult[] expected)
Is it possible to load assemblies with types which are required be source code?

Pavel Voronin
Votes: 0
Answers: 1
Set a parent for nodes produced by SyntaxFactory
I am using CSharpSyntaxRewriter to traverse the syntax tree and SyntaxFactory to replace some of the nodes, for the purpose of my own C#-like DSL.
When I create a new node, e.g. a MemberAccessExpressi...
Isolin
Votes: 0
Answers: 0
Unable to retreive XAML members of Control via Roslyn Compilation
Given an INamedTypeSymbol of a WPF Window, I can't seem to obtain a ISymbol for the members that are defined in XAML (and are then compiled as part of the auto-generated .g.cs file).
To reproduce the ...
MBi
Votes: 0
Answers: 0
How to create a constructor with a parameter with Roslyn?
I'm generating classes from an Open API specification and need to create a constructor that accepts a parameter and sets it to a field. How do I do that with Roslyn?
Mikael Dúi Bolinder
Votes: 0
Answers: 1