Skip to content

Commit

Permalink
Cleanup. 4.0.0 preparations.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewvk committed Aug 30, 2021
1 parent 1e8380e commit 064aaa2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Build/Props/CodeJam.Default.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
<AnalysisMode>AllEnabledByDefault</AnalysisMode>

<Version>4.0.0.0</Version>
<PackageVersion>4.0.0-beta2</PackageVersion>
<PackageVersion>4.0.0</PackageVersion>
<PackageOutputPath>..\_Results</PackageOutputPath>

<Company>RSDN</Company>

<Copyright>RSDN, 2020</Copyright>
<Copyright>RSDN, 2021</Copyright>
<RepositoryUrl>https://github.com/rsdn/CodeJam</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions CodeJam.Main/Ranges/[Boundaries]/RangeBoundaryFrom`1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static RangeBoundaryFrom<T> AdjustAndCreate(T? value, RangeBoundaryFromKi
}

#pragma warning disable 618 // Validation not required: value and kind are adjusted
return new RangeBoundaryFrom<T>(value, boundaryKind, SkipsArgValidation);
return new(value, boundaryKind, SkipsArgValidation);
#pragma warning restore 618
}

Expand Down Expand Up @@ -352,7 +352,7 @@ public RangeBoundaryFrom<T2> WithValue<T2>([InstantHandle] Func<T, T2> newValueS
}

#pragma warning disable 618 // Validation not required: HasValue checked.
return new RangeBoundaryFrom<T2>(default, _kind, UnsafeOverload.SkipsArgValidation);
return new(default, _kind, UnsafeOverload.SkipsArgValidation);
#pragma warning restore 618
}

Expand Down
2 changes: 1 addition & 1 deletion CodeJam.Main/Readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CodeJam 3.3.1 Release Notes
---------------------------

What's new in 4.0.0-beta2
What's new in 4.0.0
-------------------------
- Breaking changes:
* AdjustTimeout behaves as user would expect.
Expand Down
1 change: 1 addition & 0 deletions CodeJam.sln.DotSettings
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ Code.NotNull($EXPR$, $NAME$);</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/LOCAL_FUNCTION_BODY/@EntryValue">ExpressionBody</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/METHOD_OR_OPERATOR_BODY/@EntryValue">ExpressionBody</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/MODIFIERS_ORDER/@EntryValue">public protected internal private static readonly volatile new abstract virtual sealed override extern unsafe async</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/OBJECT_CREATION_WHEN_TYPE_NOT_EVIDENT/@EntryValue">TargetTyped</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/PARENTHESES_GROUP_NON_OBVIOUS_OPERATIONS/@EntryValue">Conditional</s:String>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ALIGN_MULTILINE_EXPRESSION/@EntryValue">False</s:Boolean>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/EMPTY_BLOCK_STYLE/@EntryValue">TOGETHER_SAME_LINE</s:String>
Expand Down

0 comments on commit 064aaa2

Please sign in to comment.