refactor: implement two-phase architecture for xUnit migration code fixer #14793
Annotations
31 warnings
|
|
|
TUnit.TestProject/TestContextIsolationTests.cs#L134
'CollectionAssertionBase<IList<string>, string>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
|
|
TUnit.TestProject/TestContextIsolationTests.cs#L129
'CollectionAssertionBase<IList<TestContext>, TestContext>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
|
|
TUnit.TestProject/TestContextIsolationTests.cs#L125
'CollectionAssertionBase<IList<TestContext>, TestContext>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
|
|
TUnit.TestProject/Tests.cs#L260
'CollectionAssertionBase<IList<int>, int>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
|
|
TUnit.TestProject/Tests.cs#L252
'AssertionExtensions.HasLength(IAssertionSource<string>)' is obsolete: 'Use Length() instead, which provides all numeric assertion methods. Example: Assert.That(str).Length().IsGreaterThan(5)'
|
|
TUnit.TestProject/Tests.cs#L245
'AssertionExtensions.HasLength(IAssertionSource<string>)' is obsolete: 'Use Length() instead, which provides all numeric assertion methods. Example: Assert.That(str).Length().IsGreaterThan(5)'
|
|
TUnit.TestProject/Tests.cs#L67
'AssertionExtensions.HasLength(IAssertionSource<string>)' is obsolete: 'Use Length() instead, which provides all numeric assertion methods. Example: Assert.That(str).Length().IsGreaterThan(5)'
|
|
TUnit.TestProject/TestCountVerificationTests.cs#L6
Parameter 'value' is unread.
|
|
TUnit.TestProject/TimeoutCancellationTokenTests.cs#L104
Parameter 'value' is unread.
|
|
TUnit.TestProject/TransactionTest.cs#L11
Non-nullable field '_scope' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
TUnit.Assertions.Analyzers/AnalyzerReleases.Shipped.md#L5
Analyzer release file 'AnalyzerReleases.Shipped.md' has a missing or invalid release header '#### Assertion Usage Rules' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
|
|
TUnit.Analyzers.CodeFixers/TwoPhase/NUnitTwoPhaseAnalyzer.cs#L1875
Dereference of a possibly null reference.
|
|
TUnit.Analyzers.CodeFixers/NUnitMigrationCodeFixProvider.cs#L334
Dereference of a possibly null reference.
|
|
TUnit.Analyzers.CodeFixers/NUnitExpectedResultRewriter.cs#L180
Possible null reference argument for parameter 'actualExpression' in 'ExpressionStatementSyntax NUnitExpectedResultRewriter.CreateAssertStatement(ExpressionSyntax actualExpression)'.
|
|
TUnit.Analyzers.CodeFixers/NUnitExpectedResultRewriter.cs#L168
Converting null literal or possible null value to non-nullable type.
|
|
TUnit.Analyzers.CodeFixers/Base/TwoPhase/MigrationTransformer.cs#L1020
Possible null reference argument for parameter 'text' in 'TypeSyntax SyntaxFactory.ParseTypeName(string text, int offset = 0, ParseOptions? options = null, bool consumeFullText = true)'.
|
|
TUnit.Analyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs#L211
Possible null reference argument for parameter 'originalRoot' in 'CompilationUnitSyntax BaseMigrationCodeFixProvider.NormalizeLineEndings(CompilationUnitSyntax compilationUnit, SyntaxNode originalRoot)'.
|
|
TUnit.Analyzers.CodeFixers/Base/TwoPhase/MigrationTransformer.cs#L562
Possible null reference argument for parameter 'text' in 'AttributeArgumentListSyntax? SyntaxFactory.ParseAttributeArgumentList(string text, int offset = 0, ParseOptions? options = null, bool consumeFullText = true)'.
|
|
TUnit.Analyzers.CodeFixers/Base/TwoPhase/MigrationTransformer.cs#L349
Possible null reference argument for parameter 'text' in 'SyntaxTrivia SyntaxFactory.Comment(string text)'.
|
|
TUnit.Analyzers/AnalyzerReleases.Shipped.md#L5
Analyzer release file 'AnalyzerReleases.Shipped.md' has a missing or invalid release header '#### Test Method and Structure Rules' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
|
|
TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L42
Enable analyzer release tracking for the analyzer project containing rule 'TUNITGEN003' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
|
|
TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L51
Enable analyzer release tracking for the analyzer project containing rule 'TUNITGEN004' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
|
|
TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L44
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
|
|
TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L53
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
|
|
TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L24
Enable analyzer release tracking for the analyzer project containing rule 'TUNITGEN001' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
|
|
TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
|
|
TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
|
|
TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
|
|
TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.
|
|
TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L785
Dereference of a possibly null reference.
|
The logs for this run have expired and are no longer available.
Loading