diff --git a/build-tools/xa-prep-tasks/Xamarin.Android.BuildTools.PrepTasks/Which.cs b/build-tools/xa-prep-tasks/Xamarin.Android.BuildTools.PrepTasks/Which.cs index cfd1903c9b3..33ca0a3d234 100644 --- a/build-tools/xa-prep-tasks/Xamarin.Android.BuildTools.PrepTasks/Which.cs +++ b/build-tools/xa-prep-tasks/Xamarin.Android.BuildTools.PrepTasks/Which.cs @@ -33,7 +33,7 @@ static Which () FileExtensions = new string [(pathExts?.Length ?? 0) + 1]; FileExtensions [0] = null; if (pathExts != null) { - Array.Copy (pathExts, 0, FileExtensions, 1, pathExt.Length); + Array.Copy (pathExts, 0, FileExtensions, 1, pathExts.Length); } }