Skip to content

Commit

Permalink
Merge branch 'usagesCleanup' of https://github.com/CyrusNajmabadi/roslyn
Browse files Browse the repository at this point in the history
 into usagesCleanup
  • Loading branch information
CyrusNajmabadi committed Apr 20, 2020
2 parents 989df6f + 13e8628 commit c2b342c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EditorFeatures/Core/FindUsages/FindUsagesHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static string GetDisplayName(ISymbol symbol)
}

var result = builder.ToImmutableArray();
var message = result.Length == 0 ? EditorFeaturesResources.The_symbol_has_no_implementations : null;
var message = result.IsEmpty ? EditorFeaturesResources.The_symbol_has_no_implementations : null;

return (solution, symbolAndProjectId, result, message);
}
Expand Down

0 comments on commit c2b342c

Please sign in to comment.