diff --git a/analyzers/its/expected/Ember-MM/S2353-EmberAPI.json b/analyzers/its/expected/Ember-MM/S2353-EmberAPI.json deleted file mode 100644 index 8e27736caab..00000000000 --- a/analyzers/its/expected/Ember-MM/S2353-EmberAPI.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "Issues": [ - { - "Id": "S2353", - "Message": "Rename this property to \u0027Item\u0027.", - "Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/Projects/Ember-MM/EmberAPI/clsAPIDVD.vb#L149", - "Location": "Line 149 Position 30-57" - }, - { - "Id": "S2353", - "Message": "Rename this property to \u0027Item\u0027.", - "Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/Projects/Ember-MM/EmberAPI/clsAPIDVD.vb#L62", - "Location": "Line 62 Position 30-41" - }, - { - "Id": "S2353", - "Message": "Rename this property to \u0027Item\u0027.", - "Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/Projects/Ember-MM/EmberAPI/clsAPIDVD.vb#L90", - "Location": "Line 90 Position 30-42" - } - ] -} \ No newline at end of file diff --git a/analyzers/rspec/vbnet/S2353.html b/analyzers/rspec/vbnet/S2353.html deleted file mode 100644 index 5985bdfe0dc..00000000000 --- a/analyzers/rspec/vbnet/S2353.html +++ /dev/null @@ -1,29 +0,0 @@ -
This rule is deprecated, and will eventually be removed.
-In most cases, indexed properties should be named Item for consistency. Exceptions are when there exists a name which is obviously better, for
-example System.String.Chars(System.Int32).
-Module Module1
- Dim array = {"apple", "banana", "orange", "strawberry"}
-
- ReadOnly Property Foo(ByVal index As Integer) ' Noncompliant
- Get
- Return array(index)
- End Get
- End Property
-End Module
-
-
-Module Module1
- Dim array = {"apple", "banana", "orange", "strawberry"}
-
- ReadOnly Property Item(ByVal index As Integer)
- Get
- Return array(index)
- End Get
- End Property
-End Module
-
-
diff --git a/analyzers/rspec/vbnet/S2353.json b/analyzers/rspec/vbnet/S2353.json
deleted file mode 100644
index c4cd5e88510..00000000000
--- a/analyzers/rspec/vbnet/S2353.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "title": "Indexed properties should be named \"Item\"",
- "type": "CODE_SMELL",
- "code": {
- "impacts": {
- "MAINTAINABILITY": "LOW"
- },
- "attribute": "IDENTIFIABLE"
- },
- "status": "deprecated",
- "remediation": {
- "func": "Constant\/Issue",
- "constantCost": "5min"
- },
- "tags": [],
- "defaultSeverity": "Minor",
- "ruleSpecification": "RSPEC-2353",
- "sqKey": "S2353",
- "scope": "Main",
- "quickfix": "unknown"
-}
diff --git a/analyzers/src/SonarAnalyzer.VisualBasic/Rules/Naming/IndexedPropertyName.cs b/analyzers/src/SonarAnalyzer.VisualBasic/Rules/Naming/IndexedPropertyName.cs
deleted file mode 100644
index acb19c03552..00000000000
--- a/analyzers/src/SonarAnalyzer.VisualBasic/Rules/Naming/IndexedPropertyName.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * SonarAnalyzer for .NET
- * Copyright (C) 2015-2024 SonarSource SA
- * mailto: contact AT sonarsource DOT com
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-namespace SonarAnalyzer.Rules.VisualBasic
-{
- [DiagnosticAnalyzer(LanguageNames.VisualBasic)]
- public sealed class IndexedPropertyName : SonarDiagnosticAnalyzer
- {
- internal const string DiagnosticId = "S2353";
- private const string MessageFormat = "Rename this property to 'Item'.";
-
- private static readonly DiagnosticDescriptor rule =
- DescriptorFactory.Create(DiagnosticId, MessageFormat);
-
- public override ImmutableArray