diff --git a/Directory.Build.props b/Directory.Build.props index 440c9d79a85b..4eb0a65e9290 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -93,6 +93,9 @@ false + + true + - $(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).0.0 @@ -155,6 +154,7 @@ + diff --git a/NuGet.config b/NuGet.config index 4d7d2836aed2..f4fb72027851 100644 --- a/NuGet.config +++ b/NuGet.config @@ -3,22 +3,18 @@ - + - - + + - - - - + + + + - - - - diff --git a/eng/GenAPI.exclusions.txt b/eng/GenAPI.exclusions.txt index ebabc0ac7de5..0c4ce95fc2cb 100644 --- a/eng/GenAPI.exclusions.txt +++ b/eng/GenAPI.exclusions.txt @@ -2,4 +2,11 @@ T:Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame # Manually implemented - https://github.com/dotnet/arcade/issues/2066 T:Microsoft.AspNetCore.Mvc.ApplicationModels.PageParameterModel -T:Microsoft.AspNetCore.Mvc.ApplicationModels.PagePropertyModel \ No newline at end of file +T:Microsoft.AspNetCore.Mvc.ApplicationModels.PagePropertyModel +# Manually implemented - Need to include internal setter +T:Microsoft.AspNetCore.Mvc.Razor.Infrastructure.TagHelperMemoryCacheProvider +F:Microsoft.AspNetCore.Mvc.Razor.Infrastructure.TagHelperMemoryCacheProvider.{Cache}k__BackingField +M:Microsoft.AspNetCore.Mvc.Razor.Infrastructure.TagHelperMemoryCacheProvider.#ctor +P:Microsoft.AspNetCore.Mvc.Razor.Infrastructure.TagHelperMemoryCacheProvider.Cache +M:Microsoft.AspNetCore.Mvc.Razor.Infrastructure.TagHelperMemoryCacheProvider.get_Cache +M:Microsoft.AspNetCore.Mvc.Razor.Infrastructure.TagHelperMemoryCacheProvider.set_Cache(Microsoft.Extensions.Caching.Memory.IMemoryCache) \ No newline at end of file diff --git a/eng/IndirectReferences.props b/eng/IndirectReferences.props new file mode 100644 index 000000000000..c57e61024d47 --- /dev/null +++ b/eng/IndirectReferences.props @@ -0,0 +1,10911 @@ + + + + <_RefsToCheck Include="@(Reference->'%(Identity)')"/> + <_ProjectRefsToCheck Include="@(ProjectReference)" Exclude="@(ProjectReference->WithMetadataValue('ReferenceOutputAssembly', 'false'))" /> + <_RefsToCheck Include="@(ProjectReference->'%(Filename)')"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index bc99f09ed7e7..1ce977ca9fc3 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -9,9 +9,9 @@ --> - + https://github.com/aspnet/Blazor - 348e050ecd9bd8924581afb677089ae5e2d5e508 + c606594a0e5ebc36636d36e418ee0e189ce7a012 https://github.com/aspnet/AspNetCore-Tooling @@ -29,269 +29,269 @@ https://github.com/aspnet/AspNetCore-Tooling 4ef35e11af80a5907438d1a715e51803acf1077c - + https://github.com/aspnet/EntityFrameworkCore - b403b17b493cb96059bdc3ef01d184a0213293f2 + e2fe2f425e976394d933ad5fcf304fd3de6759f5 - + https://github.com/aspnet/EntityFrameworkCore - b403b17b493cb96059bdc3ef01d184a0213293f2 + e2fe2f425e976394d933ad5fcf304fd3de6759f5 - + https://github.com/aspnet/EntityFrameworkCore - b403b17b493cb96059bdc3ef01d184a0213293f2 + e2fe2f425e976394d933ad5fcf304fd3de6759f5 - + https://github.com/aspnet/EntityFrameworkCore - b403b17b493cb96059bdc3ef01d184a0213293f2 + e2fe2f425e976394d933ad5fcf304fd3de6759f5 - + https://github.com/aspnet/EntityFrameworkCore - b403b17b493cb96059bdc3ef01d184a0213293f2 + e2fe2f425e976394d933ad5fcf304fd3de6759f5 - + https://github.com/aspnet/EntityFrameworkCore - b403b17b493cb96059bdc3ef01d184a0213293f2 + e2fe2f425e976394d933ad5fcf304fd3de6759f5 - + https://github.com/aspnet/EntityFrameworkCore - b403b17b493cb96059bdc3ef01d184a0213293f2 + e2fe2f425e976394d933ad5fcf304fd3de6759f5 - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a https://github.com/dotnet/corefx @@ -381,25 +381,30 @@ https://github.com/dotnet/corefx 4ac4c0367003fe3973a3648eb0715ddb0e3bbcea - - https://github.com/dotnet/core-setup - 7d57652f33493fa022125b7f63aad0d70c52d810 - - + https://github.com/dotnet/core-setup - 7d57652f33493fa022125b7f63aad0d70c52d810 + 903ca49e3ffddc551e12d2f94d7cca95f9a340bf - + https://github.com/dotnet/core-setup - 7d57652f33493fa022125b7f63aad0d70c52d810 + 903ca49e3ffddc551e12d2f94d7cca95f9a340bf https://github.com/dotnet/core-setup - 7d57652f33493fa022125b7f63aad0d70c52d810 + 903ca49e3ffddc551e12d2f94d7cca95f9a340bf + + + + https://github.com/dotnet/core-setup + 903ca49e3ffddc551e12d2f94d7cca95f9a340bf + + + https://github.com/aspnet/Extensions + 0b951c16de0f39e13cce8372e11c28eb90576662 @@ -408,25 +413,25 @@ https://github.com/dotnet/corefx 4ac4c0367003fe3973a3648eb0715ddb0e3bbcea - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a - + https://github.com/dotnet/arcade - f8546fbab59a74a66c83b8cb76b3f6877ce1d374 + 0e9ffd6464aff37aef2dc41dc2162d258f266e32 - + https://github.com/dotnet/arcade - f8546fbab59a74a66c83b8cb76b3f6877ce1d374 + 0e9ffd6464aff37aef2dc41dc2162d258f266e32 - + https://github.com/dotnet/arcade - f8546fbab59a74a66c83b8cb76b3f6877ce1d374 + 0e9ffd6464aff37aef2dc41dc2162d258f266e32 - + https://github.com/aspnet/Extensions - 0b951c16de0f39e13cce8372e11c28eb90576662 + 40c00020ac632006c9db91383de246226f9cb44a https://github.com/dotnet/roslyn diff --git a/eng/Versions.props b/eng/Versions.props index 2807f945887e..32eab2e35ed9 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -22,6 +22,8 @@ 9 preview$(BlazorClientPreReleasePreviewNumber) $(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion) + + 3.0.0 false - 1.0.0-beta.19462.4 + 1.0.0-beta.19474.3 3.3.1-beta4-19462-11 - 3.0.0 - 3.0.0 - 3.0.0 + 3.0.1 + 3.0.1 + 3.0.1 2.1.0 1.0.0 @@ -98,77 +100,77 @@ 3.0.0 - 3.0.0-preview9.19462.2 + 3.0.0-preview9.19503.2 - 3.0.0-rc2.19463.5 - 3.0.0-rc2.19463.5 - 3.0.0-rc2.19463.5 - 3.0.0-rc2.19463.5 - 3.0.0-rc2.19463.5 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0-rc2.19463.5 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0-rc2.19463.5 - 3.0.0 - 3.0.0 - 3.0.0-rc2.19463.5 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0-rc2.19463.5 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0-rc2.19463.5 - 3.0.0 - 3.0.0-rc2.19463.5 - 3.0.0-rc2.19463.5 - 3.0.0 + 3.0.1-servicing.19510.1 + 3.0.1-servicing.19510.1 + 3.0.1-servicing.19510.1 + 3.0.1-servicing.19510.1 + 3.0.1-servicing.19510.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1-servicing.19510.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1-servicing.19510.1 + 3.0.1 + 3.0.1 + 3.0.1-servicing.19510.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1-servicing.19510.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1-servicing.19510.1 + 3.0.1 + 3.0.1-servicing.19510.1 + 3.0.1-servicing.19510.1 + 3.0.1 3.0.0-rc2.19463.5 - 3.0.0 - 3.0.0 + 3.0.1 + 3.0.1 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 - 3.0.0 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 + 3.0.1 3.0.1 3.0.1 diff --git a/eng/common/enable-cross-org-publishing.ps1 b/eng/common/enable-cross-org-publishing.ps1 new file mode 100644 index 000000000000..eccbf9f1b16d --- /dev/null +++ b/eng/common/enable-cross-org-publishing.ps1 @@ -0,0 +1,6 @@ +param( + [string] $token +) + +Write-Host "##vso[task.setvariable variable=VSS_NUGET_ACCESSTOKEN]$token" +Write-Host "##vso[task.setvariable variable=VSS_NUGET_URI_PREFIXES]https://dnceng.pkgs.visualstudio.com/;https://pkgs.dev.azure.com/dnceng/;https://devdiv.pkgs.visualstudio.com/;https://pkgs.dev.azure.com/devdiv/" diff --git a/eng/common/sdl/extract-artifact-packages.ps1 b/eng/common/sdl/extract-artifact-packages.ps1 index 1fdbb14329c4..6e6825013bf5 100644 --- a/eng/common/sdl/extract-artifact-packages.ps1 +++ b/eng/common/sdl/extract-artifact-packages.ps1 @@ -5,6 +5,13 @@ param( $ErrorActionPreference = "Stop" Set-StrictMode -Version 2.0 + +# `tools.ps1` checks $ci to perform some actions. Since the post-build +# scripts don't necessarily execute in the same agent that run the +# build.ps1/sh script this variable isn't automatically set. +$ci = $true +. $PSScriptRoot\..\tools.ps1 + $ExtractPackage = { param( [string] $PackagePath # Full path to a NuGet package diff --git a/eng/common/templates/post-build/channels/netcore-3-tools-validation.yml b/eng/common/templates/post-build/channels/netcore-3-tools-validation.yml new file mode 100644 index 000000000000..cdb74031fcfc --- /dev/null +++ b/eng/common/templates/post-build/channels/netcore-3-tools-validation.yml @@ -0,0 +1,95 @@ +parameters: + artifactsPublishingAdditionalParameters: '' + publishInstallersAndChecksums: false + +stages: +- stage: NetCore_3_Tools_Validation_Publish + dependsOn: validate + variables: + - template: ../common-variables.yml + displayName: .NET 3 Tools - Validation Publishing + jobs: + - template: ../setup-maestro-vars.yml + + - job: publish_assets + displayName: Publish Assets + dependsOn: setupMaestroVars + variables: + - group: DotNet-Blob-Feed + - group: AzureDevOps-Artifact-Feeds-Pats + - name: BARBuildId + value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ] + - name: IsStableBuild + value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.IsStableBuild'] ] + condition: contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], format('[{0}]', variables.NETCore_3_Tools_Validation_Channel_Id)) + pool: + vmImage: 'windows-2019' + steps: + - task: DownloadBuildArtifacts@0 + displayName: Download Package Artifacts + inputs: + buildType: current + artifactName: PackageArtifacts + + - task: DownloadBuildArtifacts@0 + displayName: Download Blob Artifacts + inputs: + buildType: current + artifactName: BlobArtifacts + + - task: DownloadBuildArtifacts@0 + displayName: Download Asset Manifests + inputs: + buildType: current + artifactName: AssetManifests + + - task: NuGetToolInstaller@1 + displayName: 'Install NuGet.exe' + + # This is necessary whenever we want to publish/restore to an AzDO private feed + - task: NuGetAuthenticate@0 + displayName: 'Authenticate to AzDO Feeds' + + - task: PowerShell@2 + displayName: Enable cross-org publishing + inputs: + filePath: eng\common\enable-cross-org-publishing.ps1 + arguments: -token $(dn-bot-dnceng-artifact-feeds-rw) + + - task: PowerShell@2 + displayName: Publish Assets + inputs: + filePath: eng\common\sdk-task.ps1 + arguments: -task PublishArtifactsInManifest -restore -msbuildEngine dotnet + /p:ArtifactsCategory=$(_DotNetValidationArtifactsCategory) + /p:IsStableBuild=$(IsStableBuild) + /p:IsInternalBuild=$(IsInternalBuild) + /p:RepositoryName=$(Build.Repository.Name) + /p:CommitSha=$(Build.SourceVersion) + /p:NugetPath=$(NuGetExeToolPath) + /p:AzdoTargetFeedPAT='$(dn-bot-dnceng-universal-packages-rw)' + /p:AzureStorageTargetFeedPAT='$(dotnetfeed-storage-access-key-1)' + /p:BARBuildId=$(BARBuildId) + /p:MaestroApiEndpoint='$(MaestroApiEndPoint)' + /p:BuildAssetRegistryToken='$(MaestroApiAccessToken)' + /p:ManifestsBasePath='$(Build.ArtifactStagingDirectory)/AssetManifests/' + /p:BlobBasePath='$(Build.ArtifactStagingDirectory)/BlobArtifacts/' + /p:PackageBasePath='$(Build.ArtifactStagingDirectory)/PackageArtifacts/' + /p:Configuration=Release + /p:PublishInstallersAndChecksums=${{ parameters.publishInstallersAndChecksums }} + /p:InstallersTargetStaticFeed=$(InstallersBlobFeedUrl) + /p:InstallersAzureAccountKey=$(dotnetcli-storage-key) + /p:ChecksumsTargetStaticFeed=$(ChecksumsBlobFeedUrl) + /p:ChecksumsAzureAccountKey=$(dotnetclichecksums-storage-key) + /p:PublishToAzureDevOpsNuGetFeeds=true + /p:AzureDevOpsStaticShippingFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json' + /p:AzureDevOpsStaticShippingFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)' + /p:AzureDevOpsStaticTransportFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json' + /p:AzureDevOpsStaticTransportFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)' + /p:AzureDevOpsStaticSymbolsFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools-symbols/nuget/v3/index.json' + /p:AzureDevOpsStaticSymbolsFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)' + ${{ parameters.artifactsPublishingAdditionalParameters }} + + - template: ../../steps/promote-build.yml + parameters: + ChannelId: ${{ variables.NETCore_3_Tools_Validation_Channel_Id }} diff --git a/eng/common/templates/post-build/channels/netcore-dev-30.yml b/eng/common/templates/post-build/channels/netcore-3-tools.yml similarity index 82% rename from eng/common/templates/post-build/channels/netcore-dev-30.yml rename to eng/common/templates/post-build/channels/netcore-3-tools.yml index 69f1a9013e04..70eec773e750 100644 --- a/eng/common/templates/post-build/channels/netcore-dev-30.yml +++ b/eng/common/templates/post-build/channels/netcore-3-tools.yml @@ -4,18 +4,18 @@ parameters: publishInstallersAndChecksums: false stages: -- stage: NetCore_Dev30_Publish +- stage: NetCore_3_Tools_Publish dependsOn: validate variables: - template: ../common-variables.yml - displayName: .NET Core 3.0 Dev Publishing + displayName: .NET 3 Tools Publishing jobs: - template: ../setup-maestro-vars.yml - job: displayName: Symbol Publishing dependsOn: setupMaestroVars - condition: contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], format('[{0}]', variables.PublicDevRelease_30_Channel_Id)) + condition: contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], format('[{0}]', variables.NetCore_3_Tools_Channel_Id)) variables: - group: DotNet-Symbol-Server-Pats pool: @@ -56,7 +56,7 @@ stages: value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ] - name: IsStableBuild value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.IsStableBuild'] ] - condition: contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], format('[{0}]', variables.PublicDevRelease_30_Channel_Id)) + condition: contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], format('[{0}]', variables.NetCore_3_Tools_Channel_Id)) pool: vmImage: 'windows-2019' steps: @@ -85,42 +85,46 @@ stages: - task: NuGetAuthenticate@0 displayName: 'Authenticate to AzDO Feeds' + - task: PowerShell@2 + displayName: Enable cross-org publishing + inputs: + filePath: eng\common\enable-cross-org-publishing.ps1 + arguments: -token $(dn-bot-dnceng-artifact-feeds-rw) + - task: PowerShell@2 displayName: Publish Assets - env: - AZURE_DEVOPS_EXT_PAT: $(dn-bot-dnceng-universal-packages-rw) inputs: filePath: eng\common\sdk-task.ps1 - arguments: -task PublishArtifactsInManifest -restore -msbuildEngine dotnet + arguments: -task PublishArtifactsInManifest -restore -msbuildEngine dotnet /p:ArtifactsCategory=$(_DotNetArtifactsCategory) /p:IsStableBuild=$(IsStableBuild) /p:IsInternalBuild=$(IsInternalBuild) /p:RepositoryName=$(Build.Repository.Name) /p:CommitSha=$(Build.SourceVersion) /p:NugetPath=$(NuGetExeToolPath) - /p:AzdoTargetFeedPAT='$(dn-bot-dnceng-universal-packages-rw)' - /p:AzureStorageTargetFeedPAT='$(dotnetfeed-storage-access-key-1)' - /p:BARBuildId=$(BARBuildId) - /p:MaestroApiEndpoint='$(MaestroApiEndPoint)' - /p:BuildAssetRegistryToken='$(MaestroApiAccessToken)' - /p:ManifestsBasePath='$(Build.ArtifactStagingDirectory)/AssetManifests/' - /p:BlobBasePath='$(Build.ArtifactStagingDirectory)/BlobArtifacts/' - /p:PackageBasePath='$(Build.ArtifactStagingDirectory)/PackageArtifacts/' - /p:Configuration=Release + /p:AzdoTargetFeedPAT='$(dn-bot-dnceng-universal-packages-rw)' + /p:AzureStorageTargetFeedPAT='$(dotnetfeed-storage-access-key-1)' + /p:BARBuildId=$(BARBuildId) + /p:MaestroApiEndpoint='$(MaestroApiEndPoint)' + /p:BuildAssetRegistryToken='$(MaestroApiAccessToken)' + /p:ManifestsBasePath='$(Build.ArtifactStagingDirectory)/AssetManifests/' + /p:BlobBasePath='$(Build.ArtifactStagingDirectory)/BlobArtifacts/' + /p:PackageBasePath='$(Build.ArtifactStagingDirectory)/PackageArtifacts/' + /p:Configuration=Release /p:PublishInstallersAndChecksums=${{ parameters.publishInstallersAndChecksums }} /p:InstallersTargetStaticFeed=$(InstallersBlobFeedUrl) /p:InstallersAzureAccountKey=$(dotnetcli-storage-key) /p:ChecksumsTargetStaticFeed=$(ChecksumsBlobFeedUrl) /p:ChecksumsAzureAccountKey=$(dotnetclichecksums-storage-key) /p:PublishToAzureDevOpsNuGetFeeds=true - /p:AzureDevOpsStaticShippingFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3/nuget/v3/index.json' + /p:AzureDevOpsStaticShippingFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json' /p:AzureDevOpsStaticShippingFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)' - /p:AzureDevOpsStaticTransportFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3-transport/nuget/v3/index.json' + /p:AzureDevOpsStaticTransportFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json' /p:AzureDevOpsStaticTransportFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)' - /p:AzureDevOpsStaticSymbolsFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3-symbols/nuget/v3/index.json' + /p:AzureDevOpsStaticSymbolsFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools-symbols/nuget/v3/index.json' /p:AzureDevOpsStaticSymbolsFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)' ${{ parameters.artifactsPublishingAdditionalParameters }} - template: ../../steps/promote-build.yml parameters: - ChannelId: ${{ variables.PublicDevRelease_30_Channel_Id }} + ChannelId: ${{ variables.NetCore_3_Tools_Channel_Id }} \ No newline at end of file diff --git a/eng/common/templates/post-build/channels/netcore-dev-31.yml b/eng/common/templates/post-build/channels/netcore-dev-31.yml index 720a0ab08a22..db21254187d9 100644 --- a/eng/common/templates/post-build/channels/netcore-dev-31.yml +++ b/eng/common/templates/post-build/channels/netcore-dev-31.yml @@ -85,10 +85,14 @@ stages: - task: NuGetAuthenticate@0 displayName: 'Authenticate to AzDO Feeds' + - task: PowerShell@2 + displayName: Enable cross-org publishing + inputs: + filePath: eng\common\enable-cross-org-publishing.ps1 + arguments: -token $(dn-bot-dnceng-artifact-feeds-rw) + - task: PowerShell@2 displayName: Publish Assets - env: - AZURE_DEVOPS_EXT_PAT: $(dn-bot-dnceng-universal-packages-rw) inputs: filePath: eng\common\sdk-task.ps1 arguments: -task PublishArtifactsInManifest -restore -msbuildEngine dotnet diff --git a/eng/common/templates/post-build/channels/netcore-dev-5.yml b/eng/common/templates/post-build/channels/netcore-dev-5.yml index 9c81e39e9cf8..c4f5a16acb62 100644 --- a/eng/common/templates/post-build/channels/netcore-dev-5.yml +++ b/eng/common/templates/post-build/channels/netcore-dev-5.yml @@ -85,10 +85,14 @@ stages: - task: NuGetAuthenticate@0 displayName: 'Authenticate to AzDO Feeds' + - task: PowerShell@2 + displayName: Enable cross-org publishing + inputs: + filePath: eng\common\enable-cross-org-publishing.ps1 + arguments: -token $(dn-bot-dnceng-artifact-feeds-rw) + - task: PowerShell@2 displayName: Publish Assets - env: - AZURE_DEVOPS_EXT_PAT: $(dn-bot-dnceng-universal-packages-rw) inputs: filePath: eng\common\sdk-task.ps1 arguments: -task PublishArtifactsInManifest -restore -msbuildEngine dotnet diff --git a/eng/common/templates/post-build/channels/netcore-internal-30.yml b/eng/common/templates/post-build/channels/netcore-internal-30.yml index 053163cf6ade..177b38df3571 100644 --- a/eng/common/templates/post-build/channels/netcore-internal-30.yml +++ b/eng/common/templates/post-build/channels/netcore-internal-30.yml @@ -84,10 +84,14 @@ stages: - task: NuGetAuthenticate@0 displayName: 'Authenticate to AzDO Feeds' + - task: PowerShell@2 + displayName: Enable cross-org publishing + inputs: + filePath: eng\common\enable-cross-org-publishing.ps1 + arguments: -token $(dn-bot-dnceng-artifact-feeds-rw) + - task: PowerShell@2 displayName: Publish Assets - env: - AZURE_DEVOPS_EXT_PAT: $(dn-bot-dnceng-universal-packages-rw) inputs: filePath: eng\common\sdk-task.ps1 arguments: -task PublishArtifactsInManifest -restore -msbuildEngine dotnet diff --git a/eng/common/templates/post-build/channels/netcore-release-30.yml b/eng/common/templates/post-build/channels/netcore-release-30.yml index 8ba9237ffc04..16ade0db29de 100644 --- a/eng/common/templates/post-build/channels/netcore-release-30.yml +++ b/eng/common/templates/post-build/channels/netcore-release-30.yml @@ -85,10 +85,14 @@ stages: - task: NuGetAuthenticate@0 displayName: 'Authenticate to AzDO Feeds' + - task: PowerShell@2 + displayName: Enable cross-org publishing + inputs: + filePath: eng\common\enable-cross-org-publishing.ps1 + arguments: -token $(dn-bot-dnceng-artifact-feeds-rw) + - task: PowerShell@2 displayName: Publish Assets - env: - AZURE_DEVOPS_EXT_PAT: $(dn-bot-dnceng-universal-packages-rw) inputs: filePath: eng\common\sdk-task.ps1 arguments: -task PublishArtifactsInManifest -restore -msbuildEngine dotnet diff --git a/eng/common/templates/post-build/channels/netcore-release-31.yml b/eng/common/templates/post-build/channels/netcore-release-31.yml index d8270eadaeab..01d56410c7d4 100644 --- a/eng/common/templates/post-build/channels/netcore-release-31.yml +++ b/eng/common/templates/post-build/channels/netcore-release-31.yml @@ -85,10 +85,14 @@ stages: - task: NuGetAuthenticate@0 displayName: 'Authenticate to AzDO Feeds' + - task: PowerShell@2 + displayName: Enable cross-org publishing + inputs: + filePath: eng\common\enable-cross-org-publishing.ps1 + arguments: -token $(dn-bot-dnceng-artifact-feeds-rw) + - task: PowerShell@2 displayName: Publish Assets - env: - AZURE_DEVOPS_EXT_PAT: $(dn-bot-dnceng-universal-packages-rw) inputs: filePath: eng\common\sdk-task.ps1 arguments: -task PublishArtifactsInManifest -restore -msbuildEngine dotnet diff --git a/eng/common/templates/post-build/channels/netcore-tools-latest.yml b/eng/common/templates/post-build/channels/netcore-tools-latest.yml index c75d18673396..157d2d4b9772 100644 --- a/eng/common/templates/post-build/channels/netcore-tools-latest.yml +++ b/eng/common/templates/post-build/channels/netcore-tools-latest.yml @@ -85,10 +85,14 @@ stages: - task: NuGetAuthenticate@0 displayName: 'Authenticate to AzDO Feeds' + - task: PowerShell@2 + displayName: Enable cross-org publishing + inputs: + filePath: eng\common\enable-cross-org-publishing.ps1 + arguments: -token $(dn-bot-dnceng-artifact-feeds-rw) + - task: PowerShell@2 displayName: Publish Assets - env: - AZURE_DEVOPS_EXT_PAT: $(dn-bot-dnceng-universal-packages-rw) inputs: filePath: eng\common\sdk-task.ps1 arguments: -task PublishArtifactsInManifest -restore -msbuildEngine dotnet diff --git a/eng/common/templates/post-build/channels/public-validation-release.yml b/eng/common/templates/post-build/channels/netcore-tools-validation.yml similarity index 90% rename from eng/common/templates/post-build/channels/public-validation-release.yml rename to eng/common/templates/post-build/channels/netcore-tools-validation.yml index fb2c23d0f4d8..d8447e49af6f 100644 --- a/eng/common/templates/post-build/channels/public-validation-release.yml +++ b/eng/common/templates/post-build/channels/netcore-tools-validation.yml @@ -21,7 +21,7 @@ stages: value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ] - name: IsStableBuild value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.IsStableBuild'] ] - condition: contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], format('[{0}]', variables.PublicValidationRelease_30_Channel_Id)) + condition: contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], format('[{0}]', variables.NetCore_Tools_Validation_Channel_Id)) pool: vmImage: 'windows-2019' steps: @@ -50,10 +50,14 @@ stages: - task: NuGetAuthenticate@0 displayName: 'Authenticate to AzDO Feeds' + - task: PowerShell@2 + displayName: Enable cross-org publishing + inputs: + filePath: eng\common\enable-cross-org-publishing.ps1 + arguments: -token $(dn-bot-dnceng-artifact-feeds-rw) + - task: PowerShell@2 displayName: Publish Assets - env: - AZURE_DEVOPS_EXT_PAT: $(dn-bot-dnceng-universal-packages-rw) inputs: filePath: eng\common\sdk-task.ps1 arguments: -task PublishArtifactsInManifest -restore -msbuildEngine dotnet @@ -88,4 +92,4 @@ stages: - template: ../../steps/promote-build.yml parameters: - ChannelId: ${{ variables.PublicValidationRelease_30_Channel_Id }} + ChannelId: ${{ variables.NetCore_Tools_Validation_Channel_Id }} diff --git a/eng/common/templates/post-build/common-variables.yml b/eng/common/templates/post-build/common-variables.yml index adb2a854f206..b4eed6f186c0 100644 --- a/eng/common/templates/post-build/common-variables.yml +++ b/eng/common/templates/post-build/common-variables.yml @@ -3,10 +3,6 @@ variables: - group: DotNet-DotNetCli-Storage - group: DotNet-MSRC-Storage - # .NET Core 3 Dev - - name: PublicDevRelease_30_Channel_Id - value: 3 - # .NET Core 3.1 Dev - name: PublicDevRelease_31_Channel_Id value: 128 @@ -16,13 +12,21 @@ variables: value: 131 # .NET Tools - Validation - - name: PublicValidationRelease_30_Channel_Id + - name: NetCore_Tools_Validation_Channel_Id value: 9 # .NET Tools - Latest - name: NetCore_Tools_Latest_Channel_Id value: 2 + # .NET 3 Tools - Validation + - name: NETCore_3_Tools_Validation_Channel_Id + value: 390 + + # .NET 3 Tools - Latest + - name: NetCore_3_Tools_Channel_Id + value: 344 + # .NET Core 3.0 Internal Servicing - name: InternalServicing_30_Channel_Id value: 184 diff --git a/eng/common/templates/post-build/post-build.yml b/eng/common/templates/post-build/post-build.yml index 5b9d0a5d99bf..7ee82d9ff183 100644 --- a/eng/common/templates/post-build/post-build.yml +++ b/eng/common/templates/post-build/post-build.yml @@ -101,29 +101,34 @@ stages: artifactsPublishingAdditionalParameters: ${{ parameters.artifactsPublishingAdditionalParameters }} publishInstallersAndChecksums: ${{ parameters.publishInstallersAndChecksums }} -- template: \eng\common\templates\post-build\channels\netcore-dev-30.yml +- template: \eng\common\templates\post-build\channels\netcore-dev-31.yml parameters: symbolPublishingAdditionalParameters: ${{ parameters.symbolPublishingAdditionalParameters }} artifactsPublishingAdditionalParameters: ${{ parameters.artifactsPublishingAdditionalParameters }} publishInstallersAndChecksums: ${{ parameters.publishInstallersAndChecksums }} -- template: \eng\common\templates\post-build\channels\netcore-dev-31.yml +- template: \eng\common\templates\post-build\channels\netcore-tools-latest.yml parameters: symbolPublishingAdditionalParameters: ${{ parameters.symbolPublishingAdditionalParameters }} artifactsPublishingAdditionalParameters: ${{ parameters.artifactsPublishingAdditionalParameters }} publishInstallersAndChecksums: ${{ parameters.publishInstallersAndChecksums }} -- template: \eng\common\templates\post-build\channels\netcore-tools-latest.yml +- template: \eng\common\templates\post-build\channels\netcore-tools-validation.yml parameters: - symbolPublishingAdditionalParameters: ${{ parameters.symbolPublishingAdditionalParameters }} artifactsPublishingAdditionalParameters: ${{ parameters.artifactsPublishingAdditionalParameters }} publishInstallersAndChecksums: ${{ parameters.publishInstallersAndChecksums }} -- template: \eng\common\templates\post-build\channels\public-validation-release.yml +- template: \eng\common\templates\post-build\channels\netcore-3-tools-validation.yml parameters: artifactsPublishingAdditionalParameters: ${{ parameters.artifactsPublishingAdditionalParameters }} publishInstallersAndChecksums: ${{ parameters.publishInstallersAndChecksums }} +- template: \eng\common\templates\post-build\channels\netcore-3-tools.yml + parameters: + symbolPublishingAdditionalParameters: ${{ parameters.symbolPublishingAdditionalParameters }} + artifactsPublishingAdditionalParameters: ${{ parameters.artifactsPublishingAdditionalParameters }} + publishInstallersAndChecksums: ${{ parameters.publishInstallersAndChecksums }} + - template: \eng\common\templates\post-build\channels\netcore-release-30.yml parameters: symbolPublishingAdditionalParameters: ${{ parameters.symbolPublishingAdditionalParameters }} diff --git a/eng/scripts/ci-source-build.sh b/eng/scripts/ci-source-build.sh index 8b4c801d3af7..ebc50dad0a59 100755 --- a/eng/scripts/ci-source-build.sh +++ b/eng/scripts/ci-source-build.sh @@ -30,10 +30,10 @@ trap "{ mv "$reporoot/global.bak.json" "$reporoot/global.json" }" EXIT -export DotNetBuildFromSource='true' - # Build repo tasks "$reporoot/eng/common/build.sh" --restore --build --ci --configuration Release /p:ProjectToBuild=$reporoot/eng/tools/RepoTasks/RepoTasks.csproj +export DotNetBuildFromSource='true' + # Build projects "$reporoot/eng/common/build.sh" --restore --build --pack "$@" \ No newline at end of file diff --git a/eng/targets/ReferenceAssembly.targets b/eng/targets/ReferenceAssembly.targets index 74cbf583e339..5f4345e0c481 100644 --- a/eng/targets/ReferenceAssembly.targets +++ b/eng/targets/ReferenceAssembly.targets @@ -23,11 +23,15 @@ + <_ExcludeFromSourceBuild Condition="'$(IsAspNetCoreApp)' == 'true' OR '$(IsAnalyzersProject)' == 'true'">false +]]> + - @(_ResultTargetFramework) + @(_ResultTargetFramework)$(_ExcludeFromSourceBuild) @(ProjectListContentItem->'%(Identity)', '%0A') diff --git a/eng/targets/ResolveReferences.targets b/eng/targets/ResolveReferences.targets index 4efbe58e9769..340ceabe6446 100644 --- a/eng/targets/ResolveReferences.targets +++ b/eng/targets/ResolveReferences.targets @@ -50,10 +50,10 @@ true false - true + true false - true + true false @@ -157,7 +157,78 @@ - + + + + + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Caching.Abstractions" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Caching.Memory" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Caching.SqlServer" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Caching.StackExchangeRedis" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Configuration.Abstractions" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Configuration.AzureKeyVault" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Configuration.Binder" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Configuration.CommandLine" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Configuration" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Configuration.EnvironmentVariables" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Configuration.FileExtensions" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Configuration.Ini" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Configuration.Json" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Configuration.KeyPerFile" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Configuration.NewtonsoftJson" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Configuration.UserSecrets" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.DependencyInjection.Abstractions" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.DependencyInjection" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.DiagnosticAdapter" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Diagnostics.HealthChecks" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.FileProviders.Abstractions" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.FileProviders.Composite" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.FileProviders.Embedded" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.FileProviders.Physical" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.FileSystemGlobbing" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Hosting.Abstractions" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Hosting" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Hosting.Systemd" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Hosting.WindowsServices" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Http" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Http.Polly" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Localization.Abstractions" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Localization" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Logging.Abstractions" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Logging.AzureAppServices" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Logging.Configuration" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Logging.Console" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Logging.Debug" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Logging" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Logging.EventLog" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Logging.EventSource" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Logging.TraceSource" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.ObjectPool" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Options.ConfigurationExtensions" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Options.DataAnnotations" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Options" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Primitives" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.WebEncoders" /> + <_ExtensionInternalRefAssemblies Include="Microsoft.JSInterop" /> + <_ExtensionInternalRefAssemblies Include="Mono.WebAssembly.Interop" /> + + + <_NonExtensionPackageReferences Include="@(_LatestPackageReferenceWithVersion)" Exclude="@(_ExtensionInternalRefAssemblies)" /> + <_ExtensionPackageReferences Include="@(_LatestPackageReferenceWithVersion)" Exclude="@(_NonExtensionPackageReferences)" /> + + + <_LatestPackageReferenceWithVersion Remove="@(_ExtensionPackageReferences)" /> + + + + + + + + + true + <_BaselinePackageReferenceWithVersion Include="@(Reference)" Condition=" '$(IsServicingBuild)' == 'true' OR '$(UseLatestPackageReferences)' != 'true' "> diff --git a/global.json b/global.json index 5eca702e522c..fa652db0a902 100644 --- a/global.json +++ b/global.json @@ -25,7 +25,7 @@ }, "msbuild-sdks": { "Yarn.MSBuild": "1.15.2", - "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19462.4", - "Microsoft.DotNet.Helix.Sdk": "2.0.0-beta.19462.4" + "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19474.3", + "Microsoft.DotNet.Helix.Sdk": "2.0.0-beta.19474.3" } } diff --git a/src/Analyzers/Analyzers/test/AnalyzerTestBase.cs b/src/Analyzers/Analyzers/test/AnalyzerTestBase.cs index ed80fa3d08de..269c50a394b0 100644 --- a/src/Analyzers/Analyzers/test/AnalyzerTestBase.cs +++ b/src/Analyzers/Analyzers/test/AnalyzerTestBase.cs @@ -39,7 +39,7 @@ public Project CreateProject(string source) } var read = Read(source); - return DiagnosticProject.Create(GetType().Assembly, new[] { read.Source, }); + return AnalyzersDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { read.Source, }); } public Task CreateCompilationAsync(string source) diff --git a/src/Analyzers/Analyzers/test/AnalyzersDiagnosticAnalyzerRunner.cs b/src/Analyzers/Analyzers/test/AnalyzersDiagnosticAnalyzerRunner.cs index 57a8ce8a697f..f54a187c0e7e 100644 --- a/src/Analyzers/Analyzers/test/AnalyzersDiagnosticAnalyzerRunner.cs +++ b/src/Analyzers/Analyzers/test/AnalyzersDiagnosticAnalyzerRunner.cs @@ -2,6 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; +using System.IO; +using System.Linq; +using System.Reflection; using System.Threading.Tasks; using Microsoft.AspNetCore.Analyzer.Testing; using Microsoft.CodeAnalysis; @@ -20,7 +23,28 @@ public AnalyzersDiagnosticAnalyzerRunner(DiagnosticAnalyzer analyzer) public Task GetDiagnosticsAsync(string source) { - return GetDiagnosticsAsync(sources: new[] { source }, Analyzer, Array.Empty()); + var project = CreateProjectWithReferencesInBinDir(GetType().Assembly, source); + + return GetDiagnosticsAsync(project); + } + + public static Project CreateProjectWithReferencesInBinDir(Assembly testAssembly, params string[] source) + { + // The deps file in the project is incorrect and does not contain "compile" nodes for some references. + // However these binaries are always present in the bin output. As a "temporary" workaround, we'll add + // every dll file that's present in the test's build output as a metadatareference. + + var project = DiagnosticProject.Create(testAssembly, source); + + foreach (var assembly in Directory.EnumerateFiles(AppContext.BaseDirectory, "*.dll")) + { + if (!project.MetadataReferences.Any(c => string.Equals(Path.GetFileNameWithoutExtension(c.Display), Path.GetFileNameWithoutExtension(assembly), StringComparison.OrdinalIgnoreCase))) + { + project = project.AddMetadataReference(MetadataReference.CreateFromFile(assembly)); + } + } + + return project; } public Task GetDiagnosticsAsync(Project project) diff --git a/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj b/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj index 5f34ef3e76e8..2a99290b34eb 100644 --- a/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj +++ b/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.csproj b/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.csproj index d60eb3159494..8776ab9fef14 100644 --- a/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.csproj +++ b/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.csproj @@ -2,6 +2,8 @@ netstandard2.0;netcoreapp3.0 + false + diff --git a/src/Components/Blazor/testassets/Directory.Build.props b/src/Components/Blazor/testassets/Directory.Build.props new file mode 100644 index 000000000000..938199f96ec5 --- /dev/null +++ b/src/Components/Blazor/testassets/Directory.Build.props @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/src/Components/Components/ref/Microsoft.AspNetCore.Components.csproj b/src/Components/Components/ref/Microsoft.AspNetCore.Components.csproj index 3f0b80424f8c..943bf6782739 100644 --- a/src/Components/Components/ref/Microsoft.AspNetCore.Components.csproj +++ b/src/Components/Components/ref/Microsoft.AspNetCore.Components.csproj @@ -2,6 +2,8 @@ netstandard2.0;netcoreapp3.0 + false + diff --git a/src/Components/Forms/ref/Microsoft.AspNetCore.Components.Forms.csproj b/src/Components/Forms/ref/Microsoft.AspNetCore.Components.Forms.csproj index 8e24904b634a..b3fe863ead5d 100644 --- a/src/Components/Forms/ref/Microsoft.AspNetCore.Components.Forms.csproj +++ b/src/Components/Forms/ref/Microsoft.AspNetCore.Components.Forms.csproj @@ -2,6 +2,8 @@ netstandard2.0;netcoreapp3.0 + false + diff --git a/src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.csproj b/src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.csproj index 21f0c740e53c..3cdf8cc2becc 100644 --- a/src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.csproj +++ b/src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Components/Web/ref/Microsoft.AspNetCore.Components.Web.csproj b/src/Components/Web/ref/Microsoft.AspNetCore.Components.Web.csproj index 74a0b82c27d0..6415de5e4fd3 100644 --- a/src/Components/Web/ref/Microsoft.AspNetCore.Components.Web.csproj +++ b/src/Components/Web/ref/Microsoft.AspNetCore.Components.Web.csproj @@ -2,6 +2,8 @@ netstandard2.0;netcoreapp3.0 + false + diff --git a/src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj b/src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj index 6b91b2d230c9..9bf03e1c503c 100644 --- a/src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj +++ b/src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj @@ -9,13 +9,13 @@ false - + true - + false @@ -28,6 +28,8 @@ + + diff --git a/src/Components/test/testassets/Directory.Build.props b/src/Components/test/testassets/Directory.Build.props new file mode 100644 index 000000000000..938199f96ec5 --- /dev/null +++ b/src/Components/test/testassets/Directory.Build.props @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/src/DataProtection/Abstractions/ref/Microsoft.AspNetCore.DataProtection.Abstractions.csproj b/src/DataProtection/Abstractions/ref/Microsoft.AspNetCore.DataProtection.Abstractions.csproj index 62dd2d978a90..4e04929cd187 100644 --- a/src/DataProtection/Abstractions/ref/Microsoft.AspNetCore.DataProtection.Abstractions.csproj +++ b/src/DataProtection/Abstractions/ref/Microsoft.AspNetCore.DataProtection.Abstractions.csproj @@ -2,6 +2,8 @@ netstandard2.0 + false + diff --git a/src/DataProtection/Cryptography.Internal/ref/Directory.Build.props b/src/DataProtection/Cryptography.Internal/ref/Directory.Build.props new file mode 100644 index 000000000000..b500fb5d98e7 --- /dev/null +++ b/src/DataProtection/Cryptography.Internal/ref/Directory.Build.props @@ -0,0 +1,8 @@ + + + + + true + $(NoWarn);CS0169 + + \ No newline at end of file diff --git a/src/DataProtection/Cryptography.Internal/ref/Microsoft.AspNetCore.Cryptography.Internal.Manual.cs b/src/DataProtection/Cryptography.Internal/ref/Microsoft.AspNetCore.Cryptography.Internal.Manual.cs new file mode 100644 index 000000000000..8120f4169951 --- /dev/null +++ b/src/DataProtection/Cryptography.Internal/ref/Microsoft.AspNetCore.Cryptography.Internal.Manual.cs @@ -0,0 +1,417 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Cryptography.KeyDerivation, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.DataProtection, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] + +namespace Microsoft.AspNetCore.Cryptography +{ + internal static partial class Constants + { + internal const string BCRYPT_3DES_112_ALGORITHM = "3DES_112"; + internal const string BCRYPT_3DES_ALGORITHM = "3DES"; + internal const string BCRYPT_AES_ALGORITHM = "AES"; + internal const string BCRYPT_AES_CMAC_ALGORITHM = "AES-CMAC"; + internal const string BCRYPT_AES_GMAC_ALGORITHM = "AES-GMAC"; + internal const string BCRYPT_AES_WRAP_KEY_BLOB = "Rfc3565KeyWrapBlob"; + internal const string BCRYPT_ALGORITHM_NAME = "AlgorithmName"; + internal const string BCRYPT_AUTH_TAG_LENGTH = "AuthTagLength"; + internal const string BCRYPT_BLOCK_LENGTH = "BlockLength"; + internal const string BCRYPT_BLOCK_SIZE_LIST = "BlockSizeList"; + internal const string BCRYPT_CAPI_KDF_ALGORITHM = "CAPI_KDF"; + internal const string BCRYPT_CHAINING_MODE = "ChainingMode"; + internal const string BCRYPT_CHAIN_MODE_CBC = "ChainingModeCBC"; + internal const string BCRYPT_CHAIN_MODE_CCM = "ChainingModeCCM"; + internal const string BCRYPT_CHAIN_MODE_CFB = "ChainingModeCFB"; + internal const string BCRYPT_CHAIN_MODE_ECB = "ChainingModeECB"; + internal const string BCRYPT_CHAIN_MODE_GCM = "ChainingModeGCM"; + internal const string BCRYPT_CHAIN_MODE_NA = "ChainingModeN/A"; + internal const string BCRYPT_DESX_ALGORITHM = "DESX"; + internal const string BCRYPT_DES_ALGORITHM = "DES"; + internal const string BCRYPT_DH_ALGORITHM = "DH"; + internal const string BCRYPT_DSA_ALGORITHM = "DSA"; + internal const string BCRYPT_ECDH_P256_ALGORITHM = "ECDH_P256"; + internal const string BCRYPT_ECDH_P384_ALGORITHM = "ECDH_P384"; + internal const string BCRYPT_ECDH_P521_ALGORITHM = "ECDH_P521"; + internal const string BCRYPT_ECDSA_P256_ALGORITHM = "ECDSA_P256"; + internal const string BCRYPT_ECDSA_P384_ALGORITHM = "ECDSA_P384"; + internal const string BCRYPT_ECDSA_P521_ALGORITHM = "ECDSA_P521"; + internal const string BCRYPT_EFFECTIVE_KEY_LENGTH = "EffectiveKeyLength"; + internal const string BCRYPT_HASH_BLOCK_LENGTH = "HashBlockLength"; + internal const string BCRYPT_HASH_LENGTH = "HashDigestLength"; + internal const string BCRYPT_HASH_OID_LIST = "HashOIDList"; + internal const string BCRYPT_IS_KEYED_HASH = "IsKeyedHash"; + internal const string BCRYPT_IS_REUSABLE_HASH = "IsReusableHash"; + internal const string BCRYPT_KEY_DATA_BLOB = "KeyDataBlob"; + internal const string BCRYPT_KEY_LENGTH = "KeyLength"; + internal const string BCRYPT_KEY_LENGTHS = "KeyLengths"; + internal const string BCRYPT_KEY_OBJECT_LENGTH = "KeyObjectLength"; + internal const string BCRYPT_KEY_STRENGTH = "KeyStrength"; + internal const string BCRYPT_MD2_ALGORITHM = "MD2"; + internal const string BCRYPT_MD4_ALGORITHM = "MD4"; + internal const string BCRYPT_MD5_ALGORITHM = "MD5"; + internal const string BCRYPT_MESSAGE_BLOCK_LENGTH = "MessageBlockLength"; + internal const string BCRYPT_OBJECT_LENGTH = "ObjectLength"; + internal const string BCRYPT_OPAQUE_KEY_BLOB = "OpaqueKeyBlob"; + internal const string BCRYPT_PADDING_SCHEMES = "PaddingSchemes"; + internal const string BCRYPT_PBKDF2_ALGORITHM = "PBKDF2"; + internal const string BCRYPT_PRIMITIVE_TYPE = "PrimitiveType"; + internal const string BCRYPT_PROVIDER_HANDLE = "ProviderHandle"; + internal const string BCRYPT_RC2_ALGORITHM = "RC2"; + internal const string BCRYPT_RC4_ALGORITHM = "RC4"; + internal const string BCRYPT_RNG_ALGORITHM = "RNG"; + internal const string BCRYPT_RNG_DUAL_EC_ALGORITHM = "DUALECRNG"; + internal const string BCRYPT_RNG_FIPS186_DSA_ALGORITHM = "FIPS186DSARNG"; + internal const string BCRYPT_RSA_ALGORITHM = "RSA"; + internal const string BCRYPT_RSA_SIGN_ALGORITHM = "RSA_SIGN"; + internal const string BCRYPT_SHA1_ALGORITHM = "SHA1"; + internal const string BCRYPT_SHA256_ALGORITHM = "SHA256"; + internal const string BCRYPT_SHA384_ALGORITHM = "SHA384"; + internal const string BCRYPT_SHA512_ALGORITHM = "SHA512"; + internal const string BCRYPT_SIGNATURE_LENGTH = "SignatureLength"; + internal const string BCRYPT_SP800108_CTR_HMAC_ALGORITHM = "SP800_108_CTR_HMAC"; + internal const string BCRYPT_SP80056A_CONCAT_ALGORITHM = "SP800_56A_CONCAT"; + internal const int MAX_STACKALLOC_BYTES = 256; + internal const string MS_PLATFORM_CRYPTO_PROVIDER = "Microsoft Platform Crypto Provider"; + internal const string MS_PRIMITIVE_PROVIDER = "Microsoft Primitive Provider"; + } + internal static partial class CryptoUtil + { + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public static void Assert(bool condition, string message) { } + public static void AssertPlatformIsWindows() { } + public static void AssertPlatformIsWindows8OrLater() { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public static void AssertSafeHandleIsValid(System.Runtime.InteropServices.SafeHandle safeHandle) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public static System.Exception Fail(string message) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public static T Fail(string message) where T : class { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining | System.Runtime.CompilerServices.MethodImplOptions.NoOptimization)][System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] + public unsafe static bool TimeConstantBuffersAreEqual(byte* bufA, byte* bufB, uint count) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining | System.Runtime.CompilerServices.MethodImplOptions.NoOptimization)]public static bool TimeConstantBuffersAreEqual(byte[] bufA, int offsetA, int countA, byte[] bufB, int offsetB, int countB) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + internal unsafe partial struct DATA_BLOB + { + public uint cbData; + public byte* pbData; + } + internal static partial class UnsafeBufferUtil + { + [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail)] + public static void BlockCopy(Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle from, Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle to, System.IntPtr length) { } + [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail)] + public unsafe static void BlockCopy(Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle from, void* to, uint byteCount) { } + [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail)] + public unsafe static void BlockCopy(void* from, Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle to, uint byteCount) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)][System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] + public unsafe static void BlockCopy(void* from, void* to, int byteCount) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)][System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] + public unsafe static void BlockCopy(void* from, void* to, uint byteCount) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]private unsafe static void BlockCopyCore(byte* from, byte* to, uint byteCount) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]private unsafe static void BlockCopyCore(byte* from, byte* to, ulong byteCount) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)][System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] + public unsafe static void SecureZeroMemory(byte* buffer, int byteCount) { } + [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] + public unsafe static void SecureZeroMemory(byte* buffer, System.IntPtr length) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)][System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] + public unsafe static void SecureZeroMemory(byte* buffer, uint byteCount) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)][System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] + public unsafe static void SecureZeroMemory(byte* buffer, ulong byteCount) { } + } + [System.Security.SuppressUnmanagedCodeSecurityAttribute] + internal static partial class UnsafeNativeMethods + { + private const string BCRYPT_LIB = "bcrypt.dll"; + private const string CRYPT32_LIB = "crypt32.dll"; + private const string NCRYPT_LIB = "ncrypt.dll"; + private static readonly System.Lazy _lazyBCryptLibHandle; + private static readonly System.Lazy _lazyCrypt32LibHandle; + private static readonly System.Lazy _lazyNCryptLibHandle; + [System.Runtime.InteropServices.DllImport("bcrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal static extern int BCryptCloseAlgorithmProvider(System.IntPtr hAlgorithm, uint dwFlags); + [System.Runtime.InteropServices.DllImport("bcrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal unsafe static extern int BCryptCreateHash(Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle hAlgorithm, out Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle phHash, System.IntPtr pbHashObject, uint cbHashObject, byte* pbSecret, uint cbSecret, uint dwFlags); + [System.Runtime.InteropServices.DllImport("bcrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal unsafe static extern int BCryptDecrypt(Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptKeyHandle hKey, byte* pbInput, uint cbInput, void* pPaddingInfo, byte* pbIV, uint cbIV, byte* pbOutput, uint cbOutput, out uint pcbResult, Microsoft.AspNetCore.Cryptography.Cng.BCryptEncryptFlags dwFlags); + [System.Runtime.InteropServices.DllImport("bcrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal unsafe static extern int BCryptDeriveKeyPBKDF2(Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle hPrf, byte* pbPassword, uint cbPassword, byte* pbSalt, uint cbSalt, ulong cIterations, byte* pbDerivedKey, uint cbDerivedKey, uint dwFlags); + [System.Runtime.InteropServices.DllImport("bcrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)][System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] + internal static extern int BCryptDestroyHash(System.IntPtr hHash); + [System.Runtime.InteropServices.DllImport("bcrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)][System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] + internal static extern int BCryptDestroyKey(System.IntPtr hKey); + [System.Runtime.InteropServices.DllImport("bcrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal static extern int BCryptDuplicateHash(Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle hHash, out Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle phNewHash, System.IntPtr pbHashObject, uint cbHashObject, uint dwFlags); + [System.Runtime.InteropServices.DllImport("bcrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal unsafe static extern int BCryptEncrypt(Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptKeyHandle hKey, byte* pbInput, uint cbInput, void* pPaddingInfo, byte* pbIV, uint cbIV, byte* pbOutput, uint cbOutput, out uint pcbResult, Microsoft.AspNetCore.Cryptography.Cng.BCryptEncryptFlags dwFlags); + [System.Runtime.InteropServices.DllImport("bcrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal unsafe static extern int BCryptFinishHash(Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle hHash, byte* pbOutput, uint cbOutput, uint dwFlags); + [System.Runtime.InteropServices.DllImport("bcrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal unsafe static extern int BCryptGenerateSymmetricKey(Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle hAlgorithm, out Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptKeyHandle phKey, System.IntPtr pbKeyObject, uint cbKeyObject, byte* pbSecret, uint cbSecret, uint dwFlags); + [System.Runtime.InteropServices.DllImport("bcrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal unsafe static extern int BCryptGenRandom(System.IntPtr hAlgorithm, byte* pbBuffer, uint cbBuffer, Microsoft.AspNetCore.Cryptography.Cng.BCryptGenRandomFlags dwFlags); + [System.Runtime.InteropServices.DllImport("bcrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal unsafe static extern int BCryptGetProperty(Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHandle hObject, string pszProperty, void* pbOutput, uint cbOutput, out uint pcbResult, uint dwFlags); + [System.Runtime.InteropServices.DllImport("bcrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal unsafe static extern int BCryptHashData(Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle hHash, byte* pbInput, uint cbInput, uint dwFlags); + [System.Runtime.InteropServices.DllImport("bcrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal unsafe static extern int BCryptKeyDerivation(Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptKeyHandle hKey, Microsoft.AspNetCore.Cryptography.Cng.BCryptBufferDesc* pParameterList, byte* pbDerivedKey, uint cbDerivedKey, out uint pcbResult, uint dwFlags); + [System.Runtime.InteropServices.DllImport("bcrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal static extern int BCryptOpenAlgorithmProvider(out Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle phAlgorithm, string pszAlgId, string pszImplementation, uint dwFlags); + [System.Runtime.InteropServices.DllImport("bcrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal unsafe static extern int BCryptSetProperty(Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHandle hObject, string pszProperty, void* pbInput, uint cbInput, uint dwFlags); + [System.Runtime.InteropServices.DllImport("crypt32.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal unsafe static extern bool CryptProtectData(Microsoft.AspNetCore.Cryptography.DATA_BLOB* pDataIn, System.IntPtr szDataDescr, Microsoft.AspNetCore.Cryptography.DATA_BLOB* pOptionalEntropy, System.IntPtr pvReserved, System.IntPtr pPromptStruct, uint dwFlags, out Microsoft.AspNetCore.Cryptography.DATA_BLOB pDataOut); + [System.Runtime.InteropServices.DllImport("crypt32.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]public static extern bool CryptProtectMemory(System.Runtime.InteropServices.SafeHandle pData, uint cbData, uint dwFlags); + [System.Runtime.InteropServices.DllImport("crypt32.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal unsafe static extern bool CryptUnprotectData(Microsoft.AspNetCore.Cryptography.DATA_BLOB* pDataIn, System.IntPtr ppszDataDescr, Microsoft.AspNetCore.Cryptography.DATA_BLOB* pOptionalEntropy, System.IntPtr pvReserved, System.IntPtr pPromptStruct, uint dwFlags, out Microsoft.AspNetCore.Cryptography.DATA_BLOB pDataOut); + [System.Runtime.InteropServices.DllImport("crypt32.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]public unsafe static extern bool CryptUnprotectMemory(byte* pData, uint cbData, uint dwFlags); + [System.Runtime.InteropServices.DllImport("crypt32.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]public static extern bool CryptUnprotectMemory(System.Runtime.InteropServices.SafeHandle pData, uint cbData, uint dwFlags); + private static System.Lazy GetLazyLibraryHandle(string libraryName) { throw null; } + [System.Runtime.InteropServices.DllImport("ncrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)][System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] + internal static extern int NCryptCloseProtectionDescriptor(System.IntPtr hDescriptor); + [System.Runtime.InteropServices.DllImport("ncrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal static extern int NCryptCreateProtectionDescriptor(string pwszDescriptorString, uint dwFlags, out Microsoft.AspNetCore.Cryptography.SafeHandles.NCryptDescriptorHandle phDescriptor); + [System.Runtime.InteropServices.DllImport("ncrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal static extern int NCryptGetProtectionDescriptorInfo(Microsoft.AspNetCore.Cryptography.SafeHandles.NCryptDescriptorHandle hDescriptor, System.IntPtr pMemPara, uint dwInfoType, out Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle ppvInfo); + [System.Runtime.InteropServices.DllImport("ncrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal unsafe static extern int NCryptProtectSecret(Microsoft.AspNetCore.Cryptography.SafeHandles.NCryptDescriptorHandle hDescriptor, uint dwFlags, byte* pbData, uint cbData, System.IntPtr pMemPara, System.IntPtr hWnd, out Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle ppbProtectedBlob, out uint pcbProtectedBlob); + [System.Runtime.InteropServices.DllImport("ncrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal unsafe static extern int NCryptUnprotectSecret(out Microsoft.AspNetCore.Cryptography.SafeHandles.NCryptDescriptorHandle phDescriptor, uint dwFlags, byte* pbProtectedBlob, uint cbProtectedBlob, System.IntPtr pMemPara, System.IntPtr hWnd, out Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle ppbData, out uint pcbData); + [System.Runtime.InteropServices.DllImport("ncrypt.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal unsafe static extern int NCryptUnprotectSecret(System.IntPtr phDescriptor, uint dwFlags, byte* pbProtectedBlob, uint cbProtectedBlob, System.IntPtr pMemPara, System.IntPtr hWnd, out Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle ppbData, out uint pcbData); + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]internal static void ThrowExceptionForBCryptStatus(int ntstatus) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]private static void ThrowExceptionForBCryptStatusImpl(int ntstatus) { } + public static void ThrowExceptionForLastCrypt32Error() { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]internal static void ThrowExceptionForNCryptStatus(int ntstatus) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]private static void ThrowExceptionForNCryptStatusImpl(int ntstatus) { } + } + internal static partial class WeakReferenceHelpers + { + public static T GetSharedInstance(ref System.WeakReference weakReference, System.Func factory) where T : class, System.IDisposable { throw null; } + } +} +namespace Microsoft.AspNetCore.Cryptography.Cng +{ + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + internal partial struct BCryptBuffer + { + public uint cbBuffer; // Length of buffer, in bytes + public BCryptKeyDerivationBufferType BufferType; // Buffer type + public IntPtr pvBuffer; // Pointer to buffer + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + internal unsafe partial struct BCryptBufferDesc + { + public uint ulVersion; // Version number + public uint cBuffers; // Number of buffers + public BCryptBuffer* pBuffers; // Pointer to array of buffers + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public static void Initialize(ref Microsoft.AspNetCore.Cryptography.Cng.BCryptBufferDesc bufferDesc) { } + } + [System.FlagsAttribute] + internal enum BCryptEncryptFlags + { + BCRYPT_BLOCK_PADDING = 1, + } + [System.FlagsAttribute] + internal enum BCryptGenRandomFlags + { + BCRYPT_RNG_USE_ENTROPY_IN_BUFFER = 1, + BCRYPT_USE_SYSTEM_PREFERRED_RNG = 2, + } + internal enum BCryptKeyDerivationBufferType + { + KDF_HASH_ALGORITHM = 0, + KDF_SECRET_PREPEND = 1, + KDF_SECRET_APPEND = 2, + KDF_HMAC_KEY = 3, + KDF_TLS_PRF_LABEL = 4, + KDF_TLS_PRF_SEED = 5, + KDF_SECRET_HANDLE = 6, + KDF_TLS_PRF_PROTOCOL = 7, + KDF_ALGORITHMID = 8, + KDF_PARTYUINFO = 9, + KDF_PARTYVINFO = 10, + KDF_SUPPPUBINFO = 11, + KDF_SUPPPRIVINFO = 12, + KDF_LABEL = 13, + KDF_CONTEXT = 14, + KDF_SALT = 15, + KDF_ITERATION_COUNT = 16, + } + internal static partial class BCryptUtil + { + public unsafe static void GenRandom(byte* pbBuffer, uint cbBuffer) { } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + internal unsafe partial struct BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO + { + public uint cbSize; + public uint dwInfoVersion; + public byte* pbNonce; + public uint cbNonce; + public byte* pbAuthData; + public uint cbAuthData; + public byte* pbTag; + public uint cbTag; + public byte* pbMacContext; + public uint cbMacContext; + public uint cbAAD; + public ulong cbData; + public uint dwFlags; + public static void Init(out Microsoft.AspNetCore.Cryptography.Cng.BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO info) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + internal partial struct BCRYPT_KEY_LENGTHS_STRUCT + { + // MSDN says these fields represent the key length in bytes. + // It's wrong: these key lengths are all actually in bits. + internal uint dwMinLength; + internal uint dwMaxLength; + internal uint dwIncrement; + public void EnsureValidKeyLength(uint keyLengthInBits) { } + private bool IsValidKeyLength(uint keyLengthInBits) { throw null; } + } + internal static partial class CachedAlgorithmHandles + { + private static Microsoft.AspNetCore.Cryptography.Cng.CachedAlgorithmHandles.CachedAlgorithmInfo _aesCbc; + private static Microsoft.AspNetCore.Cryptography.Cng.CachedAlgorithmHandles.CachedAlgorithmInfo _aesGcm; + private static Microsoft.AspNetCore.Cryptography.Cng.CachedAlgorithmHandles.CachedAlgorithmInfo _hmacSha1; + private static Microsoft.AspNetCore.Cryptography.Cng.CachedAlgorithmHandles.CachedAlgorithmInfo _hmacSha256; + private static Microsoft.AspNetCore.Cryptography.Cng.CachedAlgorithmHandles.CachedAlgorithmInfo _hmacSha512; + private static Microsoft.AspNetCore.Cryptography.Cng.CachedAlgorithmHandles.CachedAlgorithmInfo _pbkdf2; + private static Microsoft.AspNetCore.Cryptography.Cng.CachedAlgorithmHandles.CachedAlgorithmInfo _sha1; + private static Microsoft.AspNetCore.Cryptography.Cng.CachedAlgorithmHandles.CachedAlgorithmInfo _sha256; + private static Microsoft.AspNetCore.Cryptography.Cng.CachedAlgorithmHandles.CachedAlgorithmInfo _sha512; + private static Microsoft.AspNetCore.Cryptography.Cng.CachedAlgorithmHandles.CachedAlgorithmInfo _sp800_108_ctr_hmac; + public static Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle AES_CBC { get { throw null; } } + public static Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle AES_GCM { get { throw null; } } + public static Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle HMAC_SHA1 { get { throw null; } } + public static Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle HMAC_SHA256 { get { throw null; } } + public static Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle HMAC_SHA512 { get { throw null; } } + public static Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle PBKDF2 { get { throw null; } } + public static Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle SHA1 { get { throw null; } } + public static Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle SHA256 { get { throw null; } } + public static Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle SHA512 { get { throw null; } } + public static Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle SP800_108_CTR_HMAC { get { throw null; } } + private static Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle GetAesAlgorithm(string chainingMode) { throw null; } + private static Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle GetHashAlgorithm(string algorithm) { throw null; } + private static Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle GetHmacAlgorithm(string algorithm) { throw null; } + private static Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle GetPbkdf2Algorithm() { throw null; } + private static Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle GetSP800_108_CTR_HMACAlgorithm() { throw null; } + + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + private partial struct CachedAlgorithmInfo + { + private object _dummy; + public CachedAlgorithmInfo(System.Func factory) { throw null; } + public static Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle GetAlgorithmHandle(ref Microsoft.AspNetCore.Cryptography.Cng.CachedAlgorithmHandles.CachedAlgorithmInfo cachedAlgorithmInfo) { throw null; } + } + } + [System.FlagsAttribute] + internal enum NCryptEncryptFlags + { + NCRYPT_NO_PADDING_FLAG = 1, + NCRYPT_PAD_PKCS1_FLAG = 2, + NCRYPT_PAD_OAEP_FLAG = 4, + NCRYPT_PAD_PSS_FLAG = 8, + NCRYPT_SILENT_FLAG = 64, + } + internal static partial class OSVersionUtil + { + private static readonly Microsoft.AspNetCore.Cryptography.Cng.OSVersionUtil.OSVersion _osVersion; + private static Microsoft.AspNetCore.Cryptography.Cng.OSVersionUtil.OSVersion GetOSVersion() { throw null; } + public static bool IsWindows() { throw null; } + public static bool IsWindows8OrLater() { throw null; } + private enum OSVersion + { + NotWindows = 0, + Win7OrLater = 1, + Win8OrLater = 2, + } + } +} +namespace Microsoft.AspNetCore.Cryptography.Internal +{ + internal static partial class Resources + { + private static System.Resources.ResourceManager s_resourceManager; + [System.Diagnostics.DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState.Never)] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute] + private static System.Globalization.CultureInfo _Culture_k__BackingField; + internal static string BCryptAlgorithmHandle_ProviderNotFound { get { throw null; } } + internal static string BCRYPT_KEY_LENGTHS_STRUCT_InvalidKeyLength { get { throw null; } } + internal static System.Globalization.CultureInfo Culture { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } + internal static string Platform_Windows7Required { get { throw null; } } + internal static string Platform_Windows8Required { get { throw null; } } + internal static System.Resources.ResourceManager ResourceManager { get { throw null; } } + internal static string FormatBCryptAlgorithmHandle_ProviderNotFound(object p0) { throw null; } + internal static string FormatBCRYPT_KEY_LENGTHS_STRUCT_InvalidKeyLength(object p0, object p1, object p2, object p3) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]internal static string GetResourceString(string resourceKey, string defaultValue = null) { throw null; } + private static string GetResourceString(string resourceKey, string[] formatterNames) { throw null; } + } +} +namespace Microsoft.AspNetCore.Cryptography.SafeHandles +{ + internal sealed partial class BCryptAlgorithmHandle : Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHandle + { + private BCryptAlgorithmHandle() { } + public Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle CreateHash() { throw null; } + private unsafe Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle CreateHashCore(byte* pbKey, uint cbKey) { throw null; } + public unsafe Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle CreateHmac(byte* pbKey, uint cbKey) { throw null; } + public unsafe Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptKeyHandle GenerateSymmetricKey(byte* pbSecret, uint cbSecret) { throw null; } + public string GetAlgorithmName() { throw null; } + public uint GetCipherBlockLength() { throw null; } + public uint GetHashBlockLength() { throw null; } + public uint GetHashDigestLength() { throw null; } + public Microsoft.AspNetCore.Cryptography.Cng.BCRYPT_KEY_LENGTHS_STRUCT GetSupportedKeyLengths() { throw null; } + public static Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle OpenAlgorithmHandle(string algorithmId, string implementation = null, bool hmac = false) { throw null; } + protected override bool ReleaseHandle() { throw null; } + public void SetChainingMode(string chainingMode) { } + } + internal abstract partial class BCryptHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid + { + protected BCryptHandle() : base (default(bool)) { } + protected unsafe uint GetProperty(string pszProperty, void* pbOutput, uint cbOutput) { throw null; } + protected unsafe void SetProperty(string pszProperty, void* pbInput, uint cbInput) { } + } + internal sealed partial class BCryptHashHandle : Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHandle + { + private Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle _algProviderHandle; + private BCryptHashHandle() { } + public Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle DuplicateHash() { throw null; } + public unsafe void HashData(byte* pbInput, uint cbInput, byte* pbHashDigest, uint cbHashDigest) { } + protected override bool ReleaseHandle() { throw null; } + internal void SetAlgorithmProviderHandle(Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle algProviderHandle) { } + } + internal sealed partial class BCryptKeyHandle : Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHandle + { + private Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle _algProviderHandle; + private BCryptKeyHandle() { } + protected override bool ReleaseHandle() { throw null; } + internal void SetAlgorithmProviderHandle(Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle algProviderHandle) { } + } + internal partial class LocalAllocHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid + { + protected LocalAllocHandle() : base (default(bool)) { } + protected override bool ReleaseHandle() { throw null; } + } + internal sealed partial class NCryptDescriptorHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid + { + private NCryptDescriptorHandle() : base (default(bool)) { } + public string GetProtectionDescriptorRuleString() { throw null; } + protected override bool ReleaseHandle() { throw null; } + } + internal sealed partial class SafeLibraryHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid + { + private SafeLibraryHandle() : base (default(bool)) { } + public bool DoesProcExist(string lpProcName) { throw null; } + public void ForbidUnload() { } + public string FormatMessage(int messageId) { throw null; } + public TDelegate GetProcAddress(string lpProcName, bool throwIfNotFound = true) where TDelegate : class { throw null; } + public static Microsoft.AspNetCore.Cryptography.SafeHandles.SafeLibraryHandle Open(string filename) { throw null; } + protected override bool ReleaseHandle() { throw null; } + [System.Security.SuppressUnmanagedCodeSecurityAttribute] + private static partial class UnsafeNativeMethods + { + [System.Runtime.InteropServices.DllImport("kernel32.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]public static extern int FormatMessage(uint dwFlags, Microsoft.AspNetCore.Cryptography.SafeHandles.SafeLibraryHandle lpSource, uint dwMessageId, uint dwLanguageId, out Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle lpBuffer, uint nSize, System.IntPtr Arguments); + [System.Runtime.InteropServices.DllImport("kernel32.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)][System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] + internal static extern bool FreeLibrary(System.IntPtr hModule); + [System.Runtime.InteropServices.DllImport("kernel32.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal static extern bool GetModuleHandleEx(uint dwFlags, Microsoft.AspNetCore.Cryptography.SafeHandles.SafeLibraryHandle lpModuleName, out System.IntPtr phModule); + [System.Runtime.InteropServices.DllImport("kernel32.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal static extern System.IntPtr GetProcAddress(Microsoft.AspNetCore.Cryptography.SafeHandles.SafeLibraryHandle hModule, string lpProcName); + [System.Runtime.InteropServices.DllImport("kernel32.dll")][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)]internal static extern Microsoft.AspNetCore.Cryptography.SafeHandles.SafeLibraryHandle LoadLibraryEx(string lpFileName, System.IntPtr hFile, uint dwFlags); + internal static void ThrowExceptionForLastWin32Error() { } + } + } + internal sealed partial class SecureLocalAllocHandle : Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle + { + private readonly System.IntPtr _cb; + private SecureLocalAllocHandle(System.IntPtr cb) { } + public System.IntPtr Length { get { throw null; } } + public static Microsoft.AspNetCore.Cryptography.SafeHandles.SecureLocalAllocHandle Allocate(System.IntPtr cb) { throw null; } + [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail)] + private void AllocateImpl(System.IntPtr cb) { } + public Microsoft.AspNetCore.Cryptography.SafeHandles.SecureLocalAllocHandle Duplicate() { throw null; } + protected override bool ReleaseHandle() { throw null; } + } +} diff --git a/src/DataProtection/Cryptography.Internal/ref/Microsoft.AspNetCore.Cryptography.Internal.csproj b/src/DataProtection/Cryptography.Internal/ref/Microsoft.AspNetCore.Cryptography.Internal.csproj index ec4ae22e0e8f..62133dcbe870 100644 --- a/src/DataProtection/Cryptography.Internal/ref/Microsoft.AspNetCore.Cryptography.Internal.csproj +++ b/src/DataProtection/Cryptography.Internal/ref/Microsoft.AspNetCore.Cryptography.Internal.csproj @@ -2,9 +2,12 @@ netstandard2.0 + false + + diff --git a/src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.csproj b/src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.csproj index 0dd3dbf34c1c..ad9a99c46321 100644 --- a/src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.csproj +++ b/src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.csproj @@ -2,6 +2,8 @@ netstandard2.0;netcoreapp2.0 + false + diff --git a/src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.csproj b/src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.csproj index 2a41fa1e7577..9f8c21ba0fc3 100644 --- a/src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.csproj +++ b/src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.csproj @@ -2,6 +2,8 @@ netstandard2.0;netcoreapp3.0 + false + diff --git a/src/DataProtection/Extensions/ref/Microsoft.AspNetCore.DataProtection.Extensions.csproj b/src/DataProtection/Extensions/ref/Microsoft.AspNetCore.DataProtection.Extensions.csproj index 32b774090fc7..d2d166c02dd7 100644 --- a/src/DataProtection/Extensions/ref/Microsoft.AspNetCore.DataProtection.Extensions.csproj +++ b/src/DataProtection/Extensions/ref/Microsoft.AspNetCore.DataProtection.Extensions.csproj @@ -2,6 +2,8 @@ netstandard2.0;netcoreapp3.0 + false + diff --git a/src/DefaultBuilder/ref/Microsoft.AspNetCore.csproj b/src/DefaultBuilder/ref/Microsoft.AspNetCore.csproj index dd42476a0126..b232f9b6b3f9 100644 --- a/src/DefaultBuilder/ref/Microsoft.AspNetCore.csproj +++ b/src/DefaultBuilder/ref/Microsoft.AspNetCore.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/DefaultBuilder/testassets/Directory.Build.props b/src/DefaultBuilder/testassets/Directory.Build.props index b49282fb6f94..b8ad72d258a1 100644 --- a/src/DefaultBuilder/testassets/Directory.Build.props +++ b/src/DefaultBuilder/testassets/Directory.Build.props @@ -6,4 +6,11 @@ + + + + + diff --git a/src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj b/src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj index 4f34f355d5a5..c54cd6e23747 100644 --- a/src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj +++ b/src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj @@ -37,7 +37,9 @@ This package is an internal implementation of the .NET Core SDK and is not meant true - MSB3243 + MSB3243 + + $(NoWarn);NU5131;NU5128 FrameworkList.xml @@ -151,7 +153,10 @@ This package is an internal implementation of the .NET Core SDK and is not meant Outputs="$(TargetDir)$(PackageConflictManifestFileName)"> - <_AspNetCoreAppPackageOverrides Include="@(ReferencePath->'%(NuGetPackageId)|%(NuGetPackageVersion)')" Condition=" '%(ReferencePath.NuGetPackageId)' != 'Microsoft.NETCore.App' AND '%(ReferencePath.NuGetSourceType)' == 'Package' " /> + + <_AspNetCoreAppPackageOverrides Include="@(ReferencePath->'%(NuGetPackageId)|%(NuGetPackageVersion)')" Condition="!Exists('$(MicrosoftInternalExtensionsRefsPath)%(ReferencePath.NuGetPackageId).dll') AND '%(ReferencePath.NuGetPackageId)' != 'Microsoft.NETCore.App' AND '%(ReferencePath.NuGetSourceType)' == 'Package' " /> + + <_AspNetCoreAppPackageOverrides Include="@(ReferencePath->'%(NuGetPackageId)|$(MicrosoftInternalExtensionsRefsPackageOverrideVersion)')" Condition="Exists('$(MicrosoftInternalExtensionsRefsPath)%(ReferencePath.NuGetPackageId).dll') AND '%(ReferencePath.NuGetPackageId)' != 'Microsoft.NETCore.App' AND '%(ReferencePath.NuGetSourceType)' == 'Package' " /> <_AspNetCoreAppPackageOverrides Include="@(ReferencePath->'%(FileName)|$(ReferencePackSharedFxVersion)')" Condition=" '%(ReferencePath.ReferenceSourceTarget)' == 'ProjectReference' AND '%(ReferencePath.IsReferenceAssembly)' == 'true' " /> diff --git a/src/Framework/src/Microsoft.AspNetCore.App.Runtime.csproj b/src/Framework/src/Microsoft.AspNetCore.App.Runtime.csproj index 9b6fe29f6f16..d22776996579 100644 --- a/src/Framework/src/Microsoft.AspNetCore.App.Runtime.csproj +++ b/src/Framework/src/Microsoft.AspNetCore.App.Runtime.csproj @@ -21,6 +21,10 @@ This package is an internal implementation of the .NET Core SDK and is not meant true DotnetPlatform + + false + true + aspnetcore_base_runtime.version $(InstallersOutputPath)$(BaseRuntimeVersionFileName) @@ -293,11 +297,13 @@ This package is an internal implementation of the .NET Core SDK and is not meant --> $(IntermediateOutputPath)crossgen\ + $(IntermediateOutputPath)platformAssemblies\ $(CrossgenToolDir)$(LibPrefix)clrjit$(LibExtension) + @@ -306,13 +312,19 @@ This package is an internal implementation of the .NET Core SDK and is not meant + + + <_PlatformAssemblyPaths Include="$(CrossgenToolDir)" /> - <_PlatformAssemblyPaths Include="@(ReferenceCopyLocalPaths->'%(RootDir)%(Directory)')" /> + + <_PlatformAssemblyPaths Include="@(ReferenceCopyLocalPaths->'%(RootDir)%(Directory)')" Condition="'%(ReferenceCopyLocalPaths.ProjectPath)' == ''"/> + + <_PlatformAssemblyPaths Include="$(CrossgenPlatformAssembliesDir)"/> diff --git a/src/Hosting/Abstractions/ref/Microsoft.AspNetCore.Hosting.Abstractions.csproj b/src/Hosting/Abstractions/ref/Microsoft.AspNetCore.Hosting.Abstractions.csproj index 494c7d61aea9..6b19abf98b3c 100644 --- a/src/Hosting/Abstractions/ref/Microsoft.AspNetCore.Hosting.Abstractions.csproj +++ b/src/Hosting/Abstractions/ref/Microsoft.AspNetCore.Hosting.Abstractions.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Hosting/Hosting/ref/Microsoft.AspNetCore.Hosting.csproj b/src/Hosting/Hosting/ref/Microsoft.AspNetCore.Hosting.csproj index 40455060c2a7..b05a67027c63 100644 --- a/src/Hosting/Hosting/ref/Microsoft.AspNetCore.Hosting.csproj +++ b/src/Hosting/Hosting/ref/Microsoft.AspNetCore.Hosting.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Hosting/Server.Abstractions/ref/Microsoft.AspNetCore.Hosting.Server.Abstractions.csproj b/src/Hosting/Server.Abstractions/ref/Microsoft.AspNetCore.Hosting.Server.Abstractions.csproj index b9c84f7e3318..74101ce3e9ad 100644 --- a/src/Hosting/Server.Abstractions/ref/Microsoft.AspNetCore.Hosting.Server.Abstractions.csproj +++ b/src/Hosting/Server.Abstractions/ref/Microsoft.AspNetCore.Hosting.Server.Abstractions.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Hosting/test/testassets/IStartupInjectionAssemblyName/IStartupInjectionAssemblyName.csproj b/src/Hosting/test/testassets/IStartupInjectionAssemblyName/IStartupInjectionAssemblyName.csproj index 3ea37b679b61..da860f1783a0 100644 --- a/src/Hosting/test/testassets/IStartupInjectionAssemblyName/IStartupInjectionAssemblyName.csproj +++ b/src/Hosting/test/testassets/IStartupInjectionAssemblyName/IStartupInjectionAssemblyName.csproj @@ -6,6 +6,11 @@ + + + diff --git a/src/Html/Abstractions/ref/Microsoft.AspNetCore.Html.Abstractions.csproj b/src/Html/Abstractions/ref/Microsoft.AspNetCore.Html.Abstractions.csproj index e78b0215243f..20451ebbd5d1 100644 --- a/src/Html/Abstractions/ref/Microsoft.AspNetCore.Html.Abstractions.csproj +++ b/src/Html/Abstractions/ref/Microsoft.AspNetCore.Html.Abstractions.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Http/Authentication.Abstractions/ref/Microsoft.AspNetCore.Authentication.Abstractions.csproj b/src/Http/Authentication.Abstractions/ref/Microsoft.AspNetCore.Authentication.Abstractions.csproj index 192cf512702b..8f174166c194 100644 --- a/src/Http/Authentication.Abstractions/ref/Microsoft.AspNetCore.Authentication.Abstractions.csproj +++ b/src/Http/Authentication.Abstractions/ref/Microsoft.AspNetCore.Authentication.Abstractions.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Http/Authentication.Core/ref/Microsoft.AspNetCore.Authentication.Core.csproj b/src/Http/Authentication.Core/ref/Microsoft.AspNetCore.Authentication.Core.csproj index 9f4bc43e08c9..4be3f7558218 100644 --- a/src/Http/Authentication.Core/ref/Microsoft.AspNetCore.Authentication.Core.csproj +++ b/src/Http/Authentication.Core/ref/Microsoft.AspNetCore.Authentication.Core.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Http/Headers/ref/Microsoft.Net.Http.Headers.csproj b/src/Http/Headers/ref/Microsoft.Net.Http.Headers.csproj index 4ac03925e975..167dfca0e1f2 100644 --- a/src/Http/Headers/ref/Microsoft.Net.Http.Headers.csproj +++ b/src/Http/Headers/ref/Microsoft.Net.Http.Headers.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.csproj b/src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.csproj index fe49c287c453..2d9a7fc6c201 100644 --- a/src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.csproj +++ b/src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Http/Http.Extensions/ref/Microsoft.AspNetCore.Http.Extensions.csproj b/src/Http/Http.Extensions/ref/Microsoft.AspNetCore.Http.Extensions.csproj index bba8cc701ed3..cb0f17657723 100644 --- a/src/Http/Http.Extensions/ref/Microsoft.AspNetCore.Http.Extensions.csproj +++ b/src/Http/Http.Extensions/ref/Microsoft.AspNetCore.Http.Extensions.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Http/Http.Features/ref/Microsoft.AspNetCore.Http.Features.csproj b/src/Http/Http.Features/ref/Microsoft.AspNetCore.Http.Features.csproj index 1e342f6be0f8..410b369e199a 100644 --- a/src/Http/Http.Features/ref/Microsoft.AspNetCore.Http.Features.csproj +++ b/src/Http/Http.Features/ref/Microsoft.AspNetCore.Http.Features.csproj @@ -2,6 +2,8 @@ netstandard2.0;netcoreapp3.0 + false + diff --git a/src/Http/Http/ref/Microsoft.AspNetCore.Http.csproj b/src/Http/Http/ref/Microsoft.AspNetCore.Http.csproj index f59274ed7f7f..ee10cacf378e 100644 --- a/src/Http/Http/ref/Microsoft.AspNetCore.Http.csproj +++ b/src/Http/Http/ref/Microsoft.AspNetCore.Http.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Http/Metadata/ref/Microsoft.AspNetCore.Metadata.csproj b/src/Http/Metadata/ref/Microsoft.AspNetCore.Metadata.csproj index 5bd3e643f1ed..4507a5bf6963 100644 --- a/src/Http/Metadata/ref/Microsoft.AspNetCore.Metadata.csproj +++ b/src/Http/Metadata/ref/Microsoft.AspNetCore.Metadata.csproj @@ -2,6 +2,8 @@ netstandard2.0 + false + diff --git a/src/Http/Routing.Abstractions/ref/Microsoft.AspNetCore.Routing.Abstractions.csproj b/src/Http/Routing.Abstractions/ref/Microsoft.AspNetCore.Routing.Abstractions.csproj index fe6fa231aa74..5d03f3ad8b33 100644 --- a/src/Http/Routing.Abstractions/ref/Microsoft.AspNetCore.Routing.Abstractions.csproj +++ b/src/Http/Routing.Abstractions/ref/Microsoft.AspNetCore.Routing.Abstractions.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Http/Routing/ref/Microsoft.AspNetCore.Routing.csproj b/src/Http/Routing/ref/Microsoft.AspNetCore.Routing.csproj index a68d86a042b3..a2214046b7c7 100644 --- a/src/Http/Routing/ref/Microsoft.AspNetCore.Routing.csproj +++ b/src/Http/Routing/ref/Microsoft.AspNetCore.Routing.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Http/WebUtilities/ref/Microsoft.AspNetCore.WebUtilities.csproj b/src/Http/WebUtilities/ref/Microsoft.AspNetCore.WebUtilities.csproj index e48d4616afc1..b0338e92a7b6 100644 --- a/src/Http/WebUtilities/ref/Microsoft.AspNetCore.WebUtilities.csproj +++ b/src/Http/WebUtilities/ref/Microsoft.AspNetCore.WebUtilities.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Identity/Core/ref/Microsoft.AspNetCore.Identity.csproj b/src/Identity/Core/ref/Microsoft.AspNetCore.Identity.csproj index 29f919fbe6ba..f67a4d2fcfd4 100644 --- a/src/Identity/Core/ref/Microsoft.AspNetCore.Identity.csproj +++ b/src/Identity/Core/ref/Microsoft.AspNetCore.Identity.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Identity/Extensions.Core/ref/Microsoft.Extensions.Identity.Core.csproj b/src/Identity/Extensions.Core/ref/Microsoft.Extensions.Identity.Core.csproj index 50615ee4e140..1d3566072206 100644 --- a/src/Identity/Extensions.Core/ref/Microsoft.Extensions.Identity.Core.csproj +++ b/src/Identity/Extensions.Core/ref/Microsoft.Extensions.Identity.Core.csproj @@ -2,6 +2,8 @@ netstandard2.0;netcoreapp3.0 + false + diff --git a/src/Identity/Extensions.Stores/ref/Microsoft.Extensions.Identity.Stores.csproj b/src/Identity/Extensions.Stores/ref/Microsoft.Extensions.Identity.Stores.csproj index 7a0f728cb474..c101e8c68de9 100644 --- a/src/Identity/Extensions.Stores/ref/Microsoft.Extensions.Identity.Stores.csproj +++ b/src/Identity/Extensions.Stores/ref/Microsoft.Extensions.Identity.Stores.csproj @@ -2,6 +2,8 @@ netstandard2.0;netcoreapp3.0 + false + diff --git a/src/Identity/test/Identity.Test/Microsoft.AspNetCore.Identity.Test.csproj b/src/Identity/test/Identity.Test/Microsoft.AspNetCore.Identity.Test.csproj index 9ed81cbcb856..4b7ada7431f3 100644 --- a/src/Identity/test/Identity.Test/Microsoft.AspNetCore.Identity.Test.csproj +++ b/src/Identity/test/Identity.Test/Microsoft.AspNetCore.Identity.Test.csproj @@ -26,7 +26,7 @@ <_Parameter1>Microsoft.AspNetCore.Testing.DefaultUIProjectPath <_Parameter2>$([System.IO.Path]::GetDirectoryName('%(_IdentitUIDefaultUI.MSBuildSourceProjectFile)')) - + diff --git a/src/Middleware/CORS/ref/Microsoft.AspNetCore.Cors.csproj b/src/Middleware/CORS/ref/Microsoft.AspNetCore.Cors.csproj index 7f2aea45709d..9a9c7c1a778b 100644 --- a/src/Middleware/CORS/ref/Microsoft.AspNetCore.Cors.csproj +++ b/src/Middleware/CORS/ref/Microsoft.AspNetCore.Cors.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Middleware/CORS/test/testassets/Directory.Build.props b/src/Middleware/CORS/test/testassets/Directory.Build.props index b49282fb6f94..b8ad72d258a1 100644 --- a/src/Middleware/CORS/test/testassets/Directory.Build.props +++ b/src/Middleware/CORS/test/testassets/Directory.Build.props @@ -6,4 +6,11 @@ + + + + + diff --git a/src/Middleware/Diagnostics.Abstractions/ref/Microsoft.AspNetCore.Diagnostics.Abstractions.csproj b/src/Middleware/Diagnostics.Abstractions/ref/Microsoft.AspNetCore.Diagnostics.Abstractions.csproj index eeb85ae2392b..474f1b32beec 100644 --- a/src/Middleware/Diagnostics.Abstractions/ref/Microsoft.AspNetCore.Diagnostics.Abstractions.csproj +++ b/src/Middleware/Diagnostics.Abstractions/ref/Microsoft.AspNetCore.Diagnostics.Abstractions.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Middleware/Diagnostics/ref/Microsoft.AspNetCore.Diagnostics.csproj b/src/Middleware/Diagnostics/ref/Microsoft.AspNetCore.Diagnostics.csproj index a33f66dfdc24..8e7f04791be2 100644 --- a/src/Middleware/Diagnostics/ref/Microsoft.AspNetCore.Diagnostics.csproj +++ b/src/Middleware/Diagnostics/ref/Microsoft.AspNetCore.Diagnostics.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Middleware/HealthChecks/ref/Microsoft.AspNetCore.Diagnostics.HealthChecks.csproj b/src/Middleware/HealthChecks/ref/Microsoft.AspNetCore.Diagnostics.HealthChecks.csproj index fc3578697815..a47255bc03de 100644 --- a/src/Middleware/HealthChecks/ref/Microsoft.AspNetCore.Diagnostics.HealthChecks.csproj +++ b/src/Middleware/HealthChecks/ref/Microsoft.AspNetCore.Diagnostics.HealthChecks.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Middleware/HealthChecks/test/testassets/HealthChecksSample/HealthChecksSample.csproj b/src/Middleware/HealthChecks/test/testassets/HealthChecksSample/HealthChecksSample.csproj index d41b7835391c..c471797b20e6 100644 --- a/src/Middleware/HealthChecks/test/testassets/HealthChecksSample/HealthChecksSample.csproj +++ b/src/Middleware/HealthChecks/test/testassets/HealthChecksSample/HealthChecksSample.csproj @@ -5,6 +5,11 @@ + + + diff --git a/src/Middleware/HostFiltering/ref/Microsoft.AspNetCore.HostFiltering.csproj b/src/Middleware/HostFiltering/ref/Microsoft.AspNetCore.HostFiltering.csproj index 0c879a2ba6fb..96216afaf557 100644 --- a/src/Middleware/HostFiltering/ref/Microsoft.AspNetCore.HostFiltering.csproj +++ b/src/Middleware/HostFiltering/ref/Microsoft.AspNetCore.HostFiltering.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Middleware/HttpOverrides/ref/Microsoft.AspNetCore.HttpOverrides.csproj b/src/Middleware/HttpOverrides/ref/Microsoft.AspNetCore.HttpOverrides.csproj index c2cc3193452b..59fcb83baa48 100644 --- a/src/Middleware/HttpOverrides/ref/Microsoft.AspNetCore.HttpOverrides.csproj +++ b/src/Middleware/HttpOverrides/ref/Microsoft.AspNetCore.HttpOverrides.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Middleware/HttpOverrides/test/Microsoft.AspNetCore.HttpOverrides.Tests.csproj b/src/Middleware/HttpOverrides/test/Microsoft.AspNetCore.HttpOverrides.Tests.csproj index c5f9652ddca2..eb0950221c0f 100644 --- a/src/Middleware/HttpOverrides/test/Microsoft.AspNetCore.HttpOverrides.Tests.csproj +++ b/src/Middleware/HttpOverrides/test/Microsoft.AspNetCore.HttpOverrides.Tests.csproj @@ -5,6 +5,11 @@ + + + diff --git a/src/Middleware/HttpsPolicy/ref/Microsoft.AspNetCore.HttpsPolicy.csproj b/src/Middleware/HttpsPolicy/ref/Microsoft.AspNetCore.HttpsPolicy.csproj index 05f6a4263778..8a24b069bf71 100644 --- a/src/Middleware/HttpsPolicy/ref/Microsoft.AspNetCore.HttpsPolicy.csproj +++ b/src/Middleware/HttpsPolicy/ref/Microsoft.AspNetCore.HttpsPolicy.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Middleware/Localization.Routing/ref/Microsoft.AspNetCore.Localization.Routing.csproj b/src/Middleware/Localization.Routing/ref/Microsoft.AspNetCore.Localization.Routing.csproj index 050ea0a4afc8..3dccb4a64b1e 100644 --- a/src/Middleware/Localization.Routing/ref/Microsoft.AspNetCore.Localization.Routing.csproj +++ b/src/Middleware/Localization.Routing/ref/Microsoft.AspNetCore.Localization.Routing.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Middleware/Localization/ref/Microsoft.AspNetCore.Localization.csproj b/src/Middleware/Localization/ref/Microsoft.AspNetCore.Localization.csproj index 9ae583c9ec0a..5ec5751618b6 100644 --- a/src/Middleware/Localization/ref/Microsoft.AspNetCore.Localization.csproj +++ b/src/Middleware/Localization/ref/Microsoft.AspNetCore.Localization.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Middleware/ResponseCaching.Abstractions/ref/Microsoft.AspNetCore.ResponseCaching.Abstractions.csproj b/src/Middleware/ResponseCaching.Abstractions/ref/Microsoft.AspNetCore.ResponseCaching.Abstractions.csproj index fe10c4e2a8b9..dbc557d00505 100644 --- a/src/Middleware/ResponseCaching.Abstractions/ref/Microsoft.AspNetCore.ResponseCaching.Abstractions.csproj +++ b/src/Middleware/ResponseCaching.Abstractions/ref/Microsoft.AspNetCore.ResponseCaching.Abstractions.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Middleware/ResponseCaching/ref/Microsoft.AspNetCore.ResponseCaching.csproj b/src/Middleware/ResponseCaching/ref/Microsoft.AspNetCore.ResponseCaching.csproj index 985bcdbbc9b7..8fa81e3f4ac7 100644 --- a/src/Middleware/ResponseCaching/ref/Microsoft.AspNetCore.ResponseCaching.csproj +++ b/src/Middleware/ResponseCaching/ref/Microsoft.AspNetCore.ResponseCaching.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Middleware/ResponseCompression/ref/Microsoft.AspNetCore.ResponseCompression.csproj b/src/Middleware/ResponseCompression/ref/Microsoft.AspNetCore.ResponseCompression.csproj index 4cf1f5fef450..8f6c10f1e817 100644 --- a/src/Middleware/ResponseCompression/ref/Microsoft.AspNetCore.ResponseCompression.csproj +++ b/src/Middleware/ResponseCompression/ref/Microsoft.AspNetCore.ResponseCompression.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Middleware/Rewrite/ref/Microsoft.AspNetCore.Rewrite.csproj b/src/Middleware/Rewrite/ref/Microsoft.AspNetCore.Rewrite.csproj index a4014b3f9491..6d6b32b2d98a 100644 --- a/src/Middleware/Rewrite/ref/Microsoft.AspNetCore.Rewrite.csproj +++ b/src/Middleware/Rewrite/ref/Microsoft.AspNetCore.Rewrite.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Middleware/Session/ref/Microsoft.AspNetCore.Session.csproj b/src/Middleware/Session/ref/Microsoft.AspNetCore.Session.csproj index 3c0a92ba63d5..ce87d521d4b0 100644 --- a/src/Middleware/Session/ref/Microsoft.AspNetCore.Session.csproj +++ b/src/Middleware/Session/ref/Microsoft.AspNetCore.Session.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Middleware/StaticFiles/ref/Microsoft.AspNetCore.StaticFiles.csproj b/src/Middleware/StaticFiles/ref/Microsoft.AspNetCore.StaticFiles.csproj index 0bd2351f3816..d59c4f309cf6 100644 --- a/src/Middleware/StaticFiles/ref/Microsoft.AspNetCore.StaticFiles.csproj +++ b/src/Middleware/StaticFiles/ref/Microsoft.AspNetCore.StaticFiles.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Middleware/StaticFiles/test/FunctionalTests/Microsoft.AspNetCore.StaticFiles.FunctionalTests.csproj b/src/Middleware/StaticFiles/test/FunctionalTests/Microsoft.AspNetCore.StaticFiles.FunctionalTests.csproj index e6c8278b3039..82bb9259ae6f 100644 --- a/src/Middleware/StaticFiles/test/FunctionalTests/Microsoft.AspNetCore.StaticFiles.FunctionalTests.csproj +++ b/src/Middleware/StaticFiles/test/FunctionalTests/Microsoft.AspNetCore.StaticFiles.FunctionalTests.csproj @@ -26,6 +26,12 @@ + + + + diff --git a/src/Middleware/WebSockets/ref/Microsoft.AspNetCore.WebSockets.csproj b/src/Middleware/WebSockets/ref/Microsoft.AspNetCore.WebSockets.csproj index e5ae8749c656..d5319c29c18e 100644 --- a/src/Middleware/WebSockets/ref/Microsoft.AspNetCore.WebSockets.csproj +++ b/src/Middleware/WebSockets/ref/Microsoft.AspNetCore.WebSockets.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Mvc/Mvc.Abstractions/ref/Microsoft.AspNetCore.Mvc.Abstractions.csproj b/src/Mvc/Mvc.Abstractions/ref/Microsoft.AspNetCore.Mvc.Abstractions.csproj index 90b63669a8da..9e352d857fd7 100644 --- a/src/Mvc/Mvc.Abstractions/ref/Microsoft.AspNetCore.Mvc.Abstractions.csproj +++ b/src/Mvc/Mvc.Abstractions/ref/Microsoft.AspNetCore.Mvc.Abstractions.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Mvc/Mvc.Analyzers/test/AttributesShouldNotBeAppliedToPageModelAnalyzerTest.cs b/src/Mvc/Mvc.Analyzers/test/AttributesShouldNotBeAppliedToPageModelAnalyzerTest.cs index baac0e3b4f4d..2c271ff9323e 100644 --- a/src/Mvc/Mvc.Analyzers/test/AttributesShouldNotBeAppliedToPageModelAnalyzerTest.cs +++ b/src/Mvc/Mvc.Analyzers/test/AttributesShouldNotBeAppliedToPageModelAnalyzerTest.cs @@ -7,7 +7,7 @@ using Microsoft.CodeAnalysis; using Xunit; -namespace Microsoft.AspNetCore.Mvc.Analyzers.Test +namespace Microsoft.AspNetCore.Mvc.Analyzers { public class AttributesShouldNotBeAppliedToPageModelAnalyzerTest { diff --git a/src/Mvc/Mvc.Analyzers/test/CodeAnalysisExtensionsTest.cs b/src/Mvc/Mvc.Analyzers/test/CodeAnalysisExtensionsTest.cs index a9630cba1f31..129ed81059fa 100644 --- a/src/Mvc/Mvc.Analyzers/test/CodeAnalysisExtensionsTest.cs +++ b/src/Mvc/Mvc.Analyzers/test/CodeAnalysisExtensionsTest.cs @@ -491,7 +491,7 @@ public async Task IsAssignable_ReturnsTrueIfAncestorTypeImplementsInterface() private Task GetCompilation([CallerMemberName] string testMethod = "") { var testSource = MvcTestSource.Read(GetType().Name, testMethod); - var project = DiagnosticProject.Create(GetType().Assembly, new[] { testSource.Source }); + var project = MvcDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { testSource.Source }); return project.GetCompilationAsync(); } diff --git a/src/Mvc/Mvc.Analyzers/test/Infrastructure/MvcDiagnosticAnalyzerRunner.cs b/src/Mvc/Mvc.Analyzers/test/Infrastructure/MvcDiagnosticAnalyzerRunner.cs index f29cff84d1f6..2b4b8dca9a9c 100644 --- a/src/Mvc/Mvc.Analyzers/test/Infrastructure/MvcDiagnosticAnalyzerRunner.cs +++ b/src/Mvc/Mvc.Analyzers/test/Infrastructure/MvcDiagnosticAnalyzerRunner.cs @@ -2,6 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; +using System.Collections.Immutable; +using System.IO; +using System.Linq; +using System.Reflection; using System.Threading.Tasks; using Microsoft.AspNetCore.Analyzer.Testing; using Microsoft.CodeAnalysis; @@ -20,7 +24,28 @@ public MvcDiagnosticAnalyzerRunner(DiagnosticAnalyzer analyzer) public Task GetDiagnosticsAsync(string source) { - return GetDiagnosticsAsync(sources: new[] { source }, Analyzer, Array.Empty()); + var project = CreateProjectWithReferencesInBinDir(GetType().Assembly, source); + + return GetDiagnosticsAsync(project); + } + + public static Project CreateProjectWithReferencesInBinDir(Assembly testAssembly, params string[] source) + { + // The deps file in the project is incorrect and does not contain "compile" nodes for some references. + // However these binaries are always present in the bin output. As a "temporary" workaround, we'll add + // every dll file that's present in the test's build output as a metadatareference. + + var project = DiagnosticProject.Create(testAssembly, source); + + foreach (var assembly in Directory.EnumerateFiles(AppContext.BaseDirectory, "*.dll")) + { + if (!project.MetadataReferences.Any(c => string.Equals(Path.GetFileNameWithoutExtension(c.Display), Path.GetFileNameWithoutExtension(assembly), StringComparison.OrdinalIgnoreCase))) + { + project = project.AddMetadataReference(MetadataReference.CreateFromFile(assembly)); + } + } + + return project; } public Task GetDiagnosticsAsync(Project project) diff --git a/src/Mvc/Mvc.Analyzers/test/TopLevelParameterNameAnalyzerTest.cs b/src/Mvc/Mvc.Analyzers/test/TopLevelParameterNameAnalyzerTest.cs index 361f6d3cb502..8efec91c16ca 100644 --- a/src/Mvc/Mvc.Analyzers/test/TopLevelParameterNameAnalyzerTest.cs +++ b/src/Mvc/Mvc.Analyzers/test/TopLevelParameterNameAnalyzerTest.cs @@ -126,7 +126,7 @@ public async Task IsProblematicParameter_IgnoresNonPublicProperties() private async Task IsProblematicParameterTest([CallerMemberName] string testMethod = "") { var testSource = MvcTestSource.Read(GetType().Name, testMethod); - var project = DiagnosticProject.Create(GetType().Assembly, new[] { testSource.Source }); + var project = MvcDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { testSource.Source }); var compilation = await project.GetCompilationAsync(); @@ -207,7 +207,7 @@ public async Task GetName_ReturnsFirstName_IfMultipleAttributesAreSpecified() private async Task GetCompilationForGetName() { var testSource = MvcTestSource.Read(GetType().Name, "GetNameTests"); - var project = DiagnosticProject.Create(GetType().Assembly, new[] { testSource.Source }); + var project = MvcDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { testSource.Source }); var compilation = await project.GetCompilationAsync(); return compilation; @@ -218,7 +218,7 @@ public async Task SpecifiesModelType_ReturnsFalse_IfModelBinderDoesNotSpecifyTyp { var testMethod = nameof(SpecifiesModelType_ReturnsFalse_IfModelBinderDoesNotSpecifyType); var testSource = MvcTestSource.Read(GetType().Name, "SpecifiesModelTypeTests"); - var project = DiagnosticProject.Create(GetType().Assembly, new[] { testSource.Source }); + var project = MvcDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { testSource.Source }); var compilation = await project.GetCompilationAsync(); Assert.True(TopLevelParameterNameAnalyzer.SymbolCache.TryCreate(compilation, out var symbolCache)); @@ -236,7 +236,7 @@ public async Task SpecifiesModelType_ReturnsTrue_IfModelBinderSpecifiesTypeFromC { var testMethod = nameof(SpecifiesModelType_ReturnsTrue_IfModelBinderSpecifiesTypeFromConstructor); var testSource = MvcTestSource.Read(GetType().Name, "SpecifiesModelTypeTests"); - var project = DiagnosticProject.Create(GetType().Assembly, new[] { testSource.Source }); + var project = MvcDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { testSource.Source }); var compilation = await project.GetCompilationAsync(); Assert.True(TopLevelParameterNameAnalyzer.SymbolCache.TryCreate(compilation, out var symbolCache)); @@ -254,7 +254,7 @@ public async Task SpecifiesModelType_ReturnsTrue_IfModelBinderSpecifiesTypeFromP { var testMethod = nameof(SpecifiesModelType_ReturnsTrue_IfModelBinderSpecifiesTypeFromProperty); var testSource = MvcTestSource.Read(GetType().Name, "SpecifiesModelTypeTests"); - var project = DiagnosticProject.Create(GetType().Assembly, new[] { testSource.Source }); + var project = MvcDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { testSource.Source }); var compilation = await project.GetCompilationAsync(); Assert.True(TopLevelParameterNameAnalyzer.SymbolCache.TryCreate(compilation, out var symbolCache)); diff --git a/src/Mvc/Mvc.Api.Analyzers/test/ActualApiResponseMetadataFactoryTest.cs b/src/Mvc/Mvc.Api.Analyzers/test/ActualApiResponseMetadataFactoryTest.cs index d9c15bddaa89..cca12582dd9c 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/ActualApiResponseMetadataFactoryTest.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/ActualApiResponseMetadataFactoryTest.cs @@ -64,7 +64,7 @@ public IActionResult Get(int id) } } }"; - var project = DiagnosticProject.Create(GetType().Assembly, new[] { source }); + var project = MvcDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { source }); var compilation = await project.GetCompilationAsync(); Assert.True(ApiControllerSymbolCache.TryCreate(compilation, out var symbolCache)); @@ -301,7 +301,7 @@ public async Task TryGetActualResponseMetadata_ActionReturningNotFoundAndModel() private async Task<(bool result, IList responseMetadatas, TestSource testSource)> TryGetActualResponseMetadata(string typeName, string methodName) { var testSource = MvcTestSource.Read(GetType().Name, "TryGetActualResponseMetadataTests"); - var project = DiagnosticProject.Create(GetType().Assembly, new[] { testSource.Source }); + var project = MvcDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { testSource.Source }); var compilation = await GetCompilation("TryGetActualResponseMetadataTests"); @@ -340,7 +340,7 @@ public async Task TryGetActualResponseMetadata_ActionReturningNotFoundAndModel() private async Task RunInspectReturnStatementSyntax(string source, string test) { - var project = DiagnosticProject.Create(GetType().Assembly, new[] { source }); + var project = MvcDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { source }); var compilation = await project.GetCompilationAsync(); Assert.True(ApiControllerSymbolCache.TryCreate(compilation, out var symbolCache)); @@ -361,7 +361,7 @@ public async Task TryGetActualResponseMetadata_ActionReturningNotFoundAndModel() private Task GetCompilation(string test) { var testSource = MvcTestSource.Read(GetType().Name, test); - var project = DiagnosticProject.Create(GetType().Assembly, new[] { testSource.Source }); + var project = MvcDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { testSource.Source }); return project.GetCompilationAsync(); } diff --git a/src/Mvc/Mvc.Api.Analyzers/test/AddResponseTypeAttributeCodeFixProviderIntegrationTest.cs b/src/Mvc/Mvc.Api.Analyzers/test/AddResponseTypeAttributeCodeFixProviderIntegrationTest.cs index 9ba677d101f5..10a77b8b42a2 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/AddResponseTypeAttributeCodeFixProviderIntegrationTest.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/AddResponseTypeAttributeCodeFixProviderIntegrationTest.cs @@ -13,7 +13,7 @@ public class AddResponseTypeAttributeCodeFixProviderIntegrationTest { private MvcDiagnosticAnalyzerRunner AnalyzerRunner { get; } = new MvcDiagnosticAnalyzerRunner(new ApiConventionAnalyzer()); - private CodeFixRunner CodeFixRunner => CodeFixRunner.Default; + private CodeFixRunner CodeFixRunner { get; } = new IgnoreCS1701WarningCodeFixRunner(); [Fact] public Task CodeFixAddsStatusCodes() => RunTest(); @@ -75,7 +75,7 @@ private async Task RunTest([CallerMemberName] string testMethod = "") private Project GetProject(string testMethod) { var testSource = Read(testMethod + ".Input"); - return DiagnosticProject.Create(GetType().Assembly, new[] { testSource }); + return MvcDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { testSource }); } private string Read(string fileName) diff --git a/src/Mvc/Mvc.Api.Analyzers/test/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest.cs b/src/Mvc/Mvc.Api.Analyzers/test/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest.cs index 918a04940abd..b8b096d9c947 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest.cs @@ -13,7 +13,7 @@ public class ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTe { private MvcDiagnosticAnalyzerRunner AnalyzerRunner { get; } = new MvcDiagnosticAnalyzerRunner(new ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzer()); - private CodeFixRunner CodeFixRunner => CodeFixRunner.Default; + private CodeFixRunner CodeFixRunner { get; } = new IgnoreCS1701WarningCodeFixRunner(); [Fact] public Task CodeFixRemovesModelStateIsInvalidBlockWithIfNotCheck() @@ -48,7 +48,7 @@ private async Task RunTest([CallerMemberName] string testMethod = "") private Project GetProject(string testMethod) { var testSource = Read(testMethod + ".Input"); - return DiagnosticProject.Create(GetType().Assembly, new[] { testSource }); + return MvcDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { testSource }); } private string Read(string fileName) diff --git a/src/Mvc/Mvc.Api.Analyzers/test/ApiControllerFactsTest.cs b/src/Mvc/Mvc.Api.Analyzers/test/ApiControllerFactsTest.cs index 786aeeb9d758..6c2f5a81d17e 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/ApiControllerFactsTest.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/ApiControllerFactsTest.cs @@ -35,7 +35,7 @@ public DoesNotExist Get(int id) } } }"; - var project = DiagnosticProject.Create(GetType().Assembly, new[] { source }); + var project = MvcDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { source }); var compilation = await project.GetCompilationAsync(); Assert.True(ApiControllerSymbolCache.TryCreate(compilation, out var symbolCache)); var method = (IMethodSymbol)compilation.GetTypeByMetadataName("TestNamespace.TestController").GetMembers("Get").First(); @@ -130,7 +130,7 @@ public async Task IsApiControllerAction_ReturnsTrue_IfAttributeIsDeclaredOnAssem private Task GetCompilation(string testFile = "TestFile") { var testSource = MvcTestSource.Read(GetType().Name, testFile); - var project = DiagnosticProject.Create(GetType().Assembly, new[] { testSource.Source }); + var project = MvcDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { testSource.Source }); return project.GetCompilationAsync(); } diff --git a/src/Mvc/Mvc.Api.Analyzers/test/IgnoreCS1701WarningCodeFixRunner.cs b/src/Mvc/Mvc.Api.Analyzers/test/IgnoreCS1701WarningCodeFixRunner.cs new file mode 100644 index 000000000000..e46b39f1458b --- /dev/null +++ b/src/Mvc/Mvc.Api.Analyzers/test/IgnoreCS1701WarningCodeFixRunner.cs @@ -0,0 +1,18 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Linq; +using Microsoft.AspNetCore.Analyzer.Testing; +using Microsoft.CodeAnalysis; + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers +{ + public class IgnoreCS1701WarningCodeFixRunner : CodeFixRunner + { + protected override CompilationOptions ConfigureCompilationOptions(CompilationOptions options) + { + options = base.ConfigureCompilationOptions(options); + return options.WithSpecificDiagnosticOptions(new[] { "CS1701" }.ToDictionary(c => c, _ => ReportDiagnostic.Suppress)); + } + } +} \ No newline at end of file diff --git a/src/Mvc/Mvc.Api.Analyzers/test/MvcFactsTest.cs b/src/Mvc/Mvc.Api.Analyzers/test/MvcFactsTest.cs index 054426295190..4498d009f174 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/MvcFactsTest.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/MvcFactsTest.cs @@ -226,7 +226,7 @@ private IMethodSymbol GetDisposableDispose(Compilation compilation) private Task GetCompilation(string test) { var testSource = MvcTestSource.Read(GetType().Name, test); - var project = DiagnosticProject.Create(GetType().Assembly, new[] { testSource.Source }); + var project = MvcDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { testSource.Source }); return project.GetCompilationAsync(); } diff --git a/src/Mvc/Mvc.Api.Analyzers/test/SymbolApiConventionMatcherTest.cs b/src/Mvc/Mvc.Api.Analyzers/test/SymbolApiConventionMatcherTest.cs index 1d0ab00c1b2e..011485292c1c 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/SymbolApiConventionMatcherTest.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/SymbolApiConventionMatcherTest.cs @@ -559,7 +559,7 @@ public async Task GetTypeMatchBehavior_ReturnsValueFromAttributes() private Task GetCompilationAsync(string test = "SymbolApiConventionMatcherTestFile") { var testSource = MvcTestSource.Read(GetType().Name, test); - var project = DiagnosticProject.Create(GetType().Assembly, new[] { testSource.Source }); + var project = MvcDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { testSource.Source }); return project.GetCompilationAsync(); } diff --git a/src/Mvc/Mvc.Api.Analyzers/test/SymbolApiResponseMetadataProviderTest.cs b/src/Mvc/Mvc.Api.Analyzers/test/SymbolApiResponseMetadataProviderTest.cs index f9adfa062afc..daf18e83f179 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/SymbolApiResponseMetadataProviderTest.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/SymbolApiResponseMetadataProviderTest.cs @@ -478,7 +478,7 @@ public async Task GetErrorResponseType_ReturnsTypeDefinedAtAction() private Task GetCompilation(string test) { var testSource = MvcTestSource.Read(GetType().Name, test); - var project = DiagnosticProject.Create(GetType().Assembly, new[] { testSource.Source }); + var project = MvcDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { testSource.Source }); return project.GetCompilationAsync(); } diff --git a/src/Mvc/Mvc.ApiExplorer/ref/Microsoft.AspNetCore.Mvc.ApiExplorer.csproj b/src/Mvc/Mvc.ApiExplorer/ref/Microsoft.AspNetCore.Mvc.ApiExplorer.csproj index 10680b3401d4..5e6529a67fa0 100644 --- a/src/Mvc/Mvc.ApiExplorer/ref/Microsoft.AspNetCore.Mvc.ApiExplorer.csproj +++ b/src/Mvc/Mvc.ApiExplorer/ref/Microsoft.AspNetCore.Mvc.ApiExplorer.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Mvc/Mvc.Core/ref/Directory.Build.props b/src/Mvc/Mvc.Core/ref/Directory.Build.props new file mode 100644 index 000000000000..ea5de23302dc --- /dev/null +++ b/src/Mvc/Mvc.Core/ref/Directory.Build.props @@ -0,0 +1,7 @@ + + + + + $(NoWarn);CS0169 + + \ No newline at end of file diff --git a/src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.Manual.cs b/src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.Manual.cs index d3e44fb47120..1e379512413b 100644 --- a/src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.Manual.cs +++ b/src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.Manual.cs @@ -5,3 +5,1247 @@ using Microsoft.AspNetCore.Mvc.Formatters; [assembly: TypeForwardedTo(typeof(InputFormatterException))] + +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.ApiExplorer, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.Cors, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.DataAnnotations, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.Formatters.Xml, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.Localization, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.Razor, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.RazorPages, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.TagHelpers, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.Testing, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.ViewFeatures, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")] + +namespace Microsoft.AspNetCore.Internal +{ + internal partial interface IResponseCacheFilter + { + } +} +namespace Microsoft.AspNetCore.Mvc +{ + internal partial class MvcCoreMvcOptionsSetup + { + private readonly Microsoft.Extensions.Options.IOptions _jsonOptions; + private readonly Microsoft.Extensions.Logging.ILoggerFactory _loggerFactory; + private readonly Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory _readerFactory; + public MvcCoreMvcOptionsSetup(Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory readerFactory) { } + public MvcCoreMvcOptionsSetup(Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory readerFactory, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions jsonOptions) { } + public void Configure(Microsoft.AspNetCore.Mvc.MvcOptions options) { } + internal static void ConfigureAdditionalModelMetadataDetailsProviders(System.Collections.Generic.IList modelMetadataDetailsProviders) { } + public void PostConfigure(string name, Microsoft.AspNetCore.Mvc.MvcOptions options) { } + } +} +namespace Microsoft.AspNetCore.Mvc.Controllers +{ + internal delegate System.Threading.Tasks.Task ControllerBinderDelegate(Microsoft.AspNetCore.Mvc.ControllerContext controllerContext, object controller, System.Collections.Generic.Dictionary arguments); +} +namespace Microsoft.AspNetCore.Mvc.ActionConstraints +{ + internal partial class DefaultActionConstraintProvider : Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintProvider + { + public DefaultActionConstraintProvider() { } + public int Order { get { throw null; } } + public void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintProviderContext context) { } + public void OnProvidersExecuting(Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintProviderContext context) { } + private void ProvideConstraint(Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintItem item, System.IServiceProvider services) { } + } + internal partial class ActionConstraintCache + { + private readonly Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintProvider[] _actionConstraintProviders; + private readonly Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider _collectionProvider; + private volatile Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintCache.InnerCache _currentCache; + public ActionConstraintCache(Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider collectionProvider, System.Collections.Generic.IEnumerable actionConstraintProviders) { } + internal Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintCache.InnerCache CurrentCache { get { throw null; } } + private void ExecuteProviders(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor action, System.Collections.Generic.List items) { } + private System.Collections.Generic.IReadOnlyList ExtractActionConstraints(System.Collections.Generic.List items) { throw null; } + public System.Collections.Generic.IReadOnlyList GetActionConstraints(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor action) { throw null; } + private System.Collections.Generic.IReadOnlyList GetActionConstraintsFromEntry(Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintCache.CacheEntry entry, Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor action) { throw null; } + internal readonly partial struct CacheEntry + { + private readonly object _dummy; + public CacheEntry(System.Collections.Generic.IReadOnlyList actionConstraints) { throw null; } + public CacheEntry(System.Collections.Generic.List items) { throw null; } + public System.Collections.Generic.IReadOnlyList ActionConstraints { get { throw null; } } + public System.Collections.Generic.List Items { get { throw null; } } + } + internal partial class InnerCache + { + private readonly Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollection _actions; + private readonly System.Collections.Concurrent.ConcurrentDictionary _Entries_k__BackingField; + public InnerCache(Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollection actions) { } + public System.Collections.Concurrent.ConcurrentDictionary Entries { get { throw null; } } + public int Version { get { throw null; } } + } + } +} +namespace Microsoft.AspNetCore.Mvc.ApplicationModels +{ + internal partial class ApiBehaviorApplicationModelProvider : Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider + { + private readonly System.Collections.Generic.List _ActionModelConventions_k__BackingField; + public ApiBehaviorApplicationModelProvider(Microsoft.Extensions.Options.IOptions apiBehaviorOptions, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.Infrastructure.IClientErrorFactory clientErrorFactory, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) { } + public System.Collections.Generic.List ActionModelConventions { get { throw null; } } + public int Order { get { throw null; } } + private static void EnsureActionIsAttributeRouted(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel actionModel) { } + private static bool IsApiController(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel controller) { throw null; } + public void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext context) { } + public void OnProvidersExecuting(Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext context) { } + } + internal partial class ApplicationModelFactory + { + private readonly Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider[] _applicationModelProviders; + private readonly System.Collections.Generic.IList _conventions; + public ApplicationModelFactory(System.Collections.Generic.IEnumerable applicationModelProviders, Microsoft.Extensions.Options.IOptions options) { } + private static void AddActionToMethodInfoMap(System.Collections.Generic.Dictionary>> actionsByMethod, Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action, Microsoft.AspNetCore.Mvc.ApplicationModels.SelectorModel selector) { } + private static void AddActionToRouteNameMap(System.Collections.Generic.Dictionary>> actionsByRouteName, Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action, Microsoft.AspNetCore.Mvc.ApplicationModels.SelectorModel selector) { } + private static System.Collections.Generic.List AddErrorNumbers(System.Collections.Generic.IEnumerable namedRoutedErrors) { throw null; } + public Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel CreateApplicationModel(System.Collections.Generic.IEnumerable controllerTypes) { throw null; } + private static string CreateAttributeRoutingAggregateErrorMessage(System.Collections.Generic.IEnumerable individualErrors) { throw null; } + private static string CreateMixedRoutedActionDescriptorsErrorMessage(System.Reflection.MethodInfo method, System.Collections.Generic.List> actions) { throw null; } + public static System.Collections.Generic.List Flatten(Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel application, System.Func flattener) { throw null; } + private static void ReplaceAttributeRouteTokens(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel controller, Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action, Microsoft.AspNetCore.Mvc.ApplicationModels.SelectorModel selector, System.Collections.Generic.List errors) { } + private static void ValidateActionGroupConfiguration(System.Reflection.MethodInfo method, System.Collections.Generic.List> actions, System.Collections.Generic.IDictionary routingConfigurationErrors) { } + private static System.Collections.Generic.List ValidateNamedAttributeRoutedActions(System.Collections.Generic.Dictionary>> actionsByRouteName) { throw null; } + } + internal partial class ControllerActionDescriptorProvider + { + private readonly Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory _applicationModelFactory; + private readonly Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager _partManager; + public ControllerActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager partManager, Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory applicationModelFactory) { } + public int Order { get { throw null; } } + private System.Collections.Generic.IEnumerable GetControllerTypes() { throw null; } + internal System.Collections.Generic.IEnumerable GetDescriptors() { throw null; } + public void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptorProviderContext context) { } + public void OnProvidersExecuting(Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptorProviderContext context) { } + } + internal partial class AuthorizationApplicationModelProvider : Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider + { + private readonly Microsoft.AspNetCore.Mvc.MvcOptions _mvcOptions; + private readonly Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider _policyProvider; + public AuthorizationApplicationModelProvider(Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider, Microsoft.Extensions.Options.IOptions mvcOptions) { } + public int Order { get { throw null; } } + public static Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter GetFilter(Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider, System.Collections.Generic.IEnumerable authData) { throw null; } + public void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext context) { } + public void OnProvidersExecuting(Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext context) { } + } + internal partial class DefaultApplicationModelProvider : Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider + { + private readonly Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider _modelMetadataProvider; + private readonly Microsoft.AspNetCore.Mvc.MvcOptions _mvcOptions; + private readonly System.Func _supportsAllRequests; + private readonly System.Func _supportsNonGetRequests; + public DefaultApplicationModelProvider(Microsoft.Extensions.Options.IOptions mvcOptionsAccessor, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider) { } + public int Order { get { throw null; } } + private static void AddRange(System.Collections.Generic.IList list, System.Collections.Generic.IEnumerable items) { } + private string CanonicalizeActionName(string actionName) { throw null; } + internal Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel CreateActionModel(System.Reflection.TypeInfo typeInfo, System.Reflection.MethodInfo methodInfo) { throw null; } + internal Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel CreateControllerModel(System.Reflection.TypeInfo typeInfo) { throw null; } + internal Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModel CreateParameterModel(System.Reflection.ParameterInfo parameterInfo) { throw null; } + internal Microsoft.AspNetCore.Mvc.ApplicationModels.PropertyModel CreatePropertyModel(System.Reflection.PropertyInfo propertyInfo) { throw null; } + private static Microsoft.AspNetCore.Mvc.ApplicationModels.SelectorModel CreateSelectorModel(Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider route, System.Collections.Generic.IList attributes) { throw null; } + private System.Collections.Generic.IList CreateSelectors(System.Collections.Generic.IList attributes) { throw null; } + private static bool InRouteProviders(System.Collections.Generic.List routeProviders, object attribute) { throw null; } + internal bool IsAction(System.Reflection.TypeInfo typeInfo, System.Reflection.MethodInfo methodInfo) { throw null; } + private bool IsIDisposableMethod(System.Reflection.MethodInfo methodInfo) { throw null; } + private bool IsSilentRouteAttribute(Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider routeTemplateProvider) { throw null; } + public void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext context) { } + public void OnProvidersExecuting(Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext context) { } + } +} +namespace Microsoft.AspNetCore.Mvc.Core +{ + internal static partial class Resources + { + private static System.Resources.ResourceManager s_resourceManager; + private static System.Globalization.CultureInfo _Culture_k__BackingField; + internal static string AcceptHeaderParser_ParseAcceptHeader_InvalidValues { get { throw null; } } + internal static string ActionDescriptorMustBeBasedOnControllerAction { get { throw null; } } + internal static string ActionExecutor_UnexpectedTaskInstance { get { throw null; } } + internal static string ActionExecutor_WrappedTaskInstance { get { throw null; } } + internal static string ActionInvokerFactory_CouldNotCreateInvoker { get { throw null; } } + internal static string ActionResult_ActionReturnValueCannotBeNull { get { throw null; } } + internal static string ApiController_AttributeRouteRequired { get { throw null; } } + internal static string ApiController_MultipleBodyParametersFound { get { throw null; } } + internal static string ApiConventionMethod_AmbiguousMethodName { get { throw null; } } + internal static string ApiConventionMethod_NoMethodFound { get { throw null; } } + internal static string ApiConventionMustBeStatic { get { throw null; } } + internal static string ApiConventions_Title_400 { get { throw null; } } + internal static string ApiConventions_Title_401 { get { throw null; } } + internal static string ApiConventions_Title_403 { get { throw null; } } + internal static string ApiConventions_Title_404 { get { throw null; } } + internal static string ApiConventions_Title_406 { get { throw null; } } + internal static string ApiConventions_Title_409 { get { throw null; } } + internal static string ApiConventions_Title_415 { get { throw null; } } + internal static string ApiConventions_Title_422 { get { throw null; } } + internal static string ApiConventions_Title_500 { get { throw null; } } + internal static string ApiConvention_UnsupportedAttributesOnConvention { get { throw null; } } + internal static string ApiExplorer_UnsupportedAction { get { throw null; } } + internal static string ApplicationAssembliesProvider_DuplicateRelatedAssembly { get { throw null; } } + internal static string ApplicationAssembliesProvider_RelatedAssemblyCannotDefineAdditional { get { throw null; } } + internal static string ApplicationPartFactory_InvalidFactoryType { get { throw null; } } + internal static string ArgumentCannotBeNullOrEmpty { get { throw null; } } + internal static string Argument_InvalidOffsetLength { get { throw null; } } + internal static string AsyncActionFilter_InvalidShortCircuit { get { throw null; } } + internal static string AsyncResourceFilter_InvalidShortCircuit { get { throw null; } } + internal static string AsyncResultFilter_InvalidShortCircuit { get { throw null; } } + internal static string AttributeRoute_AggregateErrorMessage { get { throw null; } } + internal static string AttributeRoute_AggregateErrorMessage_ErrorNumber { get { throw null; } } + internal static string AttributeRoute_CannotContainParameter { get { throw null; } } + internal static string AttributeRoute_DuplicateNames { get { throw null; } } + internal static string AttributeRoute_DuplicateNames_Item { get { throw null; } } + internal static string AttributeRoute_IndividualErrorMessage { get { throw null; } } + internal static string AttributeRoute_MixedAttributeAndConventionallyRoutedActions_ForMethod { get { throw null; } } + internal static string AttributeRoute_MixedAttributeAndConventionallyRoutedActions_ForMethod_Item { get { throw null; } } + internal static string AttributeRoute_NullTemplateRepresentation { get { throw null; } } + internal static string AttributeRoute_TokenReplacement_EmptyTokenNotAllowed { get { throw null; } } + internal static string AttributeRoute_TokenReplacement_ImbalancedSquareBrackets { get { throw null; } } + internal static string AttributeRoute_TokenReplacement_InvalidSyntax { get { throw null; } } + internal static string AttributeRoute_TokenReplacement_ReplacementValueNotFound { get { throw null; } } + internal static string AttributeRoute_TokenReplacement_UnclosedToken { get { throw null; } } + internal static string AttributeRoute_TokenReplacement_UnescapedBraceInToken { get { throw null; } } + internal static string AuthorizeFilter_AuthorizationPolicyCannotBeCreated { get { throw null; } } + internal static string BinderType_MustBeIModelBinder { get { throw null; } } + internal static string BindingSource_CannotBeComposite { get { throw null; } } + internal static string BindingSource_CannotBeGreedy { get { throw null; } } + internal static string CacheProfileNotFound { get { throw null; } } + internal static string CandidateResolver_DifferentCasedReference { get { throw null; } } + internal static string Common_PropertyNotFound { get { throw null; } } + internal static string ComplexTypeModelBinder_NoParameterlessConstructor_ForParameter { get { throw null; } } + internal static string ComplexTypeModelBinder_NoParameterlessConstructor_ForProperty { get { throw null; } } + internal static string ComplexTypeModelBinder_NoParameterlessConstructor_ForType { get { throw null; } } + internal static string CouldNotCreateIModelBinder { get { throw null; } } + internal static System.Globalization.CultureInfo Culture { get { throw null; } set { } } + internal static string DefaultActionSelector_AmbiguousActions { get { throw null; } } + internal static string FileResult_InvalidPath { get { throw null; } } + internal static string FileResult_PathNotRooted { get { throw null; } } + internal static string FilterFactoryAttribute_TypeMustImplementIFilter { get { throw null; } } + internal static string FormatFormatterMappings_GetMediaTypeMappingForFormat_InvalidFormat { get { throw null; } } + internal static string FormatterMappings_NotValidMediaType { get { throw null; } } + internal static string Formatter_NoMediaTypes { get { throw null; } } + internal static string Format_NotValid { get { throw null; } } + internal static string FormCollectionModelBinder_CannotBindToFormCollection { get { throw null; } } + internal static string HtmlGeneration_NonPropertyValueMustBeNumber { get { throw null; } } + internal static string HtmlGeneration_ValueIsInvalid { get { throw null; } } + internal static string HtmlGeneration_ValueMustBeNumber { get { throw null; } } + internal static string InputFormatterNoEncoding { get { throw null; } } + internal static string InputFormattersAreRequired { get { throw null; } } + internal static string InvalidTypeTForActionResultOfT { get { throw null; } } + internal static string Invalid_IncludePropertyExpression { get { throw null; } } + internal static string JQueryFormValueProviderFactory_MissingClosingBracket { get { throw null; } } + internal static string KeyValuePair_BothKeyAndValueMustBePresent { get { throw null; } } + internal static string MatchAllContentTypeIsNotAllowed { get { throw null; } } + internal static string MiddewareFilter_ConfigureMethodOverload { get { throw null; } } + internal static string MiddewareFilter_NoConfigureMethod { get { throw null; } } + internal static string MiddlewareFilterBuilder_NoMiddlewareFeature { get { throw null; } } + internal static string MiddlewareFilterBuilder_NullApplicationBuilder { get { throw null; } } + internal static string MiddlewareFilterConfigurationProvider_CreateConfigureDelegate_CannotCreateType { get { throw null; } } + internal static string MiddlewareFilter_InvalidConfigureReturnType { get { throw null; } } + internal static string MiddlewareFilter_ServiceResolutionFail { get { throw null; } } + internal static string ModelBinderProvidersAreRequired { get { throw null; } } + internal static string ModelBinderUtil_ModelCannotBeNull { get { throw null; } } + internal static string ModelBinderUtil_ModelInstanceIsWrong { get { throw null; } } + internal static string ModelBinderUtil_ModelMetadataCannotBeNull { get { throw null; } } + internal static string ModelBinding_ExceededMaxModelBindingCollectionSize { get { throw null; } } + internal static string ModelBinding_ExceededMaxModelBindingRecursionDepth { get { throw null; } } + internal static string ModelBinding_MissingBindRequiredMember { get { throw null; } } + internal static string ModelBinding_MissingRequestBodyRequiredMember { get { throw null; } } + internal static string ModelBinding_NullValueNotValid { get { throw null; } } + internal static string ModelState_AttemptedValueIsInvalid { get { throw null; } } + internal static string ModelState_NonPropertyAttemptedValueIsInvalid { get { throw null; } } + internal static string ModelState_NonPropertyUnknownValueIsInvalid { get { throw null; } } + internal static string ModelState_UnknownValueIsInvalid { get { throw null; } } + internal static string ModelType_WrongType { get { throw null; } } + internal static string NoRoutesMatched { get { throw null; } } + internal static string NoRoutesMatchedForPage { get { throw null; } } + internal static string ObjectResultExecutor_MaxEnumerationExceeded { get { throw null; } } + internal static string ObjectResult_MatchAllContentType { get { throw null; } } + internal static string OutputFormatterNoMediaType { get { throw null; } } + internal static string OutputFormattersAreRequired { get { throw null; } } + internal static string PropertyOfTypeCannotBeNull { get { throw null; } } + internal static string Property_MustBeInstanceOfType { get { throw null; } } + internal static string ReferenceToNewtonsoftJsonRequired { get { throw null; } } + internal static string RelatedAssemblyAttribute_AssemblyCannotReferenceSelf { get { throw null; } } + internal static string RelatedAssemblyAttribute_CouldNotBeFound { get { throw null; } } + internal static System.Resources.ResourceManager ResourceManager { get { throw null; } } + internal static string ResponseCache_SpecifyDuration { get { throw null; } } + internal static string SerializableError_DefaultError { get { throw null; } } + internal static string TextInputFormatter_SupportedEncodingsMustNotBeEmpty { get { throw null; } } + internal static string TextOutputFormatter_SupportedEncodingsMustNotBeEmpty { get { throw null; } } + internal static string TextOutputFormatter_WriteResponseBodyAsyncNotSupported { get { throw null; } } + internal static string TypeMethodMustReturnNotNullValue { get { throw null; } } + internal static string TypeMustDeriveFromType { get { throw null; } } + internal static string UnableToFindServices { get { throw null; } } + internal static string UnexpectedJsonEnd { get { throw null; } } + internal static string UnsupportedContentType { get { throw null; } } + internal static string UrlHelper_RelativePagePathIsNotSupported { get { throw null; } } + internal static string UrlNotLocal { get { throw null; } } + internal static string ValidationProblemDescription_Title { get { throw null; } } + internal static string ValidationVisitor_ExceededMaxDepth { get { throw null; } } + internal static string ValidationVisitor_ExceededMaxDepthFix { get { throw null; } } + internal static string ValidationVisitor_ExceededMaxPropertyDepth { get { throw null; } } + internal static string ValueInterfaceAbstractOrOpenGenericTypesCannotBeActivated { get { throw null; } } + internal static string ValueProviderResult_NoConverterExists { get { throw null; } } + internal static string VaryByQueryKeys_Requires_ResponseCachingMiddleware { get { throw null; } } + internal static string VirtualFileResultExecutor_NoFileProviderConfigured { get { throw null; } } + internal static string FormatAcceptHeaderParser_ParseAcceptHeader_InvalidValues(object p0) { throw null; } + internal static string FormatActionDescriptorMustBeBasedOnControllerAction(object p0) { throw null; } + internal static string FormatActionExecutor_UnexpectedTaskInstance(object p0, object p1) { throw null; } + internal static string FormatActionExecutor_WrappedTaskInstance(object p0, object p1, object p2) { throw null; } + internal static string FormatActionInvokerFactory_CouldNotCreateInvoker(object p0) { throw null; } + internal static string FormatActionResult_ActionReturnValueCannotBeNull(object p0) { throw null; } + internal static string FormatApiController_AttributeRouteRequired(object p0, object p1) { throw null; } + internal static string FormatApiController_MultipleBodyParametersFound(object p0, object p1, object p2, object p3) { throw null; } + internal static string FormatApiConventionMethod_AmbiguousMethodName(object p0, object p1) { throw null; } + internal static string FormatApiConventionMethod_NoMethodFound(object p0, object p1) { throw null; } + internal static string FormatApiConventionMustBeStatic(object p0) { throw null; } + internal static string FormatApiConvention_UnsupportedAttributesOnConvention(object p0, object p1, object p2) { throw null; } + internal static string FormatApiExplorer_UnsupportedAction(object p0) { throw null; } + internal static string FormatApplicationAssembliesProvider_DuplicateRelatedAssembly(object p0) { throw null; } + internal static string FormatApplicationAssembliesProvider_RelatedAssemblyCannotDefineAdditional(object p0, object p1) { throw null; } + internal static string FormatApplicationPartFactory_InvalidFactoryType(object p0, object p1, object p2) { throw null; } + internal static string FormatArgument_InvalidOffsetLength(object p0, object p1) { throw null; } + internal static string FormatAsyncActionFilter_InvalidShortCircuit(object p0, object p1, object p2, object p3) { throw null; } + internal static string FormatAsyncResourceFilter_InvalidShortCircuit(object p0, object p1, object p2, object p3) { throw null; } + internal static string FormatAsyncResultFilter_InvalidShortCircuit(object p0, object p1, object p2, object p3) { throw null; } + internal static string FormatAttributeRoute_AggregateErrorMessage(object p0, object p1) { throw null; } + internal static string FormatAttributeRoute_AggregateErrorMessage_ErrorNumber(object p0, object p1, object p2) { throw null; } + internal static string FormatAttributeRoute_CannotContainParameter(object p0, object p1, object p2) { throw null; } + internal static string FormatAttributeRoute_DuplicateNames(object p0, object p1, object p2) { throw null; } + internal static string FormatAttributeRoute_DuplicateNames_Item(object p0, object p1) { throw null; } + internal static string FormatAttributeRoute_IndividualErrorMessage(object p0, object p1, object p2) { throw null; } + internal static string FormatAttributeRoute_MixedAttributeAndConventionallyRoutedActions_ForMethod(object p0, object p1, object p2) { throw null; } + internal static string FormatAttributeRoute_MixedAttributeAndConventionallyRoutedActions_ForMethod_Item(object p0, object p1, object p2) { throw null; } + internal static string FormatAttributeRoute_TokenReplacement_InvalidSyntax(object p0, object p1) { throw null; } + internal static string FormatAttributeRoute_TokenReplacement_ReplacementValueNotFound(object p0, object p1, object p2) { throw null; } + internal static string FormatAuthorizeFilter_AuthorizationPolicyCannotBeCreated(object p0, object p1) { throw null; } + internal static string FormatBinderType_MustBeIModelBinder(object p0, object p1) { throw null; } + internal static string FormatBindingSource_CannotBeComposite(object p0, object p1) { throw null; } + internal static string FormatBindingSource_CannotBeGreedy(object p0, object p1) { throw null; } + internal static string FormatCacheProfileNotFound(object p0) { throw null; } + internal static string FormatCandidateResolver_DifferentCasedReference(object p0) { throw null; } + internal static string FormatCommon_PropertyNotFound(object p0, object p1) { throw null; } + internal static string FormatComplexTypeModelBinder_NoParameterlessConstructor_ForParameter(object p0, object p1) { throw null; } + internal static string FormatComplexTypeModelBinder_NoParameterlessConstructor_ForProperty(object p0, object p1, object p2) { throw null; } + internal static string FormatComplexTypeModelBinder_NoParameterlessConstructor_ForType(object p0) { throw null; } + internal static string FormatCouldNotCreateIModelBinder(object p0) { throw null; } + internal static string FormatDefaultActionSelector_AmbiguousActions(object p0, object p1) { throw null; } + internal static string FormatFileResult_InvalidPath(object p0) { throw null; } + internal static string FormatFileResult_PathNotRooted(object p0) { throw null; } + internal static string FormatFilterFactoryAttribute_TypeMustImplementIFilter(object p0, object p1) { throw null; } + internal static string FormatFormatFormatterMappings_GetMediaTypeMappingForFormat_InvalidFormat(object p0) { throw null; } + internal static string FormatFormatterMappings_NotValidMediaType(object p0) { throw null; } + internal static string FormatFormatter_NoMediaTypes(object p0, object p1) { throw null; } + internal static string FormatFormat_NotValid(object p0) { throw null; } + internal static string FormatFormCollectionModelBinder_CannotBindToFormCollection(object p0, object p1, object p2) { throw null; } + internal static string FormatHtmlGeneration_ValueIsInvalid(object p0) { throw null; } + internal static string FormatHtmlGeneration_ValueMustBeNumber(object p0) { throw null; } + internal static string FormatInputFormatterNoEncoding(object p0) { throw null; } + internal static string FormatInputFormattersAreRequired(object p0, object p1, object p2) { throw null; } + internal static string FormatInvalidTypeTForActionResultOfT(object p0, object p1) { throw null; } + internal static string FormatInvalid_IncludePropertyExpression(object p0) { throw null; } + internal static string FormatJQueryFormValueProviderFactory_MissingClosingBracket(object p0) { throw null; } + internal static string FormatMatchAllContentTypeIsNotAllowed(object p0) { throw null; } + internal static string FormatMiddewareFilter_ConfigureMethodOverload(object p0) { throw null; } + internal static string FormatMiddewareFilter_NoConfigureMethod(object p0, object p1) { throw null; } + internal static string FormatMiddlewareFilterBuilder_NoMiddlewareFeature(object p0) { throw null; } + internal static string FormatMiddlewareFilterBuilder_NullApplicationBuilder(object p0) { throw null; } + internal static string FormatMiddlewareFilterConfigurationProvider_CreateConfigureDelegate_CannotCreateType(object p0, object p1) { throw null; } + internal static string FormatMiddlewareFilter_InvalidConfigureReturnType(object p0, object p1, object p2) { throw null; } + internal static string FormatMiddlewareFilter_ServiceResolutionFail(object p0, object p1, object p2, object p3) { throw null; } + internal static string FormatModelBinderProvidersAreRequired(object p0, object p1, object p2) { throw null; } + internal static string FormatModelBinderUtil_ModelCannotBeNull(object p0) { throw null; } + internal static string FormatModelBinderUtil_ModelInstanceIsWrong(object p0, object p1) { throw null; } + internal static string FormatModelBinding_ExceededMaxModelBindingCollectionSize(object p0, object p1, object p2, object p3, object p4) { throw null; } + internal static string FormatModelBinding_ExceededMaxModelBindingRecursionDepth(object p0, object p1, object p2, object p3) { throw null; } + internal static string FormatModelBinding_MissingBindRequiredMember(object p0) { throw null; } + internal static string FormatModelBinding_NullValueNotValid(object p0) { throw null; } + internal static string FormatModelState_AttemptedValueIsInvalid(object p0, object p1) { throw null; } + internal static string FormatModelState_NonPropertyAttemptedValueIsInvalid(object p0) { throw null; } + internal static string FormatModelState_UnknownValueIsInvalid(object p0) { throw null; } + internal static string FormatModelType_WrongType(object p0, object p1) { throw null; } + internal static string FormatNoRoutesMatchedForPage(object p0) { throw null; } + internal static string FormatObjectResultExecutor_MaxEnumerationExceeded(object p0, object p1) { throw null; } + internal static string FormatObjectResult_MatchAllContentType(object p0, object p1) { throw null; } + internal static string FormatOutputFormatterNoMediaType(object p0) { throw null; } + internal static string FormatOutputFormattersAreRequired(object p0, object p1, object p2) { throw null; } + internal static string FormatPropertyOfTypeCannotBeNull(object p0, object p1) { throw null; } + internal static string FormatProperty_MustBeInstanceOfType(object p0, object p1, object p2) { throw null; } + internal static string FormatReferenceToNewtonsoftJsonRequired(object p0, object p1, object p2, object p3, object p4) { throw null; } + internal static string FormatRelatedAssemblyAttribute_AssemblyCannotReferenceSelf(object p0, object p1) { throw null; } + internal static string FormatRelatedAssemblyAttribute_CouldNotBeFound(object p0, object p1, object p2) { throw null; } + internal static string FormatResponseCache_SpecifyDuration(object p0, object p1) { throw null; } + internal static string FormatTextInputFormatter_SupportedEncodingsMustNotBeEmpty(object p0) { throw null; } + internal static string FormatTextOutputFormatter_SupportedEncodingsMustNotBeEmpty(object p0) { throw null; } + internal static string FormatTextOutputFormatter_WriteResponseBodyAsyncNotSupported(object p0, object p1, object p2) { throw null; } + internal static string FormatTypeMethodMustReturnNotNullValue(object p0, object p1) { throw null; } + internal static string FormatTypeMustDeriveFromType(object p0, object p1) { throw null; } + internal static string FormatUnableToFindServices(object p0, object p1, object p2) { throw null; } + internal static string FormatUnsupportedContentType(object p0) { throw null; } + internal static string FormatUrlHelper_RelativePagePathIsNotSupported(object p0, object p1, object p2) { throw null; } + internal static string FormatValidationVisitor_ExceededMaxDepth(object p0, object p1, object p2) { throw null; } + internal static string FormatValidationVisitor_ExceededMaxDepthFix(object p0, object p1) { throw null; } + internal static string FormatValidationVisitor_ExceededMaxPropertyDepth(object p0, object p1, object p2, object p3) { throw null; } + internal static string FormatValueInterfaceAbstractOrOpenGenericTypesCannotBeActivated(object p0, object p1) { throw null; } + internal static string FormatValueProviderResult_NoConverterExists(object p0, object p1) { throw null; } + internal static string FormatVaryByQueryKeys_Requires_ResponseCachingMiddleware(object p0) { throw null; } + internal static string GetResourceString(string resourceKey, string defaultValue = null) { throw null; } + private static string GetResourceString(string resourceKey, string[] formatterNames) { throw null; } + } +} +namespace Microsoft.AspNetCore.Mvc.Controllers +{ + internal partial class DefaultControllerPropertyActivator : Microsoft.AspNetCore.Mvc.Controllers.IControllerPropertyActivator + { + private System.Collections.Concurrent.ConcurrentDictionary[]> _activateActions; + private static readonly System.Func[]> _getPropertiesToActivate; + private bool _initialized; + private object _initializeLock; + public DefaultControllerPropertyActivator() { } + public void Activate(Microsoft.AspNetCore.Mvc.ControllerContext context, object controller) { } + public System.Action GetActivatorDelegate(Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor actionDescriptor) { throw null; } + private static Microsoft.Extensions.Internal.PropertyActivator[] GetPropertiesToActivate(System.Type type) { throw null; } + } + internal partial interface IControllerPropertyActivator + { + void Activate(Microsoft.AspNetCore.Mvc.ControllerContext context, object controller); + System.Action GetActivatorDelegate(Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor actionDescriptor); + } +} +namespace Microsoft.AspNetCore.Mvc.Filters +{ + internal partial class DefaultFilterProvider + { + public DefaultFilterProvider() { } + public int Order { get { throw null; } } + private void ApplyFilterToContainer(object actualFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata filterMetadata) { } + public void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.Filters.FilterProviderContext context) { } + public void OnProvidersExecuting(Microsoft.AspNetCore.Mvc.Filters.FilterProviderContext context) { } + public void ProvideFilter(Microsoft.AspNetCore.Mvc.Filters.FilterProviderContext context, Microsoft.AspNetCore.Mvc.Filters.FilterItem filterItem) { } + } + internal readonly partial struct FilterFactoryResult + { + private readonly object _dummy; + public FilterFactoryResult(Microsoft.AspNetCore.Mvc.Filters.FilterItem[] cacheableFilters, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[] filters) { throw null; } + public Microsoft.AspNetCore.Mvc.Filters.FilterItem[] CacheableFilters { get { throw null; } } + public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[] Filters { get { throw null; } } + } + internal static partial class FilterFactory + { + public static Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[] CreateUncachedFilters(Microsoft.AspNetCore.Mvc.Filters.IFilterProvider[] filterProviders, Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.Filters.FilterItem[] cachedFilterItems) { throw null; } + private static Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[] CreateUncachedFiltersCore(Microsoft.AspNetCore.Mvc.Filters.IFilterProvider[] filterProviders, Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.List filterItems) { throw null; } + public static Microsoft.AspNetCore.Mvc.Filters.FilterFactoryResult GetAllFilters(Microsoft.AspNetCore.Mvc.Filters.IFilterProvider[] filterProviders, Microsoft.AspNetCore.Mvc.ActionContext actionContext) { throw null; } + } + internal partial interface IResponseCacheFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata + { + } + internal partial struct FilterCursor + { + private object _dummy; + private int _dummyPrimitive; + public FilterCursor(Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[] filters) { throw null; } + public Microsoft.AspNetCore.Mvc.Filters.FilterCursorItem GetNextFilter() where TFilter : class where TFilterAsync : class { throw null; } + public void Reset() { } + } + internal partial class ResponseCacheFilterExecutor + { + private int? _cacheDuration; + private Microsoft.AspNetCore.Mvc.ResponseCacheLocation? _cacheLocation; + private bool? _cacheNoStore; + private readonly Microsoft.AspNetCore.Mvc.CacheProfile _cacheProfile; + private string _cacheVaryByHeader; + private string[] _cacheVaryByQueryKeys; + public ResponseCacheFilterExecutor(Microsoft.AspNetCore.Mvc.CacheProfile cacheProfile) { } + public int Duration { get { throw null; } set { } } + public Microsoft.AspNetCore.Mvc.ResponseCacheLocation Location { get { throw null; } set { } } + public bool NoStore { get { throw null; } set { } } + public string VaryByHeader { get { throw null; } set { } } + public string[] VaryByQueryKeys { get { throw null; } set { } } + public void Execute(Microsoft.AspNetCore.Mvc.Filters.FilterContext context) { } + } + internal readonly partial struct FilterCursorItem + { + private readonly TFilter _Filter_k__BackingField; + private readonly TFilterAsync _FilterAsync_k__BackingField; + private readonly int _dummyPrimitive; + public FilterCursorItem(TFilter filter, TFilterAsync filterAsync) { throw null; } + public TFilter Filter { get { throw null; } } + public TFilterAsync FilterAsync { get { throw null; } } + } +} +namespace Microsoft.AspNetCore.Mvc.Formatters +{ + internal static partial class MediaTypeHeaderValues + { + public static readonly Microsoft.Net.Http.Headers.MediaTypeHeaderValue ApplicationAnyJsonSyntax; + public static readonly Microsoft.Net.Http.Headers.MediaTypeHeaderValue ApplicationAnyXmlSyntax; + public static readonly Microsoft.Net.Http.Headers.MediaTypeHeaderValue ApplicationJson; + public static readonly Microsoft.Net.Http.Headers.MediaTypeHeaderValue ApplicationJsonPatch; + public static readonly Microsoft.Net.Http.Headers.MediaTypeHeaderValue ApplicationXml; + public static readonly Microsoft.Net.Http.Headers.MediaTypeHeaderValue TextJson; + public static readonly Microsoft.Net.Http.Headers.MediaTypeHeaderValue TextXml; + } + internal static partial class ResponseContentTypeHelper + { + public static void ResolveContentTypeAndEncoding(string actionResultContentType, string httpResponseContentType, string defaultContentType, out string resolvedContentType, out System.Text.Encoding resolvedContentTypeEncoding) { throw null; } + } +} +namespace Microsoft.AspNetCore.Mvc.Infrastructure +{ + internal abstract partial class ActionMethodExecutor + { + private static readonly Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor[] Executors; + protected ActionMethodExecutor() { } + protected abstract bool CanExecute(Microsoft.Extensions.Internal.ObjectMethodExecutor executor); + private Microsoft.AspNetCore.Mvc.IActionResult ConvertToActionResult(Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, object returnValue, System.Type declaredType) { throw null; } + private static void EnsureActionResultNotNull(Microsoft.Extensions.Internal.ObjectMethodExecutor executor, Microsoft.AspNetCore.Mvc.IActionResult actionResult) { } + public abstract System.Threading.Tasks.ValueTask Execute(Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Microsoft.Extensions.Internal.ObjectMethodExecutor executor, object controller, object[] arguments); + public static Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor GetExecutor(Microsoft.Extensions.Internal.ObjectMethodExecutor executor) { throw null; } + private partial class AwaitableObjectResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor + { + public AwaitableObjectResultExecutor() { } + protected override bool CanExecute(Microsoft.Extensions.Internal.ObjectMethodExecutor executor) { throw null; } + public override System.Threading.Tasks.ValueTask Execute(Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Microsoft.Extensions.Internal.ObjectMethodExecutor executor, object controller, object[] arguments) { throw null; } + } + private partial class AwaitableResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor + { + public AwaitableResultExecutor() { } + protected override bool CanExecute(Microsoft.Extensions.Internal.ObjectMethodExecutor executor) { throw null; } + public override System.Threading.Tasks.ValueTask Execute(Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Microsoft.Extensions.Internal.ObjectMethodExecutor executor, object controller, object[] arguments) { throw null; } + } + private partial class SyncActionResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor + { + public SyncActionResultExecutor() { } + protected override bool CanExecute(Microsoft.Extensions.Internal.ObjectMethodExecutor executor) { throw null; } + public override System.Threading.Tasks.ValueTask Execute(Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Microsoft.Extensions.Internal.ObjectMethodExecutor executor, object controller, object[] arguments) { throw null; } + } + private partial class SyncObjectResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor + { + public SyncObjectResultExecutor() { } + protected override bool CanExecute(Microsoft.Extensions.Internal.ObjectMethodExecutor executor) { throw null; } + public override System.Threading.Tasks.ValueTask Execute(Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Microsoft.Extensions.Internal.ObjectMethodExecutor executor, object controller, object[] arguments) { throw null; } + } + private partial class TaskOfActionResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor + { + public TaskOfActionResultExecutor() { } + protected override bool CanExecute(Microsoft.Extensions.Internal.ObjectMethodExecutor executor) { throw null; } + public override System.Threading.Tasks.ValueTask Execute(Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Microsoft.Extensions.Internal.ObjectMethodExecutor executor, object controller, object[] arguments) { throw null; } + } + private partial class TaskOfIActionResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor + { + public TaskOfIActionResultExecutor() { } + protected override bool CanExecute(Microsoft.Extensions.Internal.ObjectMethodExecutor executor) { throw null; } + public override System.Threading.Tasks.ValueTask Execute(Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Microsoft.Extensions.Internal.ObjectMethodExecutor executor, object controller, object[] arguments) { throw null; } + } + private partial class TaskResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor + { + public TaskResultExecutor() { } + protected override bool CanExecute(Microsoft.Extensions.Internal.ObjectMethodExecutor executor) { throw null; } + public override System.Threading.Tasks.ValueTask Execute(Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Microsoft.Extensions.Internal.ObjectMethodExecutor executor, object controller, object[] arguments) { throw null; } + } + private partial class VoidResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor + { + public VoidResultExecutor() { } + protected override bool CanExecute(Microsoft.Extensions.Internal.ObjectMethodExecutor executor) { throw null; } + public override System.Threading.Tasks.ValueTask Execute(Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Microsoft.Extensions.Internal.ObjectMethodExecutor executor, object controller, object[] arguments) { throw null; } + } + } + internal partial class ControllerActionInvokerCacheEntry + { + private readonly Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor _ActionMethodExecutor_k__BackingField; + private readonly Microsoft.AspNetCore.Mvc.Filters.FilterItem[] _CachedFilters_k__BackingField; + private readonly Microsoft.AspNetCore.Mvc.Controllers.ControllerBinderDelegate _ControllerBinderDelegate_k__BackingField; + private readonly System.Func _ControllerFactory_k__BackingField; + private readonly System.Action _ControllerReleaser_k__BackingField; + private readonly Microsoft.Extensions.Internal.ObjectMethodExecutor _ObjectMethodExecutor_k__BackingField; + internal ControllerActionInvokerCacheEntry(Microsoft.AspNetCore.Mvc.Filters.FilterItem[] cachedFilters, System.Func controllerFactory, System.Action controllerReleaser, Microsoft.AspNetCore.Mvc.Controllers.ControllerBinderDelegate controllerBinderDelegate, Microsoft.Extensions.Internal.ObjectMethodExecutor objectMethodExecutor, Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor actionMethodExecutor) { } + internal Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor ActionMethodExecutor { get { throw null; } } + public Microsoft.AspNetCore.Mvc.Filters.FilterItem[] CachedFilters { get { throw null; } } + public Microsoft.AspNetCore.Mvc.Controllers.ControllerBinderDelegate ControllerBinderDelegate { get { throw null; } } + public System.Func ControllerFactory { get { throw null; } } + public System.Action ControllerReleaser { get { throw null; } } + internal Microsoft.Extensions.Internal.ObjectMethodExecutor ObjectMethodExecutor { get { throw null; } } + } + internal partial class ControllerActionInvokerCache + { + private readonly Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider _collectionProvider; + private readonly Microsoft.AspNetCore.Mvc.Controllers.IControllerFactoryProvider _controllerFactoryProvider; + private volatile Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvokerCache.InnerCache _currentCache; + private readonly Microsoft.AspNetCore.Mvc.Filters.IFilterProvider[] _filterProviders; + private readonly Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory _modelBinderFactory; + private readonly Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider _modelMetadataProvider; + private readonly Microsoft.AspNetCore.Mvc.MvcOptions _mvcOptions; + private readonly Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder _parameterBinder; + public ControllerActionInvokerCache(Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider collectionProvider, Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder parameterBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory modelBinderFactory, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, System.Collections.Generic.IEnumerable filterProviders, Microsoft.AspNetCore.Mvc.Controllers.IControllerFactoryProvider factoryProvider, Microsoft.Extensions.Options.IOptions mvcOptions) { } + private Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvokerCache.InnerCache CurrentCache { get { throw null; } } + public (Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvokerCacheEntry cacheEntry, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[] filters) GetCachedResult(Microsoft.AspNetCore.Mvc.ControllerContext controllerContext) { throw null; } + private partial class InnerCache + { + private readonly System.Collections.Concurrent.ConcurrentDictionary _Entries_k__BackingField; + private readonly int _Version_k__BackingField; + public InnerCache(int version) { } + public System.Collections.Concurrent.ConcurrentDictionary Entries { get { throw null; } } + public int Version { get { throw null; } } + } + } + internal partial class MvcOptionsConfigureCompatibilityOptions : Microsoft.AspNetCore.Mvc.Infrastructure.ConfigureCompatibilityOptions + { + public MvcOptionsConfigureCompatibilityOptions(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions compatibilityOptions) : base(loggerFactory, compatibilityOptions) { } + protected override System.Collections.Generic.IReadOnlyDictionary DefaultValues { get { throw null; } } + } + internal partial class DefaultActionDescriptorCollectionProvider : Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollectionProvider + { + private readonly Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorChangeProvider[] _actionDescriptorChangeProviders; + private readonly Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider[] _actionDescriptorProviders; + private System.Threading.CancellationTokenSource _cancellationTokenSource; + private Microsoft.Extensions.Primitives.IChangeToken _changeToken; + private Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollection _collection; + private readonly object _lock; + private int _version; + public DefaultActionDescriptorCollectionProvider(System.Collections.Generic.IEnumerable actionDescriptorProviders, System.Collections.Generic.IEnumerable actionDescriptorChangeProviders) { } + public override Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollection ActionDescriptors { get { throw null; } } + public override Microsoft.Extensions.Primitives.IChangeToken GetChangeToken() { throw null; } + private Microsoft.Extensions.Primitives.IChangeToken GetCompositeChangeToken() { throw null; } + private void Initialize() { } + private void UpdateCollection() { } + } + internal partial class ControllerActionInvokerProvider + { + private readonly Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor _actionContextAccessor; + private readonly Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvokerCache _controllerActionInvokerCache; + private readonly System.Diagnostics.DiagnosticListener _diagnosticListener; + private readonly Microsoft.Extensions.Logging.ILogger _logger; + private readonly Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper _mapper; + private readonly int _maxModelValidationErrors; + private readonly System.Collections.Generic.IReadOnlyList _valueProviderFactories; + public ControllerActionInvokerProvider(Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvokerCache controllerActionInvokerCache, Microsoft.Extensions.Options.IOptions optionsAccessor, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Diagnostics.DiagnosticListener diagnosticListener, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper) { } + public ControllerActionInvokerProvider(Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvokerCache controllerActionInvokerCache, Microsoft.Extensions.Options.IOptions optionsAccessor, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Diagnostics.DiagnosticListener diagnosticListener, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor actionContextAccessor) { } + public int Order { get { throw null; } } + public void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.Abstractions.ActionInvokerProviderContext context) { } + public void OnProvidersExecuting(Microsoft.AspNetCore.Mvc.Abstractions.ActionInvokerProviderContext context) { } + } + internal partial class ActionSelector : Microsoft.AspNetCore.Mvc.Infrastructure.IActionSelector + { + private readonly Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintCache _actionConstraintCache; + private readonly Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider _actionDescriptorCollectionProvider; + private Microsoft.AspNetCore.Mvc.Infrastructure.ActionSelectionTable _cache; + private readonly Microsoft.Extensions.Logging.ILogger _logger; + public ActionSelector(Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider actionDescriptorCollectionProvider, Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintCache actionConstraintCache, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) { } + private Microsoft.AspNetCore.Mvc.Infrastructure.ActionSelectionTable Current { get { throw null; } } + private System.Collections.Generic.IReadOnlyList EvaluateActionConstraints(Microsoft.AspNetCore.Routing.RouteContext context, System.Collections.Generic.IReadOnlyList actions) { throw null; } + private System.Collections.Generic.IReadOnlyList EvaluateActionConstraintsCore(Microsoft.AspNetCore.Routing.RouteContext context, System.Collections.Generic.IReadOnlyList candidates, int? startingOrder) { throw null; } + private System.Collections.Generic.IReadOnlyList SelectBestActions(System.Collections.Generic.IReadOnlyList actions) { throw null; } + public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor SelectBestCandidate(Microsoft.AspNetCore.Routing.RouteContext context, System.Collections.Generic.IReadOnlyList candidates) { throw null; } + public System.Collections.Generic.IReadOnlyList SelectCandidates(Microsoft.AspNetCore.Routing.RouteContext context) { throw null; } + } + internal partial class CopyOnWriteList : System.Collections.Generic.IList + { + private System.Collections.Generic.List _copy; + private readonly System.Collections.Generic.IReadOnlyList _source; + public CopyOnWriteList(System.Collections.Generic.IReadOnlyList source) { } + public int Count { get { throw null; } } + public bool IsReadOnly { get { throw null; } } + public T this[int index] { get { throw null; } set { } } + private System.Collections.Generic.IReadOnlyList Readable { get { throw null; } } + private System.Collections.Generic.List Writable { get { throw null; } } + public void Add(T item) { } + public void Clear() { } + public bool Contains(T item) { throw null; } + public void CopyTo(T[] array, int arrayIndex) { } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + public int IndexOf(T item) { throw null; } + public void Insert(int index, T item) { } + public bool Remove(T item) { throw null; } + public void RemoveAt(int index) { } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + } + public partial class ActionContextAccessor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor + { + internal static readonly Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor Null; + } + internal static partial class ParameterDefaultValues + { + private static object GetParameterDefaultValue(System.Reflection.ParameterInfo parameterInfo) { throw null; } + public static object[] GetParameterDefaultValues(System.Reflection.MethodInfo methodInfo) { throw null; } + public static bool TryGetDeclaredParameterDefaultValue(System.Reflection.ParameterInfo parameterInfo, out object defaultValue) { throw null; } + } + internal partial interface ITypeActivatorCache + { + TInstance CreateInstance(System.IServiceProvider serviceProvider, System.Type optionType); + } + internal partial class NonDisposableStream : System.IO.Stream + { + private readonly System.IO.Stream _innerStream; + public NonDisposableStream(System.IO.Stream innerStream) { } + public override bool CanRead { get { throw null; } } + public override bool CanSeek { get { throw null; } } + public override bool CanTimeout { get { throw null; } } + public override bool CanWrite { get { throw null; } } + private System.IO.Stream InnerStream { get { throw null; } } + public override long Length { get { throw null; } } + public override long Position { get { throw null; } set { } } + public override int ReadTimeout { get { throw null; } set { } } + public override int WriteTimeout { get { throw null; } set { } } + public override System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) { throw null; } + public override System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) { throw null; } + public override void Close() { } + public override System.Threading.Tasks.Task CopyToAsync(System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken) { throw null; } + protected override void Dispose(bool disposing) { } + public override int EndRead(System.IAsyncResult asyncResult) { throw null; } + public override void EndWrite(System.IAsyncResult asyncResult) { } + public override void Flush() { } + public override System.Threading.Tasks.Task FlushAsync(System.Threading.CancellationToken cancellationToken) { throw null; } + public override int Read(byte[] buffer, int offset, int count) { throw null; } + public override System.Threading.Tasks.Task ReadAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) { throw null; } + public override int ReadByte() { throw null; } + public override long Seek(long offset, System.IO.SeekOrigin origin) { throw null; } + public override void SetLength(long value) { } + public override void Write(byte[] buffer, int offset, int count) { } + public override System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) { throw null; } + public override void WriteByte(byte value) { } + } + internal partial class ActionSelectionTable + { + private readonly System.Collections.Generic.Dictionary> _OrdinalEntries_k__BackingField; + private readonly System.Collections.Generic.Dictionary> _OrdinalIgnoreCaseEntries_k__BackingField; + private readonly string[] _RouteKeys_k__BackingField; + private readonly int _Version_k__BackingField; + private ActionSelectionTable(int version, string[] routeKeys, System.Collections.Generic.Dictionary> ordinalEntries, System.Collections.Generic.Dictionary> ordinalIgnoreCaseEntries) { } + private System.Collections.Generic.Dictionary> OrdinalEntries { get { throw null; } } + private System.Collections.Generic.Dictionary> OrdinalIgnoreCaseEntries { get { throw null; } } + private string[] RouteKeys { get { throw null; } } + public int Version { get { throw null; } } + public static Microsoft.AspNetCore.Mvc.Infrastructure.ActionSelectionTable Create(Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollection actions) { throw null; } + public static Microsoft.AspNetCore.Mvc.Infrastructure.ActionSelectionTable Create(System.Collections.Generic.IEnumerable endpoints) { throw null; } + private static Microsoft.AspNetCore.Mvc.Infrastructure.ActionSelectionTable CreateCore(int version, System.Collections.Generic.IEnumerable items, System.Func> getRouteKeys, System.Func getRouteValue) { throw null; } + public System.Collections.Generic.IReadOnlyList Select(Microsoft.AspNetCore.Routing.RouteValueDictionary values) { throw null; } + } + internal abstract partial class ResourceInvoker + { + protected readonly Microsoft.AspNetCore.Mvc.ActionContext _actionContext; + protected readonly Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor _actionContextAccessor; + private Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.AuthorizationFilterContextSealed _authorizationContext; + protected Microsoft.AspNetCore.Mvc.Filters.FilterCursor _cursor; + protected readonly System.Diagnostics.DiagnosticListener _diagnosticListener; + private Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ExceptionContextSealed _exceptionContext; + protected readonly Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[] _filters; + protected object _instance; + protected readonly Microsoft.Extensions.Logging.ILogger _logger; + protected readonly Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper _mapper; + private Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResourceExecutedContextSealed _resourceExecutedContext; + private Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResourceExecutingContextSealed _resourceExecutingContext; + protected Microsoft.AspNetCore.Mvc.IActionResult _result; + private Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultExecutedContextSealed _resultExecutedContext; + private Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultExecutingContextSealed _resultExecutingContext; + protected readonly System.Collections.Generic.IList _valueProviderFactories; + public ResourceInvoker(System.Diagnostics.DiagnosticListener diagnosticListener, Microsoft.Extensions.Logging.ILogger logger, Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor actionContextAccessor, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[] filters, System.Collections.Generic.IList valueProviderFactories) { } + private System.Threading.Tasks.Task InvokeAlwaysRunResultFilters() { throw null; } + public virtual System.Threading.Tasks.Task InvokeAsync() { throw null; } + private System.Threading.Tasks.Task InvokeFilterPipelineAsync() { throw null; } + protected abstract System.Threading.Tasks.Task InvokeInnerFilterAsync(); + private System.Threading.Tasks.Task InvokeNextExceptionFilterAsync() { throw null; } + private System.Threading.Tasks.Task InvokeNextResourceFilter() { throw null; } + private System.Threading.Tasks.Task InvokeNextResourceFilterAwaitedAsync() { throw null; } + private System.Threading.Tasks.Task InvokeNextResultFilterAsync() where TFilter : class, Microsoft.AspNetCore.Mvc.Filters.IResultFilter where TFilterAsync : class, Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter { throw null; } + private System.Threading.Tasks.Task InvokeNextResultFilterAwaitedAsync() where TFilter : class, Microsoft.AspNetCore.Mvc.Filters.IResultFilter where TFilterAsync : class, Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter { throw null; } + protected virtual System.Threading.Tasks.Task InvokeResultAsync(Microsoft.AspNetCore.Mvc.IActionResult result) { throw null; } + private System.Threading.Tasks.Task InvokeResultFilters() { throw null; } + private System.Threading.Tasks.Task Next(ref Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.State next, ref Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Scope scope, ref object state, ref bool isCompleted) { throw null; } + protected abstract void ReleaseResources(); + private System.Threading.Tasks.Task ResultNext(ref Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.State next, ref Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Scope scope, ref object state, ref bool isCompleted) where TFilter : class, Microsoft.AspNetCore.Mvc.Filters.IResultFilter where TFilterAsync : class, Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter { throw null; } + private static void Rethrow(Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ExceptionContextSealed context) { } + private static void Rethrow(Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResourceExecutedContextSealed context) { } + private static void Rethrow(Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultExecutedContextSealed context) { } + private sealed partial class AuthorizationFilterContextSealed + { + public AuthorizationFilterContextSealed(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList filters) { } + } + private sealed partial class ExceptionContextSealed + { + public ExceptionContextSealed(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList filters) { } + } + private static partial class FilterTypeConstants + { + public const string ActionFilter = "Action Filter"; + public const string AlwaysRunResultFilter = "Always Run Result Filter"; + public const string AuthorizationFilter = "Authorization Filter"; + public const string ExceptionFilter = "Exception Filter"; + public const string ResourceFilter = "Resource Filter"; + public const string ResultFilter = "Result Filter"; + } + private sealed partial class ResourceExecutedContextSealed + { + public ResourceExecutedContextSealed(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList filters) { } + } + private sealed partial class ResourceExecutingContextSealed + { + public ResourceExecutingContextSealed(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList filters, System.Collections.Generic.IList valueProviderFactories) { } + } + private sealed partial class ResultExecutedContextSealed + { + public ResultExecutedContextSealed(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList filters, Microsoft.AspNetCore.Mvc.IActionResult result, object controller) { } + } + private sealed partial class ResultExecutingContextSealed + { + public ResultExecutingContextSealed(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList filters, Microsoft.AspNetCore.Mvc.IActionResult result, object controller) { } + } + private enum Scope + { + Invoker = 0, + Resource = 1, + Exception = 2, + Result = 3, + } + private enum State + { + InvokeBegin = 0, + AuthorizationBegin = 1, + AuthorizationNext = 2, + AuthorizationAsyncBegin = 3, + AuthorizationAsyncEnd = 4, + AuthorizationSync = 5, + AuthorizationShortCircuit = 6, + AuthorizationEnd = 7, + ResourceBegin = 8, + ResourceNext = 9, + ResourceAsyncBegin = 10, + ResourceAsyncEnd = 11, + ResourceSyncBegin = 12, + ResourceSyncEnd = 13, + ResourceShortCircuit = 14, + ResourceInside = 15, + ResourceInsideEnd = 16, + ResourceEnd = 17, + ExceptionBegin = 18, + ExceptionNext = 19, + ExceptionAsyncBegin = 20, + ExceptionAsyncResume = 21, + ExceptionAsyncEnd = 22, + ExceptionSyncBegin = 23, + ExceptionSyncEnd = 24, + ExceptionInside = 25, + ExceptionHandled = 26, + ExceptionEnd = 27, + ActionBegin = 28, + ActionEnd = 29, + ResultBegin = 30, + ResultNext = 31, + ResultAsyncBegin = 32, + ResultAsyncEnd = 33, + ResultSyncBegin = 34, + ResultSyncEnd = 35, + ResultInside = 36, + ResultEnd = 37, + InvokeEnd = 38, + } + } +} +namespace Microsoft.AspNetCore.Mvc.ModelBinding +{ + internal static partial class PropertyValueSetter + { + private static readonly System.Reflection.MethodInfo CallPropertyAddRangeOpenGenericMethod; + private static void CallPropertyAddRange(object target, object source) { } + public static void SetValue(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, object instance, object value) { } + } + internal static partial class ModelBindingHelper + { + public static bool CanGetCompatibleCollection(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) { throw null; } + internal static TModel CastOrDefault(object model) { throw null; } + public static void ClearValidationStateForModel(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata modelMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState, string modelKey) { } + public static void ClearValidationStateForModel(System.Type modelType, Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, string modelKey) { } + private static object ConvertSimpleType(object value, System.Type destinationType, System.Globalization.CultureInfo culture) { throw null; } + public static object ConvertTo(object value, System.Type type, System.Globalization.CultureInfo culture) { throw null; } + public static T ConvertTo(object value, System.Globalization.CultureInfo culture) { throw null; } + private static System.Collections.Generic.List CreateList(int? capacity) { throw null; } + public static System.Collections.Generic.ICollection GetCompatibleCollection(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) { throw null; } + public static System.Collections.Generic.ICollection GetCompatibleCollection(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext, int capacity) { throw null; } + private static System.Collections.Generic.ICollection GetCompatibleCollection(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext, int? capacity) { throw null; } + private static System.Linq.Expressions.Expression> GetPredicateExpression(System.Linq.Expressions.Expression> expression) { throw null; } + public static System.Linq.Expressions.Expression> GetPropertyFilterExpression(System.Linq.Expressions.Expression>[] expressions) { throw null; } + internal static string GetPropertyName(System.Linq.Expressions.Expression expression) { throw null; } + public static System.Threading.Tasks.Task TryUpdateModelAsync(object model, System.Type modelType, string prefix, Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory modelBinderFactory, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider valueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator objectModelValidator) { throw null; } + public static System.Threading.Tasks.Task TryUpdateModelAsync(object model, System.Type modelType, string prefix, Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory modelBinderFactory, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider valueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator objectModelValidator, System.Func propertyFilter) { throw null; } + public static System.Threading.Tasks.Task TryUpdateModelAsync(TModel model, string prefix, Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory modelBinderFactory, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider valueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator objectModelValidator) where TModel : class { throw null; } + public static System.Threading.Tasks.Task TryUpdateModelAsync(TModel model, string prefix, Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory modelBinderFactory, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider valueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator objectModelValidator, System.Func propertyFilter) where TModel : class { throw null; } + public static System.Threading.Tasks.Task TryUpdateModelAsync(TModel model, string prefix, Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory modelBinderFactory, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider valueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator objectModelValidator, params System.Linq.Expressions.Expression>[] includeExpressions) where TModel : class { throw null; } + private static System.Type UnwrapNullableType(System.Type destinationType) { throw null; } + private static object UnwrapPossibleArrayType(object value, System.Type destinationType, System.Globalization.CultureInfo culture) { throw null; } + } +} +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation +{ + internal partial class DefaultModelValidatorProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IMetadataBasedModelValidatorProvider + { + public DefaultModelValidatorProvider() { } + public void CreateValidators(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidatorProviderContext context) { } + public bool HasValidators(System.Type modelType, System.Collections.Generic.IList validatorMetadata) { throw null; } + } + internal partial class HasValidatorsValidationMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider + { + private readonly bool _hasOnlyMetadataBasedValidators; + private readonly Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IMetadataBasedModelValidatorProvider[] _validatorProviders; + public HasValidatorsValidationMetadataProvider(System.Collections.Generic.IList modelValidatorProviders) { } + public void CreateValidationMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext context) { } + } +} +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata +{internal partial class DefaultBindingMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider + { + public DefaultBindingMetadataProvider() { } + public void CreateBindingMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext context) { } + private static Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute FindBindingBehavior(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext context) { throw null; } + private partial class CompositePropertyFilterProvider + { + private readonly System.Collections.Generic.IEnumerable _providers; + public CompositePropertyFilterProvider(System.Collections.Generic.IEnumerable providers) { } + public System.Func PropertyFilter { get { throw null; } } + private System.Func CreatePropertyFilter() { throw null; } + } + } + internal partial class DefaultCompositeMetadataDetailsProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IDisplayMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider + { + private readonly System.Collections.Generic.IEnumerable _providers; + public DefaultCompositeMetadataDetailsProvider(System.Collections.Generic.IEnumerable providers) { } + public void CreateBindingMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext context) { } + public void CreateDisplayMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadataProviderContext context) { } + public void CreateValidationMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext context) { } + } + internal partial class DefaultValidationMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider + { + public DefaultValidationMetadataProvider() { } + public void CreateValidationMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext context) { } + } +} +namespace Microsoft.AspNetCore.Internal +{ + internal partial class ChunkingCookieManager + { + private const string ChunkCountPrefix = "chunks-"; + private const string ChunkKeySuffix = "C"; + public const int DefaultChunkSize = 4050; + private int? _ChunkSize_k__BackingField; + private bool _ThrowForPartialCookies_k__BackingField; + public ChunkingCookieManager() { } + public int? ChunkSize { get { throw null; } set { } } + public bool ThrowForPartialCookies { get { throw null; } set { } } + public void AppendResponseCookie(Microsoft.AspNetCore.Http.HttpContext context, string key, string value, Microsoft.AspNetCore.Http.CookieOptions options) { } + public void DeleteCookie(Microsoft.AspNetCore.Http.HttpContext context, string key, Microsoft.AspNetCore.Http.CookieOptions options) { } + public string GetRequestCookie(Microsoft.AspNetCore.Http.HttpContext context, string key) { throw null; } + private static int ParseChunksCount(string value) { throw null; } + } +} +namespace Microsoft.AspNetCore.Mvc +{ + internal partial class ApiDescriptionActionData + { + private string _GroupName_k__BackingField; + public ApiDescriptionActionData() { } + public string GroupName { get { throw null; } set { } } + } +} +namespace Microsoft.AspNetCore.Mvc.Routing +{ + internal static partial class ViewEnginePath + { + private const string CurrentDirectoryToken = "."; + private const string ParentDirectoryToken = ".."; + public static readonly char[] PathSeparators; + public static string CombinePath(string first, string second) { throw null; } + public static string ResolvePath(string path) { throw null; } + } + internal static partial class NormalizedRouteValue + { + public static string GetNormalizedRouteValue(Microsoft.AspNetCore.Mvc.ActionContext context, string key) { throw null; } + } + internal partial class ControllerActionEndpointDataSource : Microsoft.AspNetCore.Mvc.Routing.ActionEndpointDataSourceBase + { + private readonly Microsoft.AspNetCore.Mvc.Routing.ActionEndpointFactory _endpointFactory; + private int _order; + private readonly System.Collections.Generic.List _routes; + private bool _CreateInertEndpoints_k__BackingField; + private readonly Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder _DefaultBuilder_k__BackingField; + public ControllerActionEndpointDataSource(Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider actions, Microsoft.AspNetCore.Mvc.Routing.ActionEndpointFactory endpointFactory) : base (default(Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider)) { } + public bool CreateInertEndpoints { get { throw null; } set { } } + public Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder DefaultBuilder { get { throw null; } } + public Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder AddRoute(string routeName, string pattern, Microsoft.AspNetCore.Routing.RouteValueDictionary defaults, System.Collections.Generic.IDictionary constraints, Microsoft.AspNetCore.Routing.RouteValueDictionary dataTokens) { throw null; } + protected override System.Collections.Generic.List CreateEndpoints(System.Collections.Generic.IReadOnlyList actions, System.Collections.Generic.IReadOnlyList> conventions) { throw null; } + } + internal readonly partial struct ConventionalRouteEntry + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ConventionalRouteEntry(string routeName, string pattern, Microsoft.AspNetCore.Routing.RouteValueDictionary defaults, System.Collections.Generic.IDictionary constraints, Microsoft.AspNetCore.Routing.RouteValueDictionary dataTokens, int order, System.Collections.Generic.List> conventions) { throw null; } + } + internal partial class ActionConstraintMatcherPolicy : Microsoft.AspNetCore.Routing.MatcherPolicy, Microsoft.AspNetCore.Routing.Matching.IEndpointSelectorPolicy + { + private static readonly System.Collections.Generic.IReadOnlyList EmptyEndpoints; + internal static readonly Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor NonAction; + private readonly Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintCache _actionConstraintCache; + public ActionConstraintMatcherPolicy(Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintCache actionConstraintCache) { } + public override int Order { get { throw null; } } + public bool AppliesToEndpoints(System.Collections.Generic.IReadOnlyList endpoints) { throw null; } + public System.Threading.Tasks.Task ApplyAsync(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.Matching.CandidateSet candidateSet) { throw null; } + private System.Collections.Generic.IReadOnlyList> EvaluateActionConstraints(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.Matching.CandidateSet candidateSet) { throw null; } + private System.Collections.Generic.IReadOnlyList> EvaluateActionConstraintsCore(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.Matching.CandidateSet candidateSet, System.Collections.Generic.IReadOnlyList> items, int? startingOrder) { throw null; } + } + internal abstract partial class ActionEndpointDataSourceBase : Microsoft.AspNetCore.Routing.EndpointDataSource, System.IDisposable + { + protected readonly System.Collections.Generic.List> Conventions; + protected readonly object Lock; + private readonly Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider _actions; + private System.Threading.CancellationTokenSource _cancellationTokenSource; + private Microsoft.Extensions.Primitives.IChangeToken _changeToken; + private System.IDisposable _disposable; + private System.Collections.Generic.List _endpoints; + public ActionEndpointDataSourceBase(Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider actions) { } + public override System.Collections.Generic.IReadOnlyList Endpoints { get { throw null; } } + protected abstract System.Collections.Generic.List CreateEndpoints(System.Collections.Generic.IReadOnlyList actions, System.Collections.Generic.IReadOnlyList> conventions); + public void Dispose() { } + public override Microsoft.Extensions.Primitives.IChangeToken GetChangeToken() { throw null; } + private void Initialize() { } + protected void Subscribe() { } + private void UpdateEndpoints() { } + } + internal partial class ActionEndpointFactory + { + private readonly Microsoft.AspNetCore.Http.RequestDelegate _requestDelegate; + private readonly Microsoft.AspNetCore.Routing.Patterns.RoutePatternTransformer _routePatternTransformer; + public ActionEndpointFactory(Microsoft.AspNetCore.Routing.Patterns.RoutePatternTransformer routePatternTransformer) { } + private void AddActionDataToBuilder(Microsoft.AspNetCore.Builder.EndpointBuilder builder, System.Collections.Generic.HashSet routeNames, Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor action, string routeName, Microsoft.AspNetCore.Routing.RouteValueDictionary dataTokens, bool suppressLinkGeneration, bool suppressPathMatching, System.Collections.Generic.IReadOnlyList> conventions, System.Collections.Generic.IReadOnlyList> perRouteConventions) { } + public void AddConventionalLinkGenerationRoute(System.Collections.Generic.List endpoints, System.Collections.Generic.HashSet routeNames, System.Collections.Generic.HashSet keys, Microsoft.AspNetCore.Mvc.Routing.ConventionalRouteEntry route, System.Collections.Generic.IReadOnlyList> conventions) { } + public void AddEndpoints(System.Collections.Generic.List endpoints, System.Collections.Generic.HashSet routeNames, Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor action, System.Collections.Generic.IReadOnlyList routes, System.Collections.Generic.IReadOnlyList> conventions, bool createInertEndpoints) { } + private static Microsoft.AspNetCore.Http.RequestDelegate CreateRequestDelegate() { throw null; } + private static (Microsoft.AspNetCore.Routing.Patterns.RoutePattern resolvedRoutePattern, System.Collections.Generic.IDictionary resolvedRequiredValues) ResolveDefaultsAndRequiredValues(Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor action, Microsoft.AspNetCore.Routing.Patterns.RoutePattern attributeRoutePattern) { throw null; } + private partial class InertEndpointBuilder : Microsoft.AspNetCore.Builder.EndpointBuilder + { + public InertEndpointBuilder() { } + public override Microsoft.AspNetCore.Http.Endpoint Build() { throw null; } + } + } + internal partial class DynamicControllerEndpointSelector + { + private readonly Microsoft.AspNetCore.Routing.DataSourceDependentCache> _cache; + private readonly Microsoft.AspNetCore.Routing.EndpointDataSource _dataSource; + public DynamicControllerEndpointSelector(Microsoft.AspNetCore.Mvc.Routing.ControllerActionEndpointDataSource dataSource) { } + protected DynamicControllerEndpointSelector(Microsoft.AspNetCore.Routing.EndpointDataSource dataSource) { } + private Microsoft.AspNetCore.Mvc.Infrastructure.ActionSelectionTable Table { get { throw null; } } + public void Dispose() { } + private static Microsoft.AspNetCore.Mvc.Infrastructure.ActionSelectionTable Initialize(System.Collections.Generic.IReadOnlyList endpoints) { throw null; } + public System.Collections.Generic.IReadOnlyList SelectEndpoints(Microsoft.AspNetCore.Routing.RouteValueDictionary values) { throw null; } + } +} +namespace Microsoft.AspNetCore.Routing +{ + internal sealed partial class DataSourceDependentCache where T : class + { + private readonly Microsoft.AspNetCore.Routing.EndpointDataSource _dataSource; + private System.IDisposable _disposable; + private bool _disposed; + private readonly System.Func, T> _initializeCore; + private bool _initialized; + private readonly System.Func _initializer; + private readonly System.Action _initializerWithState; + private object _lock; + private T _value; + public DataSourceDependentCache(Microsoft.AspNetCore.Routing.EndpointDataSource dataSource, System.Func, T> initialize) { } + public T Value { get { throw null; } } + public void Dispose() { } + public T EnsureInitialized() { throw null; } + private T Initialize() { throw null; } + } +} +namespace Microsoft.Extensions.DependencyInjection +{ + internal partial class ApiBehaviorOptionsSetup + { + private Microsoft.AspNetCore.Mvc.Infrastructure.ProblemDetailsFactory _problemDetailsFactory; + public ApiBehaviorOptionsSetup() { } + public void Configure(Microsoft.AspNetCore.Mvc.ApiBehaviorOptions options) { } + internal static void ConfigureClientErrorMapping(Microsoft.AspNetCore.Mvc.ApiBehaviorOptions options) { } + internal static Microsoft.AspNetCore.Mvc.IActionResult ProblemDetailsInvalidModelStateResponse(Microsoft.AspNetCore.Mvc.Infrastructure.ProblemDetailsFactory problemDetailsFactory, Microsoft.AspNetCore.Mvc.ActionContext context) { throw null; } + } + internal partial class MvcCoreRouteOptionsSetup + { + public MvcCoreRouteOptionsSetup() { } + public void Configure(Microsoft.AspNetCore.Routing.RouteOptions options) { } + } + internal partial class MvcCoreBuilder : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder + { + private readonly Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager _PartManager_k__BackingField; + private readonly Microsoft.Extensions.DependencyInjection.IServiceCollection _Services_k__BackingField; + public MvcCoreBuilder(Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager manager) { } + public Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager PartManager { get { throw null; } } + public Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get { throw null; } } + } + internal partial class MvcBuilder : Microsoft.Extensions.DependencyInjection.IMvcBuilder + { + private readonly Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager _PartManager_k__BackingField; + private readonly Microsoft.Extensions.DependencyInjection.IServiceCollection _Services_k__BackingField; + public MvcBuilder(Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager manager) { } + public Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager PartManager { get { throw null; } } + public Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get { throw null; } } + } +} +namespace Microsoft.Extensions.Internal +{ + internal partial class CopyOnWriteDictionary : System.Collections.Generic.IDictionary + { + private readonly System.Collections.Generic.IEqualityComparer _comparer; + private System.Collections.Generic.IDictionary _innerDictionary; + private readonly System.Collections.Generic.IDictionary _sourceDictionary; + public CopyOnWriteDictionary(System.Collections.Generic.IDictionary sourceDictionary, System.Collections.Generic.IEqualityComparer comparer) { } + public virtual int Count { get { throw null; } } + public virtual bool IsReadOnly { get { throw null; } } + public virtual TValue this[TKey key] { get { throw null; } set { } } + public virtual System.Collections.Generic.ICollection Keys { get { throw null; } } + private System.Collections.Generic.IDictionary ReadDictionary { get { throw null; } } + public virtual System.Collections.Generic.ICollection Values { get { throw null; } } + private System.Collections.Generic.IDictionary WriteDictionary { get { throw null; } } + public virtual void Add(System.Collections.Generic.KeyValuePair item) { } + public virtual void Add(TKey key, TValue value) { } + public virtual void Clear() { } + public virtual bool Contains(System.Collections.Generic.KeyValuePair item) { throw null; } + public virtual bool ContainsKey(TKey key) { throw null; } + public virtual void CopyTo(System.Collections.Generic.KeyValuePair[] array, int arrayIndex) { } + public virtual System.Collections.Generic.IEnumerator> GetEnumerator() { throw null; } + public bool Remove(System.Collections.Generic.KeyValuePair item) { throw null; } + public virtual bool Remove(TKey key) { throw null; } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + public virtual bool TryGetValue(TKey key, out TValue value) { throw null; } + } + internal readonly partial struct AwaitableInfo + { + private readonly object _dummy; + public AwaitableInfo(System.Type awaiterType, System.Reflection.PropertyInfo awaiterIsCompletedProperty, System.Reflection.MethodInfo awaiterGetResultMethod, System.Reflection.MethodInfo awaiterOnCompletedMethod, System.Reflection.MethodInfo awaiterUnsafeOnCompletedMethod, System.Type resultType, System.Reflection.MethodInfo getAwaiterMethod) { throw null; } + public System.Reflection.MethodInfo AwaiterGetResultMethod { get { throw null; } } + public System.Reflection.PropertyInfo AwaiterIsCompletedProperty { get { throw null; } } + public System.Reflection.MethodInfo AwaiterOnCompletedMethod { get { throw null; } } + public System.Type AwaiterType { get { throw null; } } + public System.Reflection.MethodInfo AwaiterUnsafeOnCompletedMethod { get { throw null; } } + public System.Reflection.MethodInfo GetAwaiterMethod { get { throw null; } } + public System.Type ResultType { get { throw null; } } + public static bool IsTypeAwaitable(System.Type type, out Microsoft.Extensions.Internal.AwaitableInfo awaitableInfo) { throw null; } + } + internal readonly partial struct CoercedAwaitableInfo + { + private readonly object _dummy; + public CoercedAwaitableInfo(Microsoft.Extensions.Internal.AwaitableInfo awaitableInfo) { throw null; } + public CoercedAwaitableInfo(System.Linq.Expressions.Expression coercerExpression, System.Type coercerResultType, Microsoft.Extensions.Internal.AwaitableInfo coercedAwaitableInfo) { throw null; } + public Microsoft.Extensions.Internal.AwaitableInfo AwaitableInfo { get { throw null; } } + public System.Linq.Expressions.Expression CoercerExpression { get { throw null; } } + public System.Type CoercerResultType { get { throw null; } } + public bool RequiresCoercion { get { throw null; } } + public static bool IsTypeAwaitable(System.Type type, out Microsoft.Extensions.Internal.CoercedAwaitableInfo info) { throw null; } + } + internal partial class ObjectMethodExecutor + { + private readonly Microsoft.Extensions.Internal.ObjectMethodExecutor.MethodExecutor _executor; + private readonly Microsoft.Extensions.Internal.ObjectMethodExecutor.MethodExecutorAsync _executorAsync; + private static readonly System.Reflection.ConstructorInfo _objectMethodExecutorAwaitableConstructor; + private readonly object[] _parameterDefaultValues; + private readonly System.Type _AsyncResultType_k__BackingField; + private readonly bool _IsMethodAsync_k__BackingField; + private readonly System.Reflection.MethodInfo _MethodInfo_k__BackingField; + private readonly System.Reflection.ParameterInfo[] _MethodParameters_k__BackingField; + private System.Type _MethodReturnType_k__BackingField; + private readonly System.Reflection.TypeInfo _TargetTypeInfo_k__BackingField; + private ObjectMethodExecutor(System.Reflection.MethodInfo methodInfo, System.Reflection.TypeInfo targetTypeInfo, object[] parameterDefaultValues) { } + public System.Type AsyncResultType { get { throw null; } } + public bool IsMethodAsync { get { throw null; } } + public System.Reflection.MethodInfo MethodInfo { get { throw null; } } + public System.Reflection.ParameterInfo[] MethodParameters { get { throw null; } } + public System.Type MethodReturnType { get { throw null; } internal set { } } + public System.Reflection.TypeInfo TargetTypeInfo { get { throw null; } } + public static Microsoft.Extensions.Internal.ObjectMethodExecutor Create(System.Reflection.MethodInfo methodInfo, System.Reflection.TypeInfo targetTypeInfo) { throw null; } + public static Microsoft.Extensions.Internal.ObjectMethodExecutor Create(System.Reflection.MethodInfo methodInfo, System.Reflection.TypeInfo targetTypeInfo, object[] parameterDefaultValues) { throw null; } + public object Execute(object target, object[] parameters) { throw null; } + public Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable ExecuteAsync(object target, object[] parameters) { throw null; } + public object GetDefaultValueForParameter(int index) { throw null; } + private static Microsoft.Extensions.Internal.ObjectMethodExecutor.MethodExecutor GetExecutor(System.Reflection.MethodInfo methodInfo, System.Reflection.TypeInfo targetTypeInfo) { throw null; } + private static Microsoft.Extensions.Internal.ObjectMethodExecutor.MethodExecutorAsync GetExecutorAsync(System.Reflection.MethodInfo methodInfo, System.Reflection.TypeInfo targetTypeInfo, Microsoft.Extensions.Internal.CoercedAwaitableInfo coercedAwaitableInfo) { throw null; } + private static Microsoft.Extensions.Internal.ObjectMethodExecutor.MethodExecutor WrapVoidMethod(Microsoft.Extensions.Internal.ObjectMethodExecutor.VoidMethodExecutor executor) { throw null; } + private delegate object MethodExecutor(object target, object[] parameters); + private delegate Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable MethodExecutorAsync(object target, object[] parameters); + private delegate void VoidMethodExecutor(object target, object[] parameters); + } + internal readonly partial struct ObjectMethodExecutorAwaitable + { + private readonly object _dummy; + public ObjectMethodExecutorAwaitable(object customAwaitable, System.Func getAwaiterMethod, System.Func isCompletedMethod, System.Func getResultMethod, System.Action onCompletedMethod, System.Action unsafeOnCompletedMethod) { throw null; } + public Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter GetAwaiter() { throw null; } + public readonly partial struct Awaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion + { + private readonly object _dummy; + public Awaiter(object customAwaiter, System.Func isCompletedMethod, System.Func getResultMethod, System.Action onCompletedMethod, System.Action unsafeOnCompletedMethod) { throw null; } + public bool IsCompleted { get { throw null; } } + public object GetResult() { throw null; } + public void OnCompleted(System.Action continuation) { } + public void UnsafeOnCompleted(System.Action continuation) { } + } + } + internal partial class PropertyActivator + { + private readonly System.Action _fastPropertySetter; + private readonly System.Func _valueAccessor; + private System.Reflection.PropertyInfo _PropertyInfo_k__BackingField; + public PropertyActivator(System.Reflection.PropertyInfo propertyInfo, System.Func valueAccessor) { } + public System.Reflection.PropertyInfo PropertyInfo { get { throw null; } private set { } } + public object Activate(object instance, TContext context) { throw null; } + public static Microsoft.Extensions.Internal.PropertyActivator[] GetPropertiesToActivate(System.Type type, System.Type activateAttributeType, System.Func> createActivateInfo) { throw null; } + public static Microsoft.Extensions.Internal.PropertyActivator[] GetPropertiesToActivate(System.Type type, System.Type activateAttributeType, System.Func> createActivateInfo, bool includeNonPublic) { throw null; } + } + internal partial class PropertyHelper + { + private static readonly System.Reflection.MethodInfo CallNullSafePropertyGetterByReferenceOpenGenericMethod; + private static readonly System.Reflection.MethodInfo CallNullSafePropertyGetterOpenGenericMethod; + private static readonly System.Reflection.MethodInfo CallPropertyGetterByReferenceOpenGenericMethod; + private static readonly System.Reflection.MethodInfo CallPropertyGetterOpenGenericMethod; + private static readonly System.Reflection.MethodInfo CallPropertySetterOpenGenericMethod; + private static readonly System.Type IsByRefLikeAttribute; + private static readonly System.Collections.Concurrent.ConcurrentDictionary PropertiesCache; + private static readonly System.Collections.Concurrent.ConcurrentDictionary VisiblePropertiesCache; + private System.Func _valueGetter; + private System.Action _valueSetter; + private string _Name_k__BackingField; + private readonly System.Reflection.PropertyInfo _Property_k__BackingField; + public PropertyHelper(System.Reflection.PropertyInfo property) { } + public virtual string Name { get { throw null; } protected set { } } + public System.Reflection.PropertyInfo Property { get { throw null; } } + public System.Func ValueGetter { get { throw null; } } + public System.Action ValueSetter { get { throw null; } } + private static object CallNullSafePropertyGetterByReference(Microsoft.Extensions.Internal.PropertyHelper.ByRefFunc getter, object target) { throw null; } + private static object CallNullSafePropertyGetter(System.Func getter, object target) { throw null; } + private static object CallPropertyGetterByReference(Microsoft.Extensions.Internal.PropertyHelper.ByRefFunc getter, object target) { throw null; } + private static object CallPropertyGetter(System.Func getter, object target) { throw null; } + private static void CallPropertySetter(System.Action setter, object target, object value) { } + private static Microsoft.Extensions.Internal.PropertyHelper CreateInstance(System.Reflection.PropertyInfo property) { throw null; } + public static Microsoft.Extensions.Internal.PropertyHelper[] GetProperties(System.Reflection.TypeInfo typeInfo) { throw null; } + public static Microsoft.Extensions.Internal.PropertyHelper[] GetProperties(System.Type type) { throw null; } + protected static Microsoft.Extensions.Internal.PropertyHelper[] GetProperties(System.Type type, System.Func createPropertyHelper, System.Collections.Concurrent.ConcurrentDictionary cache) { throw null; } + public object GetValue(object instance) { throw null; } + public static Microsoft.Extensions.Internal.PropertyHelper[] GetVisibleProperties(System.Reflection.TypeInfo typeInfo) { throw null; } + public static Microsoft.Extensions.Internal.PropertyHelper[] GetVisibleProperties(System.Type type) { throw null; } + protected static Microsoft.Extensions.Internal.PropertyHelper[] GetVisibleProperties(System.Type type, System.Func createPropertyHelper, System.Collections.Concurrent.ConcurrentDictionary allPropertiesCache, System.Collections.Concurrent.ConcurrentDictionary visiblePropertiesCache) { throw null; } + private static bool IsInterestingProperty(System.Reflection.PropertyInfo property) { throw null; } + private static bool IsRefStructProperty(System.Reflection.PropertyInfo property) { throw null; } + public static System.Func MakeFastPropertyGetter(System.Reflection.PropertyInfo propertyInfo) { throw null; } + private static System.Func MakeFastPropertyGetter(System.Reflection.PropertyInfo propertyInfo, System.Reflection.MethodInfo propertyGetterWrapperMethod, System.Reflection.MethodInfo propertyGetterByRefWrapperMethod) { throw null; } + private static System.Func MakeFastPropertyGetter(System.Type openGenericDelegateType, System.Reflection.MethodInfo propertyGetMethod, System.Reflection.MethodInfo openGenericWrapperMethod) { throw null; } + public static System.Action MakeFastPropertySetter(System.Reflection.PropertyInfo propertyInfo) { throw null; } + public static System.Func MakeNullSafeFastPropertyGetter(System.Reflection.PropertyInfo propertyInfo) { throw null; } + public static System.Collections.Generic.IDictionary ObjectToDictionary(object value) { throw null; } + public void SetValue(object instance, object value) { } + private delegate TValue ByRefFunc(ref TDeclaringType arg); + } +} +namespace System.Text.Json +{ + internal static partial class JsonSerializerOptionsCopyConstructor + { + public static System.Text.Json.JsonSerializerOptions Copy(this System.Text.Json.JsonSerializerOptions serializerOptions, System.Text.Encodings.Web.JavaScriptEncoder encoder) { throw null; } + } +} \ No newline at end of file diff --git a/src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.csproj b/src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.csproj index e6b5b968a8b4..e468693de9c9 100644 --- a/src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.csproj +++ b/src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + @@ -18,6 +20,7 @@ + diff --git a/src/Mvc/Mvc.Core/src/Microsoft.AspNetCore.Mvc.Core.csproj b/src/Mvc/Mvc.Core/src/Microsoft.AspNetCore.Mvc.Core.csproj index 203e5cdddfd4..983aed9ca168 100644 --- a/src/Mvc/Mvc.Core/src/Microsoft.AspNetCore.Mvc.Core.csproj +++ b/src/Mvc/Mvc.Core/src/Microsoft.AspNetCore.Mvc.Core.csproj @@ -20,6 +20,7 @@ Microsoft.AspNetCore.Mvc.RouteAttribute + @@ -48,6 +49,7 @@ Microsoft.AspNetCore.Mvc.RouteAttribute + diff --git a/src/Mvc/Mvc.Cors/ref/Microsoft.AspNetCore.Mvc.Cors.csproj b/src/Mvc/Mvc.Cors/ref/Microsoft.AspNetCore.Mvc.Cors.csproj index a3bf5f99a621..315dc16d7c43 100644 --- a/src/Mvc/Mvc.Cors/ref/Microsoft.AspNetCore.Mvc.Cors.csproj +++ b/src/Mvc/Mvc.Cors/ref/Microsoft.AspNetCore.Mvc.Cors.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Mvc/Mvc.DataAnnotations/ref/Directory.Build.props b/src/Mvc/Mvc.DataAnnotations/ref/Directory.Build.props new file mode 100644 index 000000000000..b500fb5d98e7 --- /dev/null +++ b/src/Mvc/Mvc.DataAnnotations/ref/Directory.Build.props @@ -0,0 +1,8 @@ + + + + + true + $(NoWarn);CS0169 + + \ No newline at end of file diff --git a/src/Mvc/Mvc.DataAnnotations/ref/Microsoft.AspNetCore.Mvc.DataAnnotations.Manual.cs b/src/Mvc/Mvc.DataAnnotations/ref/Microsoft.AspNetCore.Mvc.DataAnnotations.Manual.cs new file mode 100644 index 000000000000..355dbe4c15b3 --- /dev/null +++ b/src/Mvc/Mvc.DataAnnotations/ref/Microsoft.AspNetCore.Mvc.DataAnnotations.Manual.cs @@ -0,0 +1,94 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Runtime.CompilerServices; + +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.ViewFeatures, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] + +namespace Microsoft.AspNetCore.Mvc.DataAnnotations +{ + internal partial class DataAnnotationsMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IDisplayMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider + { + private const string NullableAttributeFullTypeName = "System.Runtime.CompilerServices.NullableAttribute"; + private const string NullableContextAttributeFullName = "System.Runtime.CompilerServices.NullableContextAttribute"; + private const string NullableContextFlagsFieldName = "Flag"; + private const string NullableFlagsFieldName = "NullableFlags"; + private readonly Microsoft.AspNetCore.Mvc.DataAnnotations.MvcDataAnnotationsLocalizationOptions _localizationOptions; + private readonly Microsoft.AspNetCore.Mvc.MvcOptions _options; + private readonly Microsoft.Extensions.Localization.IStringLocalizerFactory _stringLocalizerFactory; + public DataAnnotationsMetadataProvider(Microsoft.AspNetCore.Mvc.MvcOptions options, Microsoft.Extensions.Options.IOptions localizationOptions, Microsoft.Extensions.Localization.IStringLocalizerFactory stringLocalizerFactory) { } + public void CreateBindingMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext context) { } + public void CreateDisplayMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadataProviderContext context) { } + public void CreateValidationMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext context) { } + private static string GetDisplayGroup(System.Reflection.FieldInfo field) { throw null; } + private static string GetDisplayName(System.Reflection.FieldInfo field, Microsoft.Extensions.Localization.IStringLocalizer stringLocalizer) { throw null; } + internal static bool HasNullableAttribute(System.Collections.Generic.IEnumerable attributes, out bool isNullable) { throw null; } + internal static bool IsNullableBasedOnContext(System.Type containingType, System.Reflection.MemberInfo member) { throw null; } + internal static bool IsNullableReferenceType(System.Type containingType, System.Reflection.MemberInfo member, System.Collections.Generic.IEnumerable attributes) { throw null; } + } + internal partial class DefaultClientModelValidatorProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidatorProvider + { + public DefaultClientModelValidatorProvider() { } + public void CreateValidators(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorProviderContext context) { } + } + internal partial class DataAnnotationsClientModelValidatorProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidatorProvider + { + private readonly Microsoft.Extensions.Options.IOptions _options; + private readonly Microsoft.Extensions.Localization.IStringLocalizerFactory _stringLocalizerFactory; + private readonly Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider _validationAttributeAdapterProvider; + public DataAnnotationsClientModelValidatorProvider(Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider validationAttributeAdapterProvider, Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Localization.IStringLocalizerFactory stringLocalizerFactory) { } + public void CreateValidators(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorProviderContext context) { } + } + internal partial class NumericClientModelValidatorProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidatorProvider + { + public NumericClientModelValidatorProvider() { } + public void CreateValidators(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorProviderContext context) { } + } + internal sealed partial class DataAnnotationsModelValidatorProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IMetadataBasedModelValidatorProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider + { + private readonly Microsoft.Extensions.Options.IOptions _options; + private readonly Microsoft.Extensions.Localization.IStringLocalizerFactory _stringLocalizerFactory; + private readonly Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider _validationAttributeAdapterProvider; + public DataAnnotationsModelValidatorProvider(Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider validationAttributeAdapterProvider, Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Localization.IStringLocalizerFactory stringLocalizerFactory) { } + public void CreateValidators(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidatorProviderContext context) { } + public bool HasValidators(System.Type modelType, System.Collections.Generic.IList validatorMetadata) { throw null; } + } + internal partial class StringLengthAttributeAdapter : Microsoft.AspNetCore.Mvc.DataAnnotations.AttributeAdapterBase + { + private readonly string _max; + private readonly string _min; + public StringLengthAttributeAdapter(System.ComponentModel.DataAnnotations.StringLengthAttribute attribute, Microsoft.Extensions.Localization.IStringLocalizer stringLocalizer) : base (default(System.ComponentModel.DataAnnotations.StringLengthAttribute), default(Microsoft.Extensions.Localization.IStringLocalizer)) { } + public override void AddValidation(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context) { } + public override string GetErrorMessage(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase validationContext) { throw null; } + } + internal partial class DataAnnotationsModelValidator : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidator + { + private static readonly object _emptyValidationContextInstance; + private readonly Microsoft.Extensions.Localization.IStringLocalizer _stringLocalizer; + private readonly Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider _validationAttributeAdapterProvider; + [System.Diagnostics.DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState.Never)] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute] + private readonly System.ComponentModel.DataAnnotations.ValidationAttribute _Attribute_k__BackingField; + public DataAnnotationsModelValidator(Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider validationAttributeAdapterProvider, System.ComponentModel.DataAnnotations.ValidationAttribute attribute, Microsoft.Extensions.Localization.IStringLocalizer stringLocalizer) { } + public System.ComponentModel.DataAnnotations.ValidationAttribute Attribute { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + private string GetErrorMessage(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase validationContext) { throw null; } + public System.Collections.Generic.IEnumerable Validate(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContext validationContext) { throw null; } + } + internal partial class ValidatableObjectAdapter : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidator + { + public ValidatableObjectAdapter() { } + public System.Collections.Generic.IEnumerable Validate(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContext context) { throw null; } + } +} +namespace Microsoft.Extensions.DependencyInjection +{ + internal partial class MvcDataAnnotationsMvcOptionsSetup : Microsoft.Extensions.Options.IConfigureOptions + { + private readonly Microsoft.Extensions.Options.IOptions _dataAnnotationLocalizationOptions; + private readonly Microsoft.Extensions.Localization.IStringLocalizerFactory _stringLocalizerFactory; + private readonly Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider _validationAttributeAdapterProvider; + public MvcDataAnnotationsMvcOptionsSetup(Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider validationAttributeAdapterProvider, Microsoft.Extensions.Options.IOptions dataAnnotationLocalizationOptions) { } + public MvcDataAnnotationsMvcOptionsSetup(Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider validationAttributeAdapterProvider, Microsoft.Extensions.Options.IOptions dataAnnotationLocalizationOptions, Microsoft.Extensions.Localization.IStringLocalizerFactory stringLocalizerFactory) { } + public void Configure(Microsoft.AspNetCore.Mvc.MvcOptions options) { } + } +} \ No newline at end of file diff --git a/src/Mvc/Mvc.DataAnnotations/ref/Microsoft.AspNetCore.Mvc.DataAnnotations.csproj b/src/Mvc/Mvc.DataAnnotations/ref/Microsoft.AspNetCore.Mvc.DataAnnotations.csproj index 31f61788d13c..396d4391a3a2 100644 --- a/src/Mvc/Mvc.DataAnnotations/ref/Microsoft.AspNetCore.Mvc.DataAnnotations.csproj +++ b/src/Mvc/Mvc.DataAnnotations/ref/Microsoft.AspNetCore.Mvc.DataAnnotations.csproj @@ -2,9 +2,12 @@ netcoreapp3.0 + false + + diff --git a/src/Mvc/Mvc.Formatters.Json/ref/Microsoft.AspNetCore.Mvc.Formatters.Json.csproj b/src/Mvc/Mvc.Formatters.Json/ref/Microsoft.AspNetCore.Mvc.Formatters.Json.csproj index 520d3abb2032..b020972f0a88 100644 --- a/src/Mvc/Mvc.Formatters.Json/ref/Microsoft.AspNetCore.Mvc.Formatters.Json.csproj +++ b/src/Mvc/Mvc.Formatters.Json/ref/Microsoft.AspNetCore.Mvc.Formatters.Json.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Mvc/Mvc.Formatters.Xml/ref/Microsoft.AspNetCore.Mvc.Formatters.Xml.csproj b/src/Mvc/Mvc.Formatters.Xml/ref/Microsoft.AspNetCore.Mvc.Formatters.Xml.csproj index c83f79c76fc8..401f13b62f43 100644 --- a/src/Mvc/Mvc.Formatters.Xml/ref/Microsoft.AspNetCore.Mvc.Formatters.Xml.csproj +++ b/src/Mvc/Mvc.Formatters.Xml/ref/Microsoft.AspNetCore.Mvc.Formatters.Xml.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Mvc/Mvc.Formatters.Xml/src/Microsoft.AspNetCore.Mvc.Formatters.Xml.csproj b/src/Mvc/Mvc.Formatters.Xml/src/Microsoft.AspNetCore.Mvc.Formatters.Xml.csproj index 72e0ef3fdcce..6c9b248d019d 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/Microsoft.AspNetCore.Mvc.Formatters.Xml.csproj +++ b/src/Mvc/Mvc.Formatters.Xml/src/Microsoft.AspNetCore.Mvc.Formatters.Xml.csproj @@ -11,6 +11,8 @@ + + diff --git a/src/Mvc/Mvc.Localization/ref/Microsoft.AspNetCore.Mvc.Localization.csproj b/src/Mvc/Mvc.Localization/ref/Microsoft.AspNetCore.Mvc.Localization.csproj index 1021609ed355..19eedd135a51 100644 --- a/src/Mvc/Mvc.Localization/ref/Microsoft.AspNetCore.Mvc.Localization.csproj +++ b/src/Mvc/Mvc.Localization/ref/Microsoft.AspNetCore.Mvc.Localization.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/AssemblyPartExtensionTest.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/AssemblyPartExtensionTest.cs index eb84d8572815..b66e0df3c96f 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/AssemblyPartExtensionTest.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/AssemblyPartExtensionTest.cs @@ -12,7 +12,7 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationParts { public class AssemblyPartExtensionTest { - [Fact] + [Fact(Skip = "Deps file generation is incorrect, investigation ongoing.")] public void GetReferencePaths_ReturnsReferencesFromDependencyContext_IfPreserveCompilationContextIsSet() { // Arrange diff --git a/src/Mvc/Mvc.Razor/ref/Directory.Build.props b/src/Mvc/Mvc.Razor/ref/Directory.Build.props new file mode 100644 index 000000000000..ea5de23302dc --- /dev/null +++ b/src/Mvc/Mvc.Razor/ref/Directory.Build.props @@ -0,0 +1,7 @@ + + + + + $(NoWarn);CS0169 + + \ No newline at end of file diff --git a/src/Mvc/Mvc.Razor/ref/Microsoft.AspNetCore.Mvc.Razor.Manual.cs b/src/Mvc/Mvc.Razor/ref/Microsoft.AspNetCore.Mvc.Razor.Manual.cs new file mode 100644 index 000000000000..453edf2999f9 --- /dev/null +++ b/src/Mvc/Mvc.Razor/ref/Microsoft.AspNetCore.Mvc.Razor.Manual.cs @@ -0,0 +1,243 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Runtime.CompilerServices; + +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.RazorPages, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.TagHelpers, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")] + +namespace Microsoft.AspNetCore.Mvc.ApplicationParts +{ + internal partial class RazorCompiledItemFeatureProvider + { + public RazorCompiledItemFeatureProvider() { } + public void PopulateFeature(System.Collections.Generic.IEnumerable parts, Microsoft.AspNetCore.Mvc.Razor.Compilation.ViewsFeature feature) { } + } +} +namespace Microsoft.AspNetCore.Mvc.Razor +{ + public partial class RazorPageActivator : Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator + { + internal Microsoft.AspNetCore.Mvc.Razor.RazorPagePropertyActivator GetOrAddCacheEntry(Microsoft.AspNetCore.Mvc.Razor.IRazorPage page) { throw null; } + } + internal partial class DefaultTagHelperFactory : Microsoft.AspNetCore.Mvc.Razor.ITagHelperFactory + { + private readonly Microsoft.AspNetCore.Mvc.Razor.ITagHelperActivator _activator; + private static readonly System.Func> _createActivateInfo; + private readonly System.Func[]> _getPropertiesToActivate; + private readonly System.Collections.Concurrent.ConcurrentDictionary[]> _injectActions; + public DefaultTagHelperFactory(Microsoft.AspNetCore.Mvc.Razor.ITagHelperActivator activator) { } + private static Microsoft.Extensions.Internal.PropertyActivator CreateActivateInfo(System.Reflection.PropertyInfo property) { throw null; } + public TTagHelper CreateTagHelper(Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) where TTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper { throw null; } + private static void InitializeTagHelper(TTagHelper tagHelper, Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) where TTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper { } + } + public partial class RazorView + { + internal System.Action OnAfterPageActivated { get { throw null; } set { } } + } + internal partial class RazorPagePropertyActivator + { + private readonly Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider _metadataProvider; + private readonly System.Func _nestedFactory; + private readonly Microsoft.Extensions.Internal.PropertyActivator[] _propertyActivators; + private readonly System.Func _rootFactory; + private readonly System.Type _viewDataDictionaryType; + public RazorPagePropertyActivator(System.Type pageType, System.Type declaredModelType, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.Razor.RazorPagePropertyActivator.PropertyValueAccessors propertyValueAccessors) { } + public void Activate(object page, Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) { } + private static Microsoft.Extensions.Internal.PropertyActivator CreateActivateInfo(System.Reflection.PropertyInfo property, Microsoft.AspNetCore.Mvc.Razor.RazorPagePropertyActivator.PropertyValueAccessors valueAccessors) { throw null; } + internal Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary CreateViewDataDictionary(Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) { throw null; } + public partial class PropertyValueAccessors + { + private System.Func _DiagnosticSourceAccessor_k__BackingField; + private System.Func _HtmlEncoderAccessor_k__BackingField; + private System.Func _JsonHelperAccessor_k__BackingField; + private System.Func _ModelExpressionProviderAccessor_k__BackingField; + private System.Func _UrlHelperAccessor_k__BackingField; + public PropertyValueAccessors() { } + public System.Func DiagnosticSourceAccessor { get { throw null; } set { } } + public System.Func HtmlEncoderAccessor { get { throw null; } set { } } + public System.Func JsonHelperAccessor { get { throw null; } set { } } + public System.Func ModelExpressionProviderAccessor { get { throw null; } set { } } + public System.Func UrlHelperAccessor { get { throw null; } set { } } + } + } + internal partial interface IModelTypeProvider + { + System.Type GetModelType(); + } + internal static partial class RazorFileHierarchy + { + private const string ViewStartFileName = "_ViewStart.cshtml"; + public static System.Collections.Generic.IEnumerable GetViewStartPaths(string path) { throw null; } + } + internal partial class RazorViewEngineOptionsSetup + { + public RazorViewEngineOptionsSetup() { } + public void Configure(Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions options) { } + } + internal partial class DefaultViewCompiler : Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompiler + { + private readonly System.Collections.Generic.Dictionary> _compiledViews; + private readonly Microsoft.Extensions.Logging.ILogger _logger; + private readonly System.Collections.Concurrent.ConcurrentDictionary _normalizedPathCache; + public DefaultViewCompiler(System.Collections.Generic.IList compiledViews, Microsoft.Extensions.Logging.ILogger logger) { } + public System.Threading.Tasks.Task CompileAsync(string relativePath) { throw null; } + private string GetNormalizedPath(string relativePath) { throw null; } + } + internal static partial class ViewPath + { + public static string NormalizePath(string path) { throw null; } + } + internal partial class ServiceBasedTagHelperActivator : Microsoft.AspNetCore.Mvc.Razor.ITagHelperActivator + { + public ServiceBasedTagHelperActivator() { } + public TTagHelper Create(Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) where TTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper { throw null; } + } + internal partial class TagHelperComponentManager : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager + { + private readonly System.Collections.Generic.ICollection _Components_k__BackingField; + public TagHelperComponentManager(System.Collections.Generic.IEnumerable tagHelperComponents) { } + public System.Collections.Generic.ICollection Components { get { throw null; } } + } + internal static partial class Resources + { + private static System.Resources.ResourceManager s_resourceManager; + private static System.Globalization.CultureInfo _Culture_k__BackingField; + internal static string ArgumentCannotBeNullOrEmpty { get { throw null; } } + internal static string CompilationFailed { get { throw null; } } + internal static string Compilation_MissingReferences { get { throw null; } } + internal static string CompiledViewDescriptor_NoData { get { throw null; } } + internal static string CouldNotResolveApplicationRelativeUrl_TagHelper { get { throw null; } } + internal static System.Globalization.CultureInfo Culture { get { throw null; } set { } } + internal static string FileProvidersAreRequired { get { throw null; } } + internal static string FlushPointCannotBeInvoked { get { throw null; } } + internal static string GeneratedCodeFileName { get { throw null; } } + internal static string LayoutCannotBeLocated { get { throw null; } } + internal static string LayoutCannotBeRendered { get { throw null; } } + internal static string LayoutHasCircularReference { get { throw null; } } + internal static string PropertyMustBeSet { get { throw null; } } + internal static string RazorPage_CannotFlushWhileInAWritingScope { get { throw null; } } + internal static string RazorPage_InvalidTagHelperIndexerAssignment { get { throw null; } } + internal static string RazorPage_MethodCannotBeCalled { get { throw null; } } + internal static string RazorPage_NestingAttributeWritingScopesNotSupported { get { throw null; } } + internal static string RazorPage_ThereIsNoActiveWritingScopeToEnd { get { throw null; } } + internal static string RazorProject_PathMustStartWithForwardSlash { get { throw null; } } + internal static string RazorViewCompiler_ViewPathsDifferOnlyInCase { get { throw null; } } + internal static string RenderBodyNotCalled { get { throw null; } } + internal static System.Resources.ResourceManager ResourceManager { get { throw null; } } + internal static string SectionAlreadyDefined { get { throw null; } } + internal static string SectionAlreadyRendered { get { throw null; } } + internal static string SectionNotDefined { get { throw null; } } + internal static string SectionsNotRendered { get { throw null; } } + internal static string UnsupportedDebugInformationFormat { get { throw null; } } + internal static string ViewContextMustBeSet { get { throw null; } } + internal static string ViewLocationFormatsIsRequired { get { throw null; } } + internal static string FormatCompilation_MissingReferences(object p0) { throw null; } + internal static string FormatCompiledViewDescriptor_NoData(object p0, object p1) { throw null; } + internal static string FormatCouldNotResolveApplicationRelativeUrl_TagHelper(object p0, object p1, object p2, object p3, object p4, object p5) { throw null; } + internal static string FormatFileProvidersAreRequired(object p0, object p1, object p2) { throw null; } + internal static string FormatFlushPointCannotBeInvoked(object p0) { throw null; } + internal static string FormatLayoutCannotBeLocated(object p0, object p1) { throw null; } + internal static string FormatLayoutCannotBeRendered(object p0, object p1) { throw null; } + internal static string FormatLayoutHasCircularReference(object p0, object p1) { throw null; } + internal static string FormatPropertyMustBeSet(object p0, object p1) { throw null; } + internal static string FormatRazorPage_CannotFlushWhileInAWritingScope(object p0, object p1) { throw null; } + internal static string FormatRazorPage_InvalidTagHelperIndexerAssignment(object p0, object p1, object p2) { throw null; } + internal static string FormatRazorPage_MethodCannotBeCalled(object p0, object p1) { throw null; } + internal static string FormatRenderBodyNotCalled(object p0, object p1, object p2) { throw null; } + internal static string FormatSectionAlreadyDefined(object p0) { throw null; } + internal static string FormatSectionAlreadyRendered(object p0, object p1, object p2) { throw null; } + internal static string FormatSectionNotDefined(object p0, object p1, object p2) { throw null; } + internal static string FormatSectionsNotRendered(object p0, object p1, object p2) { throw null; } + internal static string FormatUnsupportedDebugInformationFormat(object p0) { throw null; } + internal static string FormatViewContextMustBeSet(object p0, object p1) { throw null; } + internal static string FormatViewLocationFormatsIsRequired(object p0) { throw null; } + internal static string GetResourceString(string resourceKey, string defaultValue = null) { throw null; } + private static string GetResourceString(string resourceKey, string[] formatterNames) { throw null; } + } + internal partial class DefaultRazorPageFactoryProvider : Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider + { + private readonly Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider _viewCompilerProvider; + public DefaultRazorPageFactoryProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider viewCompilerProvider) { } + private Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompiler Compiler { get { throw null; } } + public Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult CreateFactory(string relativePath) { throw null; } + } + public partial class RazorViewEngine : Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine + { + internal System.Collections.Generic.IEnumerable GetViewLocationFormats(Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext context) { throw null; } + } +} +namespace Microsoft.AspNetCore.Mvc.Razor.Infrastructure +{ + internal static partial class CryptographyAlgorithms + { + public static System.Security.Cryptography.SHA256 CreateSHA256() { throw null; } + } + + internal partial class DefaultFileVersionProvider : Microsoft.AspNetCore.Mvc.ViewFeatures.IFileVersionProvider + { + private static readonly char[] QueryStringAndFragmentTokens; + private const string VersionKey = "v"; + private readonly Microsoft.Extensions.Caching.Memory.IMemoryCache _Cache_k__BackingField; + private readonly Microsoft.Extensions.FileProviders.IFileProvider _FileProvider_k__BackingField; + public DefaultFileVersionProvider(Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnvironment, Microsoft.AspNetCore.Mvc.Razor.Infrastructure.TagHelperMemoryCacheProvider cacheProvider) { } + public Microsoft.Extensions.Caching.Memory.IMemoryCache Cache { get { throw null; } } + public Microsoft.Extensions.FileProviders.IFileProvider FileProvider { get { throw null; } } + public string AddFileVersionToPath(Microsoft.AspNetCore.Http.PathString requestPathBase, string path) { throw null; } + private static string GetHashForFile(Microsoft.Extensions.FileProviders.IFileInfo fileInfo) { throw null; } + } + internal partial class DefaultTagHelperActivator : Microsoft.AspNetCore.Mvc.Razor.ITagHelperActivator + { + private readonly Microsoft.AspNetCore.Mvc.Infrastructure.ITypeActivatorCache _typeActivatorCache; + public DefaultTagHelperActivator(Microsoft.AspNetCore.Mvc.Infrastructure.ITypeActivatorCache typeActivatorCache) { } + public TTagHelper Create(Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) where TTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper { throw null; } + } + public sealed partial class TagHelperMemoryCacheProvider + { + private Microsoft.Extensions.Caching.Memory.IMemoryCache _Cache_k__BackingField; + public TagHelperMemoryCacheProvider() { } + public Microsoft.Extensions.Caching.Memory.IMemoryCache Cache { get { throw null; } internal set { } } + } +} +namespace Microsoft.AspNetCore.Mvc.Razor.TagHelpers +{ + internal partial class TagHelperComponentPropertyActivator : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentPropertyActivator + { + private static readonly System.Func> _createActivateInfo; + private readonly System.Func[]> _getPropertiesToActivate; + private readonly System.Collections.Concurrent.ConcurrentDictionary[]> _propertiesToActivate; + public TagHelperComponentPropertyActivator() { } + public void Activate(Microsoft.AspNetCore.Mvc.Rendering.ViewContext context, Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent tagHelperComponent) { } + private static Microsoft.Extensions.Internal.PropertyActivator CreateActivateInfo(System.Reflection.PropertyInfo property) { throw null; } + private static Microsoft.Extensions.Internal.PropertyActivator[] GetPropertiesToActivate(System.Type type) { throw null; } + } +} +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation +{ + internal partial class DefaultViewCompilerProvider : Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider + { + private readonly Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler _compiler; + public DefaultViewCompilerProvider(Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager applicationPartManager, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) { } + public Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompiler GetCompiler() { throw null; } + } + internal partial class DefaultViewCompiler : Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompiler + { + private readonly System.Collections.Generic.Dictionary> _compiledViews; + private readonly Microsoft.Extensions.Logging.ILogger _logger; + private readonly System.Collections.Concurrent.ConcurrentDictionary _normalizedPathCache; + public DefaultViewCompiler(System.Collections.Generic.IList compiledViews, Microsoft.Extensions.Logging.ILogger logger) { } + public System.Threading.Tasks.Task CompileAsync(string relativePath) { throw null; } + private string GetNormalizedPath(string relativePath) { throw null; } + } +} +namespace Microsoft.Extensions.DependencyInjection +{ + internal partial class MvcRazorMvcViewOptionsSetup + { + private readonly Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine _razorViewEngine; + public MvcRazorMvcViewOptionsSetup(Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine razorViewEngine) { } + public void Configure(Microsoft.AspNetCore.Mvc.MvcViewOptions options) { } + } +} \ No newline at end of file diff --git a/src/Mvc/Mvc.Razor/ref/Microsoft.AspNetCore.Mvc.Razor.csproj b/src/Mvc/Mvc.Razor/ref/Microsoft.AspNetCore.Mvc.Razor.csproj index eb432ae8ad7c..3141b53f1ad8 100644 --- a/src/Mvc/Mvc.Razor/ref/Microsoft.AspNetCore.Mvc.Razor.csproj +++ b/src/Mvc/Mvc.Razor/ref/Microsoft.AspNetCore.Mvc.Razor.csproj @@ -2,9 +2,12 @@ netcoreapp3.0 + false + + diff --git a/src/Mvc/Mvc.Razor/ref/Microsoft.AspNetCore.Mvc.Razor.netcoreapp3.0.cs b/src/Mvc/Mvc.Razor/ref/Microsoft.AspNetCore.Mvc.Razor.netcoreapp3.0.cs index d7bb661a5bb7..af11f8aa37e6 100644 --- a/src/Mvc/Mvc.Razor/ref/Microsoft.AspNetCore.Mvc.Razor.netcoreapp3.0.cs +++ b/src/Mvc/Mvc.Razor/ref/Microsoft.AspNetCore.Mvc.Razor.netcoreapp3.0.cs @@ -290,14 +290,6 @@ public ViewsFeature() { } public System.Collections.Generic.IList ViewDescriptors { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } } } -namespace Microsoft.AspNetCore.Mvc.Razor.Infrastructure -{ - public sealed partial class TagHelperMemoryCacheProvider - { - public TagHelperMemoryCacheProvider() { } - public Microsoft.Extensions.Caching.Memory.IMemoryCache Cache { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - } -} namespace Microsoft.AspNetCore.Mvc.Razor.Internal { [System.AttributeUsageAttribute(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)] diff --git a/src/Mvc/Mvc.RazorPages/ref/Directory.Build.props b/src/Mvc/Mvc.RazorPages/ref/Directory.Build.props index db0125b36c16..da31f31a30b5 100644 --- a/src/Mvc/Mvc.RazorPages/ref/Directory.Build.props +++ b/src/Mvc/Mvc.RazorPages/ref/Directory.Build.props @@ -2,6 +2,10 @@ + + $(NoWarn);CS0169 + + diff --git a/src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.csproj b/src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.csproj index 8928351fd2a1..c21c532d01bf 100644 --- a/src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.csproj +++ b/src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.netcoreapp3.0.Manual.cs b/src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.netcoreapp3.0.Manual.cs index 64141594e443..912d7222b062 100644 --- a/src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.netcoreapp3.0.Manual.cs +++ b/src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.netcoreapp3.0.Manual.cs @@ -1,6 +1,27 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +using System.Runtime.CompilerServices; + +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] + +namespace Microsoft.AspNetCore.Builder +{ + internal partial class CompiledPageRouteModelProvider : Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider + { + private static readonly string RazorPageDocumentKind; + private static readonly string RouteTemplateKey; + private readonly Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager _applicationManager; + private readonly Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions _pagesOptions; + private readonly Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelFactory _routeModelFactory; + public CompiledPageRouteModelProvider(Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager applicationManager, Microsoft.Extensions.Options.IOptions pagesOptionsAccessor, Microsoft.Extensions.Logging.ILogger logger) { } + public int Order { get { throw null; } } + internal static string GetRouteTemplate(Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor viewDescriptor) { throw null; } + protected virtual Microsoft.AspNetCore.Mvc.Razor.Compilation.ViewsFeature GetViewFeature(Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager applicationManager) { throw null; } + public void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelProviderContext context) { } + public void OnProvidersExecuting(Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelProviderContext context) { } + } +} namespace Microsoft.AspNetCore.Mvc.ApplicationModels { // https://github.com/dotnet/arcade/issues/2066 @@ -28,4 +49,294 @@ public partial class PagePropertyModel : Microsoft.AspNetCore.Mvc.ApplicationMod System.Collections.Generic.IReadOnlyList Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel.Attributes { get { throw null; } } System.Collections.Generic.IDictionary Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel.Properties { get { throw null; } } } + internal partial class PageRouteModelFactory + { + private static readonly string IndexFileName; + private readonly Microsoft.Extensions.Logging.ILogger _logger; + private readonly string _normalizedAreaRootDirectory; + private readonly string _normalizedRootDirectory; + private readonly Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions _options; + private static readonly System.Action _unsupportedAreaPath; + public PageRouteModelFactory(Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions options, Microsoft.Extensions.Logging.ILogger logger) { } + private static string CreateAreaRoute(string areaName, string viewEnginePath) { throw null; } + public Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel CreateAreaRouteModel(string relativePath, string routeTemplate) { throw null; } + public Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel CreateRouteModel(string relativePath, string routeTemplate) { throw null; } + private static Microsoft.AspNetCore.Mvc.ApplicationModels.SelectorModel CreateSelectorModel(string prefix, string routeTemplate) { throw null; } + private string GetViewEnginePath(string rootDirectory, string path) { throw null; } + private static string NormalizeDirectory(string directory) { throw null; } + private static void PopulateRouteModel(Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel model, string pageRoute, string routeTemplate) { } + internal bool TryParseAreaPath(string relativePath, out (string areaName, string viewEnginePath) result) { throw null; } + } + internal partial class AuthorizationPageApplicationModelProvider : Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider + { + private readonly Microsoft.AspNetCore.Mvc.MvcOptions _mvcOptions; + private readonly Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider _policyProvider; + public AuthorizationPageApplicationModelProvider(Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider, Microsoft.Extensions.Options.IOptions mvcOptions) { } + public int Order { get { throw null; } } + public void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext context) { } + public void OnProvidersExecuting(Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext context) { } + } + internal partial class DefaultPageApplicationModelProvider : Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider + { + private const string ModelPropertyName = "Model"; + private readonly Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandleOptionsRequestsPageFilter _handleOptionsRequestsFilter; + private readonly Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider _modelMetadataProvider; + private readonly Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelPartsProvider _pageApplicationModelPartsProvider; + private readonly Microsoft.AspNetCore.Mvc.Filters.PageHandlerPageFilter _pageHandlerPageFilter; + private readonly Microsoft.AspNetCore.Mvc.Filters.PageHandlerResultFilter _pageHandlerResultFilter; + private readonly Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions _razorPagesOptions; + public DefaultPageApplicationModelProvider(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.Extensions.Options.IOptions razorPagesOptions, Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelPartsProvider pageApplicationModelPartsProvider) { } + public int Order { get { throw null; } } + protected virtual Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel CreateModel(Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor actionDescriptor, System.Reflection.TypeInfo pageTypeInfo) { throw null; } + public void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext context) { } + public void OnProvidersExecuting(Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext context) { } + internal void PopulateFilters(Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel pageModel) { } + internal void PopulateHandlerMethods(Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel pageModel) { } + internal void PopulateHandlerProperties(Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel pageModel) { } + } + internal partial class TempDataFilterPageApplicationModelProvider : Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider + { + private readonly Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.TempDataSerializer _tempDataSerializer; + public TempDataFilterPageApplicationModelProvider(Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.TempDataSerializer tempDataSerializer) { } + public int Order { get { throw null; } } + public void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext context) { } + public void OnProvidersExecuting(Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext context) { } + } + internal partial class ViewDataAttributePageApplicationModelProvider : Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider + { + public ViewDataAttributePageApplicationModelProvider() { } + public int Order { get { throw null; } } + public void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext context) { } + public void OnProvidersExecuting(Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext context) { } + } + internal partial class ResponseCacheFilterApplicationModelProvider : Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider + { + private readonly Microsoft.Extensions.Logging.ILoggerFactory _loggerFactory; + private readonly Microsoft.AspNetCore.Mvc.MvcOptions _mvcOptions; + public ResponseCacheFilterApplicationModelProvider(Microsoft.Extensions.Options.IOptions mvcOptionsAccessor, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) { } + public int Order { get { throw null; } } + public void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext context) { } + public void OnProvidersExecuting(Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext context) { } + } + internal partial class CompiledPageRouteModelProvider : Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider + { + private static readonly string RazorPageDocumentKind; + private static readonly string RouteTemplateKey; + private readonly Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager _applicationManager; + private readonly Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions _pagesOptions; + private readonly Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelFactory _routeModelFactory; + public CompiledPageRouteModelProvider(Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager applicationManager, Microsoft.Extensions.Options.IOptions pagesOptionsAccessor, Microsoft.Extensions.Logging.ILogger logger) { } + public int Order { get { throw null; } } + private void CreateModels(Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelProviderContext context) { } + private System.Collections.Generic.IEnumerable GetViewDescriptors(Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager applicationManager) { throw null; } + protected virtual Microsoft.AspNetCore.Mvc.Razor.Compilation.ViewsFeature GetViewFeature(Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager applicationManager) { throw null; } + public void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelProviderContext context) { } + public void OnProvidersExecuting(Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelProviderContext context) { } + } } +namespace Microsoft.AspNetCore.Mvc.Filters +{ + internal partial class PageHandlerPageFilter : Microsoft.AspNetCore.Mvc.Filters.IAsyncPageFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter + { + public PageHandlerPageFilter() { } + public int Order { get { throw null; } } + public System.Threading.Tasks.Task OnPageHandlerExecutionAsync(Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext context, Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutionDelegate next) { throw null; } + public System.Threading.Tasks.Task OnPageHandlerSelectionAsync(Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext context) { throw null; } + } + internal partial class PageHandlerResultFilter : Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter + { + public PageHandlerResultFilter() { } + public int Order { get { throw null; } } + public System.Threading.Tasks.Task OnResultExecutionAsync(Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext context, Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate next) { throw null; } + } +} +namespace Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure +{ + internal sealed partial class HandleOptionsRequestsPageFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter, Microsoft.AspNetCore.Mvc.Filters.IPageFilter + { + public HandleOptionsRequestsPageFilter() { } + public int Order { get { throw null; } } + public void OnPageHandlerExecuted(Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutedContext context) { } + public void OnPageHandlerExecuting(Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext context) { } + public void OnPageHandlerSelected(Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext context) { } + } + internal delegate System.Threading.Tasks.Task PageHandlerExecutorDelegate(object handler, object[] arguments); + internal partial class PageActionInvoker : Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker, Microsoft.AspNetCore.Mvc.Abstractions.IActionInvoker + { + private readonly Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor _actionDescriptor; + private System.Collections.Generic.Dictionary _arguments; + private Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor _handler; + private Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutedContext _handlerExecutedContext; + private Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext _handlerExecutingContext; + private Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext _handlerSelectedContext; + private readonly Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelperOptions _htmlHelperOptions; + private Microsoft.AspNetCore.Mvc.RazorPages.PageBase _page; + private readonly Microsoft.AspNetCore.Mvc.RazorPages.PageContext _pageContext; + private object _pageModel; + private readonly Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder _parameterBinder; + private readonly Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageHandlerMethodSelector _selector; + private readonly Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory _tempDataFactory; + private Microsoft.AspNetCore.Mvc.Rendering.ViewContext _viewContext; + [System.Diagnostics.DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState.Never)] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute] + private readonly Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvokerCacheEntry _CacheEntry_k__BackingField; + public PageActionInvoker(Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageHandlerMethodSelector handlerMethodSelector, System.Diagnostics.DiagnosticListener diagnosticListener, Microsoft.Extensions.Logging.ILogger logger, Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor actionContextAccessor, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Microsoft.AspNetCore.Mvc.RazorPages.PageContext pageContext, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[] filterMetadata, Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvokerCacheEntry cacheEntry, Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder parameterBinder, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory tempDataFactory, Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelperOptions htmlHelperOptions) : base (default(System.Diagnostics.DiagnosticListener), default(Microsoft.Extensions.Logging.ILogger), default(Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor), default(Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper), default(Microsoft.AspNetCore.Mvc.ActionContext), default(Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[]), default(System.Collections.Generic.IList)) { } + internal Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvokerCacheEntry CacheEntry { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + private bool HasPageModel { get { throw null; } } + internal Microsoft.AspNetCore.Mvc.RazorPages.PageContext PageContext { get { throw null; } } + private System.Threading.Tasks.Task BindArgumentsAsync() { throw null; } + protected override System.Threading.Tasks.Task InvokeInnerFilterAsync() { throw null; } + [System.Diagnostics.DebuggerStepThroughAttribute] + private System.Threading.Tasks.Task InvokeNextPageFilterAwaitedAsync() { throw null; } + protected override System.Threading.Tasks.Task InvokeResultAsync(Microsoft.AspNetCore.Mvc.IActionResult result) { throw null; } + private System.Threading.Tasks.Task Next(ref Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.State next, ref Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Scope scope, ref object state, ref bool isCompleted) { throw null; } + private static object[] PrepareArguments(System.Collections.Generic.IDictionary argumentsInDictionary, Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor handler) { throw null; } + protected override void ReleaseResources() { } + private static void Rethrow(Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutedContext context) { } + private Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor SelectHandler() { throw null; } + private enum Scope + { + Invoker = 0, + Page = 1, + } + private enum State + { + PageBegin = 0, + PageSelectHandlerBegin = 1, + PageSelectHandlerNext = 2, + PageSelectHandlerAsyncBegin = 3, + PageSelectHandlerAsyncEnd = 4, + PageSelectHandlerSync = 5, + PageSelectHandlerEnd = 6, + PageNext = 7, + PageAsyncBegin = 8, + PageAsyncEnd = 9, + PageSyncBegin = 10, + PageSyncEnd = 11, + PageInside = 12, + PageEnd = 13, + } + } + internal partial class PageActionInvokerCacheEntry + { + [System.Diagnostics.DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState.Never)] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute] + private readonly Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor _ActionDescriptor_k__BackingField; + [System.Diagnostics.DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState.Never)] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute] + private readonly Microsoft.AspNetCore.Mvc.Filters.FilterItem[] _CacheableFilters_k__BackingField; + [System.Diagnostics.DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState.Never)] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute] + private readonly Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageHandlerBinderDelegate[] _HandlerBinders_k__BackingField; + [System.Diagnostics.DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState.Never)] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute] + private readonly Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageHandlerExecutorDelegate[] _HandlerExecutors_k__BackingField; + [System.Diagnostics.DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState.Never)] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute] + private readonly System.Func _ModelFactory_k__BackingField; + [System.Diagnostics.DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState.Never)] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute] + private readonly System.Func _PageFactory_k__BackingField; + [System.Diagnostics.DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState.Never)] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute] + private readonly System.Func _PropertyBinder_k__BackingField; + [System.Diagnostics.DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState.Never)] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute] + private readonly System.Action _ReleaseModel_k__BackingField; + [System.Diagnostics.DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState.Never)] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute] + private readonly System.Action _ReleasePage_k__BackingField; + [System.Diagnostics.DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState.Never)] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute] + private readonly System.Func _ViewDataFactory_k__BackingField; + [System.Diagnostics.DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState.Never)] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute] + private readonly System.Collections.Generic.IReadOnlyList> _ViewStartFactories_k__BackingField; + public PageActionInvokerCacheEntry(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor actionDescriptor, System.Func viewDataFactory, System.Func pageFactory, System.Action releasePage, System.Func modelFactory, System.Action releaseModel, System.Func propertyBinder, Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageHandlerExecutorDelegate[] handlerExecutors, Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageHandlerBinderDelegate[] handlerBinders, System.Collections.Generic.IReadOnlyList> viewStartFactories, Microsoft.AspNetCore.Mvc.Filters.FilterItem[] cacheableFilters) { } + public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public Microsoft.AspNetCore.Mvc.Filters.FilterItem[] CacheableFilters { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageHandlerBinderDelegate[] HandlerBinders { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageHandlerExecutorDelegate[] HandlerExecutors { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public System.Func ModelFactory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public System.Func PageFactory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public System.Func PropertyBinder { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public System.Action ReleaseModel { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public System.Action ReleasePage { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public System.Func ViewDataFactory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public System.Collections.Generic.IReadOnlyList> ViewStartFactories { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + } + internal partial class PageActionInvokerProvider : Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider + { + private readonly Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor _actionContextAccessor; + private readonly Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider _collectionProvider; + private volatile Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvokerProvider.InnerCache _currentCache; + private readonly System.Diagnostics.DiagnosticListener _diagnosticListener; + private readonly Microsoft.AspNetCore.Mvc.Filters.IFilterProvider[] _filterProviders; + private readonly Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageLoader _loader; + private readonly Microsoft.Extensions.Logging.ILogger _logger; + private readonly Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper _mapper; + private readonly Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory _modelBinderFactory; + private readonly Microsoft.AspNetCore.Mvc.RazorPages.IPageModelFactoryProvider _modelFactoryProvider; + private readonly Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider _modelMetadataProvider; + private readonly Microsoft.AspNetCore.Mvc.MvcOptions _mvcOptions; + private readonly Microsoft.AspNetCore.Mvc.MvcViewOptions _mvcViewOptions; + private readonly Microsoft.AspNetCore.Mvc.RazorPages.IPageFactoryProvider _pageFactoryProvider; + private readonly Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder _parameterBinder; + private readonly Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider _razorPageFactoryProvider; + private readonly Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageHandlerMethodSelector _selector; + private readonly Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory _tempDataFactory; + private readonly System.Collections.Generic.IReadOnlyList _valueProviderFactories; + [System.Diagnostics.DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState.Never)] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute] + private readonly int _Order_k__BackingField; + public PageActionInvokerProvider(Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageLoader loader, Microsoft.AspNetCore.Mvc.RazorPages.IPageFactoryProvider pageFactoryProvider, Microsoft.AspNetCore.Mvc.RazorPages.IPageModelFactoryProvider modelFactoryProvider, Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider razorPageFactoryProvider, Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider collectionProvider, System.Collections.Generic.IEnumerable filterProviders, Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder parameterBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory modelBinderFactory, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory tempDataFactory, Microsoft.Extensions.Options.IOptions mvcOptions, Microsoft.Extensions.Options.IOptions mvcViewOptions, Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageHandlerMethodSelector selector, System.Diagnostics.DiagnosticListener diagnosticListener, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper) { } + public PageActionInvokerProvider(Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageLoader loader, Microsoft.AspNetCore.Mvc.RazorPages.IPageFactoryProvider pageFactoryProvider, Microsoft.AspNetCore.Mvc.RazorPages.IPageModelFactoryProvider modelFactoryProvider, Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider razorPageFactoryProvider, Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider collectionProvider, System.Collections.Generic.IEnumerable filterProviders, Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder parameterBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory modelBinderFactory, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory tempDataFactory, Microsoft.Extensions.Options.IOptions mvcOptions, Microsoft.Extensions.Options.IOptions mvcViewOptions, Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageHandlerMethodSelector selector, System.Diagnostics.DiagnosticListener diagnosticListener, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor actionContextAccessor) { } + private Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvokerProvider.InnerCache CurrentCache { get { throw null; } } + public int Order { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + private Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker CreateActionInvoker(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvokerCacheEntry cacheEntry, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[] filters) { throw null; } + private Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvokerCacheEntry CreateCacheEntry(Microsoft.AspNetCore.Mvc.Abstractions.ActionInvokerProviderContext context, Microsoft.AspNetCore.Mvc.Filters.FilterItem[] cachedFilters) { throw null; } + private Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageHandlerBinderDelegate[] GetHandlerBinders(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor actionDescriptor) { throw null; } + private static Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageHandlerExecutorDelegate[] GetHandlerExecutors(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor actionDescriptor) { throw null; } + internal System.Collections.Generic.List> GetViewStartFactories(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor) { throw null; } + public void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.Abstractions.ActionInvokerProviderContext context) { } + public void OnProvidersExecuting(Microsoft.AspNetCore.Mvc.Abstractions.ActionInvokerProviderContext context) { } + internal partial class InnerCache + { + [System.Diagnostics.DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState.Never)] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute] + private readonly System.Collections.Concurrent.ConcurrentDictionary _Entries_k__BackingField; + [System.Diagnostics.DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState.Never)] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute] + private readonly int _Version_k__BackingField; + public InnerCache(int version) { } + public System.Collections.Concurrent.ConcurrentDictionary Entries { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public int Version { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + } + } + internal static partial class PageBinderFactory + { + internal static readonly Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageHandlerBinderDelegate NullHandlerBinder = (context, arguments) => System.Threading.Tasks.Task.CompletedTask; + internal static readonly System.Func NullPropertyBinder = (context, arguments) => System.Threading.Tasks.Task.CompletedTask; + public static Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageHandlerBinderDelegate CreateHandlerBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder parameterBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory modelBinderFactory, Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor actionDescriptor, Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor handler, Microsoft.AspNetCore.Mvc.MvcOptions mvcOptions) { throw null; } + public static System.Func CreatePropertyBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder parameterBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory modelBinderFactory, Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor actionDescriptor) { throw null; } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + private readonly partial struct BinderItem + { + private readonly object _dummy; + public BinderItem(Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder modelBinder, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata modelMetadata) { throw null; } + public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder ModelBinder { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata ModelMetadata { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + } + } + internal delegate System.Threading.Tasks.Task PageHandlerBinderDelegate(Microsoft.AspNetCore.Mvc.RazorPages.PageContext pageContext, System.Collections.Generic.IDictionary arguments); +} +namespace Microsoft.Extensions.DependencyInjection +{ + internal partial class RazorPagesRazorViewEngineOptionsSetup : Microsoft.Extensions.Options.IConfigureOptions + { + private readonly Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions _pagesOptions; + public RazorPagesRazorViewEngineOptionsSetup(Microsoft.Extensions.Options.IOptions pagesOptions) { } + private static string CombinePath(string path1, string path2) { throw null; } + public void Configure(Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions options) { } + } +} \ No newline at end of file diff --git a/src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.netcoreapp3.0.cs b/src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.netcoreapp3.0.cs index e8959d832abf..6bf3847a86e7 100644 --- a/src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.netcoreapp3.0.cs +++ b/src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.netcoreapp3.0.cs @@ -694,7 +694,7 @@ public PageModelAttribute() { } } public partial class PageResultExecutor : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor { - public PageResultExecutor(Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine compositeViewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine razorViewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator razorPageActivator, System.Diagnostics.DiagnosticListener diagnosticListener, System.Text.Encodings.Web.HtmlEncoder htmlEncoder) : base (default(Microsoft.Extensions.Options.IOptions), default(Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory), default(Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine), default(Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory), default(System.Diagnostics.DiagnosticListener), default(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider)) { } + public PageResultExecutor(Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine compositeViewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine razorViewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator razorPageActivator, System.Diagnostics.DiagnosticListener diagnosticListener, System.Text.Encodings.Web.HtmlEncoder htmlEncoder) : base (default(Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory), default(Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine), default(System.Diagnostics.DiagnosticListener)) { } public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.RazorPages.PageContext pageContext, Microsoft.AspNetCore.Mvc.RazorPages.PageResult result) { throw null; } } public partial class PageViewLocationExpander : Microsoft.AspNetCore.Mvc.Razor.IViewLocationExpander diff --git a/src/Mvc/Mvc.RazorPages/src/Microsoft.AspNetCore.Mvc.RazorPages.csproj b/src/Mvc/Mvc.RazorPages/src/Microsoft.AspNetCore.Mvc.RazorPages.csproj index 0986fbcdb7f2..1f7fe61e41e0 100644 --- a/src/Mvc/Mvc.RazorPages/src/Microsoft.AspNetCore.Mvc.RazorPages.csproj +++ b/src/Mvc/Mvc.RazorPages/src/Microsoft.AspNetCore.Mvc.RazorPages.csproj @@ -11,6 +11,8 @@ + + diff --git a/src/Mvc/Mvc.TagHelpers/ref/Microsoft.AspNetCore.Mvc.TagHelpers.csproj b/src/Mvc/Mvc.TagHelpers/ref/Microsoft.AspNetCore.Mvc.TagHelpers.csproj index 2c0acec9fc35..54c737be53e8 100644 --- a/src/Mvc/Mvc.TagHelpers/ref/Microsoft.AspNetCore.Mvc.TagHelpers.csproj +++ b/src/Mvc/Mvc.TagHelpers/ref/Microsoft.AspNetCore.Mvc.TagHelpers.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Mvc/Mvc.ViewFeatures/ref/Directory.Build.props b/src/Mvc/Mvc.ViewFeatures/ref/Directory.Build.props new file mode 100644 index 000000000000..ea5de23302dc --- /dev/null +++ b/src/Mvc/Mvc.ViewFeatures/ref/Directory.Build.props @@ -0,0 +1,7 @@ + + + + + $(NoWarn);CS0169 + + \ No newline at end of file diff --git a/src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.Manual.cs b/src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.Manual.cs new file mode 100644 index 000000000000..f5f2f9d98427 --- /dev/null +++ b/src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.Manual.cs @@ -0,0 +1,257 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Runtime.CompilerServices; + +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.Razor, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.RazorPages, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.TagHelpers, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")] + +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers +{ + internal partial class CharArrayBufferSource : Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ICharBufferSource + { + public static readonly Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.CharArrayBufferSource Instance; + public CharArrayBufferSource() { } + public char[] Rent(int bufferSize) { throw null; } + public void Return(char[] buffer) { } + } + internal partial interface ICharBufferSource + { + char[] Rent(int bufferSize); + void Return(char[] buffer); + } + internal partial class PagedCharBuffer + { + public const int PageSize = 1024; + private int _charIndex; + private readonly Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ICharBufferSource _BufferSource_k__BackingField; + private char[] _CurrentPage_k__BackingField; + private readonly System.Collections.Generic.List _Pages_k__BackingField; + public PagedCharBuffer(Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ICharBufferSource bufferSource) { } + public Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ICharBufferSource BufferSource { get { throw null; } } + private char[] CurrentPage { get { throw null; } set { } } + public int Length { get { throw null; } } + public System.Collections.Generic.List Pages { get { throw null; } } + public void Append(char value) { } + public void Append(char[] buffer, int index, int count) { } + public void Append(string value) { } + public void Clear() { } + public void Dispose() { } + private char[] GetCurrentPage() { throw null; } + private char[] NewPage() { throw null; } + } + internal partial class ViewBuffer : Microsoft.AspNetCore.Html.IHtmlContentBuilder + { + public static readonly int PartialViewPageSize; + public static readonly int TagHelperPageSize; + public static readonly int ViewComponentPageSize; + public static readonly int ViewPageSize; + private readonly Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.IViewBufferScope _bufferScope; + private Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferPage _currentPage; + private System.Collections.Generic.List _multiplePages; + private readonly string _name; + private readonly int _pageSize; + public ViewBuffer(Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.IViewBufferScope bufferScope, string name, int pageSize) { } + public int Count { get { throw null; } } + public Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferPage this[int index] { get { throw null; } } + private void AddPage(Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferPage page) { } + public Microsoft.AspNetCore.Html.IHtmlContentBuilder Append(string unencoded) { throw null; } + public Microsoft.AspNetCore.Html.IHtmlContentBuilder AppendHtml(Microsoft.AspNetCore.Html.IHtmlContent content) { throw null; } + public Microsoft.AspNetCore.Html.IHtmlContentBuilder AppendHtml(string encoded) { throw null; } + private Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferPage AppendNewPage() { throw null; } + private void AppendValue(Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferValue value) { } + public Microsoft.AspNetCore.Html.IHtmlContentBuilder Clear() { throw null; } + public void CopyTo(Microsoft.AspNetCore.Html.IHtmlContentBuilder destination) { } + private string DebuggerToString() { throw null; } + private Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferPage GetCurrentPage() { throw null; } + public void MoveTo(Microsoft.AspNetCore.Html.IHtmlContentBuilder destination) { } + private void MoveTo(Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBuffer destination) { } + public void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) { } + public System.Threading.Tasks.Task WriteToAsync(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) { throw null; } + private partial class EncodingWrapper + { + private readonly string _unencoded; + public EncodingWrapper(string unencoded) { } + public void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) { } + } + } + internal partial class ViewBufferTextWriter : System.IO.TextWriter + { + private readonly System.Text.Encodings.Web.HtmlEncoder _htmlEncoder; + private readonly System.IO.TextWriter _inner; + private readonly Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBuffer _Buffer_k__BackingField; + private readonly System.Text.Encoding _Encoding_k__BackingField; + private bool _Flushed_k__BackingField; + public ViewBufferTextWriter(Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBuffer buffer, System.Text.Encoding encoding) { } + public ViewBufferTextWriter(Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBuffer buffer, System.Text.Encoding encoding, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, System.IO.TextWriter inner) { } + public Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBuffer Buffer { get { throw null; } } + public override System.Text.Encoding Encoding { get { throw null; } } + public bool Flushed { get { throw null; } private set { } } + public override void Flush() { } + public override System.Threading.Tasks.Task FlushAsync() { throw null; } + public void Write(Microsoft.AspNetCore.Html.IHtmlContent value) { } + public void Write(Microsoft.AspNetCore.Html.IHtmlContentContainer value) { } + public override void Write(char value) { } + public override void Write(char[] buffer, int index, int count) { } + public override void Write(object value) { } + public override void Write(string value) { } + public override System.Threading.Tasks.Task WriteAsync(char value) { throw null; } + public override System.Threading.Tasks.Task WriteAsync(char[] buffer, int index, int count) { throw null; } + public override System.Threading.Tasks.Task WriteAsync(string value) { throw null; } + public override void WriteLine() { } + public override void WriteLine(object value) { } + public override void WriteLine(string value) { } + public override System.Threading.Tasks.Task WriteLineAsync() { throw null; } + public override System.Threading.Tasks.Task WriteLineAsync(char value) { throw null; } + public override System.Threading.Tasks.Task WriteLineAsync(char[] value, int start, int offset) { throw null; } + public override System.Threading.Tasks.Task WriteLineAsync(string value) { throw null; } + } + internal partial class ViewBufferPage + { + private readonly Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferValue[] _Buffer_k__BackingField; + private int _Count_k__BackingField; + public ViewBufferPage(Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferValue[] buffer) { } + public Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferValue[] Buffer { get { throw null; } } + public int Capacity { get { throw null; } } + public int Count { get { throw null; } set { } } + public bool IsFull { get { throw null; } } + public void Append(Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferValue value) { } + } +} +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Filters +{ + internal partial class ViewDataAttributeApplicationModelProvider + { + public ViewDataAttributeApplicationModelProvider() { } + public int Order { get { throw null; } } + public void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext context) { } + public void OnProvidersExecuting(Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext context) { } + } + internal static partial class ViewDataAttributePropertyProvider + { + public static System.Collections.Generic.IReadOnlyList GetViewDataProperties(System.Type type) { throw null; } + } + internal partial interface ISaveTempDataCallback + { + void OnTempDataSaving(Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary tempData); + } + internal partial interface IViewDataValuesProviderFeature + { + void ProvideViewDataValues(Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData); + } + internal abstract partial class SaveTempDataPropertyFilterBase : Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.ISaveTempDataCallback + { + protected readonly Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory _tempDataFactory; + private readonly System.Collections.Generic.IDictionary _OriginalValues_k__BackingField; + private System.Collections.Generic.IReadOnlyList _Properties_k__BackingField; + private object _Subject_k__BackingField; + public SaveTempDataPropertyFilterBase(Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory tempDataFactory) { } + public System.Collections.Generic.IDictionary OriginalValues { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Properties { get { throw null; } set { } } + public object Subject { get { throw null; } set { } } + public static System.Collections.Generic.IReadOnlyList GetTempDataProperties(Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.TempDataSerializer tempDataSerializer, System.Type type) { throw null; } + public void OnTempDataSaving(Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary tempData) { } + protected void SetPropertyValues(Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary tempData) { } + private static bool ValidateProperty(Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.TempDataSerializer tempDataSerializer, System.Collections.Generic.List errorMessages, System.Reflection.PropertyInfo property) { throw null; } + } + internal readonly partial struct LifecycleProperty + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LifecycleProperty(System.Reflection.PropertyInfo propertyInfo, string key) { throw null; } + public string Key { get { throw null; } } + public System.Reflection.PropertyInfo PropertyInfo { get { throw null; } } + public object GetValue(object instance) { throw null; } + public void SetValue(object instance, object value) { } + } +} +namespace Microsoft.AspNetCore.Mvc.ViewFeatures +{ + internal partial class TempDataApplicationModelProvider + { + private readonly Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.TempDataSerializer _tempDataSerializer; + public TempDataApplicationModelProvider(Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.TempDataSerializer tempDataSerializer) { } + public int Order { get { throw null; } } + public void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext context) { } + public void OnProvidersExecuting(Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext context) { } + } + internal partial class NullView : Microsoft.AspNetCore.Mvc.ViewEngines.IView + { + public static readonly Microsoft.AspNetCore.Mvc.ViewFeatures.NullView Instance; + public NullView() { } + public string Path { get { throw null; } } + public System.Threading.Tasks.Task RenderAsync(Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) { throw null; } + } + internal partial class TemplateRenderer + { + private const string DisplayTemplateViewPath = "DisplayTemplates"; + private const string EditorTemplateViewPath = "EditorTemplates"; + public const string IEnumerableOfIFormFileName = "IEnumerable`IFormFile"; + private readonly Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.IViewBufferScope _bufferScope; + private static readonly System.Collections.Generic.Dictionary> _defaultDisplayActions; + private static readonly System.Collections.Generic.Dictionary> _defaultEditorActions; + private readonly bool _readOnly; + private readonly string _templateName; + private readonly Microsoft.AspNetCore.Mvc.Rendering.ViewContext _viewContext; + private readonly Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary _viewData; + private readonly Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine _viewEngine; + public TemplateRenderer(Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine viewEngine, Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.IViewBufferScope bufferScope, Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData, string templateName, bool readOnly) { } + private System.Collections.Generic.Dictionary> GetDefaultActions() { throw null; } + public static System.Collections.Generic.IEnumerable GetTypeNames(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata modelMetadata, System.Type fieldType) { throw null; } + private System.Collections.Generic.IEnumerable GetViewNames() { throw null; } + private static Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper MakeHtmlHelper(Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData) { throw null; } + public Microsoft.AspNetCore.Html.IHtmlContent Render() { throw null; } + } + internal static partial class FormatWeekHelper + { + public static string GetFormattedWeek(Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer) { throw null; } + } + internal static partial class ViewDataDictionaryFactory + { + public static System.Func CreateFactory(System.Reflection.TypeInfo modelType) { throw null; } + public static System.Func CreateNestedFactory(System.Reflection.TypeInfo modelType) { throw null; } + } +} +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure +{ + internal partial class DefaultTempDataSerializer : Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.TempDataSerializer + { + public DefaultTempDataSerializer() { } + public override bool CanSerializeType(System.Type type) { throw null; } + public override System.Collections.Generic.IDictionary Deserialize(byte[] value) { throw null; } + private static object DeserializeArray(in System.Text.Json.JsonElement arrayElement) { throw null; } + private System.Collections.Generic.IDictionary DeserializeDictionary(System.Text.Json.JsonElement rootElement) { throw null; } + private static object DeserializeDictionaryEntry(in System.Text.Json.JsonElement objectElement) { throw null; } + public override byte[] Serialize(System.Collections.Generic.IDictionary values) { throw null; } + } +} +namespace Microsoft.AspNetCore.Mvc.Rendering +{ + internal partial class SystemTextJsonHelper : Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper + { + private readonly System.Text.Json.JsonSerializerOptions _htmlSafeJsonSerializerOptions; + public SystemTextJsonHelper(Microsoft.Extensions.Options.IOptions options) { } + private static System.Text.Json.JsonSerializerOptions GetHtmlSafeSerializerOptions(System.Text.Json.JsonSerializerOptions serializerOptions) { throw null; } + public Microsoft.AspNetCore.Html.IHtmlContent Serialize(object value) { throw null; } + } +} +namespace Microsoft.Extensions.DependencyInjection +{ + internal partial class MvcViewOptionsSetup + { + private readonly Microsoft.Extensions.Options.IOptions _dataAnnotationsLocalizationOptions; + private readonly Microsoft.Extensions.Localization.IStringLocalizerFactory _stringLocalizerFactory; + private readonly Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider _validationAttributeAdapterProvider; + public MvcViewOptionsSetup(Microsoft.Extensions.Options.IOptions dataAnnotationLocalizationOptions, Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider validationAttributeAdapterProvider) { } + public MvcViewOptionsSetup(Microsoft.Extensions.Options.IOptions dataAnnotationOptions, Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider validationAttributeAdapterProvider, Microsoft.Extensions.Localization.IStringLocalizerFactory stringLocalizerFactory) { } + public void Configure(Microsoft.AspNetCore.Mvc.MvcViewOptions options) { } + } + internal partial class TempDataMvcOptionsSetup + { + public TempDataMvcOptionsSetup() { } + public void Configure(Microsoft.AspNetCore.Mvc.MvcOptions options) { } + } +} \ No newline at end of file diff --git a/src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj b/src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj index ede007ec0cae..3746041b8bf5 100644 --- a/src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj +++ b/src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj @@ -2,9 +2,12 @@ netcoreapp3.0 + false + + diff --git a/src/Mvc/Mvc.ViewFeatures/src/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj b/src/Mvc/Mvc.ViewFeatures/src/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj index 90f5f2fcc8bd..17a509016927 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj +++ b/src/Mvc/Mvc.ViewFeatures/src/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj @@ -31,9 +31,10 @@ - - - + + + + diff --git a/src/Mvc/Mvc/ref/Microsoft.AspNetCore.Mvc.csproj b/src/Mvc/Mvc/ref/Microsoft.AspNetCore.Mvc.csproj index 0bd19fa8afbf..1d94cff584ad 100644 --- a/src/Mvc/Mvc/ref/Microsoft.AspNetCore.Mvc.csproj +++ b/src/Mvc/Mvc/ref/Microsoft.AspNetCore.Mvc.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Mvc/Mvc/test/Microsoft.AspNetCore.Mvc.Test.csproj b/src/Mvc/Mvc/test/Microsoft.AspNetCore.Mvc.Test.csproj index c1b0ad0c0578..46985d199625 100644 --- a/src/Mvc/Mvc/test/Microsoft.AspNetCore.Mvc.Test.csproj +++ b/src/Mvc/Mvc/test/Microsoft.AspNetCore.Mvc.Test.csproj @@ -12,7 +12,6 @@ - diff --git a/src/Mvc/test/Mvc.FunctionalTests/ErrorPageTests.cs b/src/Mvc/test/Mvc.FunctionalTests/ErrorPageTests.cs index 5cd72354c6e3..6ca0e5c650fc 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/ErrorPageTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/ErrorPageTests.cs @@ -2,6 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; +using System.IO; using System.Linq; using System.Net; using System.Net.Http; @@ -9,6 +10,8 @@ using System.Text.Encodings.Web; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation; +using Microsoft.AspNetCore.TestHost; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; @@ -27,6 +30,8 @@ public class ErrorPageTests : IClassFixture _fixture; + public ErrorPageTests( MvcTestFixture fixture, ITestOutputHelper testOutputHelper) @@ -41,6 +46,8 @@ public ErrorPageTests( .CreateDefaultClient(); // These tests want to verify runtime compilation and formatting in the HTML of the error page Client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("text/html")); + + _fixture = fixture; } public HttpClient Client { get; } @@ -49,12 +56,18 @@ public ErrorPageTests( public async Task CompilationFailuresAreListedByErrorPageMiddleware() { // Arrange + var factory = _fixture.Factories.FirstOrDefault() ?? _fixture.WithWebHostBuilder(b => b.UseStartup()); + factory = factory.WithWebHostBuilder(b => b.ConfigureTestServices(serviceCollection => serviceCollection.Configure(ConfigureRuntimeCompilationOptions))); + + var client = factory.CreateDefaultClient(); + client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("text/html")); + var action = "CompilationFailure"; var expected = "Cannot implicitly convert type 'int' to 'string'"; var expectedMediaType = MediaTypeHeaderValue.Parse("text/html; charset=utf-8"); // Act - var response = await Client.GetAsync("http://localhost/" + action); + var response = await client.GetAsync("http://localhost/" + action); // Assert Assert.Equal(HttpStatusCode.InternalServerError, response.StatusCode); @@ -63,6 +76,16 @@ public async Task CompilationFailuresAreListedByErrorPageMiddleware() Assert.Contains($"{action}.cshtml", content); Assert.Contains(expected, content); Assert.DoesNotContain(PreserveCompilationContextMessage, content); + + static void ConfigureRuntimeCompilationOptions(MvcRazorRuntimeCompilationOptions options) + { + // Workaround for incorrectly generated deps file. The build output has all of the binaries required to compile. We'll grab these and + // add it to the list of assemblies runtime compilation uses. + foreach (var path in Directory.EnumerateFiles(AppContext.BaseDirectory, "*.dll")) + { + options.AdditionalReferencePaths.Add(path); + } + } } [Fact] diff --git a/src/Mvc/test/Mvc.FunctionalTests/RazorBuildTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RazorBuildTest.cs index ba90b3594767..26ba921a68ea 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RazorBuildTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RazorBuildTest.cs @@ -3,9 +3,15 @@ using System; using System.Collections.Generic; +using System.IO; +using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation; +using Microsoft.AspNetCore.TestHost; +using Microsoft.Extensions.DependencyInjection; using Xunit; namespace Microsoft.AspNetCore.Mvc.FunctionalTests @@ -14,7 +20,20 @@ public class RazorBuildTest : IClassFixture fixture) { - Client = fixture.CreateDefaultClient(); + var factory = fixture.Factories.FirstOrDefault() ?? fixture.WithWebHostBuilder(b => b.UseStartup()); + factory = factory.WithWebHostBuilder(b => b.ConfigureTestServices(serviceCollection => serviceCollection.Configure(ConfigureRuntimeCompilationOptions))); + + Client = factory.CreateDefaultClient(); + + static void ConfigureRuntimeCompilationOptions(MvcRazorRuntimeCompilationOptions options) + { + // Workaround for incorrectly generated deps file. The build output has all of the binaries required to compile. We'll grab these and + // add it to the list of assemblies runtime compilation uses. + foreach (var path in Directory.EnumerateFiles(AppContext.BaseDirectory, "*.dll")) + { + options.AdditionalReferencePaths.Add(path); + } + } } public HttpClient Client { get; } @@ -77,7 +96,7 @@ public async Task RazorViews_AreUpdatedOnChange() var actual2 = body.Trim(); Assert.NotEqual(expected1, actual2); - // Act - 3 + // Act - 3 // With all things being the same, expect a cached compilation body = await Client.GetStringAsync("/UpdateableViews"); diff --git a/src/Mvc/test/WebSites/Directory.Build.props b/src/Mvc/test/WebSites/Directory.Build.props index 16d5bfcfea26..74f5a5de5a5f 100644 --- a/src/Mvc/test/WebSites/Directory.Build.props +++ b/src/Mvc/test/WebSites/Directory.Build.props @@ -4,4 +4,11 @@ + + + + + diff --git a/src/ProjectTemplates/test/Infrastructure/GenerateTestProps.targets b/src/ProjectTemplates/test/Infrastructure/GenerateTestProps.targets index b9b5903ff258..6e78a1593e94 100644 --- a/src/ProjectTemplates/test/Infrastructure/GenerateTestProps.targets +++ b/src/ProjectTemplates/test/Infrastructure/GenerateTestProps.targets @@ -14,7 +14,7 @@ - @(TargetingPackVersionInfo.PackageVersion) + %(_TargetingPackVersionInfo.PackageVersion) $(AspNetCoreBaselineVersion) diff --git a/src/ProjectTemplates/test/ProjectTemplates.Tests.csproj b/src/ProjectTemplates/test/ProjectTemplates.Tests.csproj index 7b26d044d2b7..2e7d562230ca 100644 --- a/src/ProjectTemplates/test/ProjectTemplates.Tests.csproj +++ b/src/ProjectTemplates/test/ProjectTemplates.Tests.csproj @@ -22,6 +22,7 @@ TestTemplates\ $([MSBuild]::EnsureTrailingSlash('$(RepoRoot)'))obj\template-restore\ TemplateTests.props + false @@ -62,7 +63,7 @@ <_Parameter2>true - + $([MSBuild]::NormalizePath('$(OutputPath)$(TestTemplateCreationFolder)')) diff --git a/src/Razor/Razor.Runtime/ref/Microsoft.AspNetCore.Razor.Runtime.csproj b/src/Razor/Razor.Runtime/ref/Microsoft.AspNetCore.Razor.Runtime.csproj index 8f18b188793c..b93f53387b92 100644 --- a/src/Razor/Razor.Runtime/ref/Microsoft.AspNetCore.Razor.Runtime.csproj +++ b/src/Razor/Razor.Runtime/ref/Microsoft.AspNetCore.Razor.Runtime.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Razor/Razor/ref/Microsoft.AspNetCore.Razor.csproj b/src/Razor/Razor/ref/Microsoft.AspNetCore.Razor.csproj index c4c063edb8e5..2138edbbf987 100644 --- a/src/Razor/Razor/ref/Microsoft.AspNetCore.Razor.csproj +++ b/src/Razor/Razor/ref/Microsoft.AspNetCore.Razor.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Security/Authentication/Cookies/ref/Microsoft.AspNetCore.Authentication.Cookies.csproj b/src/Security/Authentication/Cookies/ref/Microsoft.AspNetCore.Authentication.Cookies.csproj index c6b74638d115..30f48fd46662 100644 --- a/src/Security/Authentication/Cookies/ref/Microsoft.AspNetCore.Authentication.Cookies.csproj +++ b/src/Security/Authentication/Cookies/ref/Microsoft.AspNetCore.Authentication.Cookies.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Security/Authentication/Core/ref/Microsoft.AspNetCore.Authentication.csproj b/src/Security/Authentication/Core/ref/Microsoft.AspNetCore.Authentication.csproj index 0f53ab690a84..d210d921c56e 100644 --- a/src/Security/Authentication/Core/ref/Microsoft.AspNetCore.Authentication.csproj +++ b/src/Security/Authentication/Core/ref/Microsoft.AspNetCore.Authentication.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Security/Authentication/OAuth/ref/Microsoft.AspNetCore.Authentication.OAuth.csproj b/src/Security/Authentication/OAuth/ref/Microsoft.AspNetCore.Authentication.OAuth.csproj index 748ac04e8a30..1806276892a5 100644 --- a/src/Security/Authentication/OAuth/ref/Microsoft.AspNetCore.Authentication.OAuth.csproj +++ b/src/Security/Authentication/OAuth/ref/Microsoft.AspNetCore.Authentication.OAuth.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Security/Authorization/Core/ref/Microsoft.AspNetCore.Authorization.csproj b/src/Security/Authorization/Core/ref/Microsoft.AspNetCore.Authorization.csproj index 6b81f7e2ca12..88480c4611aa 100644 --- a/src/Security/Authorization/Core/ref/Microsoft.AspNetCore.Authorization.csproj +++ b/src/Security/Authorization/Core/ref/Microsoft.AspNetCore.Authorization.csproj @@ -2,6 +2,8 @@ netstandard2.0;netcoreapp3.0 + false + diff --git a/src/Security/Authorization/Policy/ref/Microsoft.AspNetCore.Authorization.Policy.csproj b/src/Security/Authorization/Policy/ref/Microsoft.AspNetCore.Authorization.Policy.csproj index 2abea2d03863..9cde58e8488a 100644 --- a/src/Security/Authorization/Policy/ref/Microsoft.AspNetCore.Authorization.Policy.csproj +++ b/src/Security/Authorization/Policy/ref/Microsoft.AspNetCore.Authorization.Policy.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Security/CookiePolicy/ref/Microsoft.AspNetCore.CookiePolicy.csproj b/src/Security/CookiePolicy/ref/Microsoft.AspNetCore.CookiePolicy.csproj index be94f37e478c..7f243e54d676 100644 --- a/src/Security/CookiePolicy/ref/Microsoft.AspNetCore.CookiePolicy.csproj +++ b/src/Security/CookiePolicy/ref/Microsoft.AspNetCore.CookiePolicy.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Security/test/AuthSamples.FunctionalTests/AuthSamples.FunctionalTests.csproj b/src/Security/test/AuthSamples.FunctionalTests/AuthSamples.FunctionalTests.csproj index a0055c58bc1c..d5dd2d3c1705 100644 --- a/src/Security/test/AuthSamples.FunctionalTests/AuthSamples.FunctionalTests.csproj +++ b/src/Security/test/AuthSamples.FunctionalTests/AuthSamples.FunctionalTests.csproj @@ -22,6 +22,11 @@ + + + @@ -70,7 +75,7 @@ - + netstandard2.0;netstandard2.1;netcoreapp3.0 + false + diff --git a/src/Servers/HttpSys/ref/Microsoft.AspNetCore.Server.HttpSys.csproj b/src/Servers/HttpSys/ref/Microsoft.AspNetCore.Server.HttpSys.csproj index 5735d7254d36..2b92e312fd8a 100644 --- a/src/Servers/HttpSys/ref/Microsoft.AspNetCore.Server.HttpSys.csproj +++ b/src/Servers/HttpSys/ref/Microsoft.AspNetCore.Server.HttpSys.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Servers/IIS/IIS/ref/Microsoft.AspNetCore.Server.IIS.csproj b/src/Servers/IIS/IIS/ref/Microsoft.AspNetCore.Server.IIS.csproj index 371f23089cfc..95c9adfce871 100644 --- a/src/Servers/IIS/IIS/ref/Microsoft.AspNetCore.Server.IIS.csproj +++ b/src/Servers/IIS/IIS/ref/Microsoft.AspNetCore.Server.IIS.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Servers/IIS/IIS/test/testassets/InProcessWebSite/InProcessWebSite.csproj b/src/Servers/IIS/IIS/test/testassets/InProcessWebSite/InProcessWebSite.csproj index 8c80a84b626c..9e4c1832f8dc 100644 --- a/src/Servers/IIS/IIS/test/testassets/InProcessWebSite/InProcessWebSite.csproj +++ b/src/Servers/IIS/IIS/test/testassets/InProcessWebSite/InProcessWebSite.csproj @@ -15,6 +15,11 @@ + + + diff --git a/src/Servers/IIS/IISIntegration/ref/Microsoft.AspNetCore.Server.IISIntegration.csproj b/src/Servers/IIS/IISIntegration/ref/Microsoft.AspNetCore.Server.IISIntegration.csproj index e5054cf68847..7574056789f5 100644 --- a/src/Servers/IIS/IISIntegration/ref/Microsoft.AspNetCore.Server.IISIntegration.csproj +++ b/src/Servers/IIS/IISIntegration/ref/Microsoft.AspNetCore.Server.IISIntegration.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Servers/Kestrel/Core/ref/Directory.Build.props b/src/Servers/Kestrel/Core/ref/Directory.Build.props new file mode 100644 index 000000000000..ea5de23302dc --- /dev/null +++ b/src/Servers/Kestrel/Core/ref/Directory.Build.props @@ -0,0 +1,7 @@ + + + + + $(NoWarn);CS0169 + + \ No newline at end of file diff --git a/src/Servers/Kestrel/Core/ref/Microsoft.AspNetCore.Server.Kestrel.Core.Manual.cs b/src/Servers/Kestrel/Core/ref/Microsoft.AspNetCore.Server.Kestrel.Core.Manual.cs new file mode 100644 index 000000000000..3027febf33d4 --- /dev/null +++ b/src/Servers/Kestrel/Core/ref/Microsoft.AspNetCore.Server.Kestrel.Core.Manual.cs @@ -0,0 +1,17 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Runtime.CompilerServices; + +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Server.Kestrel, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")] + +namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal +{ + internal partial class KestrelServerOptionsSetup : Microsoft.Extensions.Options.IConfigureOptions + { + private System.IServiceProvider _services; + public KestrelServerOptionsSetup(System.IServiceProvider services) { } + public void Configure(Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions options) { } + } +} diff --git a/src/Servers/Kestrel/Core/ref/Microsoft.AspNetCore.Server.Kestrel.Core.csproj b/src/Servers/Kestrel/Core/ref/Microsoft.AspNetCore.Server.Kestrel.Core.csproj index 367e32ffec62..760057395edd 100644 --- a/src/Servers/Kestrel/Core/ref/Microsoft.AspNetCore.Server.Kestrel.Core.csproj +++ b/src/Servers/Kestrel/Core/ref/Microsoft.AspNetCore.Server.Kestrel.Core.csproj @@ -2,9 +2,12 @@ netcoreapp3.0 + false + + diff --git a/src/Servers/Kestrel/Kestrel/ref/Microsoft.AspNetCore.Server.Kestrel.csproj b/src/Servers/Kestrel/Kestrel/ref/Microsoft.AspNetCore.Server.Kestrel.csproj index 4773f252522b..821e25a7e91c 100644 --- a/src/Servers/Kestrel/Kestrel/ref/Microsoft.AspNetCore.Server.Kestrel.csproj +++ b/src/Servers/Kestrel/Kestrel/ref/Microsoft.AspNetCore.Server.Kestrel.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Servers/Kestrel/Transport.Sockets/ref/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.csproj b/src/Servers/Kestrel/Transport.Sockets/ref/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.csproj index d5f1350fec57..3b493ee96fcd 100644 --- a/src/Servers/Kestrel/Transport.Sockets/ref/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.csproj +++ b/src/Servers/Kestrel/Transport.Sockets/ref/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/Servers/Kestrel/test/Libuv.BindTests/Libuv.BindTests.csproj b/src/Servers/Kestrel/test/Libuv.BindTests/Libuv.BindTests.csproj index 9019aa904bc5..acdbaa11d51c 100644 --- a/src/Servers/Kestrel/test/Libuv.BindTests/Libuv.BindTests.csproj +++ b/src/Servers/Kestrel/test/Libuv.BindTests/Libuv.BindTests.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/Servers/testassets/ServerComparison.TestSites/ServerComparison.TestSites.csproj b/src/Servers/testassets/ServerComparison.TestSites/ServerComparison.TestSites.csproj index eb8d5f9d98d2..25f206d9c5a1 100644 --- a/src/Servers/testassets/ServerComparison.TestSites/ServerComparison.TestSites.csproj +++ b/src/Servers/testassets/ServerComparison.TestSites/ServerComparison.TestSites.csproj @@ -9,6 +9,11 @@ + + + diff --git a/src/SignalR/clients/csharp/Http.Connections.Client/ref/Microsoft.AspNetCore.Http.Connections.Client.netcoreapp3.0.cs b/src/SignalR/clients/csharp/Http.Connections.Client/ref/Microsoft.AspNetCore.Http.Connections.Client.netcoreapp3.0.cs deleted file mode 100644 index 35b6c7cc3579..000000000000 --- a/src/SignalR/clients/csharp/Http.Connections.Client/ref/Microsoft.AspNetCore.Http.Connections.Client.netcoreapp3.0.cs +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -namespace Microsoft.AspNetCore.Http.Connections.Client -{ - public partial class HttpConnection : Microsoft.AspNetCore.Connections.ConnectionContext, Microsoft.AspNetCore.Connections.Features.IConnectionInherentKeepAliveFeature - { - public HttpConnection(Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions httpConnectionOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) { } - public HttpConnection(System.Uri url) { } - public HttpConnection(System.Uri url, Microsoft.AspNetCore.Http.Connections.HttpTransportType transports) { } - public HttpConnection(System.Uri url, Microsoft.AspNetCore.Http.Connections.HttpTransportType transports, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) { } - public override string ConnectionId { get { throw null; } set { } } - public override Microsoft.AspNetCore.Http.Features.IFeatureCollection Features { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - public override System.Collections.Generic.IDictionary Items { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - bool Microsoft.AspNetCore.Connections.Features.IConnectionInherentKeepAliveFeature.HasInherentKeepAlive { get { throw null; } } - public override System.IO.Pipelines.IDuplexPipe Transport { get { throw null; } set { } } - [System.Diagnostics.DebuggerStepThroughAttribute] - public override System.Threading.Tasks.ValueTask DisposeAsync() { throw null; } - [System.Diagnostics.DebuggerStepThroughAttribute] - public System.Threading.Tasks.Task StartAsync(Microsoft.AspNetCore.Connections.TransferFormat transferFormat, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public System.Threading.Tasks.Task StartAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class HttpConnectionOptions - { - public HttpConnectionOptions() { } - public System.Func> AccessTokenProvider { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - public System.Security.Cryptography.X509Certificates.X509CertificateCollection ClientCertificates { get { throw null; } set { } } - public System.TimeSpan CloseTimeout { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - public System.Net.CookieContainer Cookies { get { throw null; } set { } } - public System.Net.ICredentials Credentials { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - public System.Collections.Generic.IDictionary Headers { get { throw null; } set { } } - public System.Func HttpMessageHandlerFactory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - public System.Net.IWebProxy Proxy { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - public bool SkipNegotiation { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - public Microsoft.AspNetCore.Http.Connections.HttpTransportType Transports { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - public System.Uri Url { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - public bool? UseDefaultCredentials { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - public System.Action WebSocketConfiguration { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - } - public partial class NoTransportSupportedException : System.Exception - { - public NoTransportSupportedException(string message) { } - } - public partial class TransportFailedException : System.Exception - { - public TransportFailedException(string transportType, string message, System.Exception innerException = null) { } - public string TransportType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - } -} diff --git a/src/SignalR/clients/ts/FunctionalTests/SignalR.Client.FunctionalTestApp.csproj b/src/SignalR/clients/ts/FunctionalTests/SignalR.Client.FunctionalTestApp.csproj index 64a4eb43cab9..eb6dcab8f21b 100644 --- a/src/SignalR/clients/ts/FunctionalTests/SignalR.Client.FunctionalTestApp.csproj +++ b/src/SignalR/clients/ts/FunctionalTests/SignalR.Client.FunctionalTestApp.csproj @@ -41,6 +41,13 @@ + + + + + diff --git a/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.csproj b/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.csproj index e7de246e9359..12cd68e60bb9 100644 --- a/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.csproj +++ b/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.csproj @@ -2,6 +2,8 @@ netstandard2.0;netcoreapp3.0 + false + diff --git a/src/SignalR/common/Http.Connections/ref/Microsoft.AspNetCore.Http.Connections.csproj b/src/SignalR/common/Http.Connections/ref/Microsoft.AspNetCore.Http.Connections.csproj index d22a24c9d7ff..09619247c72d 100644 --- a/src/SignalR/common/Http.Connections/ref/Microsoft.AspNetCore.Http.Connections.csproj +++ b/src/SignalR/common/Http.Connections/ref/Microsoft.AspNetCore.Http.Connections.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj b/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj index 7e0ddcd3dad8..9b5134468f66 100644 --- a/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj +++ b/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj @@ -2,6 +2,8 @@ netstandard2.0;netcoreapp3.0 + false + diff --git a/src/SignalR/common/Shared/PipeWriterStream.cs b/src/SignalR/common/Shared/PipeWriterStream.cs index c569d09ed2d1..ec72d5fdc23a 100644 --- a/src/SignalR/common/Shared/PipeWriterStream.cs +++ b/src/SignalR/common/Shared/PipeWriterStream.cs @@ -1,12 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using System; using System.Buffers; -using System.IO; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNetCore.Internal; namespace System.IO.Pipelines { diff --git a/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.csproj b/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.csproj index e1fb26d63eb1..95fdf6b70ea6 100644 --- a/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.csproj +++ b/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.csproj @@ -2,6 +2,8 @@ netstandard2.0;netcoreapp3.0 + false + diff --git a/src/SignalR/server/Core/ref/Microsoft.AspNetCore.SignalR.Core.csproj b/src/SignalR/server/Core/ref/Microsoft.AspNetCore.SignalR.Core.csproj index 1681bddc3070..f5ec5324f3e0 100644 --- a/src/SignalR/server/Core/ref/Microsoft.AspNetCore.SignalR.Core.csproj +++ b/src/SignalR/server/Core/ref/Microsoft.AspNetCore.SignalR.Core.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/SignalR/server/SignalR/ref/Microsoft.AspNetCore.SignalR.csproj b/src/SignalR/server/SignalR/ref/Microsoft.AspNetCore.SignalR.csproj index 9f65eda5356b..82457dcd4512 100644 --- a/src/SignalR/server/SignalR/ref/Microsoft.AspNetCore.SignalR.csproj +++ b/src/SignalR/server/SignalR/ref/Microsoft.AspNetCore.SignalR.csproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + diff --git a/src/SignalR/server/SignalR/src/SignalRDependencyInjectionExtensions.cs b/src/SignalR/server/SignalR/src/SignalRDependencyInjectionExtensions.cs index a7ec1211547c..1f8bdc92c947 100644 --- a/src/SignalR/server/SignalR/src/SignalRDependencyInjectionExtensions.cs +++ b/src/SignalR/server/SignalR/src/SignalRDependencyInjectionExtensions.cs @@ -4,7 +4,6 @@ using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.SignalR; -using Microsoft.AspNetCore.SignalR.Internal; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; diff --git a/src/SignalR/server/SignalR/test/HubConnectionHandlerTests.cs b/src/SignalR/server/SignalR/test/HubConnectionHandlerTests.cs index 9a45f00e6878..6284a75515b4 100644 --- a/src/SignalR/server/SignalR/test/HubConnectionHandlerTests.cs +++ b/src/SignalR/server/SignalR/test/HubConnectionHandlerTests.cs @@ -16,7 +16,6 @@ using Microsoft.AspNetCore.Connections; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Connections.Features; -using Microsoft.AspNetCore.Http.Connections.Internal; using Microsoft.AspNetCore.SignalR.Internal; using Microsoft.AspNetCore.SignalR.Protocol; using Microsoft.Extensions.DependencyInjection; diff --git a/src/SiteExtensions/LoggingAggregate/src/Microsoft.AspNetCore.AzureAppServices.SiteExtension/Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj b/src/SiteExtensions/LoggingAggregate/src/Microsoft.AspNetCore.AzureAppServices.SiteExtension/Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj index 240809107d78..b0ecbfc69b12 100644 --- a/src/SiteExtensions/LoggingAggregate/src/Microsoft.AspNetCore.AzureAppServices.SiteExtension/Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj +++ b/src/SiteExtensions/LoggingAggregate/src/Microsoft.AspNetCore.AzureAppServices.SiteExtension/Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj @@ -16,6 +16,8 @@ true true true + false + true $(RestoreAdditionalProjectSources);$(ArtifactsNonShippingPackagesDir) diff --git a/src/Tools/Extensions.ApiDescription.Server/src/Microsoft.Extensions.ApiDescription.Server.csproj b/src/Tools/Extensions.ApiDescription.Server/src/Microsoft.Extensions.ApiDescription.Server.csproj index c4c5f3aa7ff8..ec17e4ad6ad3 100644 --- a/src/Tools/Extensions.ApiDescription.Server/src/Microsoft.Extensions.ApiDescription.Server.csproj +++ b/src/Tools/Extensions.ApiDescription.Server/src/Microsoft.Extensions.ApiDescription.Server.csproj @@ -13,6 +13,9 @@ MSBuild;Swagger;OpenAPI;code generation;Web API;service reference;document generation true true + + true + false