We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0f63ef commit d2c116eCopy full SHA for d2c116e
Rubberduck.CodeAnalysis/Inspections/Concrete/ImplicitlyTypedConstInspection.cs
@@ -29,18 +29,10 @@ private IInspectionResult Result(Declaration declaration)
29
{
30
var description = string.Format(InspectionResults.ImplicitlyTypedConstInspection, declaration.IdentifierName);
31
32
- return new IdentifierReferenceInspectionResult(
+ return new DeclarationInspectionResult(
33
this,
34
description,
35
- State,
36
- new IdentifierReference(
37
- declaration.QualifiedModuleName,
38
- declaration.ParentScopeDeclaration,
39
- declaration.ParentDeclaration,
40
- declaration.IdentifierName,
41
- declaration.Selection,
42
- declaration.Context,
43
- declaration));
+ declaration);
44
}
45
46
0 commit comments