Code inspection: Redundant type declaration body
If you're using the marker interface pattern in your code, C# 12 allows a semicolon ; instead of the empty body { } for empty declarations.
This inspection reports places where this new syntax can be used, and suggests a solution-wide quick-fix:
public interface IDependency
{
}
public interface IDependency;
Last modified: 14 May 2024