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).

跳到安装

来源信息

仓库
rjmurillo/moq.analyzers
最近来源活动
2026年7月4日 23:24
检测到的 SKILL.md 语言
英语
星标
24
分支
4

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。