NDepend.API Documentation
WasNotViolatedAndIsViolated Method (ExtensionMethodsCQLinqIssuesSetDiff)
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqIssuesSetDiff Class : WasNotViolatedAndIsViolated Method
The rule object can be the NewerVersion(IRule) or OlderVersion(IRule) of the same rule.
Gets a value that indicates if rule is present in both NewerIssuesSet and OlderIssuesSet and is violated in NewerIssuesSet and not in OlderIssuesSet.
Syntax
[Extension()]
public static bool WasNotViolatedAndIsViolated( 
   IRule rule
)

Parameters

rule
The rule object can be the NewerVersion(IRule) or OlderVersion(IRule) of the same rule.
Exceptions
ExceptionDescription
This extension method cannot be called from a program consuming NDepend.API. In such context, the method NDepend.Issue.IIssuesSetDiff.NDepend.Issue.IIssuesSetDiff.WasNotViolatedAndIsViolated must be called instead.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsCQLinqIssuesSetDiff Class
ExtensionMethodsCQLinqIssuesSetDiff Members