Skip to main content

moq-api-reference

Provides the verified Moq API surface map that moq.analyzers detection logic must match โ€” load it when writing or reviewing anything that touches MoqKnownSymbols, `src/Common/ISymbolExtensions.Moq.cs`, or a rule that inspects Setup/Returns/Throws/Raises/Verify/Protected/It call chains. Triggers: "what does Setup() return", "which interface declares Raises", "is this overload in Moq 4.8.2", "why does this KnownSymbols property resolve null" (phantom symbols), "T1..T16 in Returns", "It vs ItExpr", "ReturnsAsync not matching" (GeneratedReturnsExtensions), "Raise with EventArgs.Empty", Net80WithOldMoq/Net80WithNewMoq test rows, or verifying any Moq API claim with dotnet-inspect. Do NOT load for general "how do I use Moq in my tests" questions (this is for analyzer authors, not Moq users), Roslyn API semantics (roslyn-analyzer-reference), rule-authoring steps (moq-analyzers-rule-lifecycle), or build/test mechanics (moq-analyzers-build-and-env).

Jump to install

Source facts

Repository
rjmurillo/moq.analyzers
Last source activity
July 4, 2026 at 23:24
Detected SKILL.md language
English
Stars
24
Forks
4

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.