Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Deprecated/Conversion/ProjectFileConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ private bool DoRepairForAssetCompat()
{
var toRepairImports = RequiresRepairForAssetCompat();

if (toRepairImports == null || toRepairImports.Count() == 0)
if (toRepairImports == null || !toRepairImports.Any())
{
// no need to repair
return false;
Expand Down
2 changes: 1 addition & 1 deletion src/Utilities/ToolLocationHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,7 @@ public static string GetFoldersInVSInstallsAsString(string minVersionString = nu

var folders = GetFoldersInVSInstalls(minVersion, maxVersion, subFolder);

if (folders.Count() > 0)
if (folders.Any())
{
foldersString = string.Join(";", folders);
}
Expand Down