Skip to content

Commit 37b239e

Browse files
Copilotkilasuit
andcommitted
Move BackgroundThreadJob property to PipelineBaseAst base class
- Moved BackgroundThreadJob from ChainableAst to PipelineBaseAst - This ensures the property is accessible when the parameter type is PipelineBaseAst - Fixes CS1061 compilation error where PipelineBaseAst didn't have BackgroundThreadJob Co-authored-by: kilasuit <6355225+kilasuit@users.noreply.github.com>
1 parent 9818713 commit 37b239e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • src/System.Management.Automation/engine/parser

src/System.Management.Automation/engine/parser/ast.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5540,11 +5540,6 @@ public abstract class ChainableAst : PipelineBaseAst
55405540
protected ChainableAst(IScriptExtent extent) : base(extent)
55415541
{
55425542
}
5543-
5544-
/// <summary>
5545-
/// Indicates that this pipeline should be run in the background as a ThreadJob.
5546-
/// </summary>
5547-
public bool BackgroundThreadJob { get; internal set; }
55485543
}
55495544

55505545
/// <summary>
@@ -5682,6 +5677,11 @@ public virtual ExpressionAst GetPureExpression()
56825677
{
56835678
return null;
56845679
}
5680+
5681+
/// <summary>
5682+
/// Indicates that this pipeline should be run in the background as a ThreadJob.
5683+
/// </summary>
5684+
public bool BackgroundThreadJob { get; internal set; }
56855685
}
56865686

56875687
/// <summary>

0 commit comments

Comments
 (0)