diff --git a/eng/Subsets.props b/eng/Subsets.props
index 64079deecc48cb..5243a41b59f6b9 100644
--- a/eng/Subsets.props
+++ b/eng/Subsets.props
@@ -502,6 +502,8 @@
Test="true" Category="clr" Condition="'$(DotNetBuildSourceOnly)' != 'true' and '$(NativeAotSupported)' == 'true'"/>
+
@@ -510,7 +512,7 @@
-
+
- Library
- SharedLibrary
$(MSBuildProjectName)
- $(BaseOutputPathWithConfig)ilverify\Tests
diff --git a/src/tests/ilverify/ILTests/AccessTestsExtern.il b/src/coreclr/tools/ILVerification.Tests/ILTests/AccessTestsExtern.il
similarity index 100%
rename from src/tests/ilverify/ILTests/AccessTestsExtern.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/AccessTestsExtern.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/AccessTestsExtern.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/AccessTestsExtern.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/AccessTestsExtern.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/AccessTestsFriend.il b/src/coreclr/tools/ILVerification.Tests/ILTests/AccessTestsFriend.il
similarity index 100%
rename from src/tests/ilverify/ILTests/AccessTestsFriend.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/AccessTestsFriend.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/AccessTestsFriend.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/AccessTestsFriend.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/AccessTestsFriend.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/ArrayTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/ArrayTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/ArrayTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/ArrayTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/ArrayTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/ArrayTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/ArrayTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/BasicArithmeticTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/BasicArithmeticTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/BasicArithmeticTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/BasicArithmeticTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/BasicArithmeticTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/BasicArithmeticTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/BasicArithmeticTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/BranchingTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/BranchingTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/BranchingTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/BranchingTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/BranchingTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/BranchingTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/BranchingTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/CallTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/CallTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/CallTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/CallTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/CallTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/CallTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/CallTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/CastingTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/CastingTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/CastingTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/CastingTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/CastingTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/CastingTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/CastingTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/ComparisonTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/ComparisonTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/ComparisonTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/ComparisonTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/ComparisonTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/ComparisonTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/ComparisonTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/DefaultInterfaceMethod.il b/src/coreclr/tools/ILVerification.Tests/ILTests/DefaultInterfaceMethod.il
similarity index 100%
rename from src/tests/ilverify/ILTests/DefaultInterfaceMethod.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/DefaultInterfaceMethod.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/DefaultInterfaceMethod.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/DefaultInterfaceMethod.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/DefaultInterfaceMethod.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/DelegateTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/DelegateTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/DelegateTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/DelegateTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/DelegateTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/DelegateTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/DelegateTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/Directory.Build.props b/src/coreclr/tools/ILVerification.Tests/ILTests/Directory.Build.props
new file mode 100644
index 00000000000000..2d233f4468dae7
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/Directory.Build.props
@@ -0,0 +1,7 @@
+
+
+
+ $(NetCoreAppToolCurrent)
+ false
+
+
diff --git a/src/tests/ilverify/ILTests/ExceptionRegionTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/ExceptionRegionTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/ExceptionRegionTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/ExceptionRegionTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/ExceptionRegionTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/ExceptionRegionTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/ExceptionRegionTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/FieldTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/FieldTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/FieldTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/FieldTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/FieldTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/FieldTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/FieldTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/FtnTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/FtnTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/FtnTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/FtnTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/FtnTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/FtnTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/FtnTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/FunctionPointerTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/FunctionPointerTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/FunctionPointerTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/FunctionPointerTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/FunctionPointerTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/FunctionPointerTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/FunctionPointerTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/GenericInterface.il b/src/coreclr/tools/ILVerification.Tests/ILTests/GenericInterface.il
similarity index 100%
rename from src/tests/ilverify/ILTests/GenericInterface.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/GenericInterface.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/GenericInterface.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/GenericInterface.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/GenericInterface.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/InterfaceDefinition.il b/src/coreclr/tools/ILVerification.Tests/ILTests/InterfaceDefinition.il
similarity index 100%
rename from src/tests/ilverify/ILTests/InterfaceDefinition.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/InterfaceDefinition.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/InterfaceDefinition.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/InterfaceDefinition.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/InterfaceDefinition.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/InterfaceImplementation.il b/src/coreclr/tools/ILVerification.Tests/ILTests/InterfaceImplementation.il
similarity index 100%
rename from src/tests/ilverify/ILTests/InterfaceImplementation.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/InterfaceImplementation.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/InterfaceImplementation.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/InterfaceImplementation.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/InterfaceImplementation.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/LoadStoreIndirectTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/LoadStoreIndirectTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/LoadStoreIndirectTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/LoadStoreIndirectTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/LoadStoreIndirectTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/LoadStoreIndirectTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/LoadStoreIndirectTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/LocalAllocTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/LocalAllocTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/LocalAllocTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/LocalAllocTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/LocalAllocTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/LocalAllocTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/LocalAllocTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/NewobjTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/NewobjTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/NewobjTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/NewobjTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/NewobjTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/NewobjTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/NewobjTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/PrefixTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/PrefixTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/PrefixTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/PrefixTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/PrefixTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/PrefixTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/PrefixTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/ReturnTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/ReturnTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/ReturnTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/ReturnTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/ReturnTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/ReturnTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/ReturnTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/RuntimeAsyncTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/RuntimeAsyncTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/RuntimeAsyncTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/RuntimeAsyncTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/RuntimeAsyncTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/RuntimeAsyncTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/RuntimeAsyncTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/ShiftTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/ShiftTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/ShiftTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/ShiftTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/ShiftTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/ShiftTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/ShiftTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/SwitchTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/SwitchTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/SwitchTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/SwitchTests.il
diff --git a/src/tests/ilverify/ILTests/ThisStateTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/ThisStateTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/ThisStateTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/ThisStateTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/ThisStateTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/ThisStateTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/ThisStateTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTests/ValueTypeTests.il b/src/coreclr/tools/ILVerification.Tests/ILTests/ValueTypeTests.il
similarity index 100%
rename from src/tests/ilverify/ILTests/ValueTypeTests.il
rename to src/coreclr/tools/ILVerification.Tests/ILTests/ValueTypeTests.il
diff --git a/src/coreclr/tools/ILVerification.Tests/ILTests/ValueTypeTests.ilproj b/src/coreclr/tools/ILVerification.Tests/ILTests/ValueTypeTests.ilproj
new file mode 100644
index 00000000000000..356b4dcc778989
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILTests/ValueTypeTests.ilproj
@@ -0,0 +1,9 @@
+
+
+ $(MSBuildProjectName)
+
+
+
+
+
+
diff --git a/src/tests/ilverify/ILTypeVerificationTester.cs b/src/coreclr/tools/ILVerification.Tests/ILTypeVerificationTester.cs
similarity index 100%
rename from src/tests/ilverify/ILTypeVerificationTester.cs
rename to src/coreclr/tools/ILVerification.Tests/ILTypeVerificationTester.cs
diff --git a/src/coreclr/tools/ILVerification.Tests/ILVerification.Tests.csproj b/src/coreclr/tools/ILVerification.Tests/ILVerification.Tests.csproj
new file mode 100644
index 00000000000000..09923f87e7238b
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/ILVerification.Tests.csproj
@@ -0,0 +1,25 @@
+
+
+ true
+ $(NetCoreAppToolCurrent)
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ Content
+ PreserveNewest
+ Tests\%(Filename).dll
+
+
+
diff --git a/src/coreclr/tools/ILVerification.Tests/JsonContext.cs b/src/coreclr/tools/ILVerification.Tests/JsonContext.cs
new file mode 100644
index 00000000000000..8ab954e3fd5886
--- /dev/null
+++ b/src/coreclr/tools/ILVerification.Tests/JsonContext.cs
@@ -0,0 +1,15 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+using ILVerify;
+
+namespace ILVerification.Tests
+{
+ [JsonSourceGenerationOptions(WriteIndented = false)]
+ [JsonSerializable(typeof(List))]
+ internal partial class JsonContext : JsonSerializerContext
+ {
+ }
+}
diff --git a/src/tests/ilverify/TestDataLoader.cs b/src/coreclr/tools/ILVerification.Tests/TestDataLoader.cs
similarity index 95%
rename from src/tests/ilverify/TestDataLoader.cs
rename to src/coreclr/tools/ILVerification.Tests/TestDataLoader.cs
index ea490973255db8..bcd0f240b0c584 100644
--- a/src/tests/ilverify/TestDataLoader.cs
+++ b/src/coreclr/tools/ILVerification.Tests/TestDataLoader.cs
@@ -11,7 +11,7 @@
using System.Text;
using ILVerify;
using Internal.TypeSystem.Ecma;
-using Newtonsoft.Json;
+using System.Text.Json;
using Xunit;
using Xunit.Abstractions;
@@ -36,7 +36,7 @@ class TestDataLoader
/// [FriendlyName]_ValidType_Valid
///
///
- public static IEnumerable GetTypesWithValidType()
+ public static IEnumerable