From ca34542184889c64adfe19df72976df6094565f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rald=20Barr=C3=A9?= Date: Wed, 3 Jul 2024 20:05:37 -0400 Subject: [PATCH] Fix typo in sample --- docs/Rules/MA0149.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Rules/MA0149.md b/docs/Rules/MA0149.md index b11865756..c451d4d9a 100644 --- a/docs/Rules/MA0149.md +++ b/docs/Rules/MA0149.md @@ -1,7 +1,7 @@ # MA0149 - Use pattern matching instead of inequality operators for discrete value ````c# -value 1= 1; // not compliant +value != 1; // not compliant value is not 1; // ok ````