From 951c3774e3e4e65fe96dbdf17af2a60429a2fcdf Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Fri, 9 Dec 2022 17:02:49 +0200 Subject: [PATCH] Update DisableRuntimeMarshallingTests.cs --- .../InteropServices/DisableRuntimeMarshallingTests.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/InteropServices/DisableRuntimeMarshallingTests.cs b/src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/InteropServices/DisableRuntimeMarshallingTests.cs index 7d52fa710b..4c08c17593 100644 --- a/src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/InteropServices/DisableRuntimeMarshallingTests.cs +++ b/src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/InteropServices/DisableRuntimeMarshallingTests.cs @@ -1682,8 +1682,7 @@ private static async Task VerifyVBAnalyzerAsync(string source) { var test = new VerifyVB.Test { - ReferenceAssemblies = new ReferenceAssemblies("net7.0", new PackageIdentity("Microsoft.NETCore.App.Ref", "7.0.0-preview.1.22075.6"), Path.Combine("ref", "net7.0")) - .WithNuGetConfigFilePath(Path.Combine(Path.GetDirectoryName(typeof(DisableRuntimeMarshallingTests).Assembly.Location), "NuGet.config")), + ReferenceAssemblies = ReferenceAssemblies.Net.Net70, TestCode = source, FixedCode = source };