File tree Expand file tree Collapse file tree 7 files changed +14
-12
lines changed
Products/Elasticsearch/Failures Expand file tree Collapse file tree 7 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 3434
3535 - run : ./build.sh build -s true
3636 name : Build
37+ - run : ./build.sh test -s true
38+ name : Test
3739 - run : ./build.sh generatepackages -s true
3840 name : Generate local nuget packages
3941 - run : ./build.sh validatepackages -s true
Original file line number Diff line number Diff line change 66 <IsPackable >false</IsPackable >
77 </PropertyGroup >
88 <ItemGroup >
9- <PackageReference Include =" Argu" Version =" 6.0.0 " />
10- <PackageReference Include =" Bullseye" Version =" 3.3 .0" />
9+ <PackageReference Include =" Argu" Version =" 6.1.1 " />
10+ <PackageReference Include =" Bullseye" Version =" 3.5 .0" />
1111 <PackageReference Include =" Proc" Version =" 0.6.2" />
12- <PackageReference Include =" Fake.Tools.Git" Version =" 5.15.0 " />
12+ <PackageReference Include =" Fake.Tools.Git" Version =" 5.20.3 " />
1313 </ItemGroup >
1414
1515 <ItemGroup >
Original file line number Diff line number Diff line change 99using System . IO . Compression ;
1010using System . Linq ;
1111using System . Net ;
12- using System . Net . Http ;
1312using System . Net . NetworkInformation ;
1413using System . Net . Security ;
15- using System . Text ;
1614using System . Threading ;
1715using System . Threading . Tasks ;
1816using Elastic . Transport . Diagnostics ;
@@ -27,7 +25,7 @@ namespace Elastic.Transport
2725 /// </para>
2826 /// <para/>
2927 /// <para>Do NOT use this class directly on .NET Core. <see cref="HttpWebRequest"/> is monkey patched
30- /// over <see cref=" HttpClient"/> and does not reuse its instances of <see cref=" HttpClient"/>
28+ /// over HttpClient and does not reuse its instances of HttpClient
3129 /// </para>
3230 /// </summary>
3331#if DOTNETCORE
Original file line number Diff line number Diff line change 55using System ;
66using System . Reflection ;
77using System . Runtime . InteropServices ;
8+ using Elastic . Transport . Extensions ;
89
910namespace Elastic . Transport
1011{
Original file line number Diff line number Diff line change @@ -47,6 +47,6 @@ internal set
4747
4848
4949 //_source can be null if Default instance
50- public void Dispose ( ) => _source ? . StopActivity ( SetEndTime ( DateTime . UtcNow ) , EndState ) ;
50+ protected override void Dispose ( bool disposing ) => _source ? . StopActivity ( SetEndTime ( DateTime . UtcNow ) , EndState ) ;
5151 }
5252}
Original file line number Diff line number Diff line change 1616 </PropertyGroup >
1717 <ItemGroup >
1818
19- <PackageReference Include =" Microsoft.CSharp" Version =" 4.6 .0" />
20- <PackageReference Include =" System.Buffers" Version =" 4.5.0 " />
21- <PackageReference Include =" System.Diagnostics.DiagnosticSource" Version =" 4.5.1 " />
22- <PackageReference Include =" System.Text.Json" Version =" 4.7.1 " />
19+ <PackageReference Include =" Microsoft.CSharp" Version =" 4.7 .0" />
20+ <PackageReference Include =" System.Buffers" Version =" 4.5.1 " />
21+ <PackageReference Include =" System.Diagnostics.DiagnosticSource" Version =" 5.0.0 " />
22+ <PackageReference Include =" System.Text.Json" Version =" 5.0.0 " />
2323
2424 </ItemGroup >
2525
Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ namespace Elastic.Transport.Products.Elasticsearch.Failures
1515 [ DataContract ]
1616 public class ServerError
1717 {
18- internal ServerError ( ) { }
18+ /// <inheritdoc cref="ServerError"/>
19+ public ServerError ( ) { }
1920
2021 /// <inheritdoc cref="ServerError"/>
2122 public ServerError ( Error error , int ? statusCode )
You can’t perform that action at this time.
0 commit comments