Skip to content

Commit 4142480

Browse files
committed
Update dependencies
1 parent 1283d67 commit 4142480

File tree

5 files changed

+3
-19
lines changed

5 files changed

+3
-19
lines changed

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<PackageVersion Include="RichardSzalay.MockHttp" Version="7.0.0"/>
3939
<PackageVersion Include="System.Net.Http.Json" Version="9.0.0"/>
4040
<PackageVersion Include="Xunit.Extensions.Logging" Version="1.1.0"/>
41-
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.0" PrivateAssets="All"/>
41+
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" PrivateAssets="All"/>
4242
<PackageVersion Include="xunit" Version="2.9.2"/>
4343
<PackageVersion Include="WireMock.Net" Version="1.6.10"/>
4444
<PackageVersion Include="WireMock.Net.FluentAssertions" Version="1.5.51"/>

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), 'RestSharp.sln'))\props\Common.props"/>
33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;net462;net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;net471;net48;net8.0;net9.0</TargetFrameworks>
55
<PackageIcon>restsharp.png</PackageIcon>
66
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
77
<PackageProjectUrl>https://restsharp.dev</PackageProjectUrl>

src/RestSharp/Authenticators/OAuth/OAuthTools.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,6 @@ public static string GetNonce() {
8383
/// </summary>
8484
/// <param name="value">The value to escape.</param>
8585
/// <returns>The escaped value.</returns>
86-
/// <remarks>
87-
/// The <see cref="Uri.EscapeDataString" /> method is <i>supposed</i> to take on
88-
/// RFC 3986 behavior if certain elements are present in a .config file. Even if this
89-
/// actually worked (which in my experiments it <i>doesn't</i>), we can't rely on every
90-
/// host actually having this configuration element present.
91-
/// </remarks>
9286
[return: NotNullIfNotNull(nameof(value))]
9387
public static string? UrlEncodeRelaxed(string? value) {
9488
if (value == null) return null;

src/RestSharp/Options/RestClientOptions.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -181,16 +181,6 @@ public RestClientOptions(string baseUrl) : this(new Uri(Ensure.NotEmptyString(ba
181181
/// </summary>
182182
public CookieContainer? CookieContainer { get; set; }
183183

184-
/// <summary>
185-
/// Maximum request duration in milliseconds. When the request timeout is specified using <seealso cref="RestRequest.Timeout"/>,
186-
/// the lowest value between the client timeout and request timeout will be used.
187-
/// </summary>
188-
[Obsolete("Use Timeout instead.")]
189-
public int MaxTimeout {
190-
get => (int) (Timeout?.TotalMilliseconds ?? 0);
191-
set => Timeout = TimeSpan.FromMilliseconds(value);
192-
}
193-
194184
/// <summary>
195185
/// Request duration. Used when the request timeout is not specified using <seealso cref="RestRequest.Timeout"/>,
196186
/// </summary>

test/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<IsTestProject>true</IsTestProject>
55
<IsPackable>false</IsPackable>
6-
<TargetFrameworks>net462;net8.0;net9.0</TargetFrameworks>
6+
<TargetFrameworks>net48;net8.0;net9.0</TargetFrameworks>
77
<Nullable>disable</Nullable>
88
<NoWarn>xUnit1033</NoWarn>
99
<VSTestLogger>trx%3bLogFileName=$(MSBuildProjectName).trx</VSTestLogger>

0 commit comments

Comments
 (0)