Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SA1008 to require a space before the opening parenthesis if it's the left operand of a range expression #3895

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Update SA1008 to require a space before the opening parenthesis if it…

2d7e105
Select commit
Loading
Failed to load commit list.
Open

Update SA1008 to require a space before the opening parenthesis if it's the left operand of a range expression #3895

Update SA1008 to require a space before the opening parenthesis if it…
2d7e105
Select commit
Loading
Failed to load commit list.
Azure Pipelines / DotNetAnalyzers.StyleCopAnalyzers failed Oct 17, 2024 in 51m 36s

Build #1.2.0-beta.618+gf1de116f0a had test failures

Details

Tests

  • Failed: 3,552 (6.56%)
  • Passed: 50,633 (93.44%)
  • Other: 0 (0.00%)
  • Total: 54,185

Annotations

Check failure on line 249 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers

Build log #L249

PowerShell exited with code '1'.

Check failure on line 40775 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers

Build log #L40775

PowerShell exited with code '1'.

Check failure on line 11 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers

Build log #L11

Artifact coverageResults-cs12 was not found for build 6279.

Check failure on line 1 in StyleCop.Analyzers.Test.CSharp12.NamingRules.SA1312CSharp12UnitTests.TestThatDiagnosticIsReported_MultipleVariableDesignatorsAsync

See this annotation in the file changed.

@azure-pipelines azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers

StyleCop.Analyzers.Test.CSharp12.NamingRules.SA1312CSharp12UnitTests.TestThatDiagnosticIsReported_MultipleVariableDesignatorsAsync

System.Runtime.InteropServices.COMException : Signature specified is zero-sized. (Exception from HRESULT: 0x80131237)
Raw output
   at StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier`2.CSharpTest.<.ctor>g__GenerateSettingsFile|8_2()
   at Microsoft.CodeAnalysis.Testing.SolutionState.<>c.<WithInheritedValuesApplied>b__15_1(Func`1 factory) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/SolutionState.cs:line 191
   at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
   at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection)
   at Microsoft.CodeAnalysis.Testing.SolutionState.WithInheritedValuesApplied(SolutionState baseState, ImmutableArray`1 fixableDiagnostics) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/SolutionState.cs:line 191
   at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.<RunImplAsync>d__44.MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeFix.Testing/CodeFixTest`1.cs:line 294
--- 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.CSharp7.NamingRules.SA1312CSharp7UnitTests.<TestThatDiagnosticIsReported_MultipleVariableDesignatorsAsync>d__1.MoveNext() in D:\a\1\s\StyleCop.Analyzers\StyleCop.Analyzers.Test.CSharp7\NamingRules\SA1312CSharp7UnitTests.cs:line 77
--- 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()

Check failure on line 1 in StyleCop.Analyzers.Test.CSharp12.NamingRules.SA1312CSharp12UnitTests.TestVariableDesignatorInWhenClauseAsync

See this annotation in the file changed.

@azure-pipelines azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers

StyleCop.Analyzers.Test.CSharp12.NamingRules.SA1312CSharp12UnitTests.TestVariableDesignatorInWhenClauseAsync

System.Runtime.InteropServices.COMException : Signature specified is zero-sized. (Exception from HRESULT: 0x80131237)
Raw output
   at StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier`2.CSharpTest.<.ctor>g__GenerateSettingsFile|8_2()
   at Microsoft.CodeAnalysis.Testing.SolutionState.<>c.<WithInheritedValuesApplied>b__15_1(Func`1 factory) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/SolutionState.cs:line 191
   at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
   at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection)
   at Microsoft.CodeAnalysis.Testing.SolutionState.WithInheritedValuesApplied(SolutionState baseState, ImmutableArray`1 fixableDiagnostics) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/SolutionState.cs:line 191
   at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.<RunImplAsync>d__44.MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeFix.Testing/CodeFixTest`1.cs:line 294
--- 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.CSharp7.NamingRules.SA1312CSharp7UnitTests.<TestVariableDesignatorInWhenClauseAsync>d__3.MoveNext() in D:\a\1\s\StyleCop.Analyzers\StyleCop.Analyzers.Test.CSharp7\NamingRules\SA1312CSharp7UnitTests.cs:line 137
--- 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()

Check failure on line 1 in StyleCop.Analyzers.Test.CSharp12.NamingRules.SA1312CSharp12UnitTests.TestVariableInFromClauseAsync

See this annotation in the file changed.

@azure-pipelines azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers

StyleCop.Analyzers.Test.CSharp12.NamingRules.SA1312CSharp12UnitTests.TestVariableInFromClauseAsync

System.Runtime.InteropServices.COMException : Signature specified is zero-sized. (Exception from HRESULT: 0x80131237)
Raw output
   at StyleCop.Analyzers.Test.NamingRules.SA1312UnitTests.TestVariableInFromClauseAsync()

Check failure on line 1 in StyleCop.Analyzers.Test.CSharp12.NamingRules.SA1312CSharp12UnitTests.TestVariableInJoinClauseAsync

See this annotation in the file changed.

@azure-pipelines azure-pipelines / DotNetAnalyzers.StyleCopAnalyzers

StyleCop.Analyzers.Test.CSharp12.NamingRules.SA1312CSharp12UnitTests.TestVariableInJoinClauseAsync

System.Runtime.InteropServices.COMException : Signature specified is zero-sized. (Exception from HRESULT: 0x80131237)
Raw output
   at StyleCop.Analyzers.Test.NamingRules.SA1312UnitTests.TestVariableInJoinClauseAsync()