Skip to content

Fix Tool parameter in FeatureGuardSubstitutions - revert from Tool.An…

662f728
Select commit
Loading
Failed to load commit list.
Draft

Add issue links and reasons to tool-specific test attributes #123230

Fix Tool parameter in FeatureGuardSubstitutions - revert from Tool.An…
662f728
Select commit
Loading
Failed to load commit list.
Azure Pipelines / dotnet-linker-tests failed Jan 27, 2026 in 2h 37m 0s

Build #20260126.111 had test failures

Details

Tests

  • Failed: 3 (0.04%)
  • Passed: 6,792 (98.14%)
  • Other: 126 (1.82%)
  • Total: 6,921

Annotations

Check failure on line 0 in XUnit

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-linker-tests

XUnit#L0

XUnit(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Tests failed: /Users/runner/work/1/s/artifacts/TestResults/Release/ILLink.RoslynAnalyzer.Tests_net11.0_x64.html [net11.0|x64]

Check failure on line 0 in XUnit

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-linker-tests

XUnit#L0

XUnit(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Tests failed: D:\a\_work\1\s\artifacts\TestResults\Release\ILLink.RoslynAnalyzer.Tests_net11.0_x64.html [net11.0|x64]

Check failure on line 0 in XUnit

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-linker-tests

XUnit#L0

XUnit(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Tests failed: /__w/1/s/artifacts/TestResults/Release/ILLink.RoslynAnalyzer.Tests_net11.0_x64.html [net11.0|x64]

Check failure on line 1 in ILLink.RoslynAnalyzer.Tests.SubstitutionsTests.FeatureGuardSubstitutions

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-linker-tests

ILLink.RoslynAnalyzer.Tests.SubstitutionsTests.FeatureGuardSubstitutions

Expected warnings were not generated:\n(/__w/1/s/src/tools/illink/test/Mono.Linker.Tests.Cases/Substitutions/FeatureGuardSubstitutions.cs: (159,12)-(174,13)) Warning 'IL2026'. Expected to find warning containing:'RequiresDynamicCodeAttribute', but no such message was found.\n\nUnexpected warnings were generated:\n/__w/1/s/src/tools/illink/test/Mono.Linker.Tests.Cases/Substitutions/FeatureGuardSubstitutions.cs(174,21): warning IL2026: Using member 'Mono.Linker.Tests.Cases.Substitutions.FeatureGuardSubstitutions.RequiresUnreferencedCode()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. RequiresUnreferencedCode.
Raw output
   at ILLink.RoslynAnalyzer.Tests.TestChecker.Check(Boolean allowMissingWarnings) in /__w/1/s/src/tools/illink/test/ILLink.RoslynAnalyzer.Tests/TestChecker.cs:line 73
   at ILLink.RoslynAnalyzer.Tests.TestCaseUtils.RunTestFile(String suiteName, String testName, Boolean allowMissingWarnings, ValueTuple`2[] msbuildProperties) in /__w/1/s/src/tools/illink/test/ILLink.RoslynAnalyzer.Tests/TestCaseUtils.cs:line 86
--- End of stack trace from previous location ---

Check failure on line 1 in ILLink.RoslynAnalyzer.Tests.SubstitutionsTests.FeatureGuardSubstitutions

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-linker-tests

ILLink.RoslynAnalyzer.Tests.SubstitutionsTests.FeatureGuardSubstitutions

Expected warnings were not generated:\r\n(D:\\a\\_work\\1\\s\\src\\tools\\illink\\test\\Mono.Linker.Tests.Cases\\Substitutions\\FeatureGuardSubstitutions.cs: (159,12)-(174,13)) Warning 'IL2026'. Expected to find warning containing:'RequiresDynamicCodeAttribute', but no such message was found.\r\n\r\nUnexpected warnings were generated:\r\nD:\\a\\_work\\1\\s\\src\\tools\\illink\\test\\Mono.Linker.Tests.Cases\\Substitutions\\FeatureGuardSubstitutions.cs(174,21): warning IL2026: Using member 'Mono.Linker.Tests.Cases.Substitutions.FeatureGuardSubstitutions.RequiresUnreferencedCode()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. RequiresUnreferencedCode.
Raw output
   at ILLink.RoslynAnalyzer.Tests.TestChecker.Check(Boolean allowMissingWarnings) in D:\a\_work\1\s\src\tools\illink\test\ILLink.RoslynAnalyzer.Tests\TestChecker.cs:line 73
   at ILLink.RoslynAnalyzer.Tests.TestCaseUtils.RunTestFile(String suiteName, String testName, Boolean allowMissingWarnings, ValueTuple`2[] msbuildProperties) in D:\a\_work\1\s\src\tools\illink\test\ILLink.RoslynAnalyzer.Tests\TestCaseUtils.cs:line 86
--- End of stack trace from previous location ---

Check failure on line 1 in ILLink.RoslynAnalyzer.Tests.SubstitutionsTests.FeatureGuardSubstitutions

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-linker-tests

ILLink.RoslynAnalyzer.Tests.SubstitutionsTests.FeatureGuardSubstitutions

Expected warnings were not generated:\n(/Users/runner/work/1/s/src/tools/illink/test/Mono.Linker.Tests.Cases/Substitutions/FeatureGuardSubstitutions.cs: (159,12)-(174,13)) Warning 'IL2026'. Expected to find warning containing:'RequiresDynamicCodeAttribute', but no such message was found.\n\nUnexpected warnings were generated:\n/Users/runner/work/1/s/src/tools/illink/test/Mono.Linker.Tests.Cases/Substitutions/FeatureGuardSubstitutions.cs(174,21): warning IL2026: Using member 'Mono.Linker.Tests.Cases.Substitutions.FeatureGuardSubstitutions.RequiresUnreferencedCode()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. RequiresUnreferencedCode.
Raw output
   at ILLink.RoslynAnalyzer.Tests.TestChecker.Check(Boolean allowMissingWarnings) in /Users/runner/work/1/s/src/tools/illink/test/ILLink.RoslynAnalyzer.Tests/TestChecker.cs:line 73
   at ILLink.RoslynAnalyzer.Tests.TestCaseUtils.RunTestFile(String suiteName, String testName, Boolean allowMissingWarnings, ValueTuple`2[] msbuildProperties) in /Users/runner/work/1/s/src/tools/illink/test/ILLink.RoslynAnalyzer.Tests/TestCaseUtils.cs:line 86
--- End of stack trace from previous location ---