Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinWise committed Dec 3, 2022
1 parent 2ec8884 commit 6a06e1b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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;
Expand Down

0 comments on commit 6a06e1b

Please sign in to comment.