File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1717 # (PRs from forks can't access secrets other than secrets.GITHUB_TOKEN for security reasons)
1818 if : ${{ !github.event.pull_request.head.repo.fork }}
1919 env :
20- version : ' 3.4 .0'
21- versionFile : ' 3.4 .0'
20+ version : ' 3.5 .0'
21+ versionFile : ' 3.5 .0'
2222 steps :
2323 - name : Set up JDK 17
2424 uses : actions/setup-java@v4
Original file line number Diff line number Diff line change 2727 - ps : dotnet restore SmartFormat.sln --verbosity quiet
2828 - ps : dotnet add .\SmartFormat.Tests\SmartFormat.Tests.csproj package AltCover
2929 - ps : |
30- $version = "3.4 .0"
30+ $version = "3.5 .0"
3131 $versionFile = $version + "." + ${env:APPVEYOR_BUILD_NUMBER}
3232
3333 if ($env:APPVEYOR_PULL_REQUEST_NUMBER) {
Original file line number Diff line number Diff line change 88 <Copyright >Copyright 2011-$(CurrentYear) SmartFormat Project</Copyright >
99 <RepositoryUrl >https://github.com/axuno/SmartFormat.git</RepositoryUrl >
1010 <PublishRepositoryUrl >true</PublishRepositoryUrl >
11- <Version >3.4 .0</Version >
12- <FileVersion >3.4 .0</FileVersion >
11+ <Version >3.5 .0</Version >
12+ <FileVersion >3.5 .0</FileVersion >
1313 <AssemblyVersion >3.0.0</AssemblyVersion > <!-- only update AssemblyVersion with major releases -->
1414 <LangVersion >latest</LangVersion >
1515 <EnableNETAnalyzers >true</EnableNETAnalyzers >
Original file line number Diff line number Diff line change @@ -189,10 +189,10 @@ public string FormatterOptions
189189 if ( _formatterOptionsCache != null ) return _formatterOptionsCache ;
190190 if ( Length == 0 ) _formatterOptionsCache = string . Empty ;
191191
192- // The *default* max array length of ArrayPool<char>.Shared is 1,048,576.
192+ // The *default* max array length of ArrayPool<char>.Shared is 1,048,576
193+ // but renting more will still return the size we need.
193194 var pool = ArrayPool < char > . Shared ;
194195 var resultBuffer = pool . Rent ( Length ) ;
195- System . Diagnostics . Debug . Assert ( resultBuffer . Length >= Length , "ArrayPool buffer size is smaller than it should be" ) ;
196196
197197 try
198198 {
You can’t perform that action at this time.
0 commit comments