Roslyn - Create MetadataReference from in-memory assembly Building Roslyn Metadata References from In Memory Assemblies Roslyn the NET Compiler Platform provides powerful tools for analyzing and manipulating C code One 2 min read 07-10-2024 5
How do I get the type of an attribute type in Roslyn code generator? Understanding Attribute Types in Roslyn Code Generation When working with Roslyn Microsofts NET Compiler Platform developers often need to interact with various 3 min read 21-09-2024 16
Ban entire namespace with BannedApiAnalyzers How to Ban an Entire Namespace with Banned Api Analyzers In software development it s not uncommon to run into situations where certain APIs or namespaces shoul 2 min read 14-09-2024 24
Matching Mono.Cecil.MethodDefinition with the respective Microsoft.CodeAnalysis.CSharp.Syntax.BaseMethodDeclarationSyntax Matching Mono Cecil Method Definition with Microsoft Code Analysis C Sharp Syntax Base Method Declaration Syntax When working on C projects developers often enc 3 min read 14-09-2024 13
Get caller information in C# for multiple calls on same line How to Get Caller Information for Multiple Calls on the Same Line in C Imagine you re building a C application that needs to handle multiple phone calls simulta 2 min read 13-09-2024 21
How to run Roslyn instead csc.exe from command line? Ditch csc exe How to Use Roslyn from the Command Line Tired of seeing the This compiler is provided as part of the Microsoft R NET Framework but only supports l 2 min read 06-09-2024 20
Implicit conversion when calling an extension method not possible Why Implicit Conversion Doesnt Work with Extension Methods A Deep Dive Extension methods are a powerful feature in C that allows you to add functionality to exi 2 min read 05-09-2024 15
Which step does SyntaxNodeAnalysisContext class represent actually? Demystifying Roslyns Syntax Node Analysis Context A Deep Dive into C Code Analysis Understanding the role of the Syntax Node Analysis Context class in Roslyns c 2 min read 31-08-2024 19
Detect nullable enum type in source generator Detecting Nullable Enum Types in C Source Generators Source generators in C are a powerful tool for extending the compilers capabilities They enable custom code 2 min read 29-08-2024 20
Detect array type in source generator Detecting Array Types in C Source Generators A Deep Dive Source generators are a powerful tool in C for extending the compiler and generating code at compile ti 2 min read 29-08-2024 26
Find all derived classes in a source generator Finding Derived Classes in a Source Generator A Comprehensive Guide Source generators are powerful tools in C that allow you to generate code at compile time Ho 2 min read 29-08-2024 22