Skip to content

Commit 11e2ceb

Browse files
committed
Merge branch 'main' into taparik/byteArrayDirectInterop
2 parents 514d320 + 7b7d1d7 commit 11e2ceb

File tree

49 files changed

+628
-392
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+628
-392
lines changed

eng/Version.Details.xml

Lines changed: 136 additions & 136 deletions
Large diffs are not rendered by default.

eng/Versions.props

Lines changed: 69 additions & 69 deletions
Large diffs are not rendered by default.

src/Components/Web.JS/yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5610,9 +5610,9 @@ write-file-atomic@^3.0.0:
56105610
typedarray-to-buffer "^3.1.5"
56115611

56125612
ws@^7.4.4, ws@^7.4.5:
5613-
version "7.4.5"
5614-
resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.5.tgz#a484dd851e9beb6fdb420027e3885e8ce48986c1"
5615-
integrity sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==
5613+
version "7.4.6"
5614+
resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c"
5615+
integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==
56165616

56175617
xml-name-validator@^3.0.0:
56185618
version "3.0.0"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
@ECHO OFF
2-
SET RepoRoot=%~dp0..\..
2+
SET RepoRoot=%~dp0..\..\..
33
%RepoRoot%\eng\build.cmd -projects %~dp0**\*.*proj %*

src/FileProviders/Embedded/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
set -euo pipefail
44

55
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
6-
repo_root="$DIR/../.."
6+
repo_root="$DIR/../../.."
77
"$repo_root/eng/build.sh" --projects "$DIR/**/*.*proj" "$@"

src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project>
1+
<Project>
22
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
33

44
<PropertyGroup>
@@ -100,10 +100,13 @@ This package is an internal implementation of the .NET Core SDK and is not meant
100100
<!--
101101
Determine the crossgen2 package path property name. Special case linux-musl-arm and linux-musl-arm64 because they
102102
are built on an Ubuntu container with cross compilation tools. linux-musl-x64 is built in an alpine container.
103+
Special case the crossgen2 package reference on Windows to avoid the x86 package when building in Visual Studio.
103104
-->
104105
<BuildOsName>$(TargetOsName)</BuildOsName>
105106
<BuildOsName Condition="'$(TargetOsName)' == 'linux-musl' and '$(TargetArchitecture)'!='x64'">linux</BuildOsName>
106-
<Crossgen2PackageRootVariableName>PkgMicrosoft_NETCore_App_Crossgen2_$(BuildOsName)-$(BuildArchitecture)</Crossgen2PackageRootVariableName>
107+
<Crossgen2BuildArchitecture Condition=" '$(BuildOsName)' == 'win' ">x64</Crossgen2BuildArchitecture>
108+
<Crossgen2BuildArchitecture Condition=" '$(Crossgen2BuildArchitecture)' == '' ">$(BuildArchitecture)</Crossgen2BuildArchitecture>
109+
<Crossgen2PackageRootVariableName>PkgMicrosoft_NETCore_App_Crossgen2_$(BuildOsName)-$(Crossgen2BuildArchitecture)</Crossgen2PackageRootVariableName>
107110

108111
<AssetTargetFallback>$(AssetTargetFallback);native,Version=0.0</AssetTargetFallback>
109112

@@ -126,7 +129,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
126129
This package contains the crossgen2 tool. Unfortunately, it doesn't make the tool easy to use.
127130
$(GeneratePathProperty) and hacks in the _ExpandRuntimePackageRoot target work around the gaps.
128131
-->
129-
<Reference Include="Microsoft.NETCore.App.Crossgen2.$(BuildOsName)-$(BuildArchitecture)"
132+
<Reference Include="Microsoft.NETCore.App.Crossgen2.$(BuildOsName)-$(Crossgen2BuildArchitecture)"
130133
ExcludeAssets="All"
131134
PrivateAssets="All"
132135
GeneratePathProperty="true" />

src/Http/WebUtilities/src/FileBufferingReadStream.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,10 @@ public override bool CanWrite
205205
get { return false; }
206206
}
207207

208-
/// <inheritdoc/>
208+
/// <summary>
209+
/// The total bytes read from and buffered by the stream so far, it will not represent the full
210+
/// data length until the stream is fully buffered. e.g. using <c>stream.DrainAsync()</c>.
211+
/// </summary>
209212
public override long Length
210213
{
211214
get { return _buffer.Length; }

src/HttpClientFactory/Polly/src/DependencyInjection/PollyServiceCollectionExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static IPolicyRegistry<string> AddPolicyRegistry(this IServiceCollection
2828
}
2929

3030
// Create an empty registry, register and return it as an instance. This is the best way to get a
31-
// single instance registered using both interfaces.
31+
// single instance registered using all the interfaces.
3232
var registry = new PolicyRegistry();
3333

3434
services.AddSingleton<IConcurrentPolicyRegistry<string>>(registry);
@@ -90,7 +90,7 @@ public static IServiceCollection AddPolicyRegistry(this IServiceCollection servi
9090
}
9191

9292
// Create an empty registry, configure it and register it as an instance.
93-
// This is the best way to get a single instance registered using both interfaces.
93+
// This is the best way to get a single instance registered using all the interfaces.
9494
services.AddSingleton(serviceProvider =>
9595
{
9696
var registry = new PolicyRegistry();

src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiDescription.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class ApiDescription
4141
/// <summary>
4242
/// Gets or sets relative url path template (relative to application root) for this api.
4343
/// </summary>
44-
public string RelativePath { get; set; } = default!;
44+
public string? RelativePath { get; set; }
4545

4646
/// <summary>
4747
/// Gets the list of possible formats for a request.
@@ -60,4 +60,4 @@ public class ApiDescription
6060
/// </remarks>
6161
public IList<ApiResponseType> SupportedResponseTypes { get; } = new List<ApiResponseType>();
6262
}
63-
}
63+
}

src/Mvc/Mvc.Abstractions/src/Microsoft.AspNetCore.Mvc.Abstractions.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Microsoft.AspNetCore.Mvc.IActionResult</Description>
99
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1010
<PackageTags>aspnetcore;aspnetcoremvc</PackageTags>
1111
<IsPackable>false</IsPackable>
12-
<Nullable>enable</Nullable>
1312
</PropertyGroup>
1413

1514
<ItemGroup>

0 commit comments

Comments
 (0)