Skip to content

feat: support SimpleLambdaExpressionSyntax in callback validation - #1042

Merged
rjmurillo merged 33 commits into
mainfrom
feat/1012-simple-lambda-support
Mar 9, 2026
Merged

feat: support SimpleLambdaExpressionSyntax in callback validation#1042
rjmurillo merged 33 commits into
mainfrom
feat/1012-simple-lambda-support

fix: add delegate constructor bail-out for simple lambda callbacks

c20fdce
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis succeeded Mar 8, 2026 in 0s

Your pull request is up to standards!

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 2
- Added 4
           

Complexity increasing per file
==============================
- tests/Moq.Analyzers.Test/CallbackSignatureShouldMatchMockedMethodCodeFixTests.cs  3
- tests/Moq.Analyzers.Test/Helpers/CodeFixVerifier.cs  2
- src/Analyzers/CallbackSignatureShouldMatchMockedMethodAnalyzer.cs  1
- src/CodeFixes/CallbackSignatureShouldMatchMockedMethodFixer.cs  17
         

See the complete overview on Codacy

Annotations

Check notice on line 73 in src/CodeFixes/CallbackSignatureShouldMatchMockedMethodFixer.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/CodeFixes/CallbackSignatureShouldMatchMockedMethodFixer.cs#L73

Remove the 'Async' suffix to the name of this method.

Check notice on line 90 in src/CodeFixes/CallbackSignatureShouldMatchMockedMethodFixer.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/CodeFixes/CallbackSignatureShouldMatchMockedMethodFixer.cs#L90

Remove the 'Async' suffix to the name of this method.

Check notice on line 116 in src/CodeFixes/CallbackSignatureShouldMatchMockedMethodFixer.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/CodeFixes/CallbackSignatureShouldMatchMockedMethodFixer.cs#L116

Remove the 'Async' suffix to the name of this method.

Check notice on line 29 in tests/Moq.Analyzers.Test/Helpers/CodeFixVerifier.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/Moq.Analyzers.Test/Helpers/CodeFixVerifier.cs#L29

Remove the 'Async' suffix to the name of this method.