From 6c0ee4ad74ecefef45f214d36202b90d0fcc5040 Mon Sep 17 00:00:00 2001 From: Will Fuqua Date: Sun, 24 Sep 2023 12:40:52 +0700 Subject: [PATCH] Update nuget packages --- CSharpRepl.Services/CSharpRepl.Services.csproj | 14 +++++++------- CSharpRepl.Tests/CSharpRepl.Tests.csproj | 10 +++++----- CSharpRepl.Tests/DisassemblerTests.cs | 4 ++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/CSharpRepl.Services/CSharpRepl.Services.csproj b/CSharpRepl.Services/CSharpRepl.Services.csproj index 358d1c0..ee3f9da 100644 --- a/CSharpRepl.Services/CSharpRepl.Services.csproj +++ b/CSharpRepl.Services/CSharpRepl.Services.csproj @@ -7,24 +7,24 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + + - + - + diff --git a/CSharpRepl.Tests/CSharpRepl.Tests.csproj b/CSharpRepl.Tests/CSharpRepl.Tests.csproj index 3a49d56..e985eba 100644 --- a/CSharpRepl.Tests/CSharpRepl.Tests.csproj +++ b/CSharpRepl.Tests/CSharpRepl.Tests.csproj @@ -14,13 +14,13 @@ - - + + - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/CSharpRepl.Tests/DisassemblerTests.cs b/CSharpRepl.Tests/DisassemblerTests.cs index 6af6b60..c7b7a05 100644 --- a/CSharpRepl.Tests/DisassemblerTests.cs +++ b/CSharpRepl.Tests/DisassemblerTests.cs @@ -30,12 +30,12 @@ public DisassemblerTests() [InlineData(OptimizationLevel.Release, "TopLevelProgram")] [InlineData(OptimizationLevel.Debug, "TypeDeclaration")] [InlineData(OptimizationLevel.Release, "TypeDeclaration")] - public void Disassemble_InputCSharp_OutputIL(OptimizationLevel optimizationLevel, string testCase) + public async Task Disassemble_InputCSharp_OutputILAsync(OptimizationLevel optimizationLevel, string testCase) { var input = File.ReadAllText($"./Data/Disassembly/{testCase}.Input.txt").Replace("\r\n", "\n"); var expectedOutput = File.ReadAllText($"./Data/Disassembly/{testCase}.Output.{optimizationLevel}.il").Replace("\r\n", "\n"); - var result = services.ConvertToIntermediateLanguage(input, debugMode: optimizationLevel == OptimizationLevel.Debug).Result; + var result = await services.ConvertToIntermediateLanguage(input, debugMode: optimizationLevel == OptimizationLevel.Debug); var actualOutput = Assert .IsType(result) .ReturnValue