Roslyn Code Analysis
Createdegorpavlikhin
Analyzes C# code using the Roslyn compiler platform to validate files, find symbol references, and perform static analysis.
About
Roslyn Code Analysis is a Model Context Protocol (MCP) server leveraging the Roslyn compiler platform to provide robust C# code analysis. It validates C# files for syntax errors, semantic issues, and compiler warnings, and can locate all usages of a symbol across a project. Operating within the context of a .NET project, the tool also supports running Microsoft recommended code analyzers to ensure code quality and adherence to best practices.
Key Features
- Supports Microsoft recommended code analyzers.
- Analyzes code within its project context.
- Validates C# files for syntax and semantic errors.
- Finds all references to a symbol across a project.
- 2 GitHub stars
Use Cases
- Validating C# files before committing changes.
- Finding all usages of a specific method or variable.
- Ensuring code adheres to coding standards and best practices.