Bump Microsoft.CodeAnalysis.CSharp.Workspaces from 4.5.0 to 4.7.0 #524
Build #20230919.3 had test failures
Details
- Failed: 26 (0.79%, 0 new, 26 recurring)
- Passed: 3,240 (98.27%)
- Other: 31 (0.94%)
- Total: 3,297
Annotations
Check failure on line 2034 in Build log
azure-pipelines / IDisposableAnalyzers-CI
Build log #L2034
Error: The process 'C:\Program Files\dotnet\dotnet.exe' failed with exit code 1
Check failure on line 2039 in Build log
azure-pipelines / IDisposableAnalyzers-CI
Build log #L2039
Dotnet command failed with non-zero exit code on the following projects : [ '' ]
azure-pipelines / IDisposableAnalyzers-CI
IDisposableAnalyzers.Test.IDISP001DisposeCreatedTests.Valid<AssignmentAnalyzer>.DiscardCachedOutParameter("out FileStream _")
Gu.Roslyn.Asserts.AssertException : Expected no diagnostics, found:
CS8601 Possible null reference assignment.
at line 11 and character 53 in file C.cs | public static bool M(int i) => TryGet(i, out ↓FileStream _);
Raw output
at Gu.Roslyn.Asserts.RoslynAssert.NoDiagnostics(IEnumerable`1 diagnostics)
at Gu.Roslyn.Asserts.RoslynAssert.NoDiagnostics(IReadOnlyList`1 diagnostics, AllowedCompilerDiagnostics allowedCompilerDiagnostics)
at Gu.Roslyn.Asserts.RoslynAssert.Valid(DiagnosticAnalyzer analyzer, String code, Settings settings)
at IDisposableAnalyzers.Test.IDISP001DisposeCreatedTests.Valid`1.DiscardCachedOutParameter(String expression) in D:\a\1\s\IDisposableAnalyzers.Test\IDISP001DisposeCreatedTests\Valid.Cached.cs:line 65
azure-pipelines / IDisposableAnalyzers-CI
IDisposableAnalyzers.Test.IDISP001DisposeCreatedTests.Diagnostics+OutParameter.DiscardedFileOpenReadStatementBody("out FileStream _")
Gu.Roslyn.Asserts.AssertException : Expected no diagnostics, found:
CS8601 Possible null reference assignment.
at line 10 and character 38 in file C.cs | return TryM(fileName, out ↓FileStream _);
Raw output
at Gu.Roslyn.Asserts.RoslynAssert.NoDiagnostics(IEnumerable`1 diagnostics)
at Gu.Roslyn.Asserts.RoslynAssert.Diagnostics(DiagnosticAnalyzer analyzer, DiagnosticsAndSources diagnosticsAndSources, Settings settings)
at Gu.Roslyn.Asserts.RoslynAssert.Diagnostics(DiagnosticAnalyzer analyzer, ExpectedDiagnostic expectedDiagnostic, String code, Settings settings)
at IDisposableAnalyzers.Test.IDISP001DisposeCreatedTests.Diagnostics.OutParameter.DiscardedFileOpenReadStatementBody(String expression) in D:\a\1\s\IDisposableAnalyzers.Test\IDISP001DisposeCreatedTests\Diagnostics.OutParameter.cs:line 113
azure-pipelines / IDisposableAnalyzers-CI
IDisposableAnalyzers.Test.AllAnalyzersValid.AnalyzersProject(IDisposableAnalyzers.SemanticModelCacheAnalyzer)
Gu.Roslyn.Asserts.AssertException : Expected no diagnostics, found:
CS8601 Possible null reference assignment.
at line 97 and character 52 in file D:\a\1\s\IDisposableAnalyzers\Helpers\Disposable.IsCreation.cs | block.Statements.TryFirstOfType(out ↓ReturnStatementSyntax _))
CS8601 Possible null reference assignment.
at line 107 and character 60 in file D:\a\1\s\IDisposableAnalyzers\Helpers\Disposable.IsCreation.cs | block.SharesAncestor(disposable, out ↓MemberDeclarationSyntax _);
CS8604 Possible null reference argument for parameter 'expression' in 'bool IsCreated(ExpressionSyntax expression)'.
at line 29 and character 54 in file D:\a\1\s\IDisposableAnalyzers\Analyzers\MethodReturnValuesAnalyzer.cs | if (walker.Values.TryFirst(x => IsCreated(↓x), out _) &&
CS8604 Possible null reference argument for parameter 'expression' in 'bool IsCachedOrInjected(ExpressionSyntax expression)'.
at line 30 and character 63 in file D:\a\1\s\IDisposableAnalyzers\Analyzers\MethodReturnValuesAnalyzer.cs | walker.Values.TryFirst(x => IsCachedOrInjected(↓x) && !IsNop(x), out _))
Raw output
at Gu.Roslyn.Asserts.RoslynAssert.NoDiagnostics(IEnumerable`1 diagnostics)
at Gu.Roslyn.Asserts.RoslynAssert.NoDiagnostics(IReadOnlyList`1 diagnostics, AllowedCompilerDiagnostics allowedCompilerDiagnostics)
at Gu.Roslyn.Asserts.RoslynAssert.Valid(DiagnosticAnalyzer analyzer, Solution solution)
at IDisposableAnalyzers.Test.AllAnalyzersValid.AnalyzersProject(DiagnosticAnalyzer analyzer) in D:\a\1\s\IDisposableAnalyzers.Test\AllAnalyzersValid.cs:line 57
azure-pipelines / IDisposableAnalyzers-CI
IDisposableAnalyzers.Test.AllAnalyzersValid.AnalyzersProject(IDisposableAnalyzers.ArgumentAnalyzer)
Gu.Roslyn.Asserts.AssertException : Expected no diagnostics, found:
CS8604 Possible null reference argument for parameter 'expression' in 'bool IsCreated(ExpressionSyntax expression)'.
at line 29 and character 54 in file D:\a\1\s\IDisposableAnalyzers\Analyzers\MethodReturnValuesAnalyzer.cs | if (walker.Values.TryFirst(x => IsCreated(↓x), out _) &&
CS8604 Possible null reference argument for parameter 'expression' in 'bool IsCachedOrInjected(ExpressionSyntax expression)'.
at line 30 and character 63 in file D:\a\1\s\IDisposableAnalyzers\Analyzers\MethodReturnValuesAnalyzer.cs | walker.Values.TryFirst(x => IsCachedOrInjected(↓x) && !IsNop(x), out _))
CS8601 Possible null reference assignment.
at line 97 and character 52 in file D:\a\1\s\IDisposableAnalyzers\Helpers\Disposable.IsCreation.cs | block.Statements.TryFirstOfType(out ↓ReturnStatementSyntax _))
CS8601 Possible null reference assignment.
at line 107 and character 60 in file D:\a\1\s\IDisposableAnalyzers\Helpers\Disposable.IsCreation.cs | block.SharesAncestor(disposable, out ↓MemberDeclarationSyntax _);
Raw output
at Gu.Roslyn.Asserts.RoslynAssert.NoDiagnostics(IEnumerable`1 diagnostics)
at Gu.Roslyn.Asserts.RoslynAssert.NoDiagnostics(IReadOnlyList`1 diagnostics, AllowedCompilerDiagnostics allowedCompilerDiagnostics)
at Gu.Roslyn.Asserts.RoslynAssert.Valid(DiagnosticAnalyzer analyzer, Solution solution)
at IDisposableAnalyzers.Test.AllAnalyzersValid.AnalyzersProject(DiagnosticAnalyzer analyzer) in D:\a\1\s\IDisposableAnalyzers.Test\AllAnalyzersValid.cs:line 57