Skip to content

[mobile] Suppress trim/AOT warnings in System.Runtime tests for NativeAOT mobile#127377

Closed
github-actions[bot] wants to merge 2 commits into
mainfrom
mobile-fix-runtime-tests-nativeaot-db3f1c3bc0bdb5fe
Closed

[mobile] Suppress trim/AOT warnings in System.Runtime tests for NativeAOT mobile#127377
github-actions[bot] wants to merge 2 commits into
mainfrom
mobile-fix-runtime-tests-nativeaot-db3f1c3bc0bdb5fe

ci: trigger checks

347b6ac
Select commit
Loading
Failed to load commit list.
Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests_Smoke_AOT) failed Apr 24, 2026 in 27m 31s

Build browser-wasm linux Release LibraryTests_Smoke_AOT failed

Annotations

Check failure on line 1137 in src/libraries/System.Runtime/tests/System.Runtime.Tests/System/StringTests.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime (Build browser-wasm linux Release LibraryTests_Smoke_AOT)

src/libraries/System.Runtime/tests/System.Runtime.Tests/System/StringTests.cs#L1137

src/libraries/System.Runtime/tests/System.Runtime.Tests/System/StringTests.cs(1137,10): error CS0246: (NETCORE_ENGINEERING_TELEMETRY=Build) The type or namespace name 'UnconditionalSuppressMessageAttribute' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 1137 in src/libraries/System.Runtime/tests/System.Runtime.Tests/System/StringTests.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime (Build browser-wasm linux Release LibraryTests_Smoke_AOT)

src/libraries/System.Runtime/tests/System.Runtime.Tests/System/StringTests.cs#L1137

src/libraries/System.Runtime/tests/System.Runtime.Tests/System/StringTests.cs(1137,10): error CS0246: (NETCORE_ENGINEERING_TELEMETRY=Build) The type or namespace name 'UnconditionalSuppressMessage' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 1248 in src/libraries/System.Runtime/tests/System.Runtime.Tests/System/StringTests.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime (Build browser-wasm linux Release LibraryTests_Smoke_AOT)

src/libraries/System.Runtime/tests/System.Runtime.Tests/System/StringTests.cs#L1248

src/libraries/System.Runtime/tests/System.Runtime.Tests/System/StringTests.cs(1248,10): error CS0246: (NETCORE_ENGINEERING_TELEMETRY=Build) The type or namespace name 'UnconditionalSuppressMessageAttribute' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 1248 in src/libraries/System.Runtime/tests/System.Runtime.Tests/System/StringTests.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime (Build browser-wasm linux Release LibraryTests_Smoke_AOT)

src/libraries/System.Runtime/tests/System.Runtime.Tests/System/StringTests.cs#L1248

src/libraries/System.Runtime/tests/System.Runtime.Tests/System/StringTests.cs(1248,10): error CS0246: (NETCORE_ENGINEERING_TELEMETRY=Build) The type or namespace name 'UnconditionalSuppressMessage' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 1308 in src/libraries/System.Runtime/tests/System.Runtime.Tests/System/StringTests.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime (Build browser-wasm linux Release LibraryTests_Smoke_AOT)

src/libraries/System.Runtime/tests/System.Runtime.Tests/System/StringTests.cs#L1308

src/libraries/System.Runtime/tests/System.Runtime.Tests/System/StringTests.cs(1308,10): error CS0246: (NETCORE_ENGINEERING_TELEMETRY=Build) The type or namespace name 'UnconditionalSuppressMessageAttribute' could not be found (are you missing a using directive or an assembly reference?)