Improve perf of ActivatorUtilities.CreateInstance() by avoiding an alloc per ctor #99321
Azure Pipelines / runtime (Build windows-x86 Release Libraries_NET48)
failed
Mar 5, 2024 in 6m 21s
Build windows-x86 Release Libraries_NET48 failed
Annotations
azure-pipelines / runtime (Build windows-x86 Release Libraries_NET48)
src\libraries\System.Text.Json\tests\System.Text.Json.Tests\JsonTestHelper.cs#L401
src\libraries\System.Text.Json\tests\System.Text.Json.Tests\JsonTestHelper.cs(401,33): error CA2265: (NETCORE_ENGINEERING_TELEMETRY=Build) Comparing a span to 'default' might not do what you intended, make the code more explicit by checking 'IsEmpty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
azure-pipelines / runtime (Build windows-x86 Release Libraries_NET48)
src\libraries\System.Text.Json\tests\System.Text.Json.Tests\JsonTestHelper.cs#L414
src\libraries\System.Text.Json\tests\System.Text.Json.Tests\JsonTestHelper.cs(414,38): error CA2265: (NETCORE_ENGINEERING_TELEMETRY=Build) Comparing a span to 'default' might not do what you intended, make the code more explicit by checking 'IsEmpty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
azure-pipelines / runtime (Build windows-x86 Release Libraries_NET48)
src\libraries\System.Text.Json\tests\System.Text.Json.Tests\Utf8JsonReaderTests.MultiSegment.cs#L1092
src\libraries\System.Text.Json\tests\System.Text.Json.Tests\Utf8JsonReaderTests.MultiSegment.cs(1092,37): error CA2265: (NETCORE_ENGINEERING_TELEMETRY=Build) Comparing a span to 'default' might not do what you intended, make the code more explicit by checking 'IsEmpty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
azure-pipelines / runtime (Build windows-x86 Release Libraries_NET48)
src\libraries\System.Text.Json\tests\System.Text.Json.Tests\Utf8JsonReaderTests.MultiSegment.cs#L1115
src\libraries\System.Text.Json\tests\System.Text.Json.Tests\Utf8JsonReaderTests.MultiSegment.cs(1115,37): error CA2265: (NETCORE_ENGINEERING_TELEMETRY=Build) Comparing a span to 'default' might not do what you intended, make the code more explicit by checking 'IsEmpty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
azure-pipelines / runtime (Build windows-x86 Release Libraries_NET48)
src\libraries\System.Text.Json\tests\System.Text.Json.Tests\Utf8JsonReaderTests.MultiSegment.cs#L1161
src\libraries\System.Text.Json\tests\System.Text.Json.Tests\Utf8JsonReaderTests.MultiSegment.cs(1161,37): error CA2265: (NETCORE_ENGINEERING_TELEMETRY=Build) Comparing a span to 'default' might not do what you intended, make the code more explicit by checking 'IsEmpty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
Loading