Fixed or suppressed IDE0079 warnings as appropriate. #3962
Build #1.2.0-beta.727+5bd5198e45 had test failures
Details
- Failed: 4,958 (8.03%)
- Passed: 56,768 (91.97%)
- Other: 0 (0.00%)
- Total: 61,726
Annotations
Check failure on line 10549 in Build log
azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers
Build log #L10549
PowerShell exited with code '1'.
Check failure on line 11073 in Build log
azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers
Build log #L11073
PowerShell exited with code '1'.
Check failure on line 13819 in Build log
azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers
Build log #L13819
PowerShell exited with code '1'.
Check failure on line 14309 in Build log
azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers
Build log #L14309
PowerShell exited with code '1'.
azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers
StyleCop.Analyzers.Test.OrderingRules.UsingCodeFixProviderCombinedSystemDirectivesUnitTests.VerifyUsingReorderingWithoutMovingWithFileHeaderAsync
System.TypeInitializationException : The type initializer for 'StyleCop.Analyzers.OrderingRules.SA1200UsingDirectivesMustBePlacedCorrectly' threw an exception.\r\n---- System.ArgumentNullException : Value cannot be null.\r\nParameter name: messageFormat
Raw output
at StyleCop.Analyzers.OrderingRules.SA1200UsingDirectivesMustBePlacedCorrectly..ctor()
at StyleCop.Analyzers.Test.OrderingRules.CombinedUsingDirectivesVerifier.CSharpTest.<GetDiagnosticAnalyzers>d__0.MoveNext() in D:\a\1\s\StyleCop.Analyzers\StyleCop.Analyzers.Test\OrderingRules\CombinedUsingDirectivesVerifier.cs:line 24
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.<RunImplAsync>d__44.MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeFix.Testing/CodeFixTest`1.cs:line 289
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.<RunAsync>d__61.MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 172
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
at StyleCop.Analyzers.Test.OrderingRules.UsingCodeFixProviderCombinedSystemDirectivesUnitTests.<VerifyUsingReorderingWithoutMovingWithFileHeaderAsync>d__7.MoveNext() in D:\a\1\s\StyleCop.Analyzers\StyleCop.Analyzers.Test\OrderingRules\UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs:line 216
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
----- 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, Loc
azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers
StyleCop.Analyzers.Test.OrderingRules.UsingCodeFixProviderCombinedSystemDirectivesUnitTests.VerifyUsingReorderingWithFileHeaderAsync
System.TypeInitializationException : The type initializer for 'StyleCop.Analyzers.OrderingRules.SA1200UsingDirectivesMustBePlacedCorrectly' threw an exception.\r\n---- System.ArgumentNullException : Value cannot be null.\r\nParameter name: messageFormat
Raw output
at StyleCop.Analyzers.Test.OrderingRules.UsingCodeFixProviderCombinedSystemDirectivesUnitTests.<VerifyUsingReorderingWithFileHeaderAsync>d__5.MoveNext() in D:\a\1\s\StyleCop.Analyzers\StyleCop.Analyzers.Test\OrderingRules\UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs:line 117
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
----- 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.OrderingRules.SA1200UsingDirectivesMustBePlacedCorrectly..cctor() in D:\a\1\s\StyleCop.Analyzers\StyleCop.Analyzers\OrderingRules\SA1200UsingDirectivesMustBePlacedCorrectly.cs:line 164
azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers
StyleCop.Analyzers.Test.OrderingRules.UsingCodeFixProviderCombinedSystemDirectivesUnitTests.VerifyUsingReorderingWithoutMovingAsync
System.TypeInitializationException : The type initializer for 'StyleCop.Analyzers.OrderingRules.SA1200UsingDirectivesMustBePlacedCorrectly' threw an exception.\r\n---- System.ArgumentNullException : Value cannot be null.\r\nParameter name: messageFormat
Raw output
at StyleCop.Analyzers.OrderingRules.SA1200UsingDirectivesMustBePlacedCorrectly..ctor()
at StyleCop.Analyzers.Test.OrderingRules.CombinedUsingDirectivesVerifier.CSharpTest.<GetDiagnosticAnalyzers>d__0.MoveNext() in D:\a\1\s\StyleCop.Analyzers\StyleCop.Analyzers.Test\OrderingRules\CombinedUsingDirectivesVerifier.cs:line 24
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.<RunImplAsync>d__44.MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeFix.Testing/CodeFixTest`1.cs:line 289
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.<RunAsync>d__61.MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 172
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
at StyleCop.Analyzers.Test.OrderingRules.UsingCodeFixProviderCombinedSystemDirectivesUnitTests.<VerifyUsingReorderingWithoutMovingAsync>d__6.MoveNext() in D:\a\1\s\StyleCop.Analyzers\StyleCop.Analyzers.Test\OrderingRules\UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs:line 177
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
----- 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
azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers
StyleCop.Analyzers.Test.OrderingRules.UsingCodeFixProviderCombinedSystemDirectivesUnitTests.VerifyUsingReorderingWithoutMovingWithMultiLineCommentAsync
System.TypeInitializationException : The type initializer for 'StyleCop.Analyzers.OrderingRules.SA1200UsingDirectivesMustBePlacedCorrectly' threw an exception.\r\n---- System.ArgumentNullException : Value cannot be null.\r\nParameter name: messageFormat
Raw output
at StyleCop.Analyzers.OrderingRules.SA1200UsingDirectivesMustBePlacedCorrectly..ctor()
at StyleCop.Analyzers.Test.OrderingRules.CombinedUsingDirectivesVerifier.CSharpTest.<GetDiagnosticAnalyzers>d__0.MoveNext() in D:\a\1\s\StyleCop.Analyzers\StyleCop.Analyzers.Test\OrderingRules\CombinedUsingDirectivesVerifier.cs:line 24
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.<RunImplAsync>d__44.MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeFix.Testing/CodeFixTest`1.cs:line 289
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.<RunAsync>d__61.MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 172
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
at StyleCop.Analyzers.Test.OrderingRules.UsingCodeFixProviderCombinedSystemDirectivesUnitTests.<VerifyUsingReorderingWithoutMovingWithMultiLineCommentAsync>d__9.MoveNext() in D:\a\1\s\StyleCop.Analyzers\StyleCop.Analyzers.Test\OrderingRules\UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs:line 302
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
----- 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 isEnabledByDefaul