dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.11k stars 4.7k forks source link

Add analyzer: Virtual member is never overridden #106910

Open xtqqczze opened 3 months ago

xtqqczze commented 3 months ago

Is there an issue tracking a Roslyn analyzer for: "virtual member is never overridden"?

https://www.jetbrains.com/help/resharper/VirtualMemberNeverOverridden.Global.html

Originally posted by @xtqqczze in https://github.com/dotnet/runtime/issues/104483#issuecomment-2211193500

buyaa-n commented 1 month ago

New analyzer => moving to runtime.

@xtqqczze more details about how the analyzer should detect that Virtual member is never overridden would be appreciated

dotnet-policy-service[bot] commented 1 month ago

Tagging subscribers to this area: @dotnet/area-meta See info in area-owners.md if you want to be subscribed.