Skip to content

perf: remove unnecessary manual string.Replace code. #13543

perf: remove unnecessary manual string.Replace code.

perf: remove unnecessary manual string.Replace code. #13543

Re-run triggered December 22, 2025 10:20
Status Success
Total duration 32m 10s
Artifacts 6

dotnet.yml

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

Annotations

94 warnings
modularpipeline (ubuntu-latest)
Failed to save: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
modularpipeline (ubuntu-latest)
No files were found with the provided path: **/hangdump*. No artifacts will be uploaded.
modularpipeline (ubuntu-latest): TUnit.TestProject/Tests.cs#L304
'CollectionAssertionBase<IEnumerable<int>, int>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (ubuntu-latest): TUnit.TestProject/Tests.cs#L293
'CollectionAssertionBase<IEnumerable<int>, int>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (ubuntu-latest): TUnit.TestProject/Tests.cs#L260
'CollectionAssertionBase<IEnumerable<int>, int>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (ubuntu-latest): 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)'
modularpipeline (ubuntu-latest): 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)'
modularpipeline (ubuntu-latest): TUnit.TestProject/Bugs/1939/Tests.cs#L49
'CollectionAssertionBase<IEnumerable<DataClass>, DataClass>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (ubuntu-latest): TUnit.TestProject/Bugs/1939/Tests.cs#L48
'CollectionAssertionBase<IEnumerable<DataClass>, DataClass>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (ubuntu-latest): 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)'
modularpipeline (ubuntu-latest): 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.
modularpipeline (ubuntu-latest): 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)
modularpipeline (ubuntu-latest): 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
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): 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
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest)
No files were found with the provided path: **/hangdump*. No artifacts will be uploaded.
modularpipeline (macos-latest): TUnit.TestProject/TestContextIsolationTests.cs#L125
'CollectionAssertionBase<IEnumerable<TestContext>, TestContext>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (macos-latest): TUnit.TestProject/Tests.cs#L304
'CollectionAssertionBase<IEnumerable<int>, int>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (macos-latest): TUnit.TestProject/Tests.cs#L293
'CollectionAssertionBase<IEnumerable<int>, int>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (macos-latest): TUnit.TestProject/Tests.cs#L260
'CollectionAssertionBase<IEnumerable<int>, int>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (macos-latest): 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)'
modularpipeline (macos-latest): 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)'
modularpipeline (macos-latest): 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)'
modularpipeline (macos-latest): 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.
modularpipeline (macos-latest): 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
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): 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)
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Pipeline/Modules/GenerateReadMeModule.cs#L93
Possible null reference argument for parameter 'outputFolderPath' in 'Folder IZip.UnZipToFolder(string zipPath, string outputFolderPath)'.
modularpipeline (macos-latest): TUnit.Pipeline/Modules/GenerateReadMeModule.cs#L93
Possible null reference argument for parameter 'zipPath' in 'Folder IZip.UnZipToFolder(string zipPath, string outputFolderPath)'.
modularpipeline (macos-latest): TUnit.Pipeline/Modules/UploadToNuGetModule.cs#L44
Possible null reference argument for parameter 'path' in 'DotNetNugetPushOptions.DotNetNugetPushOptions(string path)'.
modularpipeline (macos-latest): TUnit.Pipeline/Modules/PublishNugetTesterAOTModule.cs#L40
Possible null reference argument for parameter 'projectSolution' in 'DotNetPublishOptions.DotNetPublishOptions(string projectSolution)'.
modularpipeline (macos-latest): TUnit.Pipeline/Modules/PackTUnitFilesModule.cs#L32
Possible null reference argument for parameter 'projectSolution' in 'DotNetPackOptions.DotNetPackOptions(string projectSolution)'.
modularpipeline (macos-latest): TUnit.Pipeline/Modules/AddLocalNuGetRepositoryModule.cs#L15
Possible null reference argument for parameter 'packageSourcePath' in 'DotNetNugetAddSourceOptions.DotNetNugetAddSourceOptions(string packageSourcePath)'.
modularpipeline (windows-latest)
No files were found with the provided path: **/hangdump*. No artifacts will be uploaded.
modularpipeline (windows-latest): TUnit.TestProject/TestContextIsolationTests.cs#L125
'CollectionAssertionBase<IEnumerable<TestContext>, TestContext>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (windows-latest): TUnit.TestProject/Tests.cs#L304
'CollectionAssertionBase<IEnumerable<int>, int>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (windows-latest): TUnit.TestProject/Tests.cs#L293
'CollectionAssertionBase<IEnumerable<int>, int>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (windows-latest): TUnit.TestProject/Tests.cs#L260
'CollectionAssertionBase<IEnumerable<int>, int>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (windows-latest): 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)'
modularpipeline (windows-latest): 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)'
modularpipeline (windows-latest): 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)'
modularpipeline (windows-latest): 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.
modularpipeline (windows-latest): 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
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): 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
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.

Artifacts

Produced during runtime
Name Size Digest
NuGetPackages-macos-latest Expired
8.36 MB
sha256:5cdeed09524debb80a6780ecc1d4f414886db63bbd862f204a2de944a7e41c36
NuGetPackages-ubuntu-latest Expired
8.36 MB
sha256:0c1453c6a450b95739d836f19fbe4bee2291208c236dcc77d270867ae56367f1
NuGetPackages-windows-latest Expired
8.37 MB
sha256:2f7557e610f748cece7a91bb421eb5e66000e5b10ad28359333d3903e50a2dd7
TestingPlatformDiagnosticLogsmacos-latest Expired
623 KB
sha256:cf972c06e4416b9266c1f4187375eb1b2612fbee1501d8b03a343ede229b17d0
TestingPlatformDiagnosticLogsubuntu-latest Expired
614 KB
sha256:ba4bfe52b9a0cee23cfd8e7f9395af3824fb5a00282415f9b24e14fe44a8933f
TestingPlatformDiagnosticLogswindows-latest Expired
619 KB
sha256:86d871ef851cc7dd676565d3185ae4c480a2f7e89d64353dafcaa11423799d8d