Merged PR 1430: added missing net47
This PR adds a bunch of missing `NET47`.
This commit is contained in:
Родитель
cc947642d6
Коммит
1ff411ec7e
|
@ -4,7 +4,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
#if NET46
|
||||
#if NET46 || NET47
|
||||
using System.Configuration;
|
||||
#endif
|
||||
using System.IO;
|
||||
|
@ -143,7 +143,7 @@ namespace Microsoft.Coyote.TestingServices
|
|||
Error.ReportAndExit(ex.Message);
|
||||
}
|
||||
|
||||
#if NET46
|
||||
#if NET46 || NET47
|
||||
// Load config file and absorb its settings.
|
||||
try
|
||||
{
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#if NET46
|
||||
#if NET46 || NET47
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Diagnostics;
|
||||
#endif
|
||||
using System.IO;
|
||||
#if NET46
|
||||
#if NET46 || NET47
|
||||
using System.Linq;
|
||||
|
||||
using Microsoft.Coyote.IO;
|
||||
|
@ -23,7 +23,7 @@ namespace Microsoft.Coyote.TestingServices
|
|||
internal static class CodeCoverageInstrumentation
|
||||
{
|
||||
internal static string OutputDirectory = string.Empty;
|
||||
#if NET46
|
||||
#if NET46 || NET47
|
||||
internal static List<string> InstrumentedAssemblyNames = new List<string>();
|
||||
|
||||
internal static void Instrument(Configuration configuration)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#if NET46
|
||||
#if NET46 || NET47
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
|
|
|
@ -70,7 +70,7 @@ namespace Microsoft.Coyote
|
|||
|
||||
if (Configuration.ReportCodeCoverage)
|
||||
{
|
||||
#if NET46
|
||||
#if NET46 || NET47
|
||||
// Instruments the program under test for code coverage.
|
||||
CodeCoverageInstrumentation.Instrument(Configuration);
|
||||
|
||||
|
@ -160,7 +160,7 @@ namespace Microsoft.Coyote
|
|||
/// </summary>
|
||||
private static void Shutdown()
|
||||
{
|
||||
#if NET46
|
||||
#if NET46 || NET47
|
||||
if (Configuration != null && Configuration.ReportCodeCoverage && CodeCoverageMonitor.IsRunning)
|
||||
{
|
||||
Console.WriteLine(". Shutting down the code coverage monitor, this may take a few seconds...");
|
||||
|
|
|
@ -21,7 +21,7 @@ namespace Microsoft.Coyote.TestingServices
|
|||
{
|
||||
string assembly = Assembly.GetExecutingAssembly().Location;
|
||||
Console.WriteLine("Launching " + assembly);
|
||||
#if NET46
|
||||
#if NET46 || NET47
|
||||
ProcessStartInfo startInfo = new ProcessStartInfo(assembly,
|
||||
CreateArgumentsFromConfiguration(id, configuration));
|
||||
#else
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#if NET46
|
||||
#if NET46 || NET47
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#if NET46
|
||||
#if NET46 || NET47
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
|
Загрузка…
Ссылка в новой задаче