2019-05-03 00:29:04 +02:00
<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="Console Rules" Description="These rules enforce static analysis on console code." ToolsVersion="15.0">
2019-05-24 23:48:10 +02:00
2019-08-29 19:27:29 +02:00
<Include Path="cppcorecheckrules.ruleset" Action="Error" />
2019-05-24 23:48:10 +02:00
2019-09-03 18:15:49 +02:00
<Rules AnalyzerId="Microsoft.Analyzers.NativeCodeAnalysis" RuleNamespace="Microsoft.Rules.Native">
<Rule Id="C6001" Action="Error" />
<Rule Id="C6011" Action="Error" />
<!-- We can't do dynamic cast because RTTI is off. -->
<!-- RTTI is off because Windows OS policies believe RTTI has too much binary size impact for the value and is less portable than RTTI-off modules. -->
<Rule Id="C26466" Action="None" />
2019-09-30 19:39:55 +02:00
<!-- This one has caught us off guard as it suddenly showed up. Re-enablement is going to be in #2941 -->
<Rule Id="C26814" Action="None" />
2020-12-11 06:04:30 +01:00
<!-- There are *so many* enums that should be enum classes. -->
<Rule Id="C26812" Action="None" />
2019-09-03 18:15:49 +02:00
</Rules>
2019-05-03 00:29:04 +02:00
</RuleSet>