From 6a06e1b8665ba16a533d261f4953efd0f1b0c3a3 Mon Sep 17 00:00:00 2001 From: Austin Wise Date: Tue, 29 Nov 2022 23:17:03 +0000 Subject: [PATCH] Fix build --- .../tools/Common/Internal/Runtime/EETypeBuilderHelpers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/tools/Common/Internal/Runtime/EETypeBuilderHelpers.cs b/src/coreclr/tools/Common/Internal/Runtime/EETypeBuilderHelpers.cs index 6ff1658955d4..5f45795ec495 100644 --- a/src/coreclr/tools/Common/Internal/Runtime/EETypeBuilderHelpers.cs +++ b/src/coreclr/tools/Common/Internal/Runtime/EETypeBuilderHelpers.cs @@ -148,7 +148,7 @@ private static bool IsTrackedReferenceWithFinalizer(TypeDesc type) if (!type.HasFinalizer) return false; - if ((MetadataType)type).HasCustomAttribute("System.Runtime.InteropServices.ObjectiveC", "ObjectiveCTrackedTypeAttribute")) + if (((MetadataType)type).HasCustomAttribute("System.Runtime.InteropServices.ObjectiveC", "ObjectiveCTrackedTypeAttribute")) return true; type = type.BaseType;