DotNetAnalyzers / IDisposableAnalyzers

Roslyn analyzers for IDisposable

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New feature: analyze `.razor` files (Blazor components)

gaelj opened this issue · comments

I wanted to use this analyzer primarily to detect missing @implements IDisposable delcarations in Blazor components that contain a Dispose() function, but after testing, it seems not to be supported.

I do get IDISP009 warning for this kind of mistake in a cs file. I would like to have it in razor files as well.