Browse Source

Ambiguous reference errors fixed

pull/3357/head
Christoph Wille 1 year ago
parent
commit
32736a7338
  1. 6
      ICSharpCode.Decompiler.Tests/CorrectnessTestRunner.cs
  2. 2
      ICSharpCode.Decompiler.Tests/UglyTestRunner.cs

6
ICSharpCode.Decompiler.Tests/CorrectnessTestRunner.cs

@ -409,7 +409,7 @@ namespace ICSharpCode.Decompiler.Tests @@ -409,7 +409,7 @@ namespace ICSharpCode.Decompiler.Tests
options |= CompilerOptions.UseTestRunner;
string testFileName = testName + ".cs";
string testOutputFileName = TestsAssemblyOutput.GetFilePath(TestCasePath, testName, Tester.GetSuffix(options) + ".exe");
CompilerResults outputFile = null, decompiledOutputFile = null;
Helpers.CompilerResults outputFile = null, decompiledOutputFile = null;
try
{
@ -453,7 +453,7 @@ namespace ICSharpCode.Decompiler.Tests @@ -453,7 +453,7 @@ namespace ICSharpCode.Decompiler.Tests
options |= CompilerOptions.UseTestRunner;
string testFileName = testName + ".vb";
string testOutputFileName = TestsAssemblyOutput.GetFilePath(TestCasePath, testName, Tester.GetSuffix(options) + ".exe");
CompilerResults outputFile = null, decompiledOutputFile = null;
Helpers.CompilerResults outputFile = null, decompiledOutputFile = null;
try
{
@ -477,7 +477,7 @@ namespace ICSharpCode.Decompiler.Tests @@ -477,7 +477,7 @@ namespace ICSharpCode.Decompiler.Tests
async Task RunIL(string testFileName, CompilerOptions options = CompilerOptions.UseDebug, AssemblerOptions asmOptions = AssemblerOptions.None)
{
string outputFile = null;
CompilerResults decompiledOutputFile = null;
Helpers.CompilerResults decompiledOutputFile = null;
bool optionsForce32Bit = options.HasFlag(CompilerOptions.Force32Bit);
bool asmOptionsForce32Bit = asmOptions.HasFlag(AssemblerOptions.Force32Bit);

2
ICSharpCode.Decompiler.Tests/UglyTestRunner.cs

@ -146,7 +146,7 @@ namespace ICSharpCode.Decompiler.Tests @@ -146,7 +146,7 @@ namespace ICSharpCode.Decompiler.Tests
if (!File.Exists(ilFile))
{
// re-create .il file if necessary
CompilerResults output = null;
Helpers.CompilerResults output = null;
try
{
output = await Tester.CompileCSharp(csFile, cscOptions).ConfigureAwait(false);

Loading…
Cancel
Save