Skip to content

Add analyzer suggesting WithOptions over Use(IOptions) - #45

Merged
Keboo merged 2 commits into
mainfrom
kepler/add-ioptions-use-analyzer
Oct 17, 2026
Merged

Keboo merged 2 commits into
mainfrom
kepler/add-ioptions-use-analyzer

Conversation

@Keboo

@Keboo Keboo commented Oct 16, 2026

Copy link
Copy Markdown
Owner

Adds analyzer AMA0001 (info) that flags AutoMocker.Use calls passing an IOptions and suggests the source generated WithOptions() extension. Only reported when the generated extension is available. Message links to the generator docs. Includes tests and docs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Keboo
Keboo enabled auto-merge (squash) October 16, 2026 23:43
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Keboo
Keboo merged commit 88908e6 into main Oct 17, 2026
4 checks passed
@Keboo
Keboo deleted the kepler/add-ioptions-use-analyzer branch October 17, 2026 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant