The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs. (by dotnet)

Roslyn Alternatives

Similar projects and alternatives to Roslyn

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Roslyn alternative or higher similarity.

Roslyn reviews and mentions

Posts with mentions or reviews of Roslyn. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-21.
  • Ich werde niemals auf Proprietäre r Basis software entwickeln
    2 projects | | 21 May 2023
    Der Compiler und das Framework sind Open source zB.
  • Duda carrera: C#/.NET vs. Node/Express
    13 projects | | 18 May 2023
    Compilador de C#: Licencia MIT.
  • Source generators run unreliably on VSCode and Rider? (MvvmToolkit)
    3 projects | | 21 Apr 2023
    Sorry to hear that. This seems to be a bug in Roslyn (see If you'd like to try again, either downgrade the MVVM Toolkit to 8.0 for the time being, which should avoid the issue, or update Visual Studio to 17.6 Preview. They merged several bug fixes in 17.6 which should hopefully resolve the issue you and others were having 🙂
    3 projects | | 21 Apr 2023
    The likely relevant issue is part of Roslyn, so a fix needs to be made over there first. Seems to be a potential fix upstream, will have to see if it works when it makes it way into the IDEs.
  • Source Generator Debug always NulLReferecneException
    4 projects | | 9 Apr 2023
    Not sure which video you're referring to, but anyway, the correct API is IIncrementalGenerator, which you can find some docs for here. Disclaimer: yes, it's an extremely complicated API to use, and only meant to be used by advanced developers in very specific scenarios. If you do decide to write a generator, don't go in expecting it's something you can figure out in a weekend.
  • But for how long?
    4 projects | | 27 Feb 2023
    "Everything is mutable" not really, to me this is more like a library problem like EF-core rely on property to be mutable so you can't use record for EF. This is C# rationality on deciding to not support immutable/readonly var, and there is (proposal)[] for readonly var already, we just don't know if it's ever became a feature; for me it's more like a programming discipline anyway; The lambda with property are just syntactic sugar, nothing more. I get it you like it short, but C# are much older than Kotlin, it can't have all the nice, nifty trivial syntax kotlin has. (x) => x.Prop is a little bit more verbose, but clean enough in my opinion, and their support can be added later (though not necessary). Despite C# is old, it has nullable type as well, begin with nullable struct since net framework 2 (2005). Nowadays C# has nullable for reference type as well, although it's just compiler service since ref type are nullable, but you can absolutely make C# null safety just as strict as Kotlin. I do that too. Saying C# "what's a struct and what's a class" is weak.
  • But where have the covariant type returns gone ?
    2 projects | | 23 Feb 2023
    - The feature branch is 32k commits behind main (no update since July 2020...)
  • What is the latest on scripting inside of C# (especially for Unity development)?
    7 projects | | 22 Feb 2023
  • Have anyone implemented their own GetAwaiter()?
    3 projects | | 17 Feb 2023
    I'm implementing myself the GetAwaiter because await is a good way to semi-transparently hook your own logic into the execution flow. To be more precise, you don't really need to implement GetAwaiter(), you can also change the async Method Builder being used: here roslyn docs about it
  • More on OOP: Polymorphism this time
    5 projects | | 7 Feb 2023
    For example:
  • A note from our sponsor - ONLYOFFICE | 30 May 2023
    Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises Learn more →


Basic Roslyn repo stats
6 days ago
ONLYOFFICE Docs — document collaboration in your environment
Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises