Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 604f5e6

Browse files
[release/10.0] Source code updates from dotnet/dotnet (#2668)
* Backflow from https://github.com/dotnet/dotnet / d409235 build 279762 [[ commit created by automation ]] * Update dependencies from https://github.com/dotnet/dotnet build 279762 No dependency updates to commit * Update dependencies from https://github.com/dotnet/dotnet build 279809 No dependency updates to commit * Update dependencies from https://github.com/dotnet/dotnet build 280198 No dependency updates to commit * Update dependencies from https://github.com/dotnet/dotnet build 281059 No dependency updates to commit * Update dependencies from https://github.com/dotnet/dotnet build 281128 No dependency updates to commit * Update dependencies from https://github.com/dotnet/dotnet build 282024 No dependency updates to commit * Update dependencies from https://github.com/dotnet/dotnet build 282086 No dependency updates to commit * Update dependencies from https://github.com/dotnet/dotnet build 282207 No dependency updates to commit * Update dependencies from https://github.com/dotnet/dotnet build 282240 No dependency updates to commit * Update dependencies from https://github.com/dotnet/dotnet build 282379 No dependency updates to commit * Update dependencies from https://github.com/dotnet/dotnet build 282477 No dependency updates to commit * Update dependencies from https://github.com/dotnet/dotnet build 282708 No dependency updates to commit * Update dependencies from https://github.com/dotnet/dotnet build 282973 No dependency updates to commit * Backflow from https://github.com/dotnet/dotnet / ee760c4 build 283077 [[ commit created by automation ]] * Update dependencies from https://github.com/dotnet/dotnet build 283077 No dependency updates to commit * Update dependencies from https://github.com/dotnet/dotnet build 283152 No dependency updates to commit * Update dependencies from https://github.com/dotnet/dotnet build 283422 No dependency updates to commit * Update dependencies from https://github.com/dotnet/dotnet build 283666 No dependency updates to commit * Update dependencies from https://github.com/dotnet/dotnet build 283828 No dependency updates to commit * Update dependencies from https://github.com/dotnet/dotnet build 284571 No dependency updates to commit * Backflow from https://github.com/dotnet/dotnet / c9f0e3e build 284752 [[ commit created by automation ]] * Update dependencies from https://github.com/dotnet/dotnet build 284752 No dependency updates to commit * Update dependencies from https://github.com/dotnet/dotnet build 284895 No dependency updates to commit --------- Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Viktor Hofer <[email protected]>
1 parent ef926c4 commit 604f5e6

File tree

7 files changed

+10
-7
lines changed

7 files changed

+10
-7
lines changed

eng/Version.Details.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<?xml version="1.0" encoding="utf-8"?>
21
<!--
32
This file is auto-generated by the Maestro dependency flow system.
43
Do not edit it manually, as it will get overwritten by automation.

eng/Version.Details.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Dependencies>
3-
<Source Uri="https://github.com/dotnet/dotnet" Mapping="command-line-api" Sha="f8a57b66e6466922534e8046b37a6503d9d39dab" BarId="279432" />
3+
<Source Uri="https://github.com/dotnet/dotnet" Mapping="command-line-api" Sha="e1eaf1bbd9702e9b6ee9b10dbc94105732e07896" BarId="284895" />
44
<ProductDependencies>
55
</ProductDependencies>
66
<ToolsetDependencies>

eng/Versions.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<!-- Repo Version Information -->
44
<PropertyGroup>
55
<VersionPrefix>2.0.0</VersionPrefix>
6-
<PreReleaseVersionLabel>rc</PreReleaseVersionLabel>
7-
<PreReleaseVersionIteration>1</PreReleaseVersionIteration>
6+
<PreReleaseVersionLabel>rtm</PreReleaseVersionLabel>
7+
<PreReleaseVersionIteration></PreReleaseVersionIteration>
88
<!-- Allowed values: '', 'prerelease', 'release'. Set to 'release' when stabilizing. -->
99
<DotNetFinalVersionKind>
1010
</DotNetFinalVersionKind>

src/System.CommandLine.ApiCompatibility.Tests/ApiCompatibilityApprovalTests.System_CommandLine_api_is_not_changed.approved.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ System.CommandLine.Invocation
193193
public abstract class CommandLineAction
194194
public System.Boolean ClearsParseErrors { get; }
195195
public System.Boolean Terminating { get; }
196-
protected System.Void set_Terminating(System.Boolean value)
197196
public class ParseErrorAction : SynchronousCommandLineAction
198197
.ctor()
199198
public System.Boolean ShowHelp { get; set; }

src/System.CommandLine.Tests/TestActions.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ public SynchronousTestAction(
2323

2424
public override bool ClearsParseErrors { get; }
2525

26+
public override bool Terminating { get; }
27+
2628
public override int Invoke(ParseResult parseResult)
2729
{
2830
_invoke(parseResult);
@@ -46,6 +48,8 @@ public AsynchronousTestAction(
4648

4749
public override bool ClearsParseErrors { get; }
4850

51+
public override bool Terminating { get; }
52+
4953
public override Task<int> InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken = default)
5054
{
5155
_invoke(parseResult);

src/System.CommandLine/EnvironmentVariablesDirective.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ private sealed class EnvironmentVariablesDirectiveAction : SynchronousCommandLin
3232
internal EnvironmentVariablesDirectiveAction(EnvironmentVariablesDirective directive)
3333
{
3434
_directive = directive;
35-
Terminating = false;
3635
}
3736

37+
public override bool Terminating => false;
38+
3839
public override int Invoke(ParseResult parseResult)
3940
{
4041
SetEnvVars(parseResult);

src/System.CommandLine/Invocation/CommandLineAction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ private protected CommandLineAction()
1515
/// <summary>
1616
/// Indicates that the action terminates a command line invocation, and later actions are skipped.
1717
/// </summary>
18-
public bool Terminating { get; protected init; } = true;
18+
public virtual bool Terminating => true;
1919

2020
/// <summary>
2121
/// Indicates that the action clears any parse errors associated with symbols other than one that owns the <see cref="CommandLineAction"/>.

0 commit comments

Comments
 (0)