Add support to ActionPreference.Break to break into debugger (#8205)

This commit is contained in:
Kirk Munro authored and Dongbo Wang committed 2019-08-23 10:34:10 -07:00
1 parent 27fcb35913
commit 8b9f4124ce
16 files changed
+655 -115

No files matched your search

@@ -4954,7 +4954,8 @@ namespace System.Management.Automation.Language
UpdatePosition(throwStatementAst),
Expression.Throw(Expression.Call(CachedReflectionInfo.ExceptionHandlingOps_ConvertToException,
throwExpr.Convert(typeof(object)),
Expression.Constant(throwStatementAst.Extent))));
Expression.Constant(throwStatementAst.Extent),
Expression.Constant(throwStatementAst.IsRethrow))));
}
#endregion Statements