Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Code Analysis Rule Collection (Enumerables)
Code Analysis Rule Collection (Enumerables)

Code Analysis Rule Collection (Enumerables)

Peter Juhasz

|
816 installs
| (1) | Free
Contains a set of diagnostics, code fixes and refactorings built on the Microsoft .NET Compiler Platform "Roslyn".
Download

Contains a set of common diagnostics, code fixes and refactorings built on the Microsoft .NET Compiler Platform "Roslyn".

Requirements:

  • Roslyn End User Preview

List of analysis tools:

  • Use Any() instead of Count() to test whether a sequence contains elements or not
    • if (source.Count() > 0)
  • Conversion between element access, indexer, ElementAt, First and Last
    • array[array.Count() - 1] to array.Last()

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft