From c5975deb2d0aa8100fb1c029f36258277f27e40e Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sun, 1 Feb 2026 22:06:27 +0000
Subject: [PATCH 1/2] Initial plan
From 1a33e43451f90a9e0595104de5fa9754c8ed8ebb Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sun, 1 Feb 2026 22:09:04 +0000
Subject: [PATCH 2/2] Update MA0184 to be enabled by default as silent
Co-authored-by: meziantou <509220+meziantou@users.noreply.github.com>
---
README.md | 2 +-
docs/README.md | 4 ++--
.../configuration/default.editorconfig | 2 +-
.../DoNotUseInterpolatedStringWithoutParametersAnalyzer.cs | 4 ++--
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 5b6ff0923..dedaafbd1 100755
--- a/README.md
+++ b/README.md
@@ -198,7 +198,7 @@ If you are already using other analyzers, you can check [which rules are duplica
|[MA0181](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0181.md)|Style|Do not use cast|ℹ️|❌|❌|
|[MA0182](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0182.md)|Design|Avoid unused internal types|ℹ️|✔️|✔️|
|[MA0183](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0183.md)|Usage|string.Format should use a format string with placeholders|⚠️|✔️|❌|
-|[MA0184](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0184.md)|Style|Do not use interpolated string without parameters|ℹ️|❌|✔️|
+|[MA0184](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0184.md)|Style|Do not use interpolated string without parameters|👻|✔️|✔️|
|[MA0185](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0185.md)|Performance|Simplify string.Create when all parameters are culture invariant|ℹ️|✔️|✔️|
diff --git a/docs/README.md b/docs/README.md
index 2dbecba3b..5aa8d0df7 100755
--- a/docs/README.md
+++ b/docs/README.md
@@ -182,7 +182,7 @@
|[MA0181](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0181.md)|Style|Do not use cast|ℹ️|❌|❌|
|[MA0182](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0182.md)|Design|Avoid unused internal types|ℹ️|✔️|✔️|
|[MA0183](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0183.md)|Usage|string.Format should use a format string with placeholders|⚠️|✔️|❌|
-|[MA0184](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0184.md)|Style|Do not use interpolated string without parameters|ℹ️|❌|✔️|
+|[MA0184](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0184.md)|Style|Do not use interpolated string without parameters|👻|✔️|✔️|
|[MA0185](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0185.md)|Performance|Simplify string.Create when all parameters are culture invariant|ℹ️|✔️|✔️|
|Id|Suppressed rule|Justification|
@@ -747,7 +747,7 @@ dotnet_diagnostic.MA0182.severity = suggestion
dotnet_diagnostic.MA0183.severity = warning
# MA0184: Do not use interpolated string without parameters
-dotnet_diagnostic.MA0184.severity = none
+dotnet_diagnostic.MA0184.severity = silent
# MA0185: Simplify string.Create when all parameters are culture invariant
dotnet_diagnostic.MA0185.severity = suggestion
diff --git a/src/Meziantou.Analyzer.Pack/configuration/default.editorconfig b/src/Meziantou.Analyzer.Pack/configuration/default.editorconfig
index 0649345a2..23e24986f 100644
--- a/src/Meziantou.Analyzer.Pack/configuration/default.editorconfig
+++ b/src/Meziantou.Analyzer.Pack/configuration/default.editorconfig
@@ -546,7 +546,7 @@ dotnet_diagnostic.MA0182.severity = suggestion
dotnet_diagnostic.MA0183.severity = warning
# MA0184: Do not use interpolated string without parameters
-dotnet_diagnostic.MA0184.severity = none
+dotnet_diagnostic.MA0184.severity = silent
# MA0185: Simplify string.Create when all parameters are culture invariant
dotnet_diagnostic.MA0185.severity = suggestion
diff --git a/src/Meziantou.Analyzer/Rules/DoNotUseInterpolatedStringWithoutParametersAnalyzer.cs b/src/Meziantou.Analyzer/Rules/DoNotUseInterpolatedStringWithoutParametersAnalyzer.cs
index 835d72f16..d9aabcc89 100644
--- a/src/Meziantou.Analyzer/Rules/DoNotUseInterpolatedStringWithoutParametersAnalyzer.cs
+++ b/src/Meziantou.Analyzer/Rules/DoNotUseInterpolatedStringWithoutParametersAnalyzer.cs
@@ -14,8 +14,8 @@ public sealed class DoNotUseInterpolatedStringWithoutParametersAnalyzer : Diagno
title: "Do not use interpolated string without parameters",
messageFormat: "Do not use interpolated string without parameters",
RuleCategories.Style,
- DiagnosticSeverity.Info,
- isEnabledByDefault: false,
+ DiagnosticSeverity.Hidden,
+ isEnabledByDefault: true,
description: "",
helpLinkUri: RuleIdentifiers.GetHelpUri(RuleIdentifiers.DoNotUseInterpolatedStringWithoutParameters));