private static DiffMinimapItemState GetDiffState(object item) { if (DiffUtility.HasDiffState(item) == false) { return(DiffMinimapItemState.Null); } return((DiffMinimapItemState)DiffUtility.GetDiffState(item)); }