Use Set Keyword For Object Assignment Quick Fix

Introduces a 'Set' keyword for what appears to be a suspicious or malformed object reference assignment.

This quick-fix is available for the following inspections:

Applicability

This quick-fix can be applied as a single operation at the following scopes:
  • Procedure
  • Module
  • Project

Examples


Rubberduck.CodeAnalysis.QuickFixes.Concrete.UseSetKeywordForObjectAssignmentQuickFix.cs (Prerelease-v2.5.9.6294)