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

Zur Installation springen

Quellinformationen

Repository
rjmurillo/moq.analyzers
Letzte Quellaktivität
4. Juli 2026 um 23:24
Erkannte Sprache von SKILL.md
Englisch
Sterne
24
Forks
4

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.