src/CodeFixes/CallbackSignatureShouldMatchMockedMethodCodeFix.cs
Method FixCallbackSignatureAsync
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static async Task<Document> FixCallbackSignatureAsync(SyntaxNode root, Document document, ParameterListSyntax? oldParameters, CancellationToken cancellationToken)
{
SemanticModel? semanticModel = await document.GetSemanticModelAsync(cancellationToken).ConfigureAwait(false);
if (semanticModel is null)
Avoid too many return
statements within this method. Open
Open
return document.WithSyntaxRoot(newRoot);
Unexpected tabs found. Open
Open
using System.Composition;
- Exclude checks