I am using Roslyn for creating Single File Generators. Under certain conditions I'd like to report an error. I am using IVsGeneratorProgress.GeneratorError function to add the error to the error list. ...

Is there any existing method or mechanisms in roslyn for sanitizing the identifier names of memberdeclarationsynxtax nodes when building synxtaxtrees?
for example names with spaces, dots, dashes or ...

I'm trying to do basic things with Roslyn but failing really hard. I am stuck trying to add a project to a solution - when I try to add a project to a solution / workspace, it does not apply and the ...

I'm creating a SyntaxRewriter which marked classes as partial and methods as virtual if the class inherits from a certain type
To do this I'm looking up the SymbolInfo from the Semantic Model inside ...

Recently I had to re-factor a large number of tests so that they all were tagged with specific a specific TestCategory property based on the results of a report. If the test was listed on the report ...

I've made demo application to test all new features of asp vNext and Roslyn but I can't reproduce what I saw on presentations: editing controller's viewbag content and refresh the page in order to see ...

Because nodes are immutable and every time new instances are created my references become stale. What's the best approach to handle this? I am refactorting to move class definition one level up. First ...

I want to execute script within Roslyn's ScriptEngine and wonder whether there is a way to have dependencies resolved automatically? I am specifically asking about "System dependencies", those that ...

Roslyn's IEventSymbol provides convenient access to all the relevant parts of an event declaration. While AddMethod and RemoveMethod are simple enough to understand, I am not sure what the RaiseMethod ...

I've seen a lot of people talk about the Roslyn compiler and its ability to compile as a service. There's a feature in Java when developing in Eclipse (not sure if it's only Eclipse) that allows you ...

Is Roslyn a full standalone C# compiler? I looked a bit around the source code and it seems like it uses the compiler from Visual Studio, also, I didn't find any source code in it's GitHub repository ...

Using Roslyn in VB, I'm trying to access the ITypeSymbol for a variable declared using type inference, but am struggling to return the right node. I want the ITypeSymbol to be able to identify if a ...

How to add tracing and logging to analysers? As you may not know I have been experiencing a issue to that some how causes my analyser to work in the experimental instance, but not the normal instance. ...

I'm trying to use Roslyn to determine the publically-exposed API of a project (and then do some further processing using this information, so I can't just use reflection). I'm using a SyntaxWalker to ...

We try to figure out how to generate code with Roslyn. I'm not speaking about something like CSharpSyntaxTree.ParseText that will take some strings and convert them into an AST. Instead, I would like ...

I want to build a C# app that uses the Roslyn NuGet packages. I have Visual Studio 2013. Things were going fine until I hit a ReflectionTypeLoadException looking for Microsoft.Build version 14, which ...

I am using the preview of visual studio 2015 (v14) to write some C# and I have been wondering what the background compiler actually does. From my understanding it checks the state of the code editor ...