File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Rubberduck.CodeAnalysis/Inspections/Concrete Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 5
5
using Rubberduck . Parsing . Inspections . Abstract ;
6
6
using Rubberduck . Inspections . Results ;
7
7
using Rubberduck . Parsing . Symbols ;
8
+ using Rubberduck . Resources . Inspections ;
8
9
9
10
namespace Rubberduck . CodeAnalysis . Inspections . Concrete
10
11
{
@@ -26,9 +27,11 @@ protected override IEnumerable<IInspectionResult> DoGetInspectionResults()
26
27
27
28
private IInspectionResult Result ( Declaration declaration )
28
29
{
30
+ var description = string . Format ( InspectionResults . ImplicitlyTypedConstInspection , declaration . IdentifierName ) ;
31
+
29
32
return new IdentifierReferenceInspectionResult (
30
33
this ,
31
- declaration . DescriptionString ,
34
+ description ,
32
35
State ,
33
36
new IdentifierReference (
34
37
declaration . QualifiedModuleName ,
You can’t perform that action at this time.
0 commit comments