Skip to content

Fixed or suppressed IDE0079 warnings as appropriate. - #3962

Open
jsrustad wants to merge 4 commits into
DotNetAnalyzers:masterfrom
jsrustad:feature/issue-3961_ide0079-fix
Open

Fixed or suppressed IDE0079 warnings as appropriate.#3962
jsrustad wants to merge 4 commits into
DotNetAnalyzers:masterfrom
jsrustad:feature/issue-3961_ide0079-fix

Updated to address new IDE0079 messages.

d95ac00
Select commit
Loading
Failed to load commit list.
Azure Pipelines / DotNetAnalyzers.StyleCopAnalyzers failed May 15, 2026 in 42m 5s

Build #1.2.0-beta.728+42de6c1676 had test failures

Details

Tests

  • Failed: 4,958 (8.03%)
  • Passed: 56,768 (91.97%)
  • Other: 0 (0.00%)
  • Total: 61,726

Annotations

Check failure on line 11060 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers

Build log #L11060

PowerShell exited with code '1'.

Check failure on line 10549 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers

Build log #L10549

PowerShell exited with code '1'.

Check failure on line 15011 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers

Build log #L15011

PowerShell exited with code '1'.

Check failure on line 13819 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers

Build log #L13819

PowerShell exited with code '1'.

Check failure on line 1 in StyleCop.Analyzers.Test.CSharp7.AnalyzerConfigurationCSharp7UnitTests.TestHelpLink

See this annotation in the file changed.

@azure-pipelines azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers

StyleCop.Analyzers.Test.CSharp7.AnalyzerConfigurationCSharp7UnitTests.TestHelpLink

Test failed

Check failure on line 1 in StyleCop.Analyzers.Test.CSharp7.AnalyzerConfigurationCSharp7UnitTests.TestEmptySourceAsync

See this annotation in the file changed.

@azure-pipelines azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers

StyleCop.Analyzers.Test.CSharp7.AnalyzerConfigurationCSharp7UnitTests.TestEmptySourceAsync

Test failed

Check failure on line 1 in StyleCop.Analyzers.Test.CSharp7.LayoutRules.SA1520CSharp7UnitTests.TestMultiLineIfElseStatementWithoutBracesAsync

See this annotation in the file changed.

@azure-pipelines azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers

StyleCop.Analyzers.Test.CSharp7.LayoutRules.SA1520CSharp7UnitTests.TestMultiLineIfElseStatementWithoutBracesAsync

System.TypeInitializationException : The type initializer for 'StyleCop.Analyzers.LayoutRules.SA1520UseBracesConsistently' threw an exception.\r\n---- System.ArgumentNullException : Value cannot be null.\r\nParameter name: messageFormat
Raw output
   at StyleCop.Analyzers.LayoutRules.SA1520UseBracesConsistently..ctor()
----- Inner Stack Trace -----
   at Microsoft.CodeAnalysis.DiagnosticDescriptor..ctor(String id, LocalizableString title, LocalizableString messageFormat, String category, DiagnosticSeverity defaultSeverity, Boolean isEnabledByDefault, LocalizableString description, String helpLinkUri, ImmutableArray`1 customTags)
   at Microsoft.CodeAnalysis.DiagnosticDescriptor..ctor(String id, LocalizableString title, LocalizableString messageFormat, String category, DiagnosticSeverity defaultSeverity, Boolean isEnabledByDefault, LocalizableString description, String helpLinkUri, String[] customTags)
   at StyleCop.Analyzers.LayoutRules.SA1520UseBracesConsistently..cctor() in D:\a\1\s\StyleCop.Analyzers\StyleCop.Analyzers\LayoutRules\SA1520UseBracesConsistently.cs:line 48

Check failure on line 1 in StyleCop.Analyzers.Test.CSharp7.LayoutRules.SA1520CSharp7UnitTests.TestMultipleMultiLineIfStatementsWithoutBracesAsync

See this annotation in the file changed.

@azure-pipelines azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers

StyleCop.Analyzers.Test.CSharp7.LayoutRules.SA1520CSharp7UnitTests.TestMultipleMultiLineIfStatementsWithoutBracesAsync

System.TypeInitializationException : The type initializer for 'StyleCop.Analyzers.LayoutRules.SA1520UseBracesConsistently' threw an exception.\r\n---- System.ArgumentNullException : Value cannot be null.\r\nParameter name: messageFormat
Raw output
   at StyleCop.Analyzers.LayoutRules.SA1520UseBracesConsistently..ctor()
----- Inner Stack Trace -----
   at Microsoft.CodeAnalysis.DiagnosticDescriptor..ctor(String id, LocalizableString title, LocalizableString messageFormat, String category, DiagnosticSeverity defaultSeverity, Boolean isEnabledByDefault, LocalizableString description, String helpLinkUri, ImmutableArray`1 customTags)
   at Microsoft.CodeAnalysis.DiagnosticDescriptor..ctor(String id, LocalizableString title, LocalizableString messageFormat, String category, DiagnosticSeverity defaultSeverity, Boolean isEnabledByDefault, LocalizableString description, String helpLinkUri, String[] customTags)
   at StyleCop.Analyzers.LayoutRules.SA1520UseBracesConsistently..cctor() in D:\a\1\s\StyleCop.Analyzers\StyleCop.Analyzers\LayoutRules\SA1520UseBracesConsistently.cs:line 48