Inside Out - Roslyn -E05 - Creating Code Analyzer
Вставка
- Опубліковано 8 лют 2025
- There are times that developers need to define custome made rules, standards, design or code quality checks. With Roslyn Analyzser it is possible to wirte our own one and integrate that into the compiler pipeline.
Blog: shahab-the-guy...
Source: github.com/Sir...
Resources:
Getting Started with Roslyn Analyzer: learn.microsof...
Write your first analyzer and code fix: learn.microsof...
Code analysis using .NET compiler platform (Roslyn) analyzers: learn.microsof...
NuGet - Microsoft.CodeAnalysis.CSharp: www.nuget.org/...
Story:
0:05 Introduction & Problem Space
0:48 The Problem Space
02:12 Create a Code Analyzer Project
03:18 Analyze the Problem to get to solution
04:19 Describing the constructs of Semantic Analyzer
06:08 Implementing the Semantic Analyzer
13:00 What is the "OriginalDefinition" in return type semantic model
13:40 Reference the Analyzer project
15:33 Recap
15:40 Enjoy Coding!