nuget update
This commit is contained in:
51
.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/rulesets/AllRulesDefault.ruleset
vendored
Normal file
51
.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/rulesets/AllRulesDefault.ruleset
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="All Rules with default severity" Description="All Rules with default severity. Rules with IsEnabledByDefault = false are disabled." ToolsVersion="15.0">
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="Warning" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="Warning" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="Warning" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="Warning" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="Warning" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="Warning" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="Warning" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="Error" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="Warning" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="Warning" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="Warning" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="Warning" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="Warning" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="Warning" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="Warning" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="Warning" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="Warning" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="Warning" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="Warning" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="Warning" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="Warning" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="Warning" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="Warning" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="Warning" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="Warning" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="Warning" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="Warning" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="Warning" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="Warning" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="Warning" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="Error" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="Warning" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="Warning" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="Warning" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="Warning" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="Warning" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="Warning" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="Warning" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="Warning" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="Warning" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="Warning" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="Warning" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
51
.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/rulesets/AllRulesDisabled.ruleset
vendored
Normal file
51
.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/rulesets/AllRulesDisabled.ruleset
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="All Rules Disabled" Description="All Rules are disabled." ToolsVersion="15.0">
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
51
.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/rulesets/AllRulesEnabled.ruleset
vendored
Normal file
51
.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/rulesets/AllRulesEnabled.ruleset
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="All Rules Enabled as build warnings" Description="All Rules are enabled as build warnings. Rules with IsEnabledByDefault = false are force enabled as build warnings." ToolsVersion="15.0">
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="Warning" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="Warning" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="Warning" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="Warning" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="Warning" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="Warning" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="Warning" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="Warning" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="Warning" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="Warning" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="Warning" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="Warning" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="Warning" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="Warning" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="Warning" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="Warning" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="Warning" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="Warning" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="Warning" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="Warning" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="Warning" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="Warning" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="Warning" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="Warning" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="Warning" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="Warning" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="Warning" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="Warning" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="Warning" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="Warning" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="Warning" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="Warning" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="Warning" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="Warning" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="Warning" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="Warning" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="Warning" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="Warning" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="Warning" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="Warning" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="Warning" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="Warning" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="Warning" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="Warning" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="Warning" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="Warning" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
58
.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/rulesets/CorrectnessRulesDefault.ruleset
vendored
Normal file
58
.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/rulesets/CorrectnessRulesDefault.ruleset
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="Correctness Rules with default severity" Description="All Correctness Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- Correctness Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1010" Action="Warning" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="Warning" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1016" Action="Warning" /> <!-- Code fix providers should provide FixAll support -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
58
.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/rulesets/CorrectnessRulesEnabled.ruleset
vendored
Normal file
58
.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/rulesets/CorrectnessRulesEnabled.ruleset
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="Correctness Rules Enabled as build warnings" Description="All Correctness Rules are enabled as build warnings. Correctness Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- Correctness Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1010" Action="Warning" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="Warning" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1016" Action="Warning" /> <!-- Code fix providers should provide FixAll support -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
56
.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/rulesets/DataflowRulesDefault.ruleset
vendored
Normal file
56
.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/rulesets/DataflowRulesDefault.ruleset
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="Dataflow Rules with default severity" Description="All Dataflow Rules with default severity. Rules with IsEnabledByDefault = false and non-Dataflow rules are disabled." ToolsVersion="15.0">
|
||||
<!-- Dataflow Rules -->
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
56
.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/rulesets/DataflowRulesEnabled.ruleset
vendored
Normal file
56
.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/rulesets/DataflowRulesEnabled.ruleset
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="Dataflow Rules Enabled as build warnings" Description="All Dataflow Rules are enabled as build warnings. Dataflow Rules with IsEnabledByDefault = false are force enabled as build warning. Non-Dataflow Rules are disabled." ToolsVersion="15.0">
|
||||
<!-- Dataflow Rules -->
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
58
.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/rulesets/LibraryRulesDefault.ruleset
vendored
Normal file
58
.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/rulesets/LibraryRulesDefault.ruleset
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="Library Rules with default severity" Description="All Library Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- Library Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1023" Action="Warning" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
58
.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/rulesets/LibraryRulesEnabled.ruleset
vendored
Normal file
58
.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/rulesets/LibraryRulesEnabled.ruleset
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="Library Rules Enabled as build warnings" Description="All Library Rules are enabled as build warnings. Library Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- Library Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1023" Action="Warning" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisCompatibility Rules with default severity" Description="All MicrosoftCodeAnalysisCompatibility Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisCompatibility Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1009" Action="Error" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisCompatibility Rules Enabled as build warnings" Description="All MicrosoftCodeAnalysisCompatibility Rules are enabled as build warnings. MicrosoftCodeAnalysisCompatibility Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisCompatibility Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1009" Action="Warning" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisCorrectness Rules with default severity" Description="All MicrosoftCodeAnalysisCorrectness Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisCorrectness Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="Warning" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="Warning" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="Warning" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="Warning" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="Warning" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="Warning" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1014" Action="Warning" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1022" Action="Warning" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1024" Action="Warning" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="Warning" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="Warning" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="Warning" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1030" Action="Warning" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1035" Action="Error" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="Warning" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisCorrectness Rules Enabled as build warnings" Description="All MicrosoftCodeAnalysisCorrectness Rules are enabled as build warnings. MicrosoftCodeAnalysisCorrectness Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisCorrectness Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="Warning" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="Warning" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="Warning" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="Warning" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="Warning" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="Warning" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1014" Action="Warning" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1022" Action="Warning" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1024" Action="Warning" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="Warning" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="Warning" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="Warning" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1030" Action="Warning" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1035" Action="Warning" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="Warning" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisDesign Rules with default severity" Description="All MicrosoftCodeAnalysisDesign Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisDesign Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1017" Action="Warning" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="Warning" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="Warning" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="Warning" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1029" Action="Warning" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1031" Action="Warning" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="Warning" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="Warning" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1037" Action="Warning" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisDesign Rules Enabled as build warnings" Description="All MicrosoftCodeAnalysisDesign Rules are enabled as build warnings. MicrosoftCodeAnalysisDesign Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisDesign Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1017" Action="Warning" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="Warning" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="Warning" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="Warning" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="Warning" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1029" Action="Warning" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1031" Action="Warning" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="Warning" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="Warning" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1037" Action="Warning" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisDocumentation Rules with default severity" Description="All MicrosoftCodeAnalysisDocumentation Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisDocumentation Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisDocumentation Rules Enabled as build warnings" Description="All MicrosoftCodeAnalysisDocumentation Rules are enabled as build warnings. MicrosoftCodeAnalysisDocumentation Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisDocumentation Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1015" Action="Warning" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1028" Action="Warning" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisLocalization Rules with default severity" Description="All MicrosoftCodeAnalysisLocalization Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisLocalization Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisLocalization Rules Enabled as build warnings" Description="All MicrosoftCodeAnalysisLocalization Rules are enabled as build warnings. MicrosoftCodeAnalysisLocalization Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisLocalization Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1007" Action="Warning" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisPerformance Rules with default severity" Description="All MicrosoftCodeAnalysisPerformance Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisPerformance Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1008" Action="Warning" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1012" Action="Warning" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="Warning" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1034" Action="Warning" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisPerformance Rules Enabled as build warnings" Description="All MicrosoftCodeAnalysisPerformance Rules are enabled as build warnings. MicrosoftCodeAnalysisPerformance Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisPerformance Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1008" Action="Warning" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1012" Action="Warning" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="Warning" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1034" Action="Warning" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisReleaseTracking Rules with default severity" Description="All MicrosoftCodeAnalysisReleaseTracking Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisReleaseTracking Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS2000" Action="Warning" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="Warning" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="Warning" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="Warning" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="Warning" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="Warning" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="Warning" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="Warning" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="Warning" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisReleaseTracking Rules Enabled as build warnings" Description="All MicrosoftCodeAnalysisReleaseTracking Rules are enabled as build warnings. MicrosoftCodeAnalysisReleaseTracking Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisReleaseTracking Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS2000" Action="Warning" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="Warning" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="Warning" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="Warning" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="Warning" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="Warning" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="Warning" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="Warning" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="Warning" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="PortedFromFxCop Rules with default severity" Description="All PortedFromFxCop Rules with default severity. Rules with IsEnabledByDefault = false and non-PortedFromFxCop rules are disabled." ToolsVersion="15.0">
|
||||
<!-- PortedFromFxCop Rules -->
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="PortedFromFxCop Rules Enabled as build warnings" Description="All PortedFromFxCop Rules are enabled as build warnings. PortedFromFxCop Rules with IsEnabledByDefault = false are force enabled as build warning. Non-PortedFromFxCop Rules are disabled." ToolsVersion="15.0">
|
||||
<!-- PortedFromFxCop Rules -->
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
Reference in New Issue
Block a user