/// <summary> /// Returns whether <paramref name="item"/> Has the <paramref name="metadataName"/>. /// </summary> /// <param name="item"></param> /// <param name="metadataName"></param> /// <returns></returns> internal static bool HasMetadataName(this ITaskItem item, string metadataName) => item.GetMetadataNames().Any(x => x == metadataName);