From 12b6f938c7325bf4f0e7940a234ada3f4371bb3a Mon Sep 17 00:00:00 2001
From: Martin Strecker <martin.strecker@sonarsource.com>
Date: Tue, 17 Oct 2023 20:12:00 +0200
Subject: [PATCH] Comments

---
 .../StyleCop.Analyzers/Lightup/LightupHelpers.cs            | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs
index 5ec0bb38a..43e460faf 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs
@@ -67,7 +67,7 @@ internal static bool CanWrapObject(object obj, Type underlyingType)
 
             ConcurrentDictionary<Type, bool> wrappedObject = SupportedObjectWrappers.GetOrAdd(underlyingType, static _ => new ConcurrentDictionary<Type, bool>());
 
-            // Avoid creating the delegate and capture class
+            // Avoid creating a delegate and capture class
             if (!wrappedObject.TryGetValue(obj.GetType(), out var canCast))
             {
                 canCast = underlyingType.GetTypeInfo().IsAssignableFrom(obj.GetType().GetTypeInfo());
@@ -93,7 +93,7 @@ internal static bool CanWrapNode(SyntaxNode node, Type underlyingType)
 
             ConcurrentDictionary<SyntaxKind, bool> wrappedSyntax = SupportedSyntaxWrappers.GetOrAdd(underlyingType, static _ => new ConcurrentDictionary<SyntaxKind, bool>());
 
-            // Avoid creating the delegate and capture class
+            // Avoid creating a delegate and capture class
             if (!wrappedSyntax.TryGetValue(node.Kind(), out var canCast))
             {
                 canCast = underlyingType.GetTypeInfo().IsAssignableFrom(node.GetType().GetTypeInfo());
@@ -119,7 +119,7 @@ internal static bool CanWrapOperation(IOperation operation, Type underlyingType)
 
             ConcurrentDictionary<OperationKind, bool> wrappedSyntax = SupportedOperationWrappers.GetOrAdd(underlyingType, static _ => new ConcurrentDictionary<OperationKind, bool>());
 
-            // Avoid creating the delegate and capture class
+            // Avoid creating a delegate and capture class
             if (!wrappedSyntax.TryGetValue(operation.Kind, out var canCast))
             {
                 canCast = underlyingType.GetTypeInfo().IsAssignableFrom(operation.GetType().GetTypeInfo());