# NOTE: Requires **VS2019 16.7** or later

# 'Performance' Rules from '10.0' release with 'Default' analysis mode escalated to 'error' severity
# Description: 'Performance' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.

is_global = true

global_level = -99


# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate
dotnet_diagnostic.CA1831.severity = error

# CA1857: A constant is expected for the parameter
dotnet_diagnostic.CA1857.severity = error
