Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/protomorphine/immutableanalyzer

Roslyn Analyzer to check immutability of classes on compile time.
https://github.com/protomorphine/immutableanalyzer

immutability immutable roslyn roslyn-analyzer roslyn-analyzers

Last synced: 28 days ago
JSON representation

Roslyn Analyzer to check immutability of classes on compile time.

Awesome Lists containing this project

README

        

# Immutable Analyzer
[![Tests](https://github.com/protomorphine/ImmutableAnalyzer/actions/workflows/test-report.yaml/badge.svg)](https://github.com/protomorphine/ImmutableAnalyzer/runs/30222165790)
[![Docs](https://github.com/protomorphine/ImmutableAnalyzer/actions/workflows/docs.yml/badge.svg?branch=master)](https://github.com/protomorphine/ImmutableAnalyzer/actions/workflows/docs.yml)

This project is a .NET analyzer tool that utilizes Roslyn to check a class for immutability based on
the types of it's properties and their accessor list.

## Overview

Immutability is a key concept in functional programming and can help prevent bugs related to mutable state.
The purpose of this tool is to help developers ensure that their classes follow immutability principles,
which can lead to more stable and predictable code.

## How To Use

- Manually
Get the sources of analyzer projects
```bash
$ git clone https://github.com/protomorphine/ImmutableAnalyzer
```
Add project reference to your `.csproj` file:
```xml



```
- Nuget
At this moment project **NOT** published on [NuGet](https://nuget.org/). Stay tuned.

## Documentation
Made with:
- [Doxygen](https://www.doxygen.nl/)
- [doxygen-awesome-css](https://github.com/jothepro/doxygen-awesome-css)