rjmurillo / EffectiveCSharp.Analyzers

Many of the recommendations in the book Effective C#: 50 Specific Ways to Improve Your C# can be validated by Roslyn-based analyzers and code fixes.
MIT License
2 stars 1 forks source link

Item 7: Express Callbacks with delegates #32

Closed rjmurillo closed 2 months ago

rjmurillo commented 2 months ago

Related: https://github.com/BillWagner/EffectiveCSharpAnalyzers/issues/7

Summary

This feature request aims to enhance the code analyzer library by adding functionality to detect and analyze callback implementations using delegates in C# code. Common delegate types include Predicate<T>, Action<>, and Func<>. This will help developers ensure proper usage of delegates, maintain type safety, and follow best practices for asynchronous programming.

Goals