Skip to content

Commit afacf6a

Browse files
authored
Annotate System.Runtime tests for NativeAOT (#69803)
1 parent e63c241 commit afacf6a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/coreclr/tools/aot/ILCompiler.Compiler/IL/ILImporter.Scanner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ private void ImportTypedRefOperationDependencies(int token, string reason)
849849
}
850850
else
851851
{
852-
_dependencies.Add(_factory.ConstructedTypeSymbol(type), reason);
852+
_dependencies.Add(_factory.MaximallyConstructableType(type), reason);
853853
}
854854
}
855855

src/libraries/tests.proj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,7 @@
392392
<!-- Run only a small randomly chosen set of passing test suites -->
393393
<ProjectExclusions Include="$(MSBuildThisFileDirectory)*\tests\**\*.Tests.csproj" />
394394
<ProjectExclusions Remove="$(MSBuildThisFileDirectory)System.Collections\tests\System.Collections.Tests.csproj" />
395+
<ProjectExclusions Remove="$(MSBuildThisFileDirectory)System.Runtime\tests\System.Runtime.Tests.csproj" />
395396
</ItemGroup>
396397

397398
<ItemGroup>

0 commit comments

Comments
 (0)