Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more >
MongoDB Event
Docs Menu
Docs Home
/
C# Analyzer

What's New

Learn what's new in:

  • Version 2.0

  • Version 1.5

  • Version 1.4

The 2.0 MongoDB C# Analyzer release includes the following features, improvements, and fixes:

  • Supports only .NET/C# driver v3.0 and higher.

  • Drops support for the MALinq2002 rule because .NET/C# driver v3.0 removes the LINQ2 provider.

  • Drops support for IMongoQueryable. As a result, the C# Analyzer attempts to analyze each IQueryable object, except for system collections and arrays. This version adds the LinqAnalysisVerbosity option to control the verbosity of IQueryable analysis.

The 1.5 MongoDB C# Analyzer release includes the following features, improvements, and fixes:

  • New analysis rules introduced for Entity Framework Core, which enable displaying MongoDB Query API translations for MongoDB Entity Framework Core Provider expressions at compile time

  • Support for strong named 2.28 driver

  • Supports fully qualified names for data models

The 1.4 MongoDB C# Analyzer release includes the following features, improvements, and fixes:

  • Support for builders defined within variables. For example, the C# Analyzer analyzes the second line in the following code:

    var movieFilterBuilder = Builders<Movie>.Filter;
    var filterReviews = movieFilterBuilder.Size(p => p.Reviews, 5);

Back

FAQ

On this page