Docs Menu
Docs Home
/
MongoDB C# Analyzer

Frequently Asked Questions

On this page

  • Does the C# Analyzer support JetBrains Rider?
  • Is the C# Analyzer a Roslyn Analyzer?
  • Does the C# Analyzer Use Custom Serialization Settings?
  • Does the C# Analyzer use custom LINQ settings?
  • What information does the C# Analyzer collect through telemetry?
  • Your Code
  • Your Environment
  • Your MongoDB C# Analyzer Configuration

No, the C# Analyzer does not officially support JetBrains Rider.

We have internally tested the C# Analyzer on JetBrains Rider and have seen some success though. We welcome you to test the C# Analyzer on your JetBrains Rider deployment, and if you encounter any problems feel free to file an issue on JIRA or submit a pull request on the MongoDB C# Analyzer Github repository.

Yes, the C# Analyzer is a Roslyn Analyzer.

To learn more about Roslyn Analyzers, see Overview of Source Code Analysis from Microsoft.

No, the C# Analyzer does not use the custom serialization settings you specify for your MongoDB .NET/C# driver.

To learn more about custom serialization settings, see Serialization in the .NET/C# driver documentation.

No, the C# Analyzer does not use custom LINQ settings.

To learn more about custom LINQ settings, see How to add custom methods for LINQ queries from Microsoft.

When you have telemetry enabled the C# Analyzer collects and sends anonymized information to MongoDB Inc. The following subsections list all information the C# Analyzer collects.

To learn how to disable telemetry, see the Configuration guide.

The following is the information the C# Analyzer collects about your code:

  • The number of user-defined data types in your mapping

  • The number of unsupported LINQ and builder expressions the C# Analyzer found in your code

  • The number of LINQ and builder expressions the C# Analyzer found in your code

  • The number of MQL expressions the C# Analyzer found in your code

  • How long it took for the C# Analyzer to analyze your code

  • The number of exceptions the C# Analyzer encountered analyzing your code

  • The length of the syntax tree the C# Analyzer processed

The following is the information the C# Analyzer collects about your environment:

  • Your operating system

  • The version of the C# Analyzer you use

  • The internal .NET version your IDE or build utility uses to run the C# Analyzer

  • The version of the C# language you use

  • The version of the MongoDB .NET/C# driver you use in your project

  • The target platform you use to compile your C# code (AnyCPU/x64/x32)

  • The output assembly kind generated by your .NET application

  • A unique identifier the C# Analyzer constructs from a hash of the following components of your Net User:

    • UserName

    • /domain

The following is the information the C# Analyzer collects about your C# Analyzer configuration:

  • If you have logs enabled for the C# Analyzer

  • The LINQ provider version your C# Analyzer uses

Back

Known Issues