You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 20, 2026. It is now read-only.
Rule: AV1553 Do not use optional parameters with default value null for strings, collections or tasks
For example:
when inheriting from abstract class Microsoft.AspNetCore.Routing.LinkGenerator
when implementing interface Swashbuckle.AspNetCore.Swagger.ISwaggerProvider
These require to implement methods with optional parameters. There's no way to fix the reported violation, other than to suppress it. Therefore it doesn't make sense to report a violation in these cases.
Rule: AV1553 Do not use optional parameters with default value null for strings, collections or tasks
For example:
Microsoft.AspNetCore.Routing.LinkGeneratorSwashbuckle.AspNetCore.Swagger.ISwaggerProviderThese require to implement methods with optional parameters. There's no way to fix the reported violation, other than to suppress it. Therefore it doesn't make sense to report a violation in these cases.