Clean up '#if CORE' in ConnectionFactory.cs (#4422)

This commit is contained in:
Ilya authored and Dongbo Wang committed 2017-07-31 12:54:01 -07:00
1 parent ea81506232
commit 5cfbf83447
1 file changed
+2 -12
@@ -82,12 +82,7 @@ namespace System.Management.Automation.Runspaces
/// <exception cref="ArgumentNullException">
/// Thrown when runspaceConfiguration is null
/// </exception>
#if CORECLR
internal
#else
public
#endif
static Runspace CreateRunspace(RunspaceConfiguration runspaceConfiguration)
internal static Runspace CreateRunspace(RunspaceConfiguration runspaceConfiguration)
{
if (runspaceConfiguration == null)
{
@@ -117,12 +112,7 @@ namespace System.Management.Automation.Runspaces
/// <exception cref="ArgumentNullException">
/// Thrown when runspaceConfiguration is null
/// </exception>
#if CORECLR
internal
#else
public
#endif
static Runspace CreateRunspace(PSHost host, RunspaceConfiguration runspaceConfiguration)
internal static Runspace CreateRunspace(PSHost host, RunspaceConfiguration runspaceConfiguration)
{
if (host == null)
{