File tree Expand file tree Collapse file tree 7 files changed +15
-17
lines changed
benchmarks/RestSharp.Benchmarks Expand file tree Collapse file tree 7 files changed +15
-17
lines changed Original file line number Diff line number Diff line change 65
65
<s : String x : Key =" /Default/CodeStyle/CodeFormatting/CSharpFormat/WRAP_PARAMETERS_STYLE/@EntryValue" >CHOP_IF_LONG</s : String >
66
66
<s : Boolean x : Key =" /Default/CodeStyle/CSharpUsing/PreferQualifiedReference/@EntryValue" >False</s : Boolean >
67
67
<s : String x : Key =" /Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=FDIC/@EntryIndexedValue" >FDIC</s : String >
68
+ <s : Boolean x : Key =" /Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EFeature_002EServices_002EDaemon_002ESettings_002EMigration_002ESwaWarningsModeSettingsMigrate/@EntryIndexedValue" >True</s : Boolean >
68
69
<s : Boolean x : Key =" /Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpAttributeForSingleLineMethodUpgrade/@EntryIndexedValue" >True</s : Boolean >
69
70
<s : Boolean x : Key =" /Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpKeepExistingMigration/@EntryIndexedValue" >True</s : Boolean >
70
71
<s : Boolean x : Key =" /Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpPlaceEmbeddedOnSameLineMigration/@EntryIndexedValue" >True</s : Boolean >
Original file line number Diff line number Diff line change 6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
9
- <PackageReference Include =" AutoFixture" Version =" 4.11 .0" />
9
+ <PackageReference Include =" AutoFixture" Version =" 4.14 .0" />
10
10
<PackageReference Include =" BenchmarkDotNet" Version =" 0.12.1" />
11
11
<PackageReference Include =" Utf8Json" Version =" 1.3.7" />
12
12
</ItemGroup >
Original file line number Diff line number Diff line change 21
21
22
22
<ItemGroup >
23
23
<PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0" PrivateAssets =" All" />
24
- <PackageReference Include =" MinVer" Version =" 2.2.0 " PrivateAssets =" All" />
24
+ <PackageReference Include =" MinVer" Version =" 2.3.1 " PrivateAssets =" All" />
25
25
<PackageReference Include =" JetBrains.Annotations" Version =" 2020.1.0" PrivateAssets =" All" />
26
26
<PackageReference Include =" Microsoft.NETFramework.ReferenceAssemblies" Version =" 1.0.0" PrivateAssets =" All" />
27
27
</ItemGroup >
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ public interface IRestRequest
159
159
/// <summary>
160
160
/// Serialized request body to be accessed in authenticators
161
161
/// </summary>
162
- RequestBody Body { get ; set ; }
162
+ RequestBody ? Body { get ; set ; }
163
163
164
164
/// <summary>
165
165
/// Adds a file to the Files collection to be included with a POST or PUT request
Original file line number Diff line number Diff line change 14
14
15
15
using System ;
16
16
17
- namespace RestSharp
18
- {
19
- [ Obsolete ( "The RestBody class will be internal in future versions" ) ]
20
- public class RequestBody
21
- {
17
+ namespace RestSharp {
18
+ public class RequestBody {
22
19
public string ContentType { get ; }
23
20
public string Name { get ; }
24
21
public object Value { get ; }
25
22
26
- public RequestBody ( string contentType , string name , object value )
27
- {
23
+ [ Obsolete ( "The RestBody constructor will be internal in future versions" ) ]
24
+ public RequestBody ( string contentType , string name , object value ) {
28
25
ContentType = contentType ;
29
26
Name = name ;
30
27
Value = value ;
31
28
}
32
29
}
33
- }
30
+ }
Original file line number Diff line number Diff line change 8
8
</PropertyGroup >
9
9
10
10
<ItemGroup >
11
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.4.0 " />
11
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.7.1 " />
12
12
<PackageReference Include =" NUnit" Version =" 3.12.0" />
13
- <PackageReference Include =" NUnit3TestAdapter" Version =" 3.15.1 " />
14
- <PackageReference Include =" AutoFixture" Version =" 4.11 .0" />
15
- <PackageReference Include =" FluentAssertions" Version =" 5.10.0 " />
16
- <PackageReference Include =" coverlet.collector" Version =" 1.0.1 " />
13
+ <PackageReference Include =" NUnit3TestAdapter" Version =" 3.17.0 " />
14
+ <PackageReference Include =" AutoFixture" Version =" 4.14 .0" />
15
+ <PackageReference Include =" FluentAssertions" Version =" 5.10.3 " />
16
+ <PackageReference Include =" coverlet.collector" Version =" 1.3.0 " />
17
17
<PackageReference Include =" Microsoft.NETFramework.ReferenceAssemblies" Version =" 1.0.0" PrivateAssets =" All" />
18
18
</ItemGroup >
19
19
</Project >
Original file line number Diff line number Diff line change 3
3
<TargetFrameworks >net452;netcoreapp3.1</TargetFrameworks >
4
4
</PropertyGroup >
5
5
<ItemGroup >
6
- <PackageReference Include =" Moq" Version =" 4.13.1 " />
6
+ <PackageReference Include =" Moq" Version =" 4.14.5 " />
7
7
</ItemGroup >
8
8
<ItemGroup >
9
9
<ProjectReference Include =" ..\..\src\RestSharp\RestSharp.csproj" />
You can’t perform that action at this time.
0 commit comments