Tawmy / Leyla.Bot

Privacy-focused Administration Bot for Discord
0 stars 0 forks source link

(CS-R1068) Lambda can be converted to a method group #58

Closed Tawmy closed 1 year ago

Tawmy commented 1 year ago

Description

Lambda expressions in C# are of the form (input-parameters) => expression. In case a lambda expression operates on a single parameter that is being passed to a method in its body, the arrow operator can be dropped and the entire body of the lambda can be replaced with just the …

Occurrences

There are 3 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/Leyla-Labs/Leyla.Bot/issue/CS-R1068/occurrences/