From 40a7084b75034e5434e1651504ccbc6f1c557439 Mon Sep 17 00:00:00 2001 From: Joe Schmitt Date: Wed, 23 Aug 2023 14:53:26 -0700 Subject: [PATCH] Fix renaming namespace refs --- .../ParameterCapturing/TypeUtils.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.Diagnostics.Monitoring.HostingStartup/ParameterCapturing/TypeUtils.cs b/src/Microsoft.Diagnostics.Monitoring.HostingStartup/ParameterCapturing/TypeUtils.cs index de21f45003c..547cd7a4ac4 100644 --- a/src/Microsoft.Diagnostics.Monitoring.HostingStartup/ParameterCapturing/TypeUtils.cs +++ b/src/Microsoft.Diagnostics.Monitoring.HostingStartup/ParameterCapturing/TypeUtils.cs @@ -29,8 +29,8 @@ public static bool IsSubType(string parentType, string typeToCheck) return true; } - char charAfterNamespace = typeToCheck[parentType.Length]; - if (charAfterNamespace == '.' || charAfterNamespace == '+') + char charAfterParentType = typeToCheck[parentType.Length]; + if (charAfterParentType == '.' || charAfterParentType == '+') { return true; }