---
title: "#roslyn articles | Hashnode"
description: "Explore 11 articles tagged #roslyn on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/roslyn"
---

Tag

# #roslyn

11 posts · 0 followers

[yazan daba](https://hashnode.com/@yazandaba) · [Apr 16](https://hashnode.com/posts/implementing-c-consteval-compile-time-evaluation-a-deep-dive-into-roslyn-s-compiler-pipeline/69e1477cffbb787634f7f49d)

### [Implementing C# consteval compile time evaluation — A Deep Dive into Roslyn's Compiler Pipeline](https://yazandaba.hashnode.dev/implementing-c-consteval-compile-time-evaluation-a-deep-dive-into-roslyn-s-compiler-pipeline?utm_source=hashnode&utm_medium=feed)

Add consteval to the C# compiler! Learn how to modify Roslyn for true compile-time evaluation, spanning from the lexer to binary trimming and IL emit.

26 min read · [yazandaba.hashnode.dev](https://yazandaba.hashnode.dev/implementing-c-consteval-compile-time-evaluation-a-deep-dive-into-roslyn-s-compiler-pipeline?utm_source=hashnode&utm_medium=feed)

[Andreas Schommer](https://hashnode.com/@aschommer) · [Sep 26, 2025](https://hashnode.com/posts/source-code-generation-based-dependency-injection-for-net-core/68d63da77cad493ff25b0129)

### [Source Code Generation based Dependency Injection for .NET Core](https://aschommer.hashnode.dev/source-code-generation-based-dependency-injection-for-net-core?utm_source=hashnode&utm_medium=feed)

Introduction The .NET team recently introduced several improvements in .NET Core that use code generation, including: Logging Regular Expressions JSON Serialization Generating code at compile time offers benefits in performance, memory usage, an...

9 min read · [aschommer.hashnode.dev](https://aschommer.hashnode.dev/source-code-generation-based-dependency-injection-for-net-core?utm_source=hashnode&utm_medium=feed)

[xafero](https://hashnode.com/@xafero) · [Apr 6, 2024](https://hashnode.com/posts/generating-c-code-programmatically/6610a202451ea40e43c449d3)

### [Generating C# code programmatically](https://xafero.hashnode.dev/generating-c-code-programmatically?utm_source=hashnode&utm_medium=feed)

Recently, while creating some experimental C# source code generators (xafero/csharp-generators), I was just concatenating strings together. Like you do, you know, if things have to go very quickly. If you have a simple use case, use a formatted multi...

2 min read · [xafero.hashnode.dev](https://xafero.hashnode.dev/generating-c-code-programmatically?utm_source=hashnode&utm_medium=feed)

[Gilles TOURREAU](https://hashnode.com/@gillestourreau) · [Dec 5, 2023](https://hashnode.com/posts/strengthening-moq-based-unit-tests-with-posinformatiquemoqanalyzers/656f88d89508143ec7d91064)

### [Strengthening Moq based unit tests with PosInformatique.Moq.Analyzers](https://gilles.tourreau.fr/strengthening-moq-based-unit-tests-with-posinformatiquemoqanalyzers?utm_source=hashnode&utm_medium=feed)

As a passionate advocate for robust unit testing and code quality, I've invested heavily in leveraging the Moq library within my .NET projects. To ensure reliability and catch potential errors early, I developed a .NET analyzer tool specifically tail...

3 min read · [gilles.tourreau.fr](https://gilles.tourreau.fr/strengthening-moq-based-unit-tests-with-posinformatiquemoqanalyzers?utm_source=hashnode&utm_medium=feed)

[Yassine FERNANE](https://hashnode.com/@yassfrn) · [Nov 16, 2023](https://hashnode.com/posts/source-generators-par-lexemple-iincrementalgenerator/6555e89e35294bd82f290181)

### [Source Generators par l'exemple : IIncrementalGenerator](https://blog.frntech.fr/source-generators-par-lexemple-iincrementalgenerator?utm_source=hashnode&utm_medium=feed)

Explorez l'API IIncrementalGenerator de .NET 6 pour optimiser la génération de code, booster les performances et simplifier le débogage des projets

11 min read · [blog.frntech.fr](https://blog.frntech.fr/source-generators-par-lexemple-iincrementalgenerator?utm_source=hashnode&utm_medium=feed)

[Allister Beharry](https://hashnode.com/@allisterb) · [Aug 11, 2023](https://hashnode.com/posts/stratis-devex-getting-started-with-c-smart-contract-static-analysis-and-the-portable-graphical-ide-extension/64d6112af31b30a9999c22d5)

### [Stratis DevEx: Getting started with C# smart contract static analysis and the portable graphical IDE extension](https://allisterb.hashnode.dev/stratis-devex-getting-started-with-c-smart-contract-static-analysis-and-the-portable-graphical-ide-extension?utm_source=hashnode&utm_medium=feed)

https://youtu.be/6GPGNkuSs0M Introduction In our first article on Stratis DevEx we looked at the Stratis .NET smart contract platform and the overall DevEx project goal of achieving parity between Ethereum smart contract development tools like Remi...

12 min read · [allisterb.hashnode.dev](https://allisterb.hashnode.dev/stratis-devex-getting-started-with-c-smart-contract-static-analysis-and-the-portable-graphical-ide-extension?utm_source=hashnode&utm_medium=feed)

[Yassine FERNANE](https://hashnode.com/@yassfrn) · [Aug 5, 2023](https://hashnode.com/posts/les-source-generators-par-lexemple-isourcegenerator/64ce8d7d69208786d1a50b41)

### [Les Source Generators par l'exemple : ISourceGenerator](https://blog.frntech.fr/les-source-generators-par-lexemple-isourcegenerator?utm_source=hashnode&utm_medium=feed)

Explore Source Generators, examine ISourceGenerator and IIncrementalGenerator APIs, and create a DTO generator for performance enhancement

9 min read · [blog.frntech.fr](https://blog.frntech.fr/les-source-generators-par-lexemple-isourcegenerator?utm_source=hashnode&utm_medium=feed)

[Yassine FERNANE](https://hashnode.com/@yassfrn) · [Jul 24, 2023](https://hashnode.com/posts/introduction-aux-source-generators/64be217d84552b8c531677d0)

### [Introduction aux Source Generators](https://blog.frntech.fr/introduction-aux-source-generators?utm_source=hashnode&utm_medium=feed)

Explore Source Generators in .NET 6: C#

7 min read · [blog.frntech.fr](https://blog.frntech.fr/introduction-aux-source-generators?utm_source=hashnode&utm_medium=feed)

[Denis Ekart](https://hashnode.com/@devmenace) · [Mar 1, 2023](https://hashnode.com/posts/testing-roslyn-analyzers-and-code-fixes/63feeff2106a2a5ed8aad150)

### [Testing Roslyn Analyzers and Code Fixes](https://denace.dev/testing-roslyn-analyzers-and-code-fixes?utm_source=hashnode&utm_medium=feed)

In the previous article, we implemented a Roslyn analyzer and code fix. This article will focus on various ways to properly test them. We will leverage existing test libraries and explore the means to write one ourselves using Roslyn workspaces. This...

14 min read · [denace.dev](https://denace.dev/testing-roslyn-analyzers-and-code-fixes?utm_source=hashnode&utm_medium=feed)

[Denis Ekart](https://hashnode.com/@devmenace) · [Feb 14, 2023](https://hashnode.com/posts/fixing-mistakes-with-roslyn-code-fixes/63eb23e11a45c80f55812962)

### [Fixing Mistakes With Roslyn Code Fixes](https://denace.dev/fixing-mistakes-with-roslyn-code-fixes?utm_source=hashnode&utm_medium=feed)

A Guide to Spending an Entire Afternoon Fixing a Single Line of Code with Roslyn

7 min read · [denace.dev](https://denace.dev/fixing-mistakes-with-roslyn-code-fixes?utm_source=hashnode&utm_medium=feed)
