Skip to content

Commit 064aaa2

Browse files
committed
Cleanup. 4.0.0 preparations.
1 parent 1e8380e commit 064aaa2

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

Build/Props/CodeJam.Default.props

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
1616

1717
<Version>4.0.0.0</Version>
18-
<PackageVersion>4.0.0-beta2</PackageVersion>
18+
<PackageVersion>4.0.0</PackageVersion>
1919
<PackageOutputPath>..\_Results</PackageOutputPath>
2020

2121
<Company>RSDN</Company>
2222

23-
<Copyright>RSDN, 2020</Copyright>
23+
<Copyright>RSDN, 2021</Copyright>
2424
<RepositoryUrl>https://github.com/rsdn/CodeJam</RepositoryUrl>
2525
<RepositoryType>git</RepositoryType>
2626
</PropertyGroup>

CodeJam.Main/Ranges/[Boundaries]/RangeBoundaryFrom`1.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public static RangeBoundaryFrom<T> AdjustAndCreate(T? value, RangeBoundaryFromKi
9393
}
9494

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

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

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

CodeJam.Main/Readme.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CodeJam 3.3.1 Release Notes
22
---------------------------
33

4-
What's new in 4.0.0-beta2
4+
What's new in 4.0.0
55
-------------------------
66
- Breaking changes:
77
* AdjustTimeout behaves as user would expect.

CodeJam.sln.DotSettings

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Code.NotNull($EXPR$, $NAME$);</s:String>
6565
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/LOCAL_FUNCTION_BODY/@EntryValue">ExpressionBody</s:String>
6666
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/METHOD_OR_OPERATOR_BODY/@EntryValue">ExpressionBody</s:String>
6767
<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>
68+
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/OBJECT_CREATION_WHEN_TYPE_NOT_EVIDENT/@EntryValue">TargetTyped</s:String>
6869
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/PARENTHESES_GROUP_NON_OBVIOUS_OPERATIONS/@EntryValue">Conditional</s:String>
6970
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ALIGN_MULTILINE_EXPRESSION/@EntryValue">False</s:Boolean>
7071
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/EMPTY_BLOCK_STYLE/@EntryValue">TOGETHER_SAME_LINE</s:String>

0 commit comments

Comments
 (0)