Skip to content

[F.Rq.] Equivalent of MA0093 but for arguments to regular method #866

@YoshiRulz

Description

@YoshiRulz

Is your feature request related to a problem? Please describe.
MA0093 only flags when an event is 'raised' with (EventArgs?) null, not just any time a null literal of type EventArgs? appears. I now see the intent behind the rule but for a while I just assumed that it wasn't working in our codebase.

Describe the solution you'd like
Please clarify the rule's title and documentation.
Alternatively, check arguments to regular methods too, but I could always write my own Analyzer for that. Let me know if you'd be interested in having it in this project.

Describe alternatives you've considered
N/A

Additional context
N/A

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions