Skip to content

bugfix: improve CollectionShouldHaveCountGreaterThan_CountShouldBeGreaterThan detection #677

bugfix: improve CollectionShouldHaveCountGreaterThan_CountShouldBeGreaterThan detection

bugfix: improve CollectionShouldHaveCountGreaterThan_CountShouldBeGreaterThan detection #677

Triggered via pull request October 22, 2024 09:06
Status Success
Total duration 5m 17s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

72 warnings
build (ubuntu-latest, Release): src/FluentAssertions.Analyzers/Tips/AsyncVoid.cs#L74
'AsyncVoidCodeFix' registers one or more code fixes, but does not override the method 'CodeFixProvider.GetFixAllProvider'. Override this method and provide a non-null FixAllProvider for FixAll support, potentially 'WellKnownFixAllProviders.BatchFixer', or 'null' to explicitly disable FixAll support.
build (ubuntu-latest, Release): src/FluentAssertions.Analyzers/Tips/AsyncVoid.cs#L74
'AsyncVoidCodeFix' registers one or more code fixes, but does not override the method 'CodeFixProvider.GetFixAllProvider'. Override this method and provide a non-null FixAllProvider for FixAll support, potentially 'WellKnownFixAllProviders.BatchFixer', or 'null' to explicitly disable FixAll support.
build (ubuntu-latest, Release): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit4/Nunit4AnalyzerTests.cs#L524
Consider using the constraint model, Assert.That(actual, Is.SameAs(expected)), instead of the classic model, ClassicAssert.AreSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2015.md)
build (ubuntu-latest, Release): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit4/Nunit4AnalyzerTests.cs#L538
Consider using the constraint model, Assert.That(actual, Is.SameAs(expected)), instead of the classic model, ClassicAssert.AreSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2015.md)
build (ubuntu-latest, Release): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit4/Nunit4AnalyzerTests.cs#L560
Consider using the constraint model, Assert.That(actual, Is.Not.SameAs(expected)), instead of the classic model, ClassicAssert.AreNotSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2031.md)
build (ubuntu-latest, Release): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit4/Nunit4AnalyzerTests.cs#L574
Consider using the constraint model, Assert.That(actual, Is.Not.SameAs(expected)), instead of the classic model, ClassicAssert.AreNotSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2031.md)
build (ubuntu-latest, Debug): src/FluentAssertions.Analyzers/Tips/AsyncVoid.cs#L74
'AsyncVoidCodeFix' registers one or more code fixes, but does not override the method 'CodeFixProvider.GetFixAllProvider'. Override this method and provide a non-null FixAllProvider for FixAll support, potentially 'WellKnownFixAllProviders.BatchFixer', or 'null' to explicitly disable FixAll support.
build (ubuntu-latest, Debug): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L513
Consider using the constraint model, Assert.That(actual, Is.SameAs(expected)), instead of the classic model, ClassicAssert.AreSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2015.md)
build (ubuntu-latest, Debug): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L527
Consider using the constraint model, Assert.That(actual, Is.SameAs(expected)), instead of the classic model, ClassicAssert.AreSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2015.md)
build (ubuntu-latest, Debug): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L549
Consider using the constraint model, Assert.That(actual, Is.Not.SameAs(expected)), instead of the classic model, ClassicAssert.AreNotSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2031.md)
build (ubuntu-latest, Debug): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L563
Consider using the constraint model, Assert.That(actual, Is.Not.SameAs(expected)), instead of the classic model, ClassicAssert.AreNotSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2031.md)
build (ubuntu-latest, Debug): src/FluentAssertions.Analyzers/Tips/AsyncVoid.cs#L74
'AsyncVoidCodeFix' registers one or more code fixes, but does not override the method 'CodeFixProvider.GetFixAllProvider'. Override this method and provide a non-null FixAllProvider for FixAll support, potentially 'WellKnownFixAllProviders.BatchFixer', or 'null' to explicitly disable FixAll support.
build (macos-latest, Release): src/FluentAssertions.Analyzers/Tips/AsyncVoid.cs#L74
'AsyncVoidCodeFix' registers one or more code fixes, but does not override the method 'CodeFixProvider.GetFixAllProvider'. Override this method and provide a non-null FixAllProvider for FixAll support, potentially 'WellKnownFixAllProviders.BatchFixer', or 'null' to explicitly disable FixAll support.
build (macos-latest, Release): src/FluentAssertions.Analyzers.BenchmarkTests/obj/Debug/net6.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'Program.Main()' was found.
build (macos-latest, Release): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L513
Consider using the constraint model, Assert.That(actual, Is.SameAs(expected)), instead of the classic model, ClassicAssert.AreSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2015.md)
build (macos-latest, Release): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L527
Consider using the constraint model, Assert.That(actual, Is.SameAs(expected)), instead of the classic model, ClassicAssert.AreSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2015.md)
build (macos-latest, Release): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L549
Consider using the constraint model, Assert.That(actual, Is.Not.SameAs(expected)), instead of the classic model, ClassicAssert.AreNotSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2031.md)
build (macos-latest, Release): src/FluentAssertions.Analyzers/Tips/AsyncVoid.cs#L74
'AsyncVoidCodeFix' registers one or more code fixes, but does not override the method 'CodeFixProvider.GetFixAllProvider'. Override this method and provide a non-null FixAllProvider for FixAll support, potentially 'WellKnownFixAllProviders.BatchFixer', or 'null' to explicitly disable FixAll support.
build (macos-latest, Debug): src/FluentAssertions.Analyzers/Tips/AsyncVoid.cs#L74
'AsyncVoidCodeFix' registers one or more code fixes, but does not override the method 'CodeFixProvider.GetFixAllProvider'. Override this method and provide a non-null FixAllProvider for FixAll support, potentially 'WellKnownFixAllProviders.BatchFixer', or 'null' to explicitly disable FixAll support.
build (macos-latest, Debug): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L527
Consider using the constraint model, Assert.That(actual, Is.SameAs(expected)), instead of the classic model, ClassicAssert.AreSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2015.md)
build (macos-latest, Debug): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L513
Consider using the constraint model, Assert.That(actual, Is.SameAs(expected)), instead of the classic model, ClassicAssert.AreSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2015.md)
build (macos-latest, Debug): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L549
Consider using the constraint model, Assert.That(actual, Is.Not.SameAs(expected)), instead of the classic model, ClassicAssert.AreNotSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2031.md)
build (macos-latest, Debug): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L563
Consider using the constraint model, Assert.That(actual, Is.Not.SameAs(expected)), instead of the classic model, ClassicAssert.AreNotSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2031.md)
build (macos-latest, Debug): src/FluentAssertions.Analyzers/Tips/AsyncVoid.cs#L74
'AsyncVoidCodeFix' registers one or more code fixes, but does not override the method 'CodeFixProvider.GetFixAllProvider'. Override this method and provide a non-null FixAllProvider for FixAll support, potentially 'WellKnownFixAllProviders.BatchFixer', or 'null' to explicitly disable FixAll support.
build (windows-latest, Release): src/FluentAssertions.Analyzers/Tips/AsyncVoid.cs#L74
'AsyncVoidCodeFix' registers one or more code fixes, but does not override the method 'CodeFixProvider.GetFixAllProvider'. Override this method and provide a non-null FixAllProvider for FixAll support, potentially 'WellKnownFixAllProviders.BatchFixer', or 'null' to explicitly disable FixAll support.
build (windows-latest, Release): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L513
Consider using the constraint model, Assert.That(actual, Is.SameAs(expected)), instead of the classic model, ClassicAssert.AreSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2015.md)
build (windows-latest, Release): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L527
Consider using the constraint model, Assert.That(actual, Is.SameAs(expected)), instead of the classic model, ClassicAssert.AreSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2015.md)
build (windows-latest, Release): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L549
Consider using the constraint model, Assert.That(actual, Is.Not.SameAs(expected)), instead of the classic model, ClassicAssert.AreNotSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2031.md)
build (windows-latest, Release): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L563
Consider using the constraint model, Assert.That(actual, Is.Not.SameAs(expected)), instead of the classic model, ClassicAssert.AreNotSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2031.md)
build (windows-latest, Release): src/FluentAssertions.Analyzers/Tips/AsyncVoid.cs#L74
'AsyncVoidCodeFix' registers one or more code fixes, but does not override the method 'CodeFixProvider.GetFixAllProvider'. Override this method and provide a non-null FixAllProvider for FixAll support, potentially 'WellKnownFixAllProviders.BatchFixer', or 'null' to explicitly disable FixAll support.
build (windows-latest, Debug): src/FluentAssertions.Analyzers/Tips/AsyncVoid.cs#L74
'AsyncVoidCodeFix' registers one or more code fixes, but does not override the method 'CodeFixProvider.GetFixAllProvider'. Override this method and provide a non-null FixAllProvider for FixAll support, potentially 'WellKnownFixAllProviders.BatchFixer', or 'null' to explicitly disable FixAll support.
build (windows-latest, Debug): src/FluentAssertions.Analyzers/Tips/AsyncVoid.cs#L74
'AsyncVoidCodeFix' registers one or more code fixes, but does not override the method 'CodeFixProvider.GetFixAllProvider'. Override this method and provide a non-null FixAllProvider for FixAll support, potentially 'WellKnownFixAllProviders.BatchFixer', or 'null' to explicitly disable FixAll support.
build (windows-latest, Debug): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L513
Consider using the constraint model, Assert.That(actual, Is.SameAs(expected)), instead of the classic model, ClassicAssert.AreSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2015.md)
build (windows-latest, Debug): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L527
Consider using the constraint model, Assert.That(actual, Is.SameAs(expected)), instead of the classic model, ClassicAssert.AreSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2015.md)
build (windows-latest, Debug): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L549
Consider using the constraint model, Assert.That(actual, Is.Not.SameAs(expected)), instead of the classic model, ClassicAssert.AreNotSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2031.md)
build (windows-latest, Debug): src/FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs.Nunit3/Nunit3AnalyzerTests.cs#L563
Consider using the constraint model, Assert.That(actual, Is.Not.SameAs(expected)), instead of the classic model, ClassicAssert.AreNotSame(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2031.md)