Skip to content

Commit

Permalink
Adds overload for constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewabest committed Dec 4, 2020
1 parent 69e7f85 commit 8d2f38d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public abstract class MustNotUseMethodSpecification : ConventionSpecification

protected MustNotUseMethodSpecification(MethodInfo methodInfo,
string failureMessage,
bool includeVirtualMethodCalls)
bool includeVirtualMethodCalls = false)
:this(new[] {methodInfo},failureMessage, includeVirtualMethodCalls)
{
}
Expand Down

0 comments on commit 8d2f38d

Please sign in to comment.