mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Clean up '#if CORE' in ConnectionFactory.cs (#4422)
This commit is contained in:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user