DORSETRIGS
Home

roslyn-code-analysis (4 post)


posts by category not found!

Unit test C# source generator to emulate a user changing source code?

Testing the Untestable Unit Testing C Source Generators with Code Manipulation Source generators in C are powerful tools that can automate code generation based

3 min read 04-10-2024 63
Unit test C# source generator to emulate a user changing source code?
Unit test C# source generator to emulate a user changing source code?

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 110
Ban entire namespace with BannedApiAnalyzers
Ban entire namespace with BannedApiAnalyzers

How to suppress warning for all derived types?

Suppressing Warnings for Derived Types in C When working with inheritance in C you might encounter scenarios where you want to suppress specific warnings for al

2 min read 31-08-2024 112
How to suppress warning for all derived types?
How to suppress warning for all derived types?

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 75
Which step does SyntaxNodeAnalysisContext class represent actually?
Which step does SyntaxNodeAnalysisContext class represent actually?