Skip to content

MSTEST0049 False positive with expressions of Moq #7585

@Evangelink

Description

@Evangelink

Describe the bug

When mocking an API, if an overload with the cancellation token exists, the rule will trigger

Version used

Latest

Steps To Reproduce

See https://github.com/microsoft/vstest/pull/15539/changes#diff-b72c57420168ad8dde36e79c1710bf4211a778e9c356582e8ee287bbee45041dR4

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions