Skip to content

Commit 1ac060c

Browse files
gsscodermoh-hassan
authored andcommitted
Upgraded RailwaySharp from Version 1.1.0 (#562)
1 parent fcb9e4e commit 1ac060c

File tree

6 files changed

+133
-169
lines changed

6 files changed

+133
-169
lines changed

Diff for: src/CommandLine/CommandLine.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<AssemblyName>CommandLine</AssemblyName>
55
<OutputType>Library</OutputType>
66
<TargetFrameworks>netstandard2.0;net40;net45;net461</TargetFrameworks>
7-
<DefineConstants>$(DefineConstants);CSX_EITHER_INTERNAL;CSX_REM_EITHER_BEYOND_2;CSX_ENUM_INTERNAL;ERRH_INTERNAL;ERRH_DISABLE_INLINE_METHODS;CSX_MAYBE_INTERNAL;CSX_REM_EITHER_FUNC;CSX_REM_CRYPTORAND</DefineConstants>
7+
<DefineConstants>$(DefineConstants);CSX_EITHER_INTERNAL;CSX_REM_EITHER_BEYOND_2;CSX_ENUM_INTERNAL;ERRH_INTERNAL;CSX_MAYBE_INTERNAL;CSX_REM_EITHER_FUNC;CSX_REM_CRYPTORAND;ERRH_ADD_MAYBE_METHODS</DefineConstants>
88
<DefineConstants Condition="'$(BuildTarget)' != 'fsharp'">$(DefineConstants);SKIP_FSHARP</DefineConstants>
99
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1010
<AssemblyOriginatorKeyFile>..\..\CommandLine.snk</AssemblyOriginatorKeyFile>

Diff for: src/CommandLine/Core/InstanceBuilder.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ public static ParserResult<T> Build<T>(
9898
var validationErrors = specPropsWithValue.Validate(SpecificationPropertyRules.Lookup(tokens));
9999

100100
var allErrors =
101-
tokenizerResult.SuccessfulMessages()
101+
tokenizerResult.SuccessMessages()
102102
.Concat(missingValueErrors)
103-
.Concat(optionSpecPropsResult.SuccessfulMessages())
104-
.Concat(valueSpecPropsResult.SuccessfulMessages())
103+
.Concat(optionSpecPropsResult.SuccessMessages())
104+
.Concat(valueSpecPropsResult.SuccessMessages())
105105
.Concat(validationErrors)
106106
.Concat(setPropertyErrors)
107107
.Memoize();

Diff for: src/CommandLine/Core/Tokenizer.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public static Result<IEnumerable<Token>, Error> ExplodeOptionList(
7474

7575
var flattened = exploded.SelectMany(x => x);
7676

77-
return Result.Succeed(flattened, tokenizerResult.SuccessfulMessages());
77+
return Result.Succeed(flattened, tokenizerResult.SuccessMessages());
7878
}
7979

8080
public static IEnumerable<Token> Normalize(

0 commit comments

Comments
 (0)