-
Notifications
You must be signed in to change notification settings - Fork 480
Description
Analyzer
Diagnostic ID: CA30xx
Analyzer source
NuGet Package: Microsoft.CodeAnalysis.NetAnalyzers
Version: 8.0.0-preview.23420.2
Describe the bug
RC1 analyzers release produce multiple Collection was modified; enumeration operation may not execute in different analyzers
Steps To Reproduce
No idea how to debug AD0001. At least stack trace in error message will help a lot.
Expected behavior
Works
Actual behavior
AD0001 Analyzer 'Microsoft.NetCore.Analyzers.Security.ReviewCodeForCommandExecutionVulnerabilities' threw an exception of type 'System.InvalidOperationException' with message 'Collection was modified; enumeration operation may not execute.'.
AD0001 Analyzer 'Microsoft.NetCore.Analyzers.Security.ReviewCodeForDllInjectionVulnerabilities' threw an exception of type 'System.InvalidOperationException' with message 'Collection was modified; enumeration operation may not execute.'
AD0001 Analyzer 'Microsoft.NetCore.Analyzers.Security.ReviewCodeForFilePathInjectionVulnerabilities' threw an exception of type 'System.InvalidOperationException' with message 'Collection was modified; enumeration operation may not execute.'
AD0001 Analyzer 'Microsoft.NetCore.Analyzers.Security.ReviewCodeForOpenRedirectVulnerabilities' threw an exception of type 'System.InvalidOperationException' with message 'Collection was modified; enumeration operation may not execute.'
AD0001 Analyzer 'Microsoft.NetCore.Analyzers.Security.ReviewCodeForRegexInjectionVulnerabilities' threw an exception of type 'System.InvalidOperationException' with message 'Collection was modified; enumeration operation may not execute.'
AD0001 Analyzer 'Microsoft.NetCore.Analyzers.Security.ReviewCodeForSqlInjectionVulnerabilities' threw an exception of type 'System.InvalidOperationException' with message 'Collection was modified; enumeration operation may not execute.'
AD0001 Analyzer 'Microsoft.NetCore.Analyzers.Security.ReviewCodeForXamlInjectionVulnerabilities' threw an exception of type 'System.InvalidOperationException' with message 'Collection was modified; enumeration operation may not execute.'
AD0001 Analyzer 'Microsoft.NetCore.Analyzers.Security.ReviewCodeForXmlInjectionVulnerabilities' threw an exception of type 'System.InvalidOperationException' with message 'Collection was modified; enumeration operation may not execute.'
AD0001 Analyzer 'Microsoft.NetCore.Analyzers.Security.ReviewCodeForXPathInjectionVulnerabilities' threw an exception of type 'System.InvalidOperationException' with message 'Collection was modified; enumeration operation may not execute.'