From 98655ea91b74475a9c4a364f20839ebaa45c911c Mon Sep 17 00:00:00 2001 From: Marek Habersack Date: Tue, 27 Sep 2022 15:34:18 +0200 Subject: [PATCH] Oops, forgot to put that back in --- .../Utilities/MarshalMethodsClassifier.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Xamarin.Android.Build.Tasks/Utilities/MarshalMethodsClassifier.cs b/src/Xamarin.Android.Build.Tasks/Utilities/MarshalMethodsClassifier.cs index a5e8b785e50..3a7d4712b3f 100644 --- a/src/Xamarin.Android.Build.Tasks/Utilities/MarshalMethodsClassifier.cs +++ b/src/Xamarin.Android.Build.Tasks/Utilities/MarshalMethodsClassifier.cs @@ -165,9 +165,9 @@ string MapType (TypeReference typeRef) } // Android.Graphics.Color is mapped to/from a native `int` - // if (String.Compare (typeName, "Android.Graphics.Color", StringComparison.Ordinal) == 0) { - // return "System.Int32"; - // } + if (String.Compare (typeName, "Android.Graphics.Color", StringComparison.Ordinal) == 0) { + return "System.Int32"; + } return "System.IntPtr"; }