Skip to content

Commit 1d78020

Browse files
committed
Removed Typecrutch, Fix VariableNotAssignedInspection stashing error
1 parent 80476ed commit 1d78020

File tree

60 files changed

+2
-122
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+2
-122
lines changed

Rubberduck.Inspections/Concrete/ApplicationWorksheetFunctionInspection.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ public class ApplicationWorksheetFunctionInspection : InspectionBase
1818
public ApplicationWorksheetFunctionInspection(RubberduckParserState state)
1919
: base(state, CodeInspectionSeverity.Suggestion) { }
2020

21-
public override Type Type => typeof(ApplicationWorksheetFunctionInspection);
22-
2321
public override CodeInspectionType InspectionType => CodeInspectionType.CodeQualityIssues;
2422

2523
protected override IEnumerable<IInspectionResult> DoGetInspectionResults()

Rubberduck.Inspections/Concrete/AssignedByValParameterInspection.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ public sealed class AssignedByValParameterInspection : InspectionBase
1515
public AssignedByValParameterInspection(RubberduckParserState state)
1616
: base(state)
1717
{ }
18-
19-
public override Type Type => typeof(AssignedByValParameterInspection);
20-
18+
2119
public override CodeInspectionType InspectionType => CodeInspectionType.CodeQualityIssues;
2220

2321
protected override IEnumerable<IInspectionResult> DoGetInspectionResults()

Rubberduck.Inspections/Concrete/ConstantNotUsedInspection.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ public sealed class ConstantNotUsedInspection : InspectionBase
1818
public ConstantNotUsedInspection(RubberduckParserState state)
1919
: base(state) { }
2020

21-
public override Type Type => typeof(ConstantNotUsedInspection);
22-
2321
public override CodeInspectionType InspectionType => CodeInspectionType.CodeQualityIssues;
2422

2523
protected override IEnumerable<IInspectionResult> DoGetInspectionResults()

Rubberduck.Inspections/Concrete/DefaultProjectNameInspection.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ public sealed class DefaultProjectNameInspection : InspectionBase
1717
public DefaultProjectNameInspection(RubberduckParserState state)
1818
: base(state, CodeInspectionSeverity.Suggestion) { }
1919

20-
public override Type Type => typeof(DefaultProjectNameInspection);
21-
2220
public override CodeInspectionType InspectionType => CodeInspectionType.MaintainabilityAndReadabilityIssues;
2321

2422
protected override IEnumerable<IInspectionResult> DoGetInspectionResults()

Rubberduck.Inspections/Concrete/EmptyCaseBlockInspection.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ public EmptyCaseBlockInspection(RubberduckParserState state)
1919
public override IInspectionListener Listener { get; } =
2020
new EmptyCaseBlockListener();
2121

22-
public override Type Type => typeof(EmptyCaseBlockInspection);
23-
2422
public override CodeInspectionType InspectionType => CodeInspectionType.CodeQualityIssues;
2523

2624
protected override IEnumerable<IInspectionResult> DoGetInspectionResults()

Rubberduck.Inspections/Concrete/EmptyDoWhileBlockInspection.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ internal class EmptyDoWhileBlockInspection : ParseTreeInspectionBase
1616
public EmptyDoWhileBlockInspection(RubberduckParserState state)
1717
: base(state, CodeInspectionSeverity.Suggestion) { }
1818

19-
public override Type Type => typeof(EmptyDoWhileBlockInspection);
20-
2119
public override CodeInspectionType InspectionType => CodeInspectionType.CodeQualityIssues;
2220

2321
protected override IEnumerable<IInspectionResult> DoGetInspectionResults()

Rubberduck.Inspections/Concrete/EmptyElseBlockInspection.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ internal class EmptyElseBlockInspection : ParseTreeInspectionBase
1616
public EmptyElseBlockInspection(RubberduckParserState state)
1717
: base(state, CodeInspectionSeverity.DoNotShow) { }
1818

19-
public override Type Type => typeof(EmptyElseBlockInspection);
20-
2119
public override CodeInspectionType InspectionType => CodeInspectionType.CodeQualityIssues;
2220

2321
protected override IEnumerable<IInspectionResult> DoGetInspectionResults()

Rubberduck.Inspections/Concrete/EmptyForEachBlockInspection.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ internal class EmptyForEachBlockInspection : ParseTreeInspectionBase
1616
public EmptyForEachBlockInspection(RubberduckParserState state)
1717
: base(state, CodeInspectionSeverity.DoNotShow) { }
1818

19-
public override Type Type => typeof(EmptyForEachBlockInspection);
20-
2119
public override CodeInspectionType InspectionType => CodeInspectionType.CodeQualityIssues;
2220

2321
protected override IEnumerable<IInspectionResult> DoGetInspectionResults()

Rubberduck.Inspections/Concrete/EmptyForLoopBlockInspection.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ internal class EmptyForLoopBlockInspection : ParseTreeInspectionBase
1616
public EmptyForLoopBlockInspection(RubberduckParserState state)
1717
: base(state, CodeInspectionSeverity.DoNotShow) { }
1818

19-
public override Type Type => typeof(EmptyForLoopBlockInspection);
20-
2119
public override CodeInspectionType InspectionType => CodeInspectionType.CodeQualityIssues;
2220

2321
protected override IEnumerable<IInspectionResult> DoGetInspectionResults()

Rubberduck.Inspections/Concrete/EmptyIfBlockInspection.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ internal class EmptyIfBlockInspection : ParseTreeInspectionBase
1818
public EmptyIfBlockInspection(RubberduckParserState state)
1919
: base(state, CodeInspectionSeverity.DoNotShow) { }
2020

21-
public override Type Type => typeof(EmptyIfBlockInspection);
22-
2321
public override CodeInspectionType InspectionType => CodeInspectionType.CodeQualityIssues;
2422

2523
protected override IEnumerable<IInspectionResult> DoGetInspectionResults()

0 commit comments

Comments
 (0)