Skip to content

Commit

Permalink
Update ConstructorArgumentsShouldMatchAnalyzer.cs comment about abstr…
Browse files Browse the repository at this point in the history
…act type ctor
  • Loading branch information
rjmurillo authored May 31, 2024
1 parent 7560816 commit b568ce6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private static void Analyze(SyntaxNodeAnalysisContext context)
{
// Issue #1: Currently detection does not work well for abstract classes because they cannot be instantiated

// The mocked symbol is generic, so we need to check if the constructor arguments match the abstract class constructor
// The mocked symbol is abstract, so we need to check if the constructor arguments match the abstract class constructor

// Extract types of arguments passed in the constructor call
var argumentTypes = constructorArguments
Expand Down

0 comments on commit b568ce6

Please sign in to comment.