From cf6b5028c37a93fd47de36aca7a43dc0818a6aac Mon Sep 17 00:00:00 2001
From: Doug Bunting <6431421+dougbu@users.noreply.github.com>
Date: Wed, 11 Dec 2019 07:36:59 -0800
Subject: [PATCH] Improve generation and use of ref/ projects (#17311)
* Remove useless src/PackageArchive files
- not used outside 2.x branches
* Improve use of ref/ assemblies
- compile against ref/ assemblies but do not change package metadata
- update the metadata of implementation projects to include the ref/ assembly path
- update `@(ReferenceAssembly)` metadata for Extensions packages, not `@(PackageReference)`
- can be disabled using `$(CompileUsingReferenceAssemblies)` e.g. when generating ref/ projects
- include ref/ projects in source build by default
- remove `$(ExcludeFromSourceBuild)` overrides from ref/ project files
- use latest package references and use project references even when _not_ building the targeting packs
- restore previous `@(Reference)` -> `@(PackageReference)` logic
- add build-only Microsoft.Internal.Extensions.Refs package reference in most cases
- remove IndirectReferences.props and `@(_ExtensionInternalRefAssemblies)`; no longer needed
* Improve ref/ project generation
- use ../src/**/AssemblyInfo.cs files instead of including attributes in *.Manual.cs files
- for same reason, copy `@(InternalsVisibleto)` items from src/ to ref/ projects
- use eng/targets/CSharp.ReferenceAssembly.props instead of ref/Directory.Build.props files
- use TFM-specific *.Manual.cs files in ref/ project files instead of ref/Directory.Build.props files
optimizations and usability improvements:
- add `$(BuildMainlyReferenceProviders)` property to focus on reference providers when generating ref/ projects
- disable `$(UseReferenceAssemblyInImplementation)` to avoid using ref/ projects while generating them
nits:
- clean up whitespace and remove blank lines in ref/ project files
* Perform smaller cleanup
- remove `$(IsTargetingPackPatching)`; use only `$(IsTargetingPackBuilding)`
- remove `$(DisableServicingFeatures)`; enable the servicing features we need
- suppress baseline references even in servicing builds
- restore `$(AdditionalGenApiCmdOptions)`; useful when updating *.Manual.cs files
nits:
- simplify conditions using `$(HasReferenceAssembly)`
- correct spelling in comments
- shorten long lines
* Use a response file for GenAPI commands
- work around dotnet/arcade#4021 and help with additional ref assemblies
- mimic 111462e0c24f and integrate w/ other changes here
* Undo some manual ref/ project changes
- now done automatically or centrally
- remove manual `[TypeForwardedTo]` and `[InternalsVisibleTo]` attributes
- fully qualify a type now that `using` is gone
- remove dupe `@(Compile)` items for *.Manual.cs files; included in the ref/ project files
- remove redundant `$(AllowUnsafeBlocks)` and `$(NoWarn)` settings
nits:
- rename a *.Manual.cs file that's not TFM-specific
- remove `private` members
* Correct use of `@(ProjectReference)` items for reference providers
- use `@(Reference)` instead
* Remove recently-added `@(Compile)` and `@(Reference)` items
- were added due to missing `[InternalsVisibleTo]` attributes in ref/ assemblies or as early workarounds
- plus, now transitive references **Just Work:tm:**
- expose `ClosedGenericMatcher` in the usual (*.Manual.cs) way
- also undo Microsoft.Extensions.ApiDescription.Server workaround
* Remove `private` members from ref/ *.Manual.cs files
- not useful and bloat the ref/ assemblies
* Cleanup warnings
- avoid "CSC warning CS2008: No source files specified." building site extensions
- correct warnings (as errors) about `RenderToStringResult` being obsolete
- add Microsoft.AspNetCore.SpaServices.Tests to Middleware solution
* Remove `@(RuntimeHostConfigurationOption)` workarounds
- deps files are unaffected by new ref/ assembly handling and test projects aren't special-cased
- also execute a test previously skipped due to deps file problems
* Regenerate ref/ projects
- pick up the latest generation changes
(unclear why Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.netcoreapp3.0.cs changed but works)
* Fill in missing `internal` types 1 of n
- rename Microsoft.AspNetCore.Components.netstandard2.0.Manual.cs; need `RenderTreeFrame` type everywhere
- add types needed in unit and perf tests to *.Manual.cs files
* Clean up recent commits
- remove recently-added `private` members
- restore `_dummyPrimitive` fields in Microsoft.AspNetCore.Server.HttpSys.Manual.cs
* Add *.Manual.cs files for more projects
* !fixup! fields in *.Manual.cs `struct`s
- GenAPI sometimes generates `_dummy` and `_dummyPrimitive` fields _instead of_ visible members
- what GenAPI generates sometimes have the right length but actual fields don't hurt
- that is, using the real fields corrects both the visible API and `struct`s' sizes
nits:
- consolidate `namespace`s in Microsoft.AspNetCore.Mvc.Core.Manual.cs
* Remove special case for generating ref/ projects on non-Windows
- referenced issue was closed with no action but workaround still not required
- no tabs in generated content
* Only create ref/ projects for assemblies in the shared framework
- restrict when `$(HasReferenceAssembly)` is `true` by default
- add warnings when `$(IsAspNetCoreApp)` or `$(HasReferenceAssembly)` have unexpected values
* Remove "extra" ref/ projects
- associated implementation projects no longer have `$(HasReferenceAssembly)` set to `true`
* Add a few GenAPI exclusions
- see dotnet/arcade#4488
- generation for these members leads to NREs
* Add more `internal` types and members
- Identity/Core
- Identity/Extensions.Core
- Mvc/Mvc.ViewFeatures
* Add direct dependencies to work around CS1705 errors
- add direct references to some test and sample projects to make intent clear i.e. address CS1705 root cause
- these projects must use implementation assemblies for those direct references
- requirement also applies to anything depending on them e.g. functional tests
- for simplicity, use `$(CompileUsingReferenceAssemblies)` instead of targeted `@(Reference)` metadata
- leads to ~40 projects that do not themselves add ref/ metadata
- this is _not_ transitive i.e. it applies only to projects that override `$(CompileUsingReferenceAssemblies)`
* nits: Remove a few more `private` members in *.Manual.cs files
* !fixup! correct namespaces of a few types in *.Manual.cs files
* Try another way to fix Microsoft.AspNetCore.Blazor.Build.Tests
* Try another way to fix missing targets in Web.JS.npmproj
---
Directory.Build.props | 16 +-
Directory.Build.targets | 21 +-
eng/Build.props | 30 +-
eng/CodeGen.proj | 2 +-
eng/GenAPI.exclusions.txt | 46 +-
eng/IndirectReferences.props | 10911 ----------------
eng/ProjectReferences.props | 88 +-
eng/Versions.props | 9 +-
eng/targets/ReferenceAssembly.targets | 81 +-
eng/targets/ResolveReferences.targets | 316 +-
...Microsoft.AspNetCore.Antiforgery.Manual.cs | 147 +
.../Microsoft.AspNetCore.Antiforgery.csproj | 14 +-
...spNetCore.Authentication.AzureAD.UI.csproj | 13 -
...Authentication.AzureAD.UI.netcoreapp3.0.cs | 64 -
...etCore.Authentication.AzureADB2C.UI.csproj | 13 -
...hentication.AzureADB2C.UI.netcoreapp3.0.cs | 68 -
...ore.AzureAppServices.HostingStartup.csproj | 11 -
...ppServices.HostingStartup.netcoreapp3.0.cs | 11 -
...NetCore.AzureAppServicesIntegration.csproj | 11 -
...ureAppServicesIntegration.netcoreapp3.0.cs | 10 -
...AspNetCore.Components.Authorization.csproj | 10 +-
.../ref/Microsoft.AspNetCore.Blazor.csproj | 12 -
...rosoft.AspNetCore.Blazor.netstandard2.0.cs | 85 -
.../Microsoft.AspNetCore.Blazor.Tests.csproj | 4 +
...osoft.AspNetCore.Blazor.Build.Tests.csproj | 4 +
...rosoft.AspNetCore.Blazor.HttpClient.csproj | 10 -
...etCore.Blazor.HttpClient.netstandard2.0.cs | 18 -
.../Microsoft.AspNetCore.Blazor.Server.csproj | 16 -
....AspNetCore.Blazor.Server.netcoreapp3.0.cs | 22 -
.../Blazor/testassets/Directory.Build.props | 10 -
.../Components/ref/Directory.Build.props | 9 -
.../Microsoft.AspNetCore.Components.Manual.cs | 360 +
.../Microsoft.AspNetCore.Components.csproj | 20 +-
...oft.AspNetCore.Components.netcoreapp3.0.cs | 50 -
...etCore.Components.netstandard2.0.Manual.cs | 58 -
...ft.AspNetCore.Components.netstandard2.0.cs | 50 -
...crosoft.AspNetCore.Components.Forms.csproj | 8 +-
...oft.AspNetCore.Components.Server.Manual.cs | 298 +
...rosoft.AspNetCore.Components.Server.csproj | 22 +-
...osoft.AspNetCore.Components.Web.JS.npmproj | 4 +
...Microsoft.AspNetCore.Components.Web.csproj | 20 +-
...soft.AspNetCore.Components.E2ETests.csproj | 4 +-
.../test/Ignitor.Test/Ignitor.Test.csproj | 2 +
.../ComponentsApp.App.csproj | 4 +-
.../test/testassets/Directory.Build.props | 10 -
.../test/testassets/Ignitor/Ignitor.csproj | 4 +
...Core.DataProtection.Abstractions.Manual.cs | 24 +
...NetCore.DataProtection.Abstractions.csproj | 5 +-
...etCore.DataProtection.AzureKeyVault.csproj | 12 -
...Protection.AzureKeyVault.netstandard2.0.cs | 12 -
....DataProtection.AzureKeyVault.Tests.csproj | 4 +
...NetCore.DataProtection.AzureStorage.csproj | 12 -
...aProtection.AzureStorage.netstandard2.0.cs | 22 -
...e.DataProtection.AzureStorage.Tests.csproj | 4 +
.../ref/Directory.Build.props | 8 -
...AspNetCore.Cryptography.Internal.Manual.cs | 78 +-
...ft.AspNetCore.Cryptography.Internal.csproj | 4 +-
...tCore.Cryptography.KeyDerivation.Manual.cs | 28 +
...pNetCore.Cryptography.KeyDerivation.csproj | 11 +-
...aphy.KeyDerivation.netcoreapp2.0.Manual.cs | 11 +
...rosoft.AspNetCore.DataProtection.Manual.cs | 385 +
...Microsoft.AspNetCore.DataProtection.csproj | 40 +-
....DataProtection.EntityFrameworkCore.csproj | 11 -
...tion.EntityFrameworkCore.netstandard2.1.cs | 30 -
...Protection.EntityFrameworkCore.Test.csproj | 4 +
...etCore.DataProtection.Extensions.Manual.cs | 34 +
...spNetCore.DataProtection.Extensions.csproj | 14 +-
...e.DataProtection.StackExchangeRedis.csproj | 11 -
...ction.StackExchangeRedis.netstandard2.0.cs | 21 -
...Protection.StackExchangeRedis.Tests.csproj | 4 +
.../samples/AzureBlob/AzureBlob.csproj | 4 +
.../AzureKeyVault/AzureKeyVault.csproj | 4 +
.../EntityFrameworkCoreSample.csproj | 4 +
src/DataProtection/samples/Redis/Redis.csproj | 4 +
.../ref/Microsoft.AspNetCore.csproj | 38 +-
.../testassets/Directory.Build.props | 7 -
.../ref/Microsoft.AspNetCore.JsonPatch.csproj | 11 -
...oft.AspNetCore.JsonPatch.netstandard2.0.cs | 309 -
.../ref/Microsoft.AspNetCore.App.Ref.csproj | 10 +-
...oft.AspNetCore.Hosting.Abstractions.csproj | 8 +-
.../Microsoft.AspNetCore.Hosting.Manual.cs | 218 +
.../ref/Microsoft.AspNetCore.Hosting.csproj | 30 +-
...NetCore.Hosting.Server.Abstractions.csproj | 6 +-
...spNetCore.Server.IntegrationTesting.csproj | 18 -
...Server.IntegrationTesting.netcoreapp3.0.cs | 275 -
.../ref/Microsoft.AspNetCore.TestHost.csproj | 12 -
...osoft.AspNetCore.TestHost.netcoreapp3.0.cs | 77 -
....AspNetCore.Hosting.WindowsServices.csproj | 11 -
...e.Hosting.WindowsServices.netcoreapp3.0.cs | 21 -
.../IStartupInjectionAssemblyName.csproj | 5 -
...oft.AspNetCore.Html.Abstractions.Manual.cs | 13 +
...rosoft.AspNetCore.Html.Abstractions.csproj | 5 +-
...NetCore.Authentication.Abstractions.csproj | 8 +-
...soft.AspNetCore.Authentication.Core.csproj | 8 +-
.../ref/Microsoft.Net.Http.Headers.Manual.cs | 10 +
.../ref/Microsoft.Net.Http.Headers.csproj | 6 +-
...oft.AspNetCore.Http.Abstractions.Manual.cs | 101 +
...rosoft.AspNetCore.Http.Abstractions.csproj | 11 +-
...icrosoft.AspNetCore.Http.Extensions.csproj | 8 +-
.../Microsoft.AspNetCore.Http.Features.csproj | 10 +-
.../ref/Microsoft.AspNetCore.Http.Manual.cs | 40 +
.../Http/ref/Microsoft.AspNetCore.Http.csproj | 14 +-
.../ref/Microsoft.AspNetCore.Metadata.csproj | 3 -
.../Owin/ref/Microsoft.AspNetCore.Owin.csproj | 10 -
...Microsoft.AspNetCore.Owin.netcoreapp3.0.cs | 155 -
....AspNetCore.Routing.Abstractions.Manual.cs | 13 -
...oft.AspNetCore.Routing.Abstractions.csproj | 6 +-
.../Microsoft.AspNetCore.Routing.Manual.cs | 574 +
.../ref/Microsoft.AspNetCore.Routing.csproj | 18 +-
...rosoft.AspNetCore.Routing.netcoreapp3.0.cs | 1 -
...icrosoft.AspNetCore.WebUtilities.Manual.cs | 49 +
.../Microsoft.AspNetCore.WebUtilities.csproj | 8 +-
.../ApiAuthSample/ApiAuthSample.csproj | 4 +
.../Microsoft.AspNetCore.Identity.Manual.cs | 18 +
.../ref/Microsoft.AspNetCore.Identity.csproj | 8 +-
...etCore.Identity.EntityFrameworkCore.csproj | 16 -
...ntity.EntityFrameworkCore.netcoreapp3.0.cs | 222 -
...tity.EntityFrameworkCore.netstandard2.1.cs | 222 -
...y.EntityFrameworkCore.InMemory.Test.csproj | 4 +
...e.Identity.EntityFrameworkCore.Test.csproj | 4 +
...crosoft.Extensions.Identity.Core.Manual.cs | 83 +
.../Microsoft.Extensions.Identity.Core.csproj | 18 +-
...soft.Extensions.Identity.Stores.Manual.cs} | 7 +-
...icrosoft.Extensions.Identity.Stores.csproj | 14 +-
...icrosoft.Extensions.Identity.Stores.csproj | 1 +
.../Microsoft.AspNetCore.Identity.UI.csproj | 15 -
...ft.AspNetCore.Identity.UI.netcoreapp3.0.cs | 935 --
.../IdentitySample.DefaultUI.csproj | 4 +
.../IdentitySample.Mvc.csproj | 4 +
...AspNetCore.Identity.FunctionalTests.csproj | 2 +
.../Identity.DefaultUI.WebSite.csproj | 4 +
.../ref/Microsoft.AspNetCore.Cors.Manual.cs | 30 +
.../CORS/ref/Microsoft.AspNetCore.Cors.csproj | 16 +-
.../test/testassets/Directory.Build.props | 7 -
...osoft.AspNetCore.ConcurrencyLimiter.csproj | 13 -
...etCore.ConcurrencyLimiter.netcoreapp3.0.cs | 43 -
...AspNetCore.Diagnostics.Abstractions.csproj | 4 +-
...ore.Diagnostics.EntityFrameworkCore.csproj | 11 -
...stics.EntityFrameworkCore.netcoreapp3.0.cs | 48 -
.../Diagnostics.EFCore.FunctionalTests.csproj | 5 +
...agnostics.EntityFrameworkCore.Tests.csproj | 4 +
...Microsoft.AspNetCore.Diagnostics.Manual.cs | 32 +
.../Microsoft.AspNetCore.Diagnostics.csproj | 22 +-
.../DatabaseErrorPageSample.csproj | 4 +
...rosoft.AspNetCore.HeaderPropagation.csproj | 12 -
...NetCore.HeaderPropagation.netcoreapp3.0.cs | 87 -
...cs.HealthChecks.EntityFrameworkCore.csproj | 12 -
...ecks.EntityFrameworkCore.netstandard2.1.cs | 10 -
...lthChecks.EntityFrameworkCore.Tests.csproj | 6 +
...AspNetCore.Diagnostics.HealthChecks.csproj | 12 +-
.../HealthChecksSample.csproj | 11 +-
.../Microsoft.AspNetCore.HostFiltering.csproj | 10 +-
.../Microsoft.AspNetCore.HttpOverrides.csproj | 8 +-
...soft.AspNetCore.HttpOverrides.Tests.csproj | 5 -
.../Microsoft.AspNetCore.HttpsPolicy.csproj | 12 +-
...oft.AspNetCore.Localization.Routing.csproj | 6 +-
.../Microsoft.AspNetCore.Localization.csproj | 10 +-
src/Middleware/Middleware.sln | 15 +
...osoft.AspNetCore.MiddlewareAnalysis.csproj | 11 -
...etCore.MiddlewareAnalysis.netcoreapp3.0.cs | 34 -
.../Microsoft.AspNetCore.NodeServices.csproj | 12 -
...t.AspNetCore.NodeServices.netcoreapp3.0.cs | 104 -
...etCore.ResponseCaching.Abstractions.csproj | 4 +-
...osoft.AspNetCore.ResponseCaching.Manual.cs | 189 +
...icrosoft.AspNetCore.ResponseCaching.csproj | 14 +-
...t.AspNetCore.ResponseCompression.Manual.cs | 35 +
...soft.AspNetCore.ResponseCompression.csproj | 12 +-
.../Microsoft.AspNetCore.Rewrite.Manual.cs | 587 +
.../ref/Microsoft.AspNetCore.Rewrite.csproj | 16 +-
.../ref/Microsoft.AspNetCore.Session.csproj | 12 +-
...t.AspNetCore.SpaServices.Extensions.csproj | 13 -
...re.SpaServices.Extensions.netcoreapp3.0.cs | 97 -
.../Microsoft.AspNetCore.SpaServices.csproj | 12 -
...ft.AspNetCore.SpaServices.netcoreapp3.0.cs | 94 -
.../test/RenderToStringResultTests.cs | 6 +
...Microsoft.AspNetCore.StaticFiles.Manual.cs | 77 +
.../Microsoft.AspNetCore.StaticFiles.csproj | 16 +-
...NetCore.StaticFiles.FunctionalTests.csproj | 6 -
.../Microsoft.AspNetCore.WebSockets.csproj | 8 +-
.../samples/MusicStore/MusicStore.csproj | 4 +
.../MusicStore.Test/MusicStore.Test.csproj | 2 +
...soft.AspNetCore.Mvc.Abstractions.Manual.cs | 10 +
...crosoft.AspNetCore.Mvc.Abstractions.csproj | 10 +-
.../test/Mvc.Analyzers.Test.csproj | 2 +-
.../test/Mvc.Api.Analyzers.Test.csproj | 2 +-
...osoft.AspNetCore.Mvc.ApiExplorer.Manual.cs | 31 +-
...icrosoft.AspNetCore.Mvc.ApiExplorer.csproj | 5 +-
src/Mvc/Mvc.Core/ref/Directory.Build.props | 7 -
.../Microsoft.AspNetCore.Mvc.Core.Manual.cs | 1619 ++-
.../ref/Microsoft.AspNetCore.Mvc.Core.csproj | 34 +-
.../src/Microsoft.AspNetCore.Mvc.Core.csproj | 2 -
.../Microsoft.AspNetCore.Mvc.Cors.Manual.cs | 34 +
.../ref/Microsoft.AspNetCore.Mvc.Cors.csproj | 8 +-
.../ref/Directory.Build.props | 8 -
...t.AspNetCore.Mvc.DataAnnotations.Manual.cs | 82 +-
...soft.AspNetCore.Mvc.DataAnnotations.csproj | 7 +-
...soft.AspNetCore.Mvc.Formatters.Json.csproj | 6 +-
...ft.AspNetCore.Mvc.Formatters.Xml.Manual.cs | 40 +
...osoft.AspNetCore.Mvc.Formatters.Xml.csproj | 6 +-
...osoft.AspNetCore.Mvc.Formatters.Xml.csproj | 2 -
...soft.AspNetCore.Mvc.Localization.Manual.cs | 11 +
...crosoft.AspNetCore.Mvc.Localization.csproj | 12 +-
...osoft.AspNetCore.Mvc.NewtonsoftJson.csproj | 13 -
...etCore.Mvc.NewtonsoftJson.netcoreapp3.0.cs | 97 -
...etCore.Mvc.Razor.RuntimeCompilation.csproj | 14 -
....Razor.RuntimeCompilation.netcoreapp3.0.cs | 45 -
.../test/AssemblyPartExtensionTest.cs | 2 +-
src/Mvc/Mvc.Razor/ref/Directory.Build.props | 7 -
.../Microsoft.AspNetCore.Mvc.Razor.Manual.cs | 74 +-
.../ref/Microsoft.AspNetCore.Mvc.Razor.csproj | 11 +-
.../Mvc.RazorPages/ref/Directory.Build.props | 13 -
...osoft.AspNetCore.Mvc.RazorPages.Manual.cs} | 368 +-
...Microsoft.AspNetCore.Mvc.RazorPages.csproj | 6 +-
...AspNetCore.Mvc.RazorPages.netcoreapp3.0.cs | 3 +-
...Microsoft.AspNetCore.Mvc.RazorPages.csproj | 2 -
...rosoft.AspNetCore.Mvc.TagHelpers.Manual.cs | 114 +
...Microsoft.AspNetCore.Mvc.TagHelpers.csproj | 16 +-
.../Microsoft.AspNetCore.Mvc.Testing.csproj | 14 -
...ft.AspNetCore.Mvc.Testing.netcoreapp3.0.cs | 65 -
.../ref/Directory.Build.props | 7 -
...soft.AspNetCore.Mvc.ViewFeatures.Manual.cs | 477 +-
...crosoft.AspNetCore.Mvc.ViewFeatures.csproj | 21 +-
...crosoft.AspNetCore.Mvc.ViewFeatures.csproj | 1 -
.../Mvc/ref/Microsoft.AspNetCore.Mvc.csproj | 23 +-
src/Mvc/test/WebSites/Directory.Build.props | 7 -
.../Infrastructure/GenerateTestProps.targets | 2 +-
...crosoft.AspNetCore.Razor.Runtime.Manual.cs | 29 +-
.../Microsoft.AspNetCore.Razor.Runtime.csproj | 7 +-
.../ref/Microsoft.AspNetCore.Razor.Manual.cs | 10 +
.../ref/Microsoft.AspNetCore.Razor.csproj | 8 +-
...pNetCore.Authentication.Certificate.csproj | 10 -
...uthentication.Certificate.netcoreapp3.0.cs | 59 -
...t.AspNetCore.Authentication.Cookies.csproj | 4 +-
...Microsoft.AspNetCore.Authentication.csproj | 16 +-
....AspNetCore.Authentication.Facebook.csproj | 10 -
...e.Authentication.Facebook.netcoreapp3.0.cs | 41 -
...ft.AspNetCore.Authentication.Google.csproj | 10 -
...ore.Authentication.Google.netcoreapp3.0.cs | 52 -
...AspNetCore.Authentication.JwtBearer.csproj | 11 -
....Authentication.JwtBearer.netcoreapp3.0.cs | 98 -
...ore.Authentication.MicrosoftAccount.csproj | 10 -
...tication.MicrosoftAccount.netcoreapp3.0.cs | 49 -
...AspNetCore.Authentication.Negotiate.csproj | 12 -
....Authentication.Negotiate.netcoreapp3.0.cs | 69 -
...oft.AspNetCore.Authentication.OAuth.csproj | 4 +-
...etCore.Authentication.OpenIdConnect.csproj | 11 -
...hentication.OpenIdConnect.netcoreapp3.0.cs | 202 -
...t.AspNetCore.Authentication.Twitter.csproj | 10 -
...re.Authentication.Twitter.netcoreapp3.0.cs | 89 -
...NetCore.Authentication.WsFederation.csproj | 12 -
...thentication.WsFederation.netcoreapp3.0.cs | 116 -
...crosoft.AspNetCore.Authorization.Manual.cs | 10 -
.../Microsoft.AspNetCore.Authorization.csproj | 18 +-
...oft.AspNetCore.Authorization.Policy.csproj | 10 +-
.../Microsoft.AspNetCore.CookiePolicy.csproj | 8 +-
.../Identity.ExternalClaims.csproj | 4 +
.../AuthSamples.FunctionalTests.csproj | 5 -
...AspNetCore.Connections.Abstractions.csproj | 22 +-
...rosoft.AspNetCore.Server.HttpSys.Manual.cs | 1005 ++
...Microsoft.AspNetCore.Server.HttpSys.csproj | 16 +-
.../Microsoft.AspNetCore.Server.IIS.Manual.cs | 30 +-
.../Microsoft.AspNetCore.Server.IIS.csproj | 21 +-
.../InProcessWebSite/InProcessWebSite.csproj | 5 -
...AspNetCore.Server.IISIntegration.Manual.cs | 18 +
...ft.AspNetCore.Server.IISIntegration.csproj | 24 +-
.../Kestrel/Core/ref/Directory.Build.props | 7 -
...t.AspNetCore.Server.Kestrel.Core.Manual.cs | 1944 ++-
...soft.AspNetCore.Server.Kestrel.Core.csproj | 21 +-
...tCore.Server.Kestrel.Core.netcoreapp3.0.cs | 1 -
...Microsoft.AspNetCore.Server.Kestrel.csproj | 8 +-
...Core.Server.Kestrel.Transport.Libuv.csproj | 14 -
...r.Kestrel.Transport.Libuv.netcoreapp3.0.cs | 22 -
...Server.Kestrel.Transport.Sockets.Manual.cs | 94 +
...re.Server.Kestrel.Transport.Sockets.csproj | 10 +-
.../ServerComparison.TestSites.csproj | 5 -
...soft.AspNetCore.SignalR.Client.Core.csproj | 23 -
...tCore.SignalR.Client.Core.netcoreapp3.0.cs | 168 -
...Core.SignalR.Client.Core.netstandard2.0.cs | 162 -
...Core.SignalR.Client.Core.netstandard2.1.cs | 162 -
...Microsoft.AspNetCore.SignalR.Client.csproj | 11 -
...spNetCore.SignalR.Client.netstandard2.0.cs | 17 -
...Core.SignalR.Client.FunctionalTests.csproj | 2 +
...oft.AspNetCore.SignalR.Client.Tests.csproj | 2 +
....AspNetCore.Http.Connections.Client.csproj | 18 -
....Http.Connections.Client.netstandard2.0.cs | 56 -
....Http.Connections.Client.netstandard2.1.cs | 56 -
.../SignalR.Client.FunctionalTestApp.csproj | 11 +-
....AspNetCore.Http.Connections.Common.csproj | 8 +-
...crosoft.AspNetCore.Http.Connections.csproj | 19 +-
...t.AspNetCore.Http.Connections.Tests.csproj | 2 +
...t.AspNetCore.SignalR.Protocols.Json.csproj | 6 +-
...tCore.SignalR.Protocols.MessagePack.csproj | 11 -
...lR.Protocols.MessagePack.netstandard2.0.cs | 34 -
...re.SignalR.Protocols.NewtonsoftJson.csproj | 11 -
...Protocols.NewtonsoftJson.netstandard2.0.cs | 35 -
...Microsoft.AspNetCore.SignalR.Common.csproj | 16 +-
...oft.AspNetCore.SignalR.Common.Tests.csproj | 2 +
...soft.AspNetCore.SignalR.Tests.Utils.csproj | 4 +
....AspNetCore.SignalR.Microbenchmarks.csproj | 2 +
.../samples/ClientSample/ClientSample.csproj | 4 +
.../JwtClientSample/JwtClientSample.csproj | 4 +
.../SignalRSamples/SignalRSamples.csproj | 4 +
.../Microsoft.AspNetCore.SignalR.Core.csproj | 16 +-
.../ref/Microsoft.AspNetCore.SignalR.csproj | 6 +-
.../Microsoft.AspNetCore.SignalR.Tests.csproj | 4 +-
...NetCore.SignalR.Specification.Tests.csproj | 4 +
...pNetCore.SignalR.StackExchangeRedis.csproj | 13 -
...ignalR.StackExchangeRedis.netcoreapp3.0.cs | 41 -
...re.SignalR.StackExchangeRedis.Tests.csproj | 2 +
src/SiteExtensions/LoggingBranch/LB.csproj | 3 +
...ft.Extensions.ApiDescription.Server.csproj | 3 -
311 files changed, 9352 insertions(+), 18534 deletions(-)
delete mode 100644 eng/IndirectReferences.props
create mode 100644 src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.Manual.cs
delete mode 100644 src/Azure/AzureAD/Authentication.AzureAD.UI/ref/Microsoft.AspNetCore.Authentication.AzureAD.UI.csproj
delete mode 100644 src/Azure/AzureAD/Authentication.AzureAD.UI/ref/Microsoft.AspNetCore.Authentication.AzureAD.UI.netcoreapp3.0.cs
delete mode 100644 src/Azure/AzureAD/Authentication.AzureADB2C.UI/ref/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.csproj
delete mode 100644 src/Azure/AzureAD/Authentication.AzureADB2C.UI/ref/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.netcoreapp3.0.cs
delete mode 100644 src/Azure/AzureAppServices.HostingStartup/ref/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj
delete mode 100644 src/Azure/AzureAppServices.HostingStartup/ref/Microsoft.AspNetCore.AzureAppServices.HostingStartup.netcoreapp3.0.cs
delete mode 100644 src/Azure/AzureAppServicesIntegration/ref/Microsoft.AspNetCore.AzureAppServicesIntegration.csproj
delete mode 100644 src/Azure/AzureAppServicesIntegration/ref/Microsoft.AspNetCore.AzureAppServicesIntegration.netcoreapp3.0.cs
delete mode 100644 src/Components/Blazor/Blazor/ref/Microsoft.AspNetCore.Blazor.csproj
delete mode 100644 src/Components/Blazor/Blazor/ref/Microsoft.AspNetCore.Blazor.netstandard2.0.cs
delete mode 100644 src/Components/Blazor/Http/ref/Microsoft.AspNetCore.Blazor.HttpClient.csproj
delete mode 100644 src/Components/Blazor/Http/ref/Microsoft.AspNetCore.Blazor.HttpClient.netstandard2.0.cs
delete mode 100644 src/Components/Blazor/Server/ref/Microsoft.AspNetCore.Blazor.Server.csproj
delete mode 100644 src/Components/Blazor/Server/ref/Microsoft.AspNetCore.Blazor.Server.netcoreapp3.0.cs
delete mode 100644 src/Components/Blazor/testassets/Directory.Build.props
delete mode 100644 src/Components/Components/ref/Directory.Build.props
create mode 100644 src/Components/Components/ref/Microsoft.AspNetCore.Components.Manual.cs
delete mode 100644 src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.Manual.cs
create mode 100644 src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.Manual.cs
delete mode 100644 src/Components/test/testassets/Directory.Build.props
create mode 100644 src/DataProtection/Abstractions/ref/Microsoft.AspNetCore.DataProtection.Abstractions.Manual.cs
delete mode 100644 src/DataProtection/AzureKeyVault/ref/Microsoft.AspNetCore.DataProtection.AzureKeyVault.csproj
delete mode 100644 src/DataProtection/AzureKeyVault/ref/Microsoft.AspNetCore.DataProtection.AzureKeyVault.netstandard2.0.cs
delete mode 100644 src/DataProtection/AzureStorage/ref/Microsoft.AspNetCore.DataProtection.AzureStorage.csproj
delete mode 100644 src/DataProtection/AzureStorage/ref/Microsoft.AspNetCore.DataProtection.AzureStorage.netstandard2.0.cs
delete mode 100644 src/DataProtection/Cryptography.Internal/ref/Directory.Build.props
create mode 100644 src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.Manual.cs
create mode 100644 src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.netcoreapp2.0.Manual.cs
create mode 100644 src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.Manual.cs
delete mode 100644 src/DataProtection/EntityFrameworkCore/ref/Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.csproj
delete mode 100644 src/DataProtection/EntityFrameworkCore/ref/Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.netstandard2.1.cs
create mode 100644 src/DataProtection/Extensions/ref/Microsoft.AspNetCore.DataProtection.Extensions.Manual.cs
delete mode 100644 src/DataProtection/StackExchangeRedis/ref/Microsoft.AspNetCore.DataProtection.StackExchangeRedis.csproj
delete mode 100644 src/DataProtection/StackExchangeRedis/ref/Microsoft.AspNetCore.DataProtection.StackExchangeRedis.netstandard2.0.cs
delete mode 100644 src/Features/JsonPatch/ref/Microsoft.AspNetCore.JsonPatch.csproj
delete mode 100644 src/Features/JsonPatch/ref/Microsoft.AspNetCore.JsonPatch.netstandard2.0.cs
create mode 100644 src/Hosting/Hosting/ref/Microsoft.AspNetCore.Hosting.Manual.cs
delete mode 100644 src/Hosting/Server.IntegrationTesting/ref/Microsoft.AspNetCore.Server.IntegrationTesting.csproj
delete mode 100644 src/Hosting/Server.IntegrationTesting/ref/Microsoft.AspNetCore.Server.IntegrationTesting.netcoreapp3.0.cs
delete mode 100644 src/Hosting/TestHost/ref/Microsoft.AspNetCore.TestHost.csproj
delete mode 100644 src/Hosting/TestHost/ref/Microsoft.AspNetCore.TestHost.netcoreapp3.0.cs
delete mode 100644 src/Hosting/WindowsServices/ref/Microsoft.AspNetCore.Hosting.WindowsServices.csproj
delete mode 100644 src/Hosting/WindowsServices/ref/Microsoft.AspNetCore.Hosting.WindowsServices.netcoreapp3.0.cs
create mode 100644 src/Html/Abstractions/ref/Microsoft.AspNetCore.Html.Abstractions.Manual.cs
create mode 100644 src/Http/Headers/ref/Microsoft.Net.Http.Headers.Manual.cs
create mode 100644 src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.Manual.cs
create mode 100644 src/Http/Http/ref/Microsoft.AspNetCore.Http.Manual.cs
delete mode 100644 src/Http/Owin/ref/Microsoft.AspNetCore.Owin.csproj
delete mode 100644 src/Http/Owin/ref/Microsoft.AspNetCore.Owin.netcoreapp3.0.cs
delete mode 100644 src/Http/Routing.Abstractions/ref/Microsoft.AspNetCore.Routing.Abstractions.Manual.cs
create mode 100644 src/Http/Routing/ref/Microsoft.AspNetCore.Routing.Manual.cs
create mode 100644 src/Http/WebUtilities/ref/Microsoft.AspNetCore.WebUtilities.Manual.cs
create mode 100644 src/Identity/Core/ref/Microsoft.AspNetCore.Identity.Manual.cs
delete mode 100644 src/Identity/EntityFrameworkCore/ref/Microsoft.AspNetCore.Identity.EntityFrameworkCore.csproj
delete mode 100644 src/Identity/EntityFrameworkCore/ref/Microsoft.AspNetCore.Identity.EntityFrameworkCore.netcoreapp3.0.cs
delete mode 100644 src/Identity/EntityFrameworkCore/ref/Microsoft.AspNetCore.Identity.EntityFrameworkCore.netstandard2.1.cs
create mode 100644 src/Identity/Extensions.Core/ref/Microsoft.Extensions.Identity.Core.Manual.cs
rename src/{Mvc/Mvc.Formatters.Json/ref/Microsoft.AspNetCore.Mvc.Formatters.Json.Manual.cs => Identity/Extensions.Stores/ref/Microsoft.Extensions.Identity.Stores.Manual.cs} (58%)
delete mode 100644 src/Identity/UI/ref/Microsoft.AspNetCore.Identity.UI.csproj
delete mode 100644 src/Identity/UI/ref/Microsoft.AspNetCore.Identity.UI.netcoreapp3.0.cs
create mode 100644 src/Middleware/CORS/ref/Microsoft.AspNetCore.Cors.Manual.cs
delete mode 100644 src/Middleware/ConcurrencyLimiter/ref/Microsoft.AspNetCore.ConcurrencyLimiter.csproj
delete mode 100644 src/Middleware/ConcurrencyLimiter/ref/Microsoft.AspNetCore.ConcurrencyLimiter.netcoreapp3.0.cs
delete mode 100644 src/Middleware/Diagnostics.EntityFrameworkCore/ref/Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.csproj
delete mode 100644 src/Middleware/Diagnostics.EntityFrameworkCore/ref/Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.netcoreapp3.0.cs
create mode 100644 src/Middleware/Diagnostics/ref/Microsoft.AspNetCore.Diagnostics.Manual.cs
delete mode 100644 src/Middleware/HeaderPropagation/ref/Microsoft.AspNetCore.HeaderPropagation.csproj
delete mode 100644 src/Middleware/HeaderPropagation/ref/Microsoft.AspNetCore.HeaderPropagation.netcoreapp3.0.cs
delete mode 100644 src/Middleware/HealthChecks.EntityFrameworkCore/ref/Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore.csproj
delete mode 100644 src/Middleware/HealthChecks.EntityFrameworkCore/ref/Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore.netstandard2.1.cs
delete mode 100644 src/Middleware/MiddlewareAnalysis/ref/Microsoft.AspNetCore.MiddlewareAnalysis.csproj
delete mode 100644 src/Middleware/MiddlewareAnalysis/ref/Microsoft.AspNetCore.MiddlewareAnalysis.netcoreapp3.0.cs
delete mode 100644 src/Middleware/NodeServices/ref/Microsoft.AspNetCore.NodeServices.csproj
delete mode 100644 src/Middleware/NodeServices/ref/Microsoft.AspNetCore.NodeServices.netcoreapp3.0.cs
create mode 100644 src/Middleware/ResponseCaching/ref/Microsoft.AspNetCore.ResponseCaching.Manual.cs
create mode 100644 src/Middleware/ResponseCompression/ref/Microsoft.AspNetCore.ResponseCompression.Manual.cs
create mode 100644 src/Middleware/Rewrite/ref/Microsoft.AspNetCore.Rewrite.Manual.cs
delete mode 100644 src/Middleware/SpaServices.Extensions/ref/Microsoft.AspNetCore.SpaServices.Extensions.csproj
delete mode 100644 src/Middleware/SpaServices.Extensions/ref/Microsoft.AspNetCore.SpaServices.Extensions.netcoreapp3.0.cs
delete mode 100644 src/Middleware/SpaServices/ref/Microsoft.AspNetCore.SpaServices.csproj
delete mode 100644 src/Middleware/SpaServices/ref/Microsoft.AspNetCore.SpaServices.netcoreapp3.0.cs
create mode 100644 src/Middleware/StaticFiles/ref/Microsoft.AspNetCore.StaticFiles.Manual.cs
create mode 100644 src/Mvc/Mvc.Abstractions/ref/Microsoft.AspNetCore.Mvc.Abstractions.Manual.cs
delete mode 100644 src/Mvc/Mvc.Core/ref/Directory.Build.props
create mode 100644 src/Mvc/Mvc.Cors/ref/Microsoft.AspNetCore.Mvc.Cors.Manual.cs
delete mode 100644 src/Mvc/Mvc.DataAnnotations/ref/Directory.Build.props
create mode 100644 src/Mvc/Mvc.Formatters.Xml/ref/Microsoft.AspNetCore.Mvc.Formatters.Xml.Manual.cs
create mode 100644 src/Mvc/Mvc.Localization/ref/Microsoft.AspNetCore.Mvc.Localization.Manual.cs
delete mode 100644 src/Mvc/Mvc.NewtonsoftJson/ref/Microsoft.AspNetCore.Mvc.NewtonsoftJson.csproj
delete mode 100644 src/Mvc/Mvc.NewtonsoftJson/ref/Microsoft.AspNetCore.Mvc.NewtonsoftJson.netcoreapp3.0.cs
delete mode 100644 src/Mvc/Mvc.Razor.RuntimeCompilation/ref/Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.csproj
delete mode 100644 src/Mvc/Mvc.Razor.RuntimeCompilation/ref/Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.netcoreapp3.0.cs
delete mode 100644 src/Mvc/Mvc.Razor/ref/Directory.Build.props
delete mode 100644 src/Mvc/Mvc.RazorPages/ref/Directory.Build.props
rename src/Mvc/Mvc.RazorPages/ref/{Microsoft.AspNetCore.Mvc.RazorPages.netcoreapp3.0.Manual.cs => Microsoft.AspNetCore.Mvc.RazorPages.Manual.cs} (55%)
create mode 100644 src/Mvc/Mvc.TagHelpers/ref/Microsoft.AspNetCore.Mvc.TagHelpers.Manual.cs
delete mode 100644 src/Mvc/Mvc.Testing/ref/Microsoft.AspNetCore.Mvc.Testing.csproj
delete mode 100644 src/Mvc/Mvc.Testing/ref/Microsoft.AspNetCore.Mvc.Testing.netcoreapp3.0.cs
delete mode 100644 src/Mvc/Mvc.ViewFeatures/ref/Directory.Build.props
create mode 100644 src/Razor/Razor/ref/Microsoft.AspNetCore.Razor.Manual.cs
delete mode 100644 src/Security/Authentication/Certificate/ref/Microsoft.AspNetCore.Authentication.Certificate.csproj
delete mode 100644 src/Security/Authentication/Certificate/ref/Microsoft.AspNetCore.Authentication.Certificate.netcoreapp3.0.cs
delete mode 100644 src/Security/Authentication/Facebook/ref/Microsoft.AspNetCore.Authentication.Facebook.csproj
delete mode 100644 src/Security/Authentication/Facebook/ref/Microsoft.AspNetCore.Authentication.Facebook.netcoreapp3.0.cs
delete mode 100644 src/Security/Authentication/Google/ref/Microsoft.AspNetCore.Authentication.Google.csproj
delete mode 100644 src/Security/Authentication/Google/ref/Microsoft.AspNetCore.Authentication.Google.netcoreapp3.0.cs
delete mode 100644 src/Security/Authentication/JwtBearer/ref/Microsoft.AspNetCore.Authentication.JwtBearer.csproj
delete mode 100644 src/Security/Authentication/JwtBearer/ref/Microsoft.AspNetCore.Authentication.JwtBearer.netcoreapp3.0.cs
delete mode 100644 src/Security/Authentication/MicrosoftAccount/ref/Microsoft.AspNetCore.Authentication.MicrosoftAccount.csproj
delete mode 100644 src/Security/Authentication/MicrosoftAccount/ref/Microsoft.AspNetCore.Authentication.MicrosoftAccount.netcoreapp3.0.cs
delete mode 100644 src/Security/Authentication/Negotiate/ref/Microsoft.AspNetCore.Authentication.Negotiate.csproj
delete mode 100644 src/Security/Authentication/Negotiate/ref/Microsoft.AspNetCore.Authentication.Negotiate.netcoreapp3.0.cs
delete mode 100644 src/Security/Authentication/OpenIdConnect/ref/Microsoft.AspNetCore.Authentication.OpenIdConnect.csproj
delete mode 100644 src/Security/Authentication/OpenIdConnect/ref/Microsoft.AspNetCore.Authentication.OpenIdConnect.netcoreapp3.0.cs
delete mode 100644 src/Security/Authentication/Twitter/ref/Microsoft.AspNetCore.Authentication.Twitter.csproj
delete mode 100644 src/Security/Authentication/Twitter/ref/Microsoft.AspNetCore.Authentication.Twitter.netcoreapp3.0.cs
delete mode 100644 src/Security/Authentication/WsFederation/ref/Microsoft.AspNetCore.Authentication.WsFederation.csproj
delete mode 100644 src/Security/Authentication/WsFederation/ref/Microsoft.AspNetCore.Authentication.WsFederation.netcoreapp3.0.cs
delete mode 100644 src/Security/Authorization/Core/ref/Microsoft.AspNetCore.Authorization.Manual.cs
create mode 100644 src/Servers/HttpSys/ref/Microsoft.AspNetCore.Server.HttpSys.Manual.cs
create mode 100644 src/Servers/IIS/IISIntegration/ref/Microsoft.AspNetCore.Server.IISIntegration.Manual.cs
delete mode 100644 src/Servers/Kestrel/Core/ref/Directory.Build.props
delete mode 100644 src/Servers/Kestrel/Transport.Libuv/ref/Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.csproj
delete mode 100644 src/Servers/Kestrel/Transport.Libuv/ref/Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.netcoreapp3.0.cs
create mode 100644 src/Servers/Kestrel/Transport.Sockets/ref/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Manual.cs
delete mode 100644 src/SignalR/clients/csharp/Client.Core/ref/Microsoft.AspNetCore.SignalR.Client.Core.csproj
delete mode 100644 src/SignalR/clients/csharp/Client.Core/ref/Microsoft.AspNetCore.SignalR.Client.Core.netcoreapp3.0.cs
delete mode 100644 src/SignalR/clients/csharp/Client.Core/ref/Microsoft.AspNetCore.SignalR.Client.Core.netstandard2.0.cs
delete mode 100644 src/SignalR/clients/csharp/Client.Core/ref/Microsoft.AspNetCore.SignalR.Client.Core.netstandard2.1.cs
delete mode 100644 src/SignalR/clients/csharp/Client/ref/Microsoft.AspNetCore.SignalR.Client.csproj
delete mode 100644 src/SignalR/clients/csharp/Client/ref/Microsoft.AspNetCore.SignalR.Client.netstandard2.0.cs
delete mode 100644 src/SignalR/clients/csharp/Http.Connections.Client/ref/Microsoft.AspNetCore.Http.Connections.Client.csproj
delete mode 100644 src/SignalR/clients/csharp/Http.Connections.Client/ref/Microsoft.AspNetCore.Http.Connections.Client.netstandard2.0.cs
delete mode 100644 src/SignalR/clients/csharp/Http.Connections.Client/ref/Microsoft.AspNetCore.Http.Connections.Client.netstandard2.1.cs
delete mode 100644 src/SignalR/common/Protocols.MessagePack/ref/Microsoft.AspNetCore.SignalR.Protocols.MessagePack.csproj
delete mode 100644 src/SignalR/common/Protocols.MessagePack/ref/Microsoft.AspNetCore.SignalR.Protocols.MessagePack.netstandard2.0.cs
delete mode 100644 src/SignalR/common/Protocols.NewtonsoftJson/ref/Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson.csproj
delete mode 100644 src/SignalR/common/Protocols.NewtonsoftJson/ref/Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson.netstandard2.0.cs
delete mode 100644 src/SignalR/server/StackExchangeRedis/ref/Microsoft.AspNetCore.SignalR.StackExchangeRedis.csproj
delete mode 100644 src/SignalR/server/StackExchangeRedis/ref/Microsoft.AspNetCore.SignalR.StackExchangeRedis.netcoreapp3.0.cs
diff --git a/Directory.Build.props b/Directory.Build.props
index 77df19d4c3..2ced5ff212 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -84,14 +84,14 @@
aspnetcore-runtime
aspnetcore-targeting-pack
-
- true
-
-
- false
-
-
- true
+
+
+ false
+ true
+ false
+ true
false
-
+
- true
+ true
@@ -58,15 +59,11 @@
-
- true
-
-
+ true
true
-
+
false
@@ -88,7 +85,7 @@
$(BaselinePackageVersion)
$(BaselinePackageVersion)
-
+
$(BaselinePackageVersion)
@@ -99,7 +96,8 @@
true
- true
+ true
false
true
@@ -161,13 +159,12 @@
-
-
+
diff --git a/eng/Build.props b/eng/Build.props
index fa5e1d21d6..a118a30f20 100644
--- a/eng/Build.props
+++ b/eng/Build.props
@@ -157,7 +157,35 @@
@(ProjectToExclude);
$(RepoRoot)**\node_modules\**\*;
$(RepoRoot)**\bin\**\*;
- $(RepoRoot)**\obj\**\*;" />
+ $(RepoRoot)**\obj\**\*;"
+ Condition=" '$(BuildMainlyReferenceProviders)' != 'true' " />
+
diff --git a/eng/CodeGen.proj b/eng/CodeGen.proj
index d16f2875e5..9f6ede2cfe 100644
--- a/eng/CodeGen.proj
+++ b/eng/CodeGen.proj
@@ -3,6 +3,7 @@
true
$([MSBuild]::NormalizeDirectory('$(MSBuildThisFileDirectory)', '..'))
+ true
@@ -15,7 +16,6 @@
BuildInParallel="true"
SkipNonexistentTargets="true"
SkipNonexistentProjects="true" >
-
diff --git a/eng/GenAPI.exclusions.txt b/eng/GenAPI.exclusions.txt
index 0c4ce95fc2..5c90c6c4db 100644
--- a/eng/GenAPI.exclusions.txt
+++ b/eng/GenAPI.exclusions.txt
@@ -9,4 +9,48 @@ F:Microsoft.AspNetCore.Mvc.Razor.Infrastructure.TagHelperMemoryCacheProvider.{Ca
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
+M:Microsoft.AspNetCore.Mvc.Razor.Infrastructure.TagHelperMemoryCacheProvider.set_Cache(Microsoft.Extensions.Caching.Memory.IMemoryCache)
+# Manually implemented - Need to include internal setter
+P:Microsoft.AspNetCore.Routing.Matching.CandidateState.Values
+# Manually implemented - Need to include internal setter
+P:Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.KestrelServerOptions
+# Manually implemented - Need to include private fields in struct with sequential layout
+T:Microsoft.AspNetCore.Components.RenderHandle
+P:Microsoft.AspNetCore.Components.RenderHandle.Dispatcher
+P:Microsoft.AspNetCore.Components.RenderHandle.IsInitialized
+M:Microsoft.AspNetCore.Components.RenderHandle.get_Dispatcher
+M:Microsoft.AspNetCore.Components.RenderHandle.get_IsInitialized
+M:Microsoft.AspNetCore.Components.RenderHandle.Render(Microsoft.AspNetCore.Components.RenderFragment)
+T:Microsoft.AspNetCore.Components.ParameterView
+P:Microsoft.AspNetCore.Components.ParameterView.Empty
+M:Microsoft.AspNetCore.Components.ParameterView.FromDictionary(System.Collections.Generic.IDictionary{System.String,System.Object})
+M:Microsoft.AspNetCore.Components.ParameterView.GetEnumerator
+M:Microsoft.AspNetCore.Components.ParameterView.GetValueOrDefault``1(System.String)
+M:Microsoft.AspNetCore.Components.ParameterView.GetValueOrDefault``1(System.String,``0)
+M:Microsoft.AspNetCore.Components.ParameterView.get_Empty
+M:Microsoft.AspNetCore.Components.ParameterView.SetParameterProperties(System.Object)
+M:Microsoft.AspNetCore.Components.ParameterView.ToDictionary
+M:Microsoft.AspNetCore.Components.ParameterView.TryGetValue``1(System.String,``0@)
+T:Microsoft.AspNetCore.Components.ParameterView.Enumerator
+P:Microsoft.AspNetCore.Components.ParameterView.Enumerator.Current
+M:Microsoft.AspNetCore.Components.ParameterView.Enumerator.get_Current
+M:Microsoft.AspNetCore.Components.ParameterView.Enumerator.MoveNext
+T:Microsoft.AspNetCore.Components.EventCallback
+F:Microsoft.AspNetCore.Components.EventCallback.Empty
+F:Microsoft.AspNetCore.Components.EventCallback.Factory
+M:Microsoft.AspNetCore.Components.EventCallback.#ctor(Microsoft.AspNetCore.Components.IHandleEvent,System.MulticastDelegate)
+P:Microsoft.AspNetCore.Components.EventCallback.HasDelegate
+M:Microsoft.AspNetCore.Components.EventCallback.get_HasDelegate
+M:Microsoft.AspNetCore.Components.EventCallback.InvokeAsync(System.Object)
+T:Microsoft.AspNetCore.Components.EventCallback`1
+F:Microsoft.AspNetCore.Components.EventCallback`1.Empty
+M:Microsoft.AspNetCore.Components.EventCallback`1.#ctor(Microsoft.AspNetCore.Components.IHandleEvent,System.MulticastDelegate)
+P:Microsoft.AspNetCore.Components.EventCallback`1.HasDelegate
+M:Microsoft.AspNetCore.Components.EventCallback`1.get_HasDelegate
+M:Microsoft.AspNetCore.Components.EventCallback`1.InvokeAsync(`0)
+# Manually implemented - Need to include internal setter
+P:Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions.Conventions
+# Break GenAPI - https://github.com/dotnet/arcade/issues/4488
+T:Microsoft.AspNetCore.Mvc.ApplicationModels.ActionAttributeRouteModel.d__3
+T:Microsoft.AspNetCore.Components.Rendering.HtmlRenderer.d__17
+T:Microsoft.AspNetCore.Components.Rendering.HtmlRenderer.d__8
diff --git a/eng/IndirectReferences.props b/eng/IndirectReferences.props
deleted file mode 100644
index c57e61024d..0000000000
--- a/eng/IndirectReferences.props
+++ /dev/null
@@ -1,10911 +0,0 @@
-
-
-
- <_RefsToCheck Include="@(Reference->'%(Identity)')"/>
- <_ProjectRefsToCheck Include="@(ProjectReference)" Exclude="@(ProjectReference->WithMetadataValue('ReferenceOutputAssembly', 'false'))" />
- <_RefsToCheck Include="@(ProjectReference->'%(Filename)')"/>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/eng/ProjectReferences.props b/eng/ProjectReferences.props
index d1d79ea73f..38fcb92ba2 100644
--- a/eng/ProjectReferences.props
+++ b/eng/ProjectReferences.props
@@ -5,33 +5,70 @@
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
@@ -40,61 +77,40 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -107,34 +123,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/eng/Versions.props b/eng/Versions.props
index 02045d7d46..275a6b3b74 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -26,13 +26,8 @@
3.0.0
false
-
- true
-
- true
+
+ true
$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion)
$(VersionPrefix)
diff --git a/eng/targets/ReferenceAssembly.targets b/eng/targets/ReferenceAssembly.targets
index 5f4345e0c4..9893049ed3 100644
--- a/eng/targets/ReferenceAssembly.targets
+++ b/eng/targets/ReferenceAssembly.targets
@@ -1,6 +1,6 @@
-
+
<_RefSourceOutputPath>$([System.IO.Directory]::GetParent('$(MSBuildProjectDirectory)'))/ref/
<_RefProjectFileOutputPath>$(_RefSourceOutputPath)$(AssemblyName).csproj
@@ -13,8 +13,8 @@
+ Targets="_GenerateProjectSourceInner"
+ Properties="TargetFramework=%(_DeduplicatedTargetFramework.Identity);CompileUsingReferenceAssemblies=false">
@@ -23,35 +23,33 @@
- <_ExcludeFromSourceBuild Condition="'$(IsAspNetCoreApp)' == 'true' OR '$(IsAnalyzersProject)' == 'true'">false
-]]>
-
- @(_ResultTargetFramework)$(_ExcludeFromSourceBuild)
+ @(_ResultTargetFramework)
@(ProjectListContentItem->'%(Identity)', '%0A')
]]>
-
-
-
+
-
+
<_RefSourceOutputPath>$([System.IO.Directory]::GetParent('$(MSBuildProjectDirectory)'))/ref/
<_RefSourceFileName>$(AssemblyName).$(TargetFramework).cs
<_ManualRefSourceFileName>$(AssemblyName).Manual.cs
+ <_PerTFMManualRefSourceFileName>$(AssemblyName).$(TargetFramework).Manual.cs
<_RefSourceFileOutputPath>$(_RefSourceOutputPath)$(_RefSourceFileName)
@@ -61,37 +59,58 @@
- <_GenAPICommand Condition="'$(MSBuildRuntimeType)' == 'core'">"$(DotNetTool)" --roll-forward-on-no-candidate-fx 2 "$(_GenAPIPath)"
+ <_GenApiFile>$([MSBuild]::NormalizePath('$(ArtifactsDir)', 'log', 'GenAPI.rsp'))
+ <_GenAPICommand
+ Condition="'$(MSBuildRuntimeType)' == 'core'">"$(DotNetTool)" --roll-forward-on-no-candidate-fx 2 "$(_GenAPIPath)"
<_GenAPICmd>$(_GenAPICommand)
- <_GenAPICmd>$(_GenAPICmd) "$(TargetPath)"
- <_GenAPICmd>$(_GenAPICmd) --lib-path "@(_ReferencePathDirectories)"
- <_GenAPICmd>$(_GenAPICmd) --out "$(_RefSourceFileOutputPath)"
- <_GenAPICmd>$(_GenAPICmd) --header-file "$(RepoRoot)/eng/LicenseHeader.txt"
- <_GenAPICmd>$(_GenAPICmd) --exclude-api-list "$(RepoRoot)/eng/GenAPI.exclusions.txt"
+ <_GenAPICmd>$(_GenAPICommand) @"$(_GenApiFile)"
+ <_GenAPICmd
+ Condition=" '$(AdditionalGenApiCmdOptions)' != '' ">$(_GenAPICmd) $(AdditionalGenApiCmdOptions)
+ <_GenApiArguments>
+
+
+
-
+ <_ReferenceAssemblyCompileItems Include="$(_RefSourceFileName)" />
+ <_ReferenceAssemblyCompileItems Include="$(_ManualRefSourceFileName)"
+ Condition="Exists('$(_RefSourceOutputPath)$(_ManualRefSourceFileName)')" />
+ <_ReferenceAssemblyCompileItems Include="$(_PerTFMManualRefSourceFileName)"
+ Condition="Exists('$(_RefSourceOutputPath)$(_PerTFMManualRefSourceFileName)')" />
+ <_ReferenceAssemblyCompileItems Include="../src/AssemblyInfo.cs"
+ Condition="Exists('$(MSBuildProjectDirectory)/AssemblyInfo.cs')" />
+ <_ReferenceAssemblyCompileItems Include="../src/Properties/AssemblyInfo.cs"
+ Condition="Exists('$(MSBuildProjectDirectory)/Properties/AssemblyInfo.cs')" />
+
+
+ <_ReferenceAssemblyItems
+ Include="@(_ReferenceAssemblyCompileItems->'<Compile Include="%(Identity)" />')" />
+ <_ReferenceAssemblyItems
+ Include="@(FilteredOriginalReferences->'<Reference Include="%(Identity)" />')"
+ Condition=" '@(FilteredOriginalReferences)' != '' " />
+
+ <_ReferenceAssemblyItems
+ Include="@(InternalsVisibleTo->'<InternalsVisibleTo Include="%(Identity)" Key="%(Key)" />')"
+ Condition=" '@(InternalsVisibleTo)' != '' " />
- <_ManualReferenceAssemblyContent />
- <_ManualReferenceAssemblyContent Condition="Exists('$(_RefSourceOutputPath)$(_ManualRefSourceFileName)')">
- ]]>
-
-
- ]]>$(_ManualReferenceAssemblyContent)'', '%0A ')
+ @(_ReferenceAssemblyItems, '%0A ')
]]>
diff --git a/eng/targets/ResolveReferences.targets b/eng/targets/ResolveReferences.targets
index dfac85df6f..df2ca08bed 100644
--- a/eng/targets/ResolveReferences.targets
+++ b/eng/targets/ResolveReferences.targets
@@ -11,11 +11,12 @@
Items used by the resolution strategy:
- * BaselinePackageReference = a list of packages that were reference in the last release of the project currently building
+ * BaselinePackageReference = a list of packages that were referenced in the last release of the project currently building
+ - mainly used to ensure references do not change in servicing builds unless $(UseLatestPackageReferences) is not true.
* LatestPackageReference = a list of the latest versions of packages
* Reference = a list of the references which are needed for compilation or runtime
* ProjectReferenceProvider = a list which maps of assembly names to the project file that produces it
- -->
+-->
@@ -29,47 +30,49 @@
- true
- true
- true
true
+ Condition=" '$(UseLatestPackageReferences)' == '' AND '$(IsServicingBuild)' != 'true' ">true
+ true
+ true
false
- true
- true
- true
- false
+ true
- true
- false
+ true
+ false
- true
- false
+ true
+ false
-
+
- true
+ true
@@ -77,35 +80,40 @@
<_AllowedExplicitPackageReference Include="@(PackageReference->WithMetadataValue('AllowExplicitReference', 'true'))" />
<_AllowedExplicitPackageReference Include="FSharp.Core" Condition="'$(MSBuildProjectExtension)' == '.fsproj'" />
- <_ExplicitPackageReference Include="@(PackageReference)" Exclude="@(_ImplicitPackageReference);@(_AllowedExplicitPackageReference)" />
+ <_ExplicitPackageReference Include="@(PackageReference)"
+ Exclude="@(_ImplicitPackageReference);@(_AllowedExplicitPackageReference)" />
<_UnusedProjectReferenceProvider Include="@(ProjectReferenceProvider)" Exclude="@(Reference)" />
- <_CompilationOnlyReference Condition="'$(TargetFramework)' == 'netstandard2.0'" Include="@(Reference->WithMetadataValue('NuGetPackageId','NETStandard.Library'))" />
+ <_CompilationOnlyReference Include="@(Reference->WithMetadataValue('NuGetPackageId','NETStandard.Library'))"
+ Condition="'$(TargetFramework)' == 'netstandard2.0'" />
<_InvalidReferenceToNonSharedFxAssembly Condition="'$(IsAspNetCoreApp)' == 'true'"
- Include="@(Reference)"
- Exclude="
- @(AspNetCoreAppReference);
- @(AspNetCoreAppReferenceAndPackage);
- @(ExternalAspNetCoreAppReference);
- @(_CompilationOnlyReference);
- @(Reference->WithMetadataValue('IsSharedSource', 'true'))" />
+ Include="@(Reference)"
+ Exclude="
+ @(AspNetCoreAppReference);
+ @(AspNetCoreAppReferenceAndPackage);
+ @(ExternalAspNetCoreAppReference);
+ @(_CompilationOnlyReference);
+ @(Reference->WithMetadataValue('IsSharedSource', 'true'))" />
<_OriginalReferences Include="@(Reference)" />
+
<_ProjectReferenceByAssemblyName Condition="'$(UseProjectReferences)' == 'true'"
- Include="@(ProjectReferenceProvider)"
- Exclude="@(_UnusedProjectReferenceProvider)" />
+ Include="@(ProjectReferenceProvider)"
+ Exclude="@(_UnusedProjectReferenceProvider)" />
-
+
false
-
+
true
@@ -113,30 +121,31 @@
-
+ Text="Cannot reference "%(_InvalidReferenceToSharedFxOnlyAssembly.Identity)" directly because it is part of the shared framework and this project is not. Use <FrameworkReference Include="Microsoft.AspNetCore.App" /> instead." />
+ Text="Cannot reference "%(_InvalidReferenceToNonSharedFxAssembly.Identity)". This dependency is not in the shared framework. See docs/SharedFramework.md for instructions on how to modify what is in the shared framework." />
-
+
-
+
@@ -145,9 +154,15 @@
-
-
-
+
+
+
+
+
-
+
-
-
- <_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' ">
+
+ <_BaselinePackageReferenceWithVersion Include="@(Reference)"
+ Condition=" '$(IsServicingBuild)' == 'true' OR '$(UseLatestPackageReferences)' != 'true' ">
%(BaselinePackageReference.Identity)
%(BaselinePackageReference.Version)
-
- <_BaselinePackageReferenceWithVersion Remove="@(_BaselinePackageReferenceWithVersion)" Condition="'%(Id)' != '%(Identity)' " />
+ <_BaselinePackageReferenceWithVersion Remove="@(_BaselinePackageReferenceWithVersion)"
+ Condition="'%(Id)' != '%(Identity)' " />
@@ -251,10 +197,10 @@
%(LatestPackageReference.Identity)
%(LatestPackageReference.Version)
+ <_PrivatePackageReferenceWithVersion Remove="@(_PrivatePackageReferenceWithVersion)"
+ Condition="'%(Id)' != '%(Identity)' " />
- <_PrivatePackageReferenceWithVersion Remove="@(_PrivatePackageReferenceWithVersion)" Condition="'%(Id)' != '%(Identity)' " />
-
-
+
@@ -265,24 +211,92 @@
<_ImplicitPackageReference Remove="@(_ImplicitPackageReference)" />
-
+
<_ExplicitPackageReference Remove="@(_ExplicitPackageReference)" />
-
+
-
+
-
+
+
+
+
+
+ <_CompileTfmUsingReferenceAssemblies>false
+ <_CompileTfmUsingReferenceAssemblies
+ Condition=" '$(CompileUsingReferenceAssemblies)' != false AND '$(TargetFramework)' == 'netcoreapp3.0' ">true
+
+
+ <_ReferenceProjectFile>$(MSBuildProjectDirectory)/../ref/$(MSBuildProjectFile)
+
+
+ $(GetTargetPathWithTargetPlatformMonikerDependsOn);AddReferenceProjectMetadata
+ RemoveReferenceProjectMetadata;$(PrepareForRunDependsOn)
+
+
+
+
+ ReferenceProjectMetadata
+ false
+
+
+
+
+ true
+ @(ReferenceProjectMetadata)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(MicrosoftInternalExtensionsRefsPath)%(FileName).dll
+
+
@@ -306,24 +320,36 @@
$([MSBuild]::MakeRelative($(RepoRoot), '$(ReferenceAssemblyDirectory)$(MSBuildProjectFile)'))
-
-
+
+
+
+
$([MSBuild]::ValueOrDefault($(IsAspNetCoreApp),'false'))
$([MSBuild]::ValueOrDefault($(IsShippingPackage),'false'))
$([MSBuild]::MakeRelative($(RepoRoot), $(MSBuildProjectFullPath)))
- $(ReferenceAssemblyProjectFileRelativePath)
+ $(ReferenceAssemblyProjectFileRelativePath)
- <_CustomCollectProjectReferenceDependsOn Condition="'$(TargetFramework)' != ''">ResolveProjectReferences
+ <_CustomCollectProjectReferenceDependsOn
+ Condition="'$(TargetFramework)' != ''">ResolveProjectReferences
-
+
<_TargetFrameworks Include="$(TargetFrameworks)" />
diff --git a/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.Manual.cs b/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.Manual.cs
new file mode 100644
index 0000000000..10c1b0e282
--- /dev/null
+++ b/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.Manual.cs
@@ -0,0 +1,147 @@
+// 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.Antiforgery
+{
+ internal partial class AntiforgeryFeature : Microsoft.AspNetCore.Antiforgery.IAntiforgeryFeature
+ {
+ public AntiforgeryFeature() { }
+ public Microsoft.AspNetCore.Antiforgery.AntiforgeryToken CookieToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public bool HaveDeserializedCookieToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public bool HaveDeserializedRequestToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public bool HaveGeneratedNewCookieToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public bool HaveStoredNewCookieToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public Microsoft.AspNetCore.Antiforgery.AntiforgeryToken NewCookieToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public string NewCookieTokenString { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public Microsoft.AspNetCore.Antiforgery.AntiforgeryToken NewRequestToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public string NewRequestTokenString { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public Microsoft.AspNetCore.Antiforgery.AntiforgeryToken RequestToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ }
+
+ internal partial class AntiforgerySerializationContext
+ {
+ public AntiforgerySerializationContext() { }
+ public System.IO.BinaryReader Reader { get { throw null; } }
+ public System.Security.Cryptography.SHA256 Sha256 { get { throw null; } }
+ public System.IO.MemoryStream Stream { get { throw null; } }
+ public System.IO.BinaryWriter Writer { get { throw null; } }
+ public char[] GetChars(int count) { throw null; }
+ public void Reset() { }
+ }
+
+ internal partial class AntiforgerySerializationContextPooledObjectPolicy : Microsoft.Extensions.ObjectPool.IPooledObjectPolicy
+ {
+ public AntiforgerySerializationContextPooledObjectPolicy() { }
+ public Microsoft.AspNetCore.Antiforgery.AntiforgerySerializationContext Create() { throw null; }
+ public bool Return(Microsoft.AspNetCore.Antiforgery.AntiforgerySerializationContext obj) { throw null; }
+ }
+
+ internal sealed partial class AntiforgeryToken
+ {
+ internal const int ClaimUidBitLength = 256;
+ internal const int SecurityTokenBitLength = 128;
+ public AntiforgeryToken() { }
+ public string AdditionalData { get { throw null; } set { } }
+ public Microsoft.AspNetCore.Antiforgery.BinaryBlob ClaimUid { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public bool IsCookieToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public Microsoft.AspNetCore.Antiforgery.BinaryBlob SecurityToken { get { throw null; } set { } }
+ public string Username { get { throw null; } set { } }
+ }
+
+ [System.Diagnostics.DebuggerDisplayAttribute("{DebuggerString}")]
+ internal sealed partial class BinaryBlob : System.IEquatable
+ {
+ public BinaryBlob(int bitLength) { }
+ public BinaryBlob(int bitLength, byte[] data) { }
+ public int BitLength { get { throw null; } }
+ public bool Equals(Microsoft.AspNetCore.Antiforgery.BinaryBlob other) { throw null; }
+ public override bool Equals(object obj) { throw null; }
+ public byte[] GetData() { throw null; }
+ public override int GetHashCode() { throw null; }
+ }
+
+ internal partial class DefaultAntiforgery : Microsoft.AspNetCore.Antiforgery.IAntiforgery
+ {
+ public DefaultAntiforgery(Microsoft.Extensions.Options.IOptions antiforgeryOptionsAccessor, Microsoft.AspNetCore.Antiforgery.IAntiforgeryTokenGenerator tokenGenerator, Microsoft.AspNetCore.Antiforgery.IAntiforgeryTokenSerializer tokenSerializer, Microsoft.AspNetCore.Antiforgery.IAntiforgeryTokenStore tokenStore, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) { }
+ public Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet GetAndStoreTokens(Microsoft.AspNetCore.Http.HttpContext httpContext) { throw null; }
+ public Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet GetTokens(Microsoft.AspNetCore.Http.HttpContext httpContext) { throw null; }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.Task IsRequestValidAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) { throw null; }
+ public void SetCookieTokenAndHeader(Microsoft.AspNetCore.Http.HttpContext httpContext) { }
+ protected virtual void SetDoNotCacheHeaders(Microsoft.AspNetCore.Http.HttpContext httpContext) { }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.Task ValidateRequestAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) { throw null; }
+ }
+
+ internal partial class DefaultAntiforgeryTokenGenerator : Microsoft.AspNetCore.Antiforgery.IAntiforgeryTokenGenerator
+ {
+ public DefaultAntiforgeryTokenGenerator(Microsoft.AspNetCore.Antiforgery.IClaimUidExtractor claimUidExtractor, Microsoft.AspNetCore.Antiforgery.IAntiforgeryAdditionalDataProvider additionalDataProvider) { }
+ public Microsoft.AspNetCore.Antiforgery.AntiforgeryToken GenerateCookieToken() { throw null; }
+ public Microsoft.AspNetCore.Antiforgery.AntiforgeryToken GenerateRequestToken(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Antiforgery.AntiforgeryToken cookieToken) { throw null; }
+ public bool IsCookieTokenValid(Microsoft.AspNetCore.Antiforgery.AntiforgeryToken cookieToken) { throw null; }
+ public bool TryValidateTokenSet(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Antiforgery.AntiforgeryToken cookieToken, Microsoft.AspNetCore.Antiforgery.AntiforgeryToken requestToken, out string message) { throw null; }
+ }
+
+ internal partial class DefaultAntiforgeryTokenSerializer : Microsoft.AspNetCore.Antiforgery.IAntiforgeryTokenSerializer
+ {
+ public DefaultAntiforgeryTokenSerializer(Microsoft.AspNetCore.DataProtection.IDataProtectionProvider provider, Microsoft.Extensions.ObjectPool.ObjectPool pool) { }
+ public Microsoft.AspNetCore.Antiforgery.AntiforgeryToken Deserialize(string serializedToken) { throw null; }
+ public string Serialize(Microsoft.AspNetCore.Antiforgery.AntiforgeryToken token) { throw null; }
+ }
+
+ internal partial class DefaultAntiforgeryTokenStore : Microsoft.AspNetCore.Antiforgery.IAntiforgeryTokenStore
+ {
+ public DefaultAntiforgeryTokenStore(Microsoft.Extensions.Options.IOptions optionsAccessor) { }
+ public string GetCookieToken(Microsoft.AspNetCore.Http.HttpContext httpContext) { throw null; }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.Task GetRequestTokensAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) { throw null; }
+ public void SaveCookieToken(Microsoft.AspNetCore.Http.HttpContext httpContext, string token) { }
+ }
+
+ internal partial class DefaultClaimUidExtractor : Microsoft.AspNetCore.Antiforgery.IClaimUidExtractor
+ {
+ public DefaultClaimUidExtractor(Microsoft.Extensions.ObjectPool.ObjectPool pool) { }
+ public string ExtractClaimUid(System.Security.Claims.ClaimsPrincipal claimsPrincipal) { throw null; }
+ public static System.Collections.Generic.IList GetUniqueIdentifierParameters(System.Collections.Generic.IEnumerable claimsIdentities) { throw null; }
+ }
+
+ internal partial interface IAntiforgeryFeature
+ {
+ Microsoft.AspNetCore.Antiforgery.AntiforgeryToken CookieToken { get; set; }
+ bool HaveDeserializedCookieToken { get; set; }
+ bool HaveDeserializedRequestToken { get; set; }
+ bool HaveGeneratedNewCookieToken { get; set; }
+ bool HaveStoredNewCookieToken { get; set; }
+ Microsoft.AspNetCore.Antiforgery.AntiforgeryToken NewCookieToken { get; set; }
+ string NewCookieTokenString { get; set; }
+ Microsoft.AspNetCore.Antiforgery.AntiforgeryToken NewRequestToken { get; set; }
+ string NewRequestTokenString { get; set; }
+ Microsoft.AspNetCore.Antiforgery.AntiforgeryToken RequestToken { get; set; }
+ }
+
+ internal partial interface IAntiforgeryTokenGenerator
+ {
+ Microsoft.AspNetCore.Antiforgery.AntiforgeryToken GenerateCookieToken();
+ Microsoft.AspNetCore.Antiforgery.AntiforgeryToken GenerateRequestToken(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Antiforgery.AntiforgeryToken cookieToken);
+ bool IsCookieTokenValid(Microsoft.AspNetCore.Antiforgery.AntiforgeryToken cookieToken);
+ bool TryValidateTokenSet(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Antiforgery.AntiforgeryToken cookieToken, Microsoft.AspNetCore.Antiforgery.AntiforgeryToken requestToken, out string message);
+ }
+
+ internal partial interface IAntiforgeryTokenSerializer
+ {
+ Microsoft.AspNetCore.Antiforgery.AntiforgeryToken Deserialize(string serializedToken);
+ string Serialize(Microsoft.AspNetCore.Antiforgery.AntiforgeryToken token);
+ }
+
+ internal partial interface IAntiforgeryTokenStore
+ {
+ string GetCookieToken(Microsoft.AspNetCore.Http.HttpContext httpContext);
+ System.Threading.Tasks.Task GetRequestTokensAsync(Microsoft.AspNetCore.Http.HttpContext httpContext);
+ void SaveCookieToken(Microsoft.AspNetCore.Http.HttpContext httpContext, string token);
+ }
+
+ internal partial interface IClaimUidExtractor
+ {
+ string ExtractClaimUid(System.Security.Claims.ClaimsPrincipal claimsPrincipal);
+ }
+}
diff --git a/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj b/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj
index 2a99290b34..cc1f4bec2a 100644
--- a/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj
+++ b/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj
@@ -2,15 +2,15 @@
netcoreapp3.0
- false
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/src/Azure/AzureAD/Authentication.AzureAD.UI/ref/Microsoft.AspNetCore.Authentication.AzureAD.UI.csproj b/src/Azure/AzureAD/Authentication.AzureAD.UI/ref/Microsoft.AspNetCore.Authentication.AzureAD.UI.csproj
deleted file mode 100644
index f320adac86..0000000000
--- a/src/Azure/AzureAD/Authentication.AzureAD.UI/ref/Microsoft.AspNetCore.Authentication.AzureAD.UI.csproj
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- netcoreapp3.0
-
-
-
-
-
-
-
-
-
diff --git a/src/Azure/AzureAD/Authentication.AzureAD.UI/ref/Microsoft.AspNetCore.Authentication.AzureAD.UI.netcoreapp3.0.cs b/src/Azure/AzureAD/Authentication.AzureAD.UI/ref/Microsoft.AspNetCore.Authentication.AzureAD.UI.netcoreapp3.0.cs
deleted file mode 100644
index 2e7a9b87f9..0000000000
--- a/src/Azure/AzureAD/Authentication.AzureAD.UI/ref/Microsoft.AspNetCore.Authentication.AzureAD.UI.netcoreapp3.0.cs
+++ /dev/null
@@ -1,64 +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.Authentication
-{
- public static partial class AzureADAuthenticationBuilderExtensions
- {
- public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureAD(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, System.Action configureOptions) { throw null; }
- public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureAD(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string scheme, string openIdConnectScheme, string cookieScheme, string displayName, System.Action configureOptions) { throw null; }
- public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureADBearer(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, System.Action configureOptions) { throw null; }
- public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureADBearer(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string scheme, string jwtBearerScheme, System.Action configureOptions) { throw null; }
- }
-}
-namespace Microsoft.AspNetCore.Authentication.AzureAD.UI
-{
- public static partial class AzureADDefaults
- {
- public const string AuthenticationScheme = "AzureAD";
- public const string BearerAuthenticationScheme = "AzureADBearer";
- public const string CookieScheme = "AzureADCookie";
- public static readonly string DisplayName;
- public const string JwtBearerAuthenticationScheme = "AzureADJwtBearer";
- public const string OpenIdScheme = "AzureADOpenID";
- }
- public partial class AzureADOptions
- {
- public AzureADOptions() { }
- public string[] AllSchemes { get { throw null; } }
- public string CallbackPath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string ClientId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string ClientSecret { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string CookieSchemeName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string Domain { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string Instance { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string JwtBearerSchemeName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public string OpenIdConnectSchemeName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string SignedOutCallbackPath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string TenantId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- }
-}
-namespace Microsoft.AspNetCore.Authentication.AzureAD.UI.Internal
-{
- [Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute]
- public partial class AccessDeniedModel : Microsoft.AspNetCore.Mvc.RazorPages.PageModel
- {
- public AccessDeniedModel() { }
- public void OnGet() { }
- }
- [Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute]
- [Microsoft.AspNetCore.Mvc.ResponseCacheAttribute(Duration=0, Location=Microsoft.AspNetCore.Mvc.ResponseCacheLocation.None, NoStore=true)]
- public partial class ErrorModel : Microsoft.AspNetCore.Mvc.RazorPages.PageModel
- {
- public ErrorModel() { }
- public string RequestId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public bool ShowRequestId { get { throw null; } }
- public void OnGet() { }
- }
- [Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute]
- public partial class SignedOutModel : Microsoft.AspNetCore.Mvc.RazorPages.PageModel
- {
- public SignedOutModel() { }
- public Microsoft.AspNetCore.Mvc.IActionResult OnGet() { throw null; }
- }
-}
diff --git a/src/Azure/AzureAD/Authentication.AzureADB2C.UI/ref/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.csproj b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/ref/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.csproj
deleted file mode 100644
index 8354ceaa59..0000000000
--- a/src/Azure/AzureAD/Authentication.AzureADB2C.UI/ref/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.csproj
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- netcoreapp3.0
-
-
-
-
-
-
-
-
-
diff --git a/src/Azure/AzureAD/Authentication.AzureADB2C.UI/ref/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.netcoreapp3.0.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/ref/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.netcoreapp3.0.cs
deleted file mode 100644
index 5cd9f38724..0000000000
--- a/src/Azure/AzureAD/Authentication.AzureADB2C.UI/ref/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.netcoreapp3.0.cs
+++ /dev/null
@@ -1,68 +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.Authentication
-{
- public static partial class AzureADB2CAuthenticationBuilderExtensions
- {
- public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureADB2C(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, System.Action configureOptions) { throw null; }
- public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureADB2C(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string scheme, string openIdConnectScheme, string cookieScheme, string displayName, System.Action configureOptions) { throw null; }
- public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureADB2CBearer(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, System.Action configureOptions) { throw null; }
- public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureADB2CBearer(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string scheme, string jwtBearerScheme, System.Action configureOptions) { throw null; }
- }
-}
-namespace Microsoft.AspNetCore.Authentication.AzureADB2C.UI
-{
- public static partial class AzureADB2CDefaults
- {
- public const string AuthenticationScheme = "AzureADB2C";
- public const string BearerAuthenticationScheme = "AzureADB2CBearer";
- public const string CookieScheme = "AzureADB2CCookie";
- public static readonly string DisplayName;
- public const string JwtBearerAuthenticationScheme = "AzureADB2CJwtBearer";
- public const string OpenIdScheme = "AzureADB2COpenID";
- public static readonly string PolicyKey;
- }
- public partial class AzureADB2COptions
- {
- public AzureADB2COptions() { }
- public string[] AllSchemes { get { throw null; } }
- public string CallbackPath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string ClientId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string ClientSecret { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string CookieSchemeName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string DefaultPolicy { get { throw null; } }
- public string Domain { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string EditProfilePolicyId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string Instance { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string JwtBearerSchemeName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public string OpenIdConnectSchemeName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string ResetPasswordPolicyId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string SignedOutCallbackPath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string SignUpSignInPolicyId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- }
-}
-namespace Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Internal
-{
- [Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute]
- public partial class AccessDeniedModel : Microsoft.AspNetCore.Mvc.RazorPages.PageModel
- {
- public AccessDeniedModel() { }
- public void OnGet() { }
- }
- [Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute]
- [Microsoft.AspNetCore.Mvc.ResponseCacheAttribute(Duration=0, Location=Microsoft.AspNetCore.Mvc.ResponseCacheLocation.None, NoStore=true)]
- public partial class ErrorModel : Microsoft.AspNetCore.Mvc.RazorPages.PageModel
- {
- public ErrorModel() { }
- public string RequestId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public bool ShowRequestId { get { throw null; } }
- public void OnGet() { }
- }
- [Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute]
- public partial class SignedOutModel : Microsoft.AspNetCore.Mvc.RazorPages.PageModel
- {
- public SignedOutModel() { }
- public Microsoft.AspNetCore.Mvc.IActionResult OnGet() { throw null; }
- }
-}
diff --git a/src/Azure/AzureAppServices.HostingStartup/ref/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj b/src/Azure/AzureAppServices.HostingStartup/ref/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj
deleted file mode 100644
index 3984939846..0000000000
--- a/src/Azure/AzureAppServices.HostingStartup/ref/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- netcoreapp3.0
-
-
-
-
-
-
-
diff --git a/src/Azure/AzureAppServices.HostingStartup/ref/Microsoft.AspNetCore.AzureAppServices.HostingStartup.netcoreapp3.0.cs b/src/Azure/AzureAppServices.HostingStartup/ref/Microsoft.AspNetCore.AzureAppServices.HostingStartup.netcoreapp3.0.cs
deleted file mode 100644
index 5b449024e0..0000000000
--- a/src/Azure/AzureAppServices.HostingStartup/ref/Microsoft.AspNetCore.AzureAppServices.HostingStartup.netcoreapp3.0.cs
+++ /dev/null
@@ -1,11 +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.AzureAppServices.HostingStartup
-{
- public partial class AzureAppServicesHostingStartup : Microsoft.AspNetCore.Hosting.IHostingStartup
- {
- public AzureAppServicesHostingStartup() { }
- public void Configure(Microsoft.AspNetCore.Hosting.IWebHostBuilder builder) { }
- }
-}
diff --git a/src/Azure/AzureAppServicesIntegration/ref/Microsoft.AspNetCore.AzureAppServicesIntegration.csproj b/src/Azure/AzureAppServicesIntegration/ref/Microsoft.AspNetCore.AzureAppServicesIntegration.csproj
deleted file mode 100644
index 10dbbbeb46..0000000000
--- a/src/Azure/AzureAppServicesIntegration/ref/Microsoft.AspNetCore.AzureAppServicesIntegration.csproj
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- netcoreapp3.0
-
-
-
-
-
-
-
diff --git a/src/Azure/AzureAppServicesIntegration/ref/Microsoft.AspNetCore.AzureAppServicesIntegration.netcoreapp3.0.cs b/src/Azure/AzureAppServicesIntegration/ref/Microsoft.AspNetCore.AzureAppServicesIntegration.netcoreapp3.0.cs
deleted file mode 100644
index 55a333c151..0000000000
--- a/src/Azure/AzureAppServicesIntegration/ref/Microsoft.AspNetCore.AzureAppServicesIntegration.netcoreapp3.0.cs
+++ /dev/null
@@ -1,10 +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.Hosting
-{
- public static partial class AppServicesWebHostBuilderExtensions
- {
- public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseAzureAppServices(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder) { throw null; }
- }
-}
diff --git a/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.csproj b/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.csproj
index 8776ab9fef..8418940274 100644
--- a/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.csproj
+++ b/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.csproj
@@ -2,17 +2,15 @@
netstandard2.0;netcoreapp3.0
- false
-
-
-
+
+
-
-
+
+
diff --git a/src/Components/Blazor/Blazor/ref/Microsoft.AspNetCore.Blazor.csproj b/src/Components/Blazor/Blazor/ref/Microsoft.AspNetCore.Blazor.csproj
deleted file mode 100644
index d750edc189..0000000000
--- a/src/Components/Blazor/Blazor/ref/Microsoft.AspNetCore.Blazor.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- netstandard2.0
-
-
-
-
-
-
-
-
diff --git a/src/Components/Blazor/Blazor/ref/Microsoft.AspNetCore.Blazor.netstandard2.0.cs b/src/Components/Blazor/Blazor/ref/Microsoft.AspNetCore.Blazor.netstandard2.0.cs
deleted file mode 100644
index 375c6d09a6..0000000000
--- a/src/Components/Blazor/Blazor/ref/Microsoft.AspNetCore.Blazor.netstandard2.0.cs
+++ /dev/null
@@ -1,85 +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.Blazor
-{
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- public static partial class JSInteropMethods
- {
- [Microsoft.JSInterop.JSInvokableAttribute("NotifyLocationChanged")]
- public static void NotifyLocationChanged(string uri, bool isInterceptedLink) { }
- }
-}
-namespace Microsoft.AspNetCore.Blazor.Hosting
-{
- public static partial class BlazorWebAssemblyHost
- {
- public static Microsoft.AspNetCore.Blazor.Hosting.IWebAssemblyHostBuilder CreateDefaultBuilder() { throw null; }
- }
- public partial interface IWebAssemblyHost : System.IDisposable
- {
- System.IServiceProvider Services { get; }
- System.Threading.Tasks.Task StartAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
- System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
- }
- public partial interface IWebAssemblyHostBuilder
- {
- System.Collections.Generic.IDictionary
diff --git a/src/Components/Blazor/Build/test/Microsoft.AspNetCore.Blazor.Build.Tests.csproj b/src/Components/Blazor/Build/test/Microsoft.AspNetCore.Blazor.Build.Tests.csproj
index 0263c9f800..7128c42e32 100644
--- a/src/Components/Blazor/Build/test/Microsoft.AspNetCore.Blazor.Build.Tests.csproj
+++ b/src/Components/Blazor/Build/test/Microsoft.AspNetCore.Blazor.Build.Tests.csproj
@@ -5,6 +5,8 @@
$(DefaultItemExcludes);TestFiles\**\*
+
+ false
@@ -26,6 +28,8 @@
+
+
diff --git a/src/Components/Blazor/Http/ref/Microsoft.AspNetCore.Blazor.HttpClient.csproj b/src/Components/Blazor/Http/ref/Microsoft.AspNetCore.Blazor.HttpClient.csproj
deleted file mode 100644
index 8c5f6d9e13..0000000000
--- a/src/Components/Blazor/Http/ref/Microsoft.AspNetCore.Blazor.HttpClient.csproj
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- netstandard2.0
-
-
-
-
-
-
diff --git a/src/Components/Blazor/Http/ref/Microsoft.AspNetCore.Blazor.HttpClient.netstandard2.0.cs b/src/Components/Blazor/Http/ref/Microsoft.AspNetCore.Blazor.HttpClient.netstandard2.0.cs
deleted file mode 100644
index f6caefbe3e..0000000000
--- a/src/Components/Blazor/Http/ref/Microsoft.AspNetCore.Blazor.HttpClient.netstandard2.0.cs
+++ /dev/null
@@ -1,18 +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.Components
-{
- public static partial class HttpClientJsonExtensions
- {
- [System.Diagnostics.DebuggerStepThroughAttribute]
- public static System.Threading.Tasks.Task GetJsonAsync(this System.Net.Http.HttpClient httpClient, string requestUri) { throw null; }
- public static System.Threading.Tasks.Task PostJsonAsync(this System.Net.Http.HttpClient httpClient, string requestUri, object content) { throw null; }
- public static System.Threading.Tasks.Task PostJsonAsync(this System.Net.Http.HttpClient httpClient, string requestUri, object content) { throw null; }
- public static System.Threading.Tasks.Task PutJsonAsync(this System.Net.Http.HttpClient httpClient, string requestUri, object content) { throw null; }
- public static System.Threading.Tasks.Task PutJsonAsync(this System.Net.Http.HttpClient httpClient, string requestUri, object content) { throw null; }
- public static System.Threading.Tasks.Task SendJsonAsync(this System.Net.Http.HttpClient httpClient, System.Net.Http.HttpMethod method, string requestUri, object content) { throw null; }
- [System.Diagnostics.DebuggerStepThroughAttribute]
- public static System.Threading.Tasks.Task SendJsonAsync(this System.Net.Http.HttpClient httpClient, System.Net.Http.HttpMethod method, string requestUri, object content) { throw null; }
- }
-}
diff --git a/src/Components/Blazor/Server/ref/Microsoft.AspNetCore.Blazor.Server.csproj b/src/Components/Blazor/Server/ref/Microsoft.AspNetCore.Blazor.Server.csproj
deleted file mode 100644
index b72d6c201c..0000000000
--- a/src/Components/Blazor/Server/ref/Microsoft.AspNetCore.Blazor.Server.csproj
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
- netcoreapp3.0
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/Components/Blazor/Server/ref/Microsoft.AspNetCore.Blazor.Server.netcoreapp3.0.cs b/src/Components/Blazor/Server/ref/Microsoft.AspNetCore.Blazor.Server.netcoreapp3.0.cs
deleted file mode 100644
index 74cf8a6a8b..0000000000
--- a/src/Components/Blazor/Server/ref/Microsoft.AspNetCore.Blazor.Server.netcoreapp3.0.cs
+++ /dev/null
@@ -1,22 +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.Builder
-{
- public static partial class BlazorHostingApplicationBuilderExtensions
- {
- public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseClientSideBlazorFiles(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string clientAssemblyFilePath) { throw null; }
- public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseClientSideBlazorFiles(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) { throw null; }
- }
- public static partial class BlazorHostingEndpointRouteBuilderExtensions
- {
- public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapFallbackToClientSideBlazor(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string clientAssemblyFilePath, string filePath) { throw null; }
- public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapFallbackToClientSideBlazor(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string clientAssemblyFilePath, string pattern, string filePath) { throw null; }
- public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapFallbackToClientSideBlazor(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string filePath) { throw null; }
- public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapFallbackToClientSideBlazor(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, string filePath) { throw null; }
- }
- public static partial class BlazorMonoDebugProxyAppBuilderExtensions
- {
- public static void UseBlazorDebugging(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) { }
- }
-}
diff --git a/src/Components/Blazor/testassets/Directory.Build.props b/src/Components/Blazor/testassets/Directory.Build.props
deleted file mode 100644
index 938199f96e..0000000000
--- a/src/Components/Blazor/testassets/Directory.Build.props
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/Components/Components/ref/Directory.Build.props b/src/Components/Components/ref/Directory.Build.props
deleted file mode 100644
index 322f33d633..0000000000
--- a/src/Components/Components/ref/Directory.Build.props
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/src/Components/Components/ref/Microsoft.AspNetCore.Components.Manual.cs b/src/Components/Components/ref/Microsoft.AspNetCore.Components.Manual.cs
new file mode 100644
index 0000000000..8bf6b1a422
--- /dev/null
+++ b/src/Components/Components/ref/Microsoft.AspNetCore.Components.Manual.cs
@@ -0,0 +1,360 @@
+// 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.InteropServices;
+using Microsoft.AspNetCore.Components.Rendering;
+
+namespace Microsoft.AspNetCore.Components
+{
+ public readonly partial struct ElementReference
+ {
+ internal static Microsoft.AspNetCore.Components.ElementReference CreateWithUniqueId() { throw null; }
+ }
+ public abstract partial class NavigationManager
+ {
+ internal static string NormalizeBaseUri(string baseUri) { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct RenderHandle
+ {
+ private readonly Microsoft.AspNetCore.Components.RenderTree.Renderer _renderer;
+ private readonly int _componentId;
+ internal RenderHandle(Microsoft.AspNetCore.Components.RenderTree.Renderer renderer, int componentId) { throw null; }
+ public Microsoft.AspNetCore.Components.Dispatcher Dispatcher { get { throw null; } }
+ public bool IsInitialized { get { throw null; } }
+ public void Render(Microsoft.AspNetCore.Components.RenderFragment renderFragment) { }
+ }
+ internal partial class ComponentFactory
+ {
+ public static readonly Microsoft.AspNetCore.Components.ComponentFactory Instance;
+ public ComponentFactory() { }
+ public Microsoft.AspNetCore.Components.IComponent InstantiateComponent(System.IServiceProvider serviceProvider, System.Type componentType) { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct ParameterView
+ {
+ private readonly Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame[] _frames;
+ private readonly int _ownerIndex;
+ private readonly System.Collections.Generic.IReadOnlyList _cascadingParametersOrNull;
+ internal ParameterView(Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame[] frames, int ownerIndex) { throw null; }
+ public static Microsoft.AspNetCore.Components.ParameterView Empty { get { throw null; } }
+ internal void CaptureSnapshot(Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder builder) { }
+ internal bool DefinitelyEquals(Microsoft.AspNetCore.Components.ParameterView oldParameters) { throw null; }
+ public static Microsoft.AspNetCore.Components.ParameterView FromDictionary(System.Collections.Generic.IDictionary parameters) { throw null; }
+ public Microsoft.AspNetCore.Components.ParameterView.Enumerator GetEnumerator() { throw null; }
+ public TValue GetValueOrDefault(string parameterName) { throw null; }
+ public TValue GetValueOrDefault(string parameterName, TValue defaultValue) { throw null; }
+ public void SetParameterProperties(object target) { }
+ public System.Collections.Generic.IReadOnlyDictionary ToDictionary() { throw null; }
+ public bool TryGetValue(string parameterName, out TValue result) { throw null; }
+ internal Microsoft.AspNetCore.Components.ParameterView WithCascadingParameters(System.Collections.Generic.IReadOnlyList cascadingParameters) { throw null; }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public partial struct Enumerator
+ {
+ private object _dummy;
+ private int _dummyPrimitive;
+ internal Enumerator(Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame[] frames, int ownerIndex, System.Collections.Generic.IReadOnlyList cascadingParameters) { throw null; }
+ public Microsoft.AspNetCore.Components.ParameterValue Current { get { throw null; } }
+ public bool MoveNext() { throw null; }
+ }
+ }
+ internal static partial class RouteTableFactory
+ {
+ public static readonly System.Collections.Generic.IComparer RoutePrecedence;
+ internal static Microsoft.AspNetCore.Components.Routing.RouteTable Create(System.Collections.Generic.Dictionary templatesByHandler) { throw null; }
+ public static Microsoft.AspNetCore.Components.Routing.RouteTable Create(System.Collections.Generic.IEnumerable assemblies) { throw null; }
+ internal static Microsoft.AspNetCore.Components.Routing.RouteTable Create(System.Collections.Generic.IEnumerable componentTypes) { throw null; }
+ internal static int RouteComparison(Microsoft.AspNetCore.Components.Routing.RouteEntry x, Microsoft.AspNetCore.Components.Routing.RouteEntry y) { throw null; }
+ }
+ internal partial interface IEventCallback
+ {
+ bool HasDelegate { get; }
+ object UnpackForRenderTree();
+ }
+ public readonly partial struct EventCallback : Microsoft.AspNetCore.Components.IEventCallback
+ {
+ internal readonly MulticastDelegate Delegate;
+ internal readonly IHandleEvent Receiver;
+ internal bool RequiresExplicitReceiver { get { throw null; } }
+ object Microsoft.AspNetCore.Components.IEventCallback.UnpackForRenderTree() { throw null; }
+ public static readonly Microsoft.AspNetCore.Components.EventCallback Empty;
+ public static readonly Microsoft.AspNetCore.Components.EventCallbackFactory Factory;
+ public EventCallback(Microsoft.AspNetCore.Components.IHandleEvent receiver, System.MulticastDelegate @delegate) { throw null; }
+ public bool HasDelegate { get { throw null; } }
+ public System.Threading.Tasks.Task InvokeAsync(object arg) { throw null; }
+ }
+ public readonly partial struct EventCallback : Microsoft.AspNetCore.Components.IEventCallback
+ {
+ internal readonly MulticastDelegate Delegate;
+ internal readonly IHandleEvent Receiver;
+ internal bool RequiresExplicitReceiver { get { throw null; } }
+ internal Microsoft.AspNetCore.Components.EventCallback AsUntyped() { throw null; }
+ object Microsoft.AspNetCore.Components.IEventCallback.UnpackForRenderTree() { throw null; }
+ public static readonly Microsoft.AspNetCore.Components.EventCallback Empty;
+ public EventCallback(Microsoft.AspNetCore.Components.IHandleEvent receiver, System.MulticastDelegate @delegate) { throw null; }
+ public bool HasDelegate { get { throw null; } }
+ public System.Threading.Tasks.Task InvokeAsync(TValue arg) { throw null; }
+ }
+ internal partial interface ICascadingValueComponent
+ {
+ object CurrentValue { get; }
+ bool CurrentValueIsFixed { get; }
+ bool CanSupplyValue(System.Type valueType, string valueName);
+ void Subscribe(Microsoft.AspNetCore.Components.Rendering.ComponentState subscriber);
+ void Unsubscribe(Microsoft.AspNetCore.Components.Rendering.ComponentState subscriber);
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ internal readonly partial struct CascadingParameterState
+ {
+ public CascadingParameterState(string localValueName, Microsoft.AspNetCore.Components.ICascadingValueComponent valueSupplier) { throw null; }
+ public string LocalValueName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Components.ICascadingValueComponent ValueSupplier { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public static System.Collections.Generic.IReadOnlyList FindCascadingParameters(Microsoft.AspNetCore.Components.Rendering.ComponentState componentState) { throw null; }
+ }
+}
+namespace Microsoft.AspNetCore.Components.RenderTree
+{
+ public readonly partial struct RenderTreeEdit
+ {
+ internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit PermutationListEnd() { throw null; }
+ internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit PermutationListEntry(int fromSiblingIndex, int toSiblingIndex) { throw null; }
+ internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit PrependFrame(int siblingIndex, int referenceFrameIndex) { throw null; }
+ internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit RemoveAttribute(int siblingIndex, string name) { throw null; }
+ internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit RemoveFrame(int siblingIndex) { throw null; }
+ internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit SetAttribute(int siblingIndex, int referenceFrameIndex) { throw null; }
+ internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit StepIn(int siblingIndex) { throw null; }
+ internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit StepOut() { throw null; }
+ internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit UpdateMarkup(int siblingIndex, int referenceFrameIndex) { throw null; }
+ internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit UpdateText(int siblingIndex, int referenceFrameIndex) { throw null; }
+ }
+ public readonly partial struct RenderBatch
+ {
+ internal RenderBatch(Microsoft.AspNetCore.Components.RenderTree.ArrayRange updatedComponents, Microsoft.AspNetCore.Components.RenderTree.ArrayRange referenceFrames, Microsoft.AspNetCore.Components.RenderTree.ArrayRange disposedComponentIDs, Microsoft.AspNetCore.Components.RenderTree.ArrayRange disposedEventHandlerIDs) { throw null; }
+ }
+ internal static partial class ArrayBuilderExtensions
+ {
+ public static Microsoft.AspNetCore.Components.RenderTree.ArrayRange ToRange(this Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder builder) { throw null; }
+ public static Microsoft.AspNetCore.Components.RenderTree.ArrayBuilderSegment ToSegment(this Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder builder, int fromIndexInclusive, int toIndexExclusive) { throw null; }
+ }
+ internal static partial class RenderTreeDiffBuilder
+ {
+ public const int SystemAddedAttributeSequenceNumber = -2147483648;
+ public static Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiff ComputeDiff(Microsoft.AspNetCore.Components.RenderTree.Renderer renderer, Microsoft.AspNetCore.Components.Rendering.RenderBatchBuilder batchBuilder, int componentId, Microsoft.AspNetCore.Components.RenderTree.ArrayRange oldTree, Microsoft.AspNetCore.Components.RenderTree.ArrayRange newTree) { throw null; }
+ public static void DisposeFrames(Microsoft.AspNetCore.Components.Rendering.RenderBatchBuilder batchBuilder, Microsoft.AspNetCore.Components.RenderTree.ArrayRange frames) { }
+ }
+ internal partial class ArrayBuilder : System.IDisposable
+ {
+ public ArrayBuilder(int minCapacity = 32, System.Buffers.ArrayPool arrayPool = null) { }
+ public T[] Buffer { get { throw null; } }
+ public int Count { get { throw null; } }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public int Append(in T item) { throw null; }
+ internal int Append(T[] source, int startIndex, int length) { throw null; }
+ public void Clear() { }
+ public void Dispose() { }
+ public void InsertExpensive(int index, T value) { }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public void Overwrite(int index, in T value) { }
+ public void RemoveLast() { }
+ }
+ internal partial class StackObjectPool where T : class
+ {
+ public StackObjectPool(int maxPreservedItems, System.Func instanceFactory) { }
+ public T Get() { throw null; }
+ public void Return(T instance) { }
+ }
+ public readonly partial struct RenderTreeDiff
+ {
+ internal RenderTreeDiff(int componentId, Microsoft.AspNetCore.Components.RenderTree.ArrayBuilderSegment entries) { throw null; }
+ }
+
+ // https://github.com/dotnet/arcade/pull/2033
+ [StructLayout(LayoutKind.Explicit, Pack = 4)]
+ public readonly partial struct RenderTreeFrame
+ {
+ [FieldOffset(0)] public readonly int Sequence;
+
+ [FieldOffset(4)] public readonly RenderTreeFrameType FrameType;
+
+ [FieldOffset(8)] public readonly int ElementSubtreeLength;
+
+ [FieldOffset(16)] public readonly string ElementName;
+
+ [FieldOffset(24)] public readonly object ElementKey;
+
+ [FieldOffset(16)] public readonly string TextContent;
+
+ [FieldOffset(8)] public readonly ulong AttributeEventHandlerId;
+
+ [FieldOffset(16)] public readonly string AttributeName;
+
+ [FieldOffset(24)] public readonly object AttributeValue;
+
+ [FieldOffset(32)] public readonly string AttributeEventUpdatesAttributeName;
+
+ [FieldOffset(8)] public readonly int ComponentSubtreeLength;
+
+ [FieldOffset(12)] public readonly int ComponentId;
+
+ [FieldOffset(16)] public readonly Type ComponentType;
+
+ [FieldOffset(32)] public readonly object ComponentKey;
+
+ public IComponent Component => null;
+
+ [FieldOffset(8)] public readonly int RegionSubtreeLength;
+
+ [FieldOffset(16)] public readonly string ElementReferenceCaptureId;
+
+ [FieldOffset(24)] public readonly Action ElementReferenceCaptureAction;
+
+ [FieldOffset(8)] public readonly int ComponentReferenceCaptureParentFrameIndex;
+
+ [FieldOffset(16)] public readonly Action ComponentReferenceCaptureAction;
+
+ [FieldOffset(16)] public readonly string MarkupContent;
+
+ public override string ToString() => null;
+
+ internal static RenderTreeFrame Element(int sequence, string elementName) { throw null; }
+ internal static RenderTreeFrame Text(int sequence, string textContent) { throw null; }
+ internal static RenderTreeFrame Markup(int sequence, string markupContent) { throw null; }
+ internal static RenderTreeFrame Attribute(int sequence, string name, object value) { throw null; }
+ internal static RenderTreeFrame ChildComponent(int sequence, Type componentType) { throw null; }
+ internal static RenderTreeFrame PlaceholderChildComponentWithSubtreeLength(int subtreeLength) { throw null; }
+ internal static RenderTreeFrame Region(int sequence) { throw null; }
+ internal static RenderTreeFrame ElementReferenceCapture(int sequence, Action elementReferenceCaptureAction) { throw null; }
+ internal static RenderTreeFrame ComponentReferenceCapture(int sequence, Action componentReferenceCaptureAction, int parentFrameIndex) { throw null; }
+ internal RenderTreeFrame WithElementSubtreeLength(int elementSubtreeLength) { throw null; }
+ internal RenderTreeFrame WithComponentSubtreeLength(int componentSubtreeLength) { throw null; }
+ internal RenderTreeFrame WithAttributeSequence(int sequence) { throw null; }
+ internal RenderTreeFrame WithComponent(ComponentState componentState) { throw null; }
+ internal RenderTreeFrame WithAttributeEventHandlerId(ulong eventHandlerId) { throw null; }
+ internal RenderTreeFrame WithAttributeValue(object attributeValue) { throw null; }
+ internal RenderTreeFrame WithAttributeEventUpdatesAttributeName(string attributeUpdatesAttributeName) { throw null; }
+ internal RenderTreeFrame WithRegionSubtreeLength(int regionSubtreeLength) { throw null; }
+ internal RenderTreeFrame WithElementReferenceCaptureId(string elementReferenceCaptureId) { throw null; }
+ internal RenderTreeFrame WithElementKey(object elementKey) { throw null; }
+ internal RenderTreeFrame WithComponentKey(object componentKey) { throw null; }
+ }
+}
+namespace Microsoft.AspNetCore.Components.Rendering
+{
+ [System.Diagnostics.DebuggerDisplayAttribute("{_state,nq}")]
+ internal partial class RendererSynchronizationContext : System.Threading.SynchronizationContext
+ {
+ public RendererSynchronizationContext() { }
+ public event System.UnhandledExceptionEventHandler UnhandledException { add { } remove { } }
+ public override System.Threading.SynchronizationContext CreateCopy() { throw null; }
+ public System.Threading.Tasks.Task InvokeAsync(System.Action action) { throw null; }
+ public System.Threading.Tasks.Task InvokeAsync(System.Func asyncAction) { throw null; }
+ public System.Threading.Tasks.Task InvokeAsync(System.Func> asyncFunction) { throw null; }
+ public System.Threading.Tasks.Task InvokeAsync(System.Func function) { throw null; }
+ public override void Post(System.Threading.SendOrPostCallback d, object state) { }
+ public override void Send(System.Threading.SendOrPostCallback d, object state) { }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ internal readonly partial struct RenderQueueEntry
+ {
+ public readonly ComponentState ComponentState;
+ public readonly RenderFragment RenderFragment;
+ public RenderQueueEntry(Microsoft.AspNetCore.Components.Rendering.ComponentState componentState, Microsoft.AspNetCore.Components.RenderFragment renderFragment) { throw null; }
+ }
+ internal partial class RenderBatchBuilder : System.IDisposable
+ {
+ public RenderBatchBuilder() { }
+ public System.Collections.Generic.Dictionary AttributeDiffSet { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public System.Collections.Generic.Queue ComponentDisposalQueue { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public System.Collections.Generic.Queue ComponentRenderQueue { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder DisposedComponentIds { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder DisposedEventHandlerIds { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder EditsBuffer { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ internal Microsoft.AspNetCore.Components.RenderTree.StackObjectPool> KeyedItemInfoDictionaryPool { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder ReferenceFramesBuffer { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder UpdatedComponentDiffs { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public void ClearStateForCurrentBatch() { }
+ public void Dispose() { }
+ public Microsoft.AspNetCore.Components.RenderTree.RenderBatch ToBatch() { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ internal readonly partial struct KeyedItemInfo
+ {
+ public readonly int OldIndex;
+ public readonly int NewIndex;
+ public readonly int OldSiblingIndex;
+ public readonly int NewSiblingIndex;
+ public KeyedItemInfo(int oldIndex, int newIndex) { throw null; }
+ public Microsoft.AspNetCore.Components.Rendering.KeyedItemInfo WithNewSiblingIndex(int newSiblingIndex) { throw null; }
+ public Microsoft.AspNetCore.Components.Rendering.KeyedItemInfo WithOldSiblingIndex(int oldSiblingIndex) { throw null; }
+ }
+ internal partial class ComponentState : System.IDisposable
+ {
+ public ComponentState(Microsoft.AspNetCore.Components.RenderTree.Renderer renderer, int componentId, Microsoft.AspNetCore.Components.IComponent component, Microsoft.AspNetCore.Components.Rendering.ComponentState parentComponentState) { }
+ public Microsoft.AspNetCore.Components.IComponent Component { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public int ComponentId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder CurrentRenderTree { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Components.Rendering.ComponentState ParentComponentState { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public void Dispose() { }
+ public void NotifyCascadingValueChanged() { }
+ public System.Threading.Tasks.Task NotifyRenderCompletedAsync() { throw null; }
+ public void RenderIntoBatch(Microsoft.AspNetCore.Components.Rendering.RenderBatchBuilder batchBuilder, Microsoft.AspNetCore.Components.RenderFragment renderFragment) { }
+ public void SetDirectParameters(Microsoft.AspNetCore.Components.ParameterView parameters) { }
+ public bool TryDisposeInBatch(Microsoft.AspNetCore.Components.Rendering.RenderBatchBuilder batchBuilder, out System.Exception exception) { throw null; }
+ }
+ internal partial class RenderTreeUpdater
+ {
+ public RenderTreeUpdater() { }
+ public static void UpdateToMatchClientState(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder renderTreeBuilder, ulong eventHandlerId, object newFieldValue) { }
+ }
+}
+namespace Microsoft.AspNetCore.Components.Routing
+{
+ internal partial class TemplateParser
+ {
+ public static readonly char[] InvalidParameterNameCharacters;
+ public TemplateParser() { }
+ internal static Microsoft.AspNetCore.Components.Routing.RouteTemplate ParseTemplate(string template) { throw null; }
+ }
+ internal partial class RouteContext
+ {
+ public RouteContext(string path) { }
+ public System.Type Handler { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public System.Collections.Generic.IReadOnlyDictionary Parameters { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public string[] Segments { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ }
+ [System.Diagnostics.DebuggerDisplayAttribute("Handler = {Handler}, Template = {Template}")]
+ internal partial class RouteEntry
+ {
+ public RouteEntry(Microsoft.AspNetCore.Components.Routing.RouteTemplate template, System.Type handler, string[] unusedRouteParameterNames) { }
+ public System.Type Handler { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Components.Routing.RouteTemplate Template { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public string[] UnusedRouteParameterNames { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ internal void Match(Microsoft.AspNetCore.Components.Routing.RouteContext context) { }
+ }
+ internal partial class RouteTable
+ {
+ public RouteTable(Microsoft.AspNetCore.Components.Routing.RouteEntry[] routes) { }
+ public Microsoft.AspNetCore.Components.Routing.RouteEntry[] Routes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ internal void Route(Microsoft.AspNetCore.Components.Routing.RouteContext routeContext) { }
+ }
+ internal abstract partial class RouteConstraint
+ {
+ protected RouteConstraint() { }
+ public abstract bool Match(string pathSegment, out object convertedValue);
+ public static Microsoft.AspNetCore.Components.Routing.RouteConstraint Parse(string template, string segment, string constraint) { throw null; }
+ }
+ internal partial class TemplateSegment
+ {
+ public TemplateSegment(string template, string segment, bool isParameter) { }
+ public Microsoft.AspNetCore.Components.Routing.RouteConstraint[] Constraints { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public bool IsParameter { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public string Value { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public bool Match(string pathSegment, out object matchedParameterValue) { throw null; }
+ }
+ [System.Diagnostics.DebuggerDisplayAttribute("{TemplateText}")]
+ internal partial class RouteTemplate
+ {
+ public RouteTemplate(string templateText, Microsoft.AspNetCore.Components.Routing.TemplateSegment[] segments) { }
+ public Microsoft.AspNetCore.Components.Routing.TemplateSegment[] Segments { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public string TemplateText { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ }
+}
diff --git a/src/Components/Components/ref/Microsoft.AspNetCore.Components.csproj b/src/Components/Components/ref/Microsoft.AspNetCore.Components.csproj
index 943bf67827..b0abd5623e 100644
--- a/src/Components/Components/ref/Microsoft.AspNetCore.Components.csproj
+++ b/src/Components/Components/ref/Microsoft.AspNetCore.Components.csproj
@@ -2,20 +2,22 @@
netstandard2.0;netcoreapp3.0
- false
-
-
-
-
-
+
+
+
+
+
+
-
-
-
+
+
+
+
+
diff --git a/src/Components/Components/ref/Microsoft.AspNetCore.Components.netcoreapp3.0.cs b/src/Components/Components/ref/Microsoft.AspNetCore.Components.netcoreapp3.0.cs
index 72adf28aa7..f59d5747ef 100644
--- a/src/Components/Components/ref/Microsoft.AspNetCore.Components.netcoreapp3.0.cs
+++ b/src/Components/Components/ref/Microsoft.AspNetCore.Components.netcoreapp3.0.cs
@@ -122,16 +122,6 @@ namespace Microsoft.AspNetCore.Components
public ElementReference(string id) { throw null; }
public string Id { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
}
- [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public readonly partial struct EventCallback
- {
- private readonly object _dummy;
- public static readonly Microsoft.AspNetCore.Components.EventCallback Empty;
- public static readonly Microsoft.AspNetCore.Components.EventCallbackFactory Factory;
- public EventCallback(Microsoft.AspNetCore.Components.IHandleEvent receiver, System.MulticastDelegate @delegate) { throw null; }
- public bool HasDelegate { get { throw null; } }
- public System.Threading.Tasks.Task InvokeAsync(object arg) { throw null; }
- }
public sealed partial class EventCallbackFactory
{
public EventCallbackFactory() { }
@@ -194,15 +184,6 @@ namespace Microsoft.AspNetCore.Components
public EventCallbackWorkItem(System.MulticastDelegate @delegate) { throw null; }
public System.Threading.Tasks.Task InvokeAsync(object arg) { throw null; }
}
- [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public readonly partial struct EventCallback
- {
- private readonly object _dummy;
- public static readonly Microsoft.AspNetCore.Components.EventCallback Empty;
- public EventCallback(Microsoft.AspNetCore.Components.IHandleEvent receiver, System.MulticastDelegate @delegate) { throw null; }
- public bool HasDelegate { get { throw null; } }
- public System.Threading.Tasks.Task InvokeAsync(TValue arg) { throw null; }
- }
[System.AttributeUsageAttribute(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed partial class EventHandlerAttribute : System.Attribute
{
@@ -310,39 +291,8 @@ namespace Microsoft.AspNetCore.Components
public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
public object Value { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
}
- [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public readonly partial struct ParameterView
- {
- private readonly object _dummy;
- private readonly int _dummyPrimitive;
- public static Microsoft.AspNetCore.Components.ParameterView Empty { get { throw null; } }
- public static Microsoft.AspNetCore.Components.ParameterView FromDictionary(System.Collections.Generic.IDictionary parameters) { throw null; }
- public Microsoft.AspNetCore.Components.ParameterView.Enumerator GetEnumerator() { throw null; }
- public TValue GetValueOrDefault(string parameterName) { throw null; }
- public TValue GetValueOrDefault(string parameterName, TValue defaultValue) { throw null; }
- public void SetParameterProperties(object target) { }
- public System.Collections.Generic.IReadOnlyDictionary ToDictionary() { throw null; }
- public bool TryGetValue(string parameterName, out TValue result) { throw null; }
- [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public partial struct Enumerator
- {
- private object _dummy;
- private int _dummyPrimitive;
- public Microsoft.AspNetCore.Components.ParameterValue Current { get { throw null; } }
- public bool MoveNext() { throw null; }
- }
- }
public delegate void RenderFragment(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder);
public delegate Microsoft.AspNetCore.Components.RenderFragment RenderFragment(TValue value);
- [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public readonly partial struct RenderHandle
- {
- private readonly object _dummy;
- private readonly int _dummyPrimitive;
- public Microsoft.AspNetCore.Components.Dispatcher Dispatcher { get { throw null; } }
- public bool IsInitialized { get { throw null; } }
- public void Render(Microsoft.AspNetCore.Components.RenderFragment renderFragment) { }
- }
[System.AttributeUsageAttribute(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
public sealed partial class RouteAttribute : System.Attribute
{
diff --git a/src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.Manual.cs b/src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.Manual.cs
deleted file mode 100644
index 0f6b699935..0000000000
--- a/src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.Manual.cs
+++ /dev/null
@@ -1,58 +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.
-
-using System;
-using System.Runtime.InteropServices;
-using Microsoft.AspNetCore.Components.Rendering;
-
-namespace Microsoft.AspNetCore.Components.RenderTree
-{
- // https://github.com/dotnet/arcade/pull/2033
- [StructLayout(LayoutKind.Explicit, Pack = 4)]
- public readonly partial struct RenderTreeFrame
- {
- [FieldOffset(0)] public readonly int Sequence;
-
- [FieldOffset(4)] public readonly RenderTreeFrameType FrameType;
-
- [FieldOffset(8)] public readonly int ElementSubtreeLength;
-
- [FieldOffset(16)] public readonly string ElementName;
-
- [FieldOffset(24)] public readonly object ElementKey;
-
- [FieldOffset(16)] public readonly string TextContent;
-
- [FieldOffset(8)] public readonly ulong AttributeEventHandlerId;
-
- [FieldOffset(16)] public readonly string AttributeName;
-
- [FieldOffset(24)] public readonly object AttributeValue;
-
- [FieldOffset(32)] public readonly string AttributeEventUpdatesAttributeName;
-
- [FieldOffset(8)] public readonly int ComponentSubtreeLength;
-
- [FieldOffset(12)] public readonly int ComponentId;
-
- [FieldOffset(16)] public readonly Type ComponentType;
-
- [FieldOffset(32)] public readonly object ComponentKey;
-
- public IComponent Component => null;
-
- [FieldOffset(8)] public readonly int RegionSubtreeLength;
-
- [FieldOffset(16)] public readonly string ElementReferenceCaptureId;
-
- [FieldOffset(24)] public readonly Action ElementReferenceCaptureAction;
-
- [FieldOffset(8)] public readonly int ComponentReferenceCaptureParentFrameIndex;
-
- [FieldOffset(16)] public readonly Action ComponentReferenceCaptureAction;
-
- [FieldOffset(16)] public readonly string MarkupContent;
-
- public override string ToString() => null;
- }
-}
diff --git a/src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.cs b/src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.cs
index 72adf28aa7..f59d5747ef 100644
--- a/src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.cs
+++ b/src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.cs
@@ -122,16 +122,6 @@ namespace Microsoft.AspNetCore.Components
public ElementReference(string id) { throw null; }
public string Id { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
}
- [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public readonly partial struct EventCallback
- {
- private readonly object _dummy;
- public static readonly Microsoft.AspNetCore.Components.EventCallback Empty;
- public static readonly Microsoft.AspNetCore.Components.EventCallbackFactory Factory;
- public EventCallback(Microsoft.AspNetCore.Components.IHandleEvent receiver, System.MulticastDelegate @delegate) { throw null; }
- public bool HasDelegate { get { throw null; } }
- public System.Threading.Tasks.Task InvokeAsync(object arg) { throw null; }
- }
public sealed partial class EventCallbackFactory
{
public EventCallbackFactory() { }
@@ -194,15 +184,6 @@ namespace Microsoft.AspNetCore.Components
public EventCallbackWorkItem(System.MulticastDelegate @delegate) { throw null; }
public System.Threading.Tasks.Task InvokeAsync(object arg) { throw null; }
}
- [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public readonly partial struct EventCallback
- {
- private readonly object _dummy;
- public static readonly Microsoft.AspNetCore.Components.EventCallback Empty;
- public EventCallback(Microsoft.AspNetCore.Components.IHandleEvent receiver, System.MulticastDelegate @delegate) { throw null; }
- public bool HasDelegate { get { throw null; } }
- public System.Threading.Tasks.Task InvokeAsync(TValue arg) { throw null; }
- }
[System.AttributeUsageAttribute(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed partial class EventHandlerAttribute : System.Attribute
{
@@ -310,39 +291,8 @@ namespace Microsoft.AspNetCore.Components
public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
public object Value { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
}
- [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public readonly partial struct ParameterView
- {
- private readonly object _dummy;
- private readonly int _dummyPrimitive;
- public static Microsoft.AspNetCore.Components.ParameterView Empty { get { throw null; } }
- public static Microsoft.AspNetCore.Components.ParameterView FromDictionary(System.Collections.Generic.IDictionary parameters) { throw null; }
- public Microsoft.AspNetCore.Components.ParameterView.Enumerator GetEnumerator() { throw null; }
- public TValue GetValueOrDefault(string parameterName) { throw null; }
- public TValue GetValueOrDefault(string parameterName, TValue defaultValue) { throw null; }
- public void SetParameterProperties(object target) { }
- public System.Collections.Generic.IReadOnlyDictionary ToDictionary() { throw null; }
- public bool TryGetValue(string parameterName, out TValue result) { throw null; }
- [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public partial struct Enumerator
- {
- private object _dummy;
- private int _dummyPrimitive;
- public Microsoft.AspNetCore.Components.ParameterValue Current { get { throw null; } }
- public bool MoveNext() { throw null; }
- }
- }
public delegate void RenderFragment(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder);
public delegate Microsoft.AspNetCore.Components.RenderFragment RenderFragment(TValue value);
- [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public readonly partial struct RenderHandle
- {
- private readonly object _dummy;
- private readonly int _dummyPrimitive;
- public Microsoft.AspNetCore.Components.Dispatcher Dispatcher { get { throw null; } }
- public bool IsInitialized { get { throw null; } }
- public void Render(Microsoft.AspNetCore.Components.RenderFragment renderFragment) { }
- }
[System.AttributeUsageAttribute(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
public sealed partial class RouteAttribute : System.Attribute
{
diff --git a/src/Components/Forms/ref/Microsoft.AspNetCore.Components.Forms.csproj b/src/Components/Forms/ref/Microsoft.AspNetCore.Components.Forms.csproj
index b3fe863ead..d38782eb70 100644
--- a/src/Components/Forms/ref/Microsoft.AspNetCore.Components.Forms.csproj
+++ b/src/Components/Forms/ref/Microsoft.AspNetCore.Components.Forms.csproj
@@ -2,16 +2,14 @@
netstandard2.0;netcoreapp3.0
- false
-
-
-
+
+
-
+
diff --git a/src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.Manual.cs b/src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.Manual.cs
new file mode 100644
index 0000000000..9e86855bb6
--- /dev/null
+++ b/src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.Manual.cs
@@ -0,0 +1,298 @@
+// 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.Components
+{
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ internal partial struct ServerComponent
+ {
+ public ServerComponent(int sequence, string assemblyName, string typeName, System.Guid invocationId) { throw null; }
+ public string AssemblyName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public System.Guid InvocationId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public int Sequence { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public string TypeName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ }
+ internal static partial class ServerComponentSerializationSettings
+ {
+ public static readonly System.TimeSpan DataExpiration;
+ public const string DataProtectionProviderPurpose = "Microsoft.AspNetCore.Components.ComponentDescriptorSerializer,V1";
+ public static readonly System.Text.Json.JsonSerializerOptions JsonSerializationOptions;
+ }
+ internal sealed partial class ElementReferenceJsonConverter : System.Text.Json.Serialization.JsonConverter
+ {
+ public ElementReferenceJsonConverter() { }
+ public override Microsoft.AspNetCore.Components.ElementReference Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { throw null; }
+ public override void Write(System.Text.Json.Utf8JsonWriter writer, Microsoft.AspNetCore.Components.ElementReference value, System.Text.Json.JsonSerializerOptions options) { }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ internal partial struct ServerComponentMarker
+ {
+ public string Descriptor { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public string PrerenderId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public int? Sequence { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public string Type { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public Microsoft.AspNetCore.Components.ServerComponentMarker GetEndRecord() { throw null; }
+ public static Microsoft.AspNetCore.Components.ServerComponentMarker NonPrerendered(int sequence, string descriptor) { throw null; }
+ public static Microsoft.AspNetCore.Components.ServerComponentMarker Prerendered(int sequence, string descriptor) { throw null; }
+ }
+ internal partial class ServerComponentTypeCache
+ {
+ public ServerComponentTypeCache() { }
+ public System.Type GetRootComponent(string assembly, string type) { throw null; }
+ }
+}
+namespace Microsoft.AspNetCore.Components.Server
+{
+ internal partial class CircuitDisconnectMiddleware
+ {
+ public CircuitDisconnectMiddleware(Microsoft.Extensions.Logging.ILogger logger, Microsoft.AspNetCore.Components.Server.Circuits.CircuitRegistry registry, Microsoft.AspNetCore.Components.Server.Circuits.CircuitIdFactory circuitIdFactory, Microsoft.AspNetCore.Http.RequestDelegate next) { }
+ public Microsoft.AspNetCore.Components.Server.Circuits.CircuitIdFactory CircuitIdFactory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.Extensions.Logging.ILogger Logger { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Http.RequestDelegate Next { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Components.Server.Circuits.CircuitRegistry Registry { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) { throw null; }
+ }
+ internal partial class ServerComponentDeserializer
+ {
+ public ServerComponentDeserializer(Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtectionProvider, Microsoft.Extensions.Logging.ILogger logger, Microsoft.AspNetCore.Components.ServerComponentTypeCache rootComponentTypeCache) { }
+ public bool TryDeserializeComponentDescriptorCollection(string serializedComponentRecords, out System.Collections.Generic.List descriptors) { throw null; }
+ }
+ internal partial class ComponentDescriptor
+ {
+ public ComponentDescriptor() { }
+ public System.Type ComponentType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public int Sequence { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public void Deconstruct(out System.Type componentType, out int sequence) { throw null; }
+ }
+ internal sealed partial class ComponentHub : Microsoft.AspNetCore.SignalR.Hub
+ {
+ public ComponentHub(Microsoft.AspNetCore.Components.Server.ServerComponentDeserializer serializer, Microsoft.AspNetCore.Components.Server.Circuits.CircuitFactory circuitFactory, Microsoft.AspNetCore.Components.Server.Circuits.CircuitIdFactory circuitIdFactory, Microsoft.AspNetCore.Components.Server.Circuits.CircuitRegistry circuitRegistry, Microsoft.Extensions.Logging.ILogger logger) { }
+ public static Microsoft.AspNetCore.Http.PathString DefaultPath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.ValueTask BeginInvokeDotNetFromJS(string callId, string assemblyName, string methodIdentifier, long dotNetObjectId, string argsJson) { throw null; }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.ValueTask ConnectCircuit(string circuitIdSecret) { throw null; }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.ValueTask DispatchBrowserEvent(string eventDescriptor, string eventArgs) { throw null; }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.ValueTask EndInvokeJSFromDotNet(long asyncHandle, bool succeeded, string arguments) { throw null; }
+ public override System.Threading.Tasks.Task OnDisconnectedAsync(System.Exception exception) { throw null; }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.ValueTask OnLocationChanged(string uri, bool intercepted) { throw null; }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.ValueTask OnRenderCompleted(long renderId, string errorMessageOrNull) { throw null; }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.ValueTask StartCircuit(string baseUri, string uri, string serializedComponentRecords) { throw null; }
+ }
+}
+namespace Microsoft.AspNetCore.Components.Server.BlazorPack
+{
+ internal sealed partial class BlazorPackHubProtocol : Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol
+ {
+ internal const string ProtocolName = "blazorpack";
+ public BlazorPackHubProtocol() { }
+ public string Name { get { throw null; } }
+ public Microsoft.AspNetCore.Connections.TransferFormat TransferFormat { get { throw null; } }
+ public int Version { get { throw null; } }
+ public System.ReadOnlyMemory GetMessageBytes(Microsoft.AspNetCore.SignalR.Protocol.HubMessage message) { throw null; }
+ public bool IsVersionSupported(int version) { throw null; }
+ public bool TryParseMessage(ref System.Buffers.ReadOnlySequence input, Microsoft.AspNetCore.SignalR.IInvocationBinder binder, out Microsoft.AspNetCore.SignalR.Protocol.HubMessage message) { throw null; }
+ public void WriteMessage(Microsoft.AspNetCore.SignalR.Protocol.HubMessage message, System.Buffers.IBufferWriter output) { }
+ }
+}
+namespace Microsoft.AspNetCore.Components.Server.Circuits
+{
+ internal partial class CircuitFactory
+ {
+ public CircuitFactory(Microsoft.Extensions.DependencyInjection.IServiceScopeFactory scopeFactory, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Components.Server.Circuits.CircuitIdFactory circuitIdFactory, Microsoft.Extensions.Options.IOptions options) { }
+ public Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost CreateCircuitHost(System.Collections.Generic.IReadOnlyList components, Microsoft.AspNetCore.Components.Server.Circuits.CircuitClientProxy client, string baseUri, string uri, System.Security.Claims.ClaimsPrincipal user) { throw null; }
+ }
+ internal partial class RenderBatchWriter : System.IDisposable
+ {
+ public RenderBatchWriter(System.IO.Stream output, bool leaveOpen) { }
+ public void Dispose() { }
+ public void Write(in Microsoft.AspNetCore.Components.RenderTree.RenderBatch renderBatch) { }
+ }
+ internal partial class CircuitRegistry
+ {
+ public CircuitRegistry(Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Logging.ILogger logger, Microsoft.AspNetCore.Components.Server.Circuits.CircuitIdFactory CircuitHostFactory) { }
+ internal System.Collections.Concurrent.ConcurrentDictionary ConnectedCircuits { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ internal Microsoft.Extensions.Caching.Memory.MemoryCache DisconnectedCircuits { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public virtual System.Threading.Tasks.Task ConnectAsync(Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId, Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string connectionId, System.Threading.CancellationToken cancellationToken) { throw null; }
+ protected virtual (Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost circuitHost, bool previouslyConnected) ConnectCore(Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId, Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string connectionId) { throw null; }
+ public virtual System.Threading.Tasks.Task DisconnectAsync(Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost circuitHost, string connectionId) { throw null; }
+ protected virtual bool DisconnectCore(Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost circuitHost, string connectionId) { throw null; }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ protected virtual void OnEntryEvicted(object key, object value, Microsoft.Extensions.Caching.Memory.EvictionReason reason, object state) { }
+ public void Register(Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost circuitHost) { }
+ public void RegisterDisconnectedCircuit(Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost circuitHost) { }
+ public System.Threading.Tasks.ValueTask TerminateAsync(Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId) { throw null; }
+ }
+ internal partial class CircuitHandle
+ {
+ public CircuitHandle() { }
+ public Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost CircuitHost { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ }
+ internal partial class RemoteRenderer : Microsoft.AspNetCore.Components.RenderTree.Renderer
+ {
+ internal readonly System.Collections.Concurrent.ConcurrentQueue _unacknowledgedRenderBatches;
+ public RemoteRenderer(System.IServiceProvider serviceProvider, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Components.Server.CircuitOptions options, Microsoft.AspNetCore.Components.Server.Circuits.CircuitClientProxy client, Microsoft.Extensions.Logging.ILogger logger) : base (default(System.IServiceProvider), default(Microsoft.Extensions.Logging.ILoggerFactory)) { }
+ public override Microsoft.AspNetCore.Components.Dispatcher Dispatcher { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public event System.EventHandler UnhandledException { add { } remove { } }
+ public System.Threading.Tasks.Task AddComponentAsync(System.Type componentType, string domElementSelector) { throw null; }
+ protected override void Dispose(bool disposing) { }
+ protected override void HandleException(System.Exception exception) { }
+ public System.Threading.Tasks.Task OnRenderCompletedAsync(long incomingBatchId, string errorMessageOrNull) { throw null; }
+ public System.Threading.Tasks.Task ProcessBufferedRenderBatches() { throw null; }
+ protected override void ProcessPendingRender() { }
+ protected override System.Threading.Tasks.Task UpdateDisplayAsync(in Microsoft.AspNetCore.Components.RenderTree.RenderBatch batch) { throw null; }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ internal readonly partial struct UnacknowledgedRenderBatch
+ {
+ public UnacknowledgedRenderBatch(long batchId, Microsoft.AspNetCore.Components.Server.Circuits.ArrayBuilder data, System.Threading.Tasks.TaskCompletionSource completionSource, Microsoft.Extensions.Internal.ValueStopwatch valueStopwatch) { throw null; }
+ public long BatchId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public System.Threading.Tasks.TaskCompletionSource CompletionSource { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Components.Server.Circuits.ArrayBuilder Data { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.Extensions.Internal.ValueStopwatch ValueStopwatch { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ }
+ }
+ internal partial class ArrayBuilder : System.IDisposable
+ {
+ public ArrayBuilder(int minCapacity = 32, System.Buffers.ArrayPool arrayPool = null) { }
+ public T[] Buffer { get { throw null; } }
+ public int Count { get { throw null; } }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public int Append(in T item) { throw null; }
+ internal int Append(T[] source, int startIndex, int length) { throw null; }
+ public void Clear() { }
+ public void Dispose() { }
+ public void InsertExpensive(int index, T value) { }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public void Overwrite(int index, in T value) { }
+ public void RemoveLast() { }
+ }
+ internal partial class CircuitClientProxy : Microsoft.AspNetCore.SignalR.IClientProxy
+ {
+ public CircuitClientProxy() { }
+ public CircuitClientProxy(Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string connectionId) { }
+ public Microsoft.AspNetCore.SignalR.IClientProxy Client { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public bool Connected { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public string ConnectionId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public System.Threading.Tasks.Task SendCoreAsync(string method, object[] args, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public void SetDisconnected() { }
+ public void Transfer(Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string connectionId) { }
+ }
+ internal partial class CircuitHost : System.IAsyncDisposable
+ {
+ public CircuitHost(Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId, Microsoft.Extensions.DependencyInjection.IServiceScope scope, Microsoft.AspNetCore.Components.Server.CircuitOptions options, Microsoft.AspNetCore.Components.Server.Circuits.CircuitClientProxy client, Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer renderer, System.Collections.Generic.IReadOnlyList descriptors, Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime jsRuntime, Microsoft.AspNetCore.Components.Server.Circuits.CircuitHandler[] circuitHandlers, Microsoft.Extensions.Logging.ILogger logger) { }
+ public Microsoft.AspNetCore.Components.Server.Circuits.Circuit Circuit { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Components.Server.Circuits.CircuitId CircuitId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Components.Server.Circuits.CircuitClientProxy Client { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public System.Collections.Generic.IReadOnlyList Descriptors { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Components.Server.Circuits.CircuitHandle Handle { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime JSRuntime { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer Renderer { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public System.IServiceProvider Services { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public event System.UnhandledExceptionEventHandler UnhandledException { add { } remove { } }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.Task BeginInvokeDotNetFromJS(string callId, string assemblyName, string methodIdentifier, long dotNetObjectId, string argsJson) { throw null; }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.Task DispatchEvent(string eventDescriptorJson, string eventArgsJson) { throw null; }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.ValueTask DisposeAsync() { throw null; }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.Task EndInvokeJSFromDotNet(long asyncCall, bool succeded, string arguments) { throw null; }
+ public System.Threading.Tasks.Task InitializeAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.Task OnConnectionDownAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.Task OnConnectionUpAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.Task OnLocationChangedAsync(string uri, bool intercepted) { throw null; }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.Task OnRenderCompletedAsync(long renderId, string errorMessageOrNull) { throw null; }
+ public void SendPendingBatches() { }
+ public void SetCircuitUser(System.Security.Claims.ClaimsPrincipal user) { }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ internal readonly partial struct CircuitId : System.IEquatable
+ {
+ public CircuitId(string secret, string id) { throw null; }
+ public string Id { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public string Secret { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public bool Equals([System.Diagnostics.CodeAnalysis.AllowNullAttribute]Microsoft.AspNetCore.Components.Server.Circuits.CircuitId other) { throw null; }
+ public override bool Equals(object obj) { throw null; }
+ public override int GetHashCode() { throw null; }
+ public override string ToString() { throw null; }
+ }
+ internal partial class CircuitIdFactory
+ {
+ public CircuitIdFactory(Microsoft.AspNetCore.DataProtection.IDataProtectionProvider provider) { }
+ public Microsoft.AspNetCore.Components.Server.Circuits.CircuitId CreateCircuitId() { throw null; }
+ public bool TryParseCircuitId(string text, out Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId) { throw null; }
+ }
+ internal partial class RemoteJSRuntime : Microsoft.JSInterop.JSRuntime
+ {
+ public RemoteJSRuntime(Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Logging.ILogger logger) { }
+ protected override void BeginInvokeJS(long asyncHandle, string identifier, string argsJson) { }
+ protected override void EndInvokeDotNet(Microsoft.JSInterop.Infrastructure.DotNetInvocationInfo invocationInfo, in Microsoft.JSInterop.Infrastructure.DotNetInvocationResult invocationResult) { }
+ internal void Initialize(Microsoft.AspNetCore.Components.Server.Circuits.CircuitClientProxy clientProxy) { }
+ public static partial class Log
+ {
+ internal static void BeginInvokeJS(Microsoft.Extensions.Logging.ILogger logger, long asyncHandle, string identifier) { }
+ internal static void InvokeDotNetMethodException(Microsoft.Extensions.Logging.ILogger logger, in Microsoft.JSInterop.Infrastructure.DotNetInvocationInfo invocationInfo, System.Exception exception) { }
+ internal static void InvokeDotNetMethodSuccess(Microsoft.Extensions.Logging.ILogger logger, in Microsoft.JSInterop.Infrastructure.DotNetInvocationInfo invocationInfo) { }
+ }
+ }
+}
+namespace Microsoft.AspNetCore.Internal
+{
+ internal static partial class BinaryMessageFormatter
+ {
+ public static int LengthPrefixLength(long length) { throw null; }
+ public static void WriteLengthPrefix(long length, System.Buffers.IBufferWriter output) { }
+ public static int WriteLengthPrefix(long length, System.Span output) { throw null; }
+ }
+ internal static partial class BinaryMessageParser
+ {
+ public static bool TryParseMessage(ref System.Buffers.ReadOnlySequence buffer, out System.Buffers.ReadOnlySequence payload) { throw null; }
+ }
+ internal sealed partial class MemoryBufferWriter : System.IO.Stream, System.Buffers.IBufferWriter
+ {
+ public MemoryBufferWriter(int minimumSegmentSize = 4096) { }
+ public override bool CanRead { get { throw null; } }
+ public override bool CanSeek { get { throw null; } }
+ public override bool CanWrite { get { throw null; } }
+ public override long Length { get { throw null; } }
+ public override long Position { get { throw null; } set { } }
+ public void Advance(int count) { }
+ public void CopyTo(System.Buffers.IBufferWriter destination) { }
+ public void CopyTo(System.Span span) { }
+ 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 void Flush() { }
+ public override System.Threading.Tasks.Task FlushAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
+ public static Microsoft.AspNetCore.Internal.MemoryBufferWriter Get() { throw null; }
+ public System.Memory GetMemory(int sizeHint = 0) { throw null; }
+ public System.Span GetSpan(int sizeHint = 0) { throw null; }
+ public override int Read(byte[] buffer, int offset, int count) { throw null; }
+ public void Reset() { }
+ public static void Return(Microsoft.AspNetCore.Internal.MemoryBufferWriter writer) { }
+ public override long Seek(long offset, System.IO.SeekOrigin origin) { throw null; }
+ public override void SetLength(long value) { }
+ public byte[] ToArray() { throw null; }
+ public override void Write(byte[] buffer, int offset, int count) { }
+ public override void Write(System.ReadOnlySpan span) { }
+ public override void WriteByte(byte value) { }
+ }
+}
+namespace Microsoft.Extensions.Internal
+{
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ internal partial struct ValueStopwatch
+ {
+ public bool IsActive { get { throw null; } }
+ public System.TimeSpan GetElapsedTime() { throw null; }
+ public static Microsoft.Extensions.Internal.ValueStopwatch StartNew() { throw null; }
+ }
+}
\ No newline at end of file
diff --git a/src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.csproj b/src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.csproj
index 3cdf8cc2be..b629ebedc9 100644
--- a/src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.csproj
+++ b/src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.csproj
@@ -2,19 +2,19 @@
netcoreapp3.0
- false
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Components/Web.JS/Microsoft.AspNetCore.Components.Web.JS.npmproj b/src/Components/Web.JS/Microsoft.AspNetCore.Components.Web.JS.npmproj
index 8e0a17ece0..311f5079cd 100644
--- a/src/Components/Web.JS/Microsoft.AspNetCore.Components.Web.JS.npmproj
+++ b/src/Components/Web.JS/Microsoft.AspNetCore.Components.Web.JS.npmproj
@@ -21,6 +21,10 @@
Private="false" />
+
+
+
+
diff --git a/src/Components/Web/ref/Microsoft.AspNetCore.Components.Web.csproj b/src/Components/Web/ref/Microsoft.AspNetCore.Components.Web.csproj
index 6415de5e4f..7764ef22ed 100644
--- a/src/Components/Web/ref/Microsoft.AspNetCore.Components.Web.csproj
+++ b/src/Components/Web/ref/Microsoft.AspNetCore.Components.Web.csproj
@@ -2,21 +2,21 @@
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 9bf03e1c50..ba4ce1e32d 100644
--- a/src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj
+++ b/src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj
@@ -20,6 +20,8 @@
false
+
+ false
@@ -28,8 +30,6 @@
-
-
diff --git a/src/Components/test/Ignitor.Test/Ignitor.Test.csproj b/src/Components/test/Ignitor.Test/Ignitor.Test.csproj
index ad35b17b42..38621e8bea 100644
--- a/src/Components/test/Ignitor.Test/Ignitor.Test.csproj
+++ b/src/Components/test/Ignitor.Test/Ignitor.Test.csproj
@@ -2,6 +2,8 @@
netcoreapp3.0
+
+ false
diff --git a/src/Components/test/testassets/ComponentsApp.App/ComponentsApp.App.csproj b/src/Components/test/testassets/ComponentsApp.App/ComponentsApp.App.csproj
index 3b1d34bbdc..470c119f13 100644
--- a/src/Components/test/testassets/ComponentsApp.App/ComponentsApp.App.csproj
+++ b/src/Components/test/testassets/ComponentsApp.App/ComponentsApp.App.csproj
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/src/Components/test/testassets/Directory.Build.props b/src/Components/test/testassets/Directory.Build.props
deleted file mode 100644
index 938199f96e..0000000000
--- a/src/Components/test/testassets/Directory.Build.props
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/Components/test/testassets/Ignitor/Ignitor.csproj b/src/Components/test/testassets/Ignitor/Ignitor.csproj
index 6816e44df1..0e07855e5b 100644
--- a/src/Components/test/testassets/Ignitor/Ignitor.csproj
+++ b/src/Components/test/testassets/Ignitor/Ignitor.csproj
@@ -3,6 +3,8 @@
Exe
netcoreapp3.0
+
+ false
@@ -10,6 +12,8 @@
+
+
diff --git a/src/DataProtection/Abstractions/ref/Microsoft.AspNetCore.DataProtection.Abstractions.Manual.cs b/src/DataProtection/Abstractions/ref/Microsoft.AspNetCore.DataProtection.Abstractions.Manual.cs
new file mode 100644
index 0000000000..1ee28e70bf
--- /dev/null
+++ b/src/DataProtection/Abstractions/ref/Microsoft.AspNetCore.DataProtection.Abstractions.Manual.cs
@@ -0,0 +1,24 @@
+// 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.DataProtection.Abstractions
+{
+ internal static partial class Resources
+ {
+ internal static string CryptCommon_GenericError { get { throw null; } }
+ internal static string CryptCommon_PayloadInvalid { get { throw null; } }
+ internal static System.Globalization.CultureInfo Culture
+ {
+ [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; }
+ [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { }
+ }
+
+ internal static string DataProtectionExtensions_NoService { get { throw null; } }
+ internal static string DataProtectionExtensions_NullPurposesCollection { get { throw null; } }
+ internal static System.Resources.ResourceManager ResourceManager { get { throw null; } }
+ internal static string FormatDataProtectionExtensions_NoService(object p0) { throw null; }
+
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]
+ internal static string GetResourceString(string resourceKey, string defaultValue = null) { throw null; }
+ }
+}
diff --git a/src/DataProtection/Abstractions/ref/Microsoft.AspNetCore.DataProtection.Abstractions.csproj b/src/DataProtection/Abstractions/ref/Microsoft.AspNetCore.DataProtection.Abstractions.csproj
index 4e04929cd1..6461cb0623 100644
--- a/src/DataProtection/Abstractions/ref/Microsoft.AspNetCore.DataProtection.Abstractions.csproj
+++ b/src/DataProtection/Abstractions/ref/Microsoft.AspNetCore.DataProtection.Abstractions.csproj
@@ -2,11 +2,10 @@
netstandard2.0
- false
-
-
+
+
diff --git a/src/DataProtection/AzureKeyVault/ref/Microsoft.AspNetCore.DataProtection.AzureKeyVault.csproj b/src/DataProtection/AzureKeyVault/ref/Microsoft.AspNetCore.DataProtection.AzureKeyVault.csproj
deleted file mode 100644
index 8ed2e9d229..0000000000
--- a/src/DataProtection/AzureKeyVault/ref/Microsoft.AspNetCore.DataProtection.AzureKeyVault.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- netstandard2.0
-
-
-
-
-
-
-
-
diff --git a/src/DataProtection/AzureKeyVault/ref/Microsoft.AspNetCore.DataProtection.AzureKeyVault.netstandard2.0.cs b/src/DataProtection/AzureKeyVault/ref/Microsoft.AspNetCore.DataProtection.AzureKeyVault.netstandard2.0.cs
deleted file mode 100644
index bdaa373e9f..0000000000
--- a/src/DataProtection/AzureKeyVault/ref/Microsoft.AspNetCore.DataProtection.AzureKeyVault.netstandard2.0.cs
+++ /dev/null
@@ -1,12 +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.DataProtection
-{
- public static partial class AzureDataProtectionBuilderExtensions
- {
- public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder ProtectKeysWithAzureKeyVault(this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.Azure.KeyVault.KeyVaultClient client, string keyIdentifier) { throw null; }
- public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder ProtectKeysWithAzureKeyVault(this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, string keyIdentifier, string clientId, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { throw null; }
- public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder ProtectKeysWithAzureKeyVault(this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, string keyIdentifier, string clientId, string clientSecret) { throw null; }
- }
-}
diff --git a/src/DataProtection/AzureKeyVault/test/Microsoft.AspNetCore.DataProtection.AzureKeyVault.Tests.csproj b/src/DataProtection/AzureKeyVault/test/Microsoft.AspNetCore.DataProtection.AzureKeyVault.Tests.csproj
index 17b9fe4ac8..6ca62c9366 100644
--- a/src/DataProtection/AzureKeyVault/test/Microsoft.AspNetCore.DataProtection.AzureKeyVault.Tests.csproj
+++ b/src/DataProtection/AzureKeyVault/test/Microsoft.AspNetCore.DataProtection.AzureKeyVault.Tests.csproj
@@ -3,12 +3,16 @@
netcoreapp3.0
true
+
+ false
+
+
diff --git a/src/DataProtection/AzureStorage/ref/Microsoft.AspNetCore.DataProtection.AzureStorage.csproj b/src/DataProtection/AzureStorage/ref/Microsoft.AspNetCore.DataProtection.AzureStorage.csproj
deleted file mode 100644
index 5da79e220f..0000000000
--- a/src/DataProtection/AzureStorage/ref/Microsoft.AspNetCore.DataProtection.AzureStorage.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- netstandard2.0
-
-
-
-
-
-
-
-
diff --git a/src/DataProtection/AzureStorage/ref/Microsoft.AspNetCore.DataProtection.AzureStorage.netstandard2.0.cs b/src/DataProtection/AzureStorage/ref/Microsoft.AspNetCore.DataProtection.AzureStorage.netstandard2.0.cs
deleted file mode 100644
index 9d6c003d3e..0000000000
--- a/src/DataProtection/AzureStorage/ref/Microsoft.AspNetCore.DataProtection.AzureStorage.netstandard2.0.cs
+++ /dev/null
@@ -1,22 +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.DataProtection
-{
- public static partial class AzureDataProtectionBuilderExtensions
- {
- public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage(this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.Azure.Storage.Blob.CloudBlobContainer container, string blobName) { throw null; }
- public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage(this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.Azure.Storage.Blob.CloudBlockBlob blobReference) { throw null; }
- public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage(this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.Azure.Storage.CloudStorageAccount storageAccount, string relativePath) { throw null; }
- public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage(this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, System.Uri blobUri) { throw null; }
- }
-}
-namespace Microsoft.AspNetCore.DataProtection.AzureStorage
-{
- public sealed partial class AzureBlobXmlRepository : Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository
- {
- public AzureBlobXmlRepository(System.Func blobRefFactory) { }
- public System.Collections.Generic.IReadOnlyCollection GetAllElements() { throw null; }
- public void StoreElement(System.Xml.Linq.XElement element, string friendlyName) { }
- }
-}
diff --git a/src/DataProtection/AzureStorage/test/Microsoft.AspNetCore.DataProtection.AzureStorage.Tests.csproj b/src/DataProtection/AzureStorage/test/Microsoft.AspNetCore.DataProtection.AzureStorage.Tests.csproj
index ae55e43152..fbe90f1bc1 100644
--- a/src/DataProtection/AzureStorage/test/Microsoft.AspNetCore.DataProtection.AzureStorage.Tests.csproj
+++ b/src/DataProtection/AzureStorage/test/Microsoft.AspNetCore.DataProtection.AzureStorage.Tests.csproj
@@ -4,6 +4,8 @@
netcoreapp3.0
true
true
+
+ false
@@ -12,6 +14,8 @@
+
+
diff --git a/src/DataProtection/Cryptography.Internal/ref/Directory.Build.props b/src/DataProtection/Cryptography.Internal/ref/Directory.Build.props
deleted file mode 100644
index b500fb5d98..0000000000
--- a/src/DataProtection/Cryptography.Internal/ref/Directory.Build.props
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- 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
index 8120f41699..df4d98a55e 100644
--- a/src/DataProtection/Cryptography.Internal/ref/Microsoft.AspNetCore.Cryptography.Internal.Manual.cs
+++ b/src/DataProtection/Cryptography.Internal/ref/Microsoft.AspNetCore.Cryptography.Internal.Manual.cs
@@ -1,13 +1,6 @@
// 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
@@ -109,8 +102,6 @@ namespace Microsoft.AspNetCore.Cryptography
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)]
@@ -123,12 +114,6 @@ namespace Microsoft.AspNetCore.Cryptography
[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);
@@ -152,7 +137,6 @@ namespace Microsoft.AspNetCore.Cryptography
[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);
@@ -161,10 +145,8 @@ namespace Microsoft.AspNetCore.Cryptography
[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
{
@@ -178,7 +160,7 @@ namespace Microsoft.AspNetCore.Cryptography.Cng
{
public uint cbBuffer; // Length of buffer, in bytes
public BCryptKeyDerivationBufferType BufferType; // Buffer type
- public IntPtr pvBuffer; // Pointer to buffer
+ public System.IntPtr pvBuffer; // Pointer to buffer
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
internal unsafe partial struct BCryptBufferDesc
@@ -250,20 +232,9 @@ namespace Microsoft.AspNetCore.Cryptography.Cng
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; } }
@@ -274,19 +245,6 @@ namespace Microsoft.AspNetCore.Cryptography.Cng
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
@@ -299,26 +257,14 @@ namespace Microsoft.AspNetCore.Cryptography.Cng
}
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 { } }
@@ -328,16 +274,13 @@ namespace Microsoft.AspNetCore.Cryptography.Internal
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; }
@@ -357,8 +300,6 @@ namespace Microsoft.AspNetCore.Cryptography.SafeHandles
}
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; }
@@ -366,8 +307,6 @@ namespace Microsoft.AspNetCore.Cryptography.SafeHandles
}
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) { }
}
@@ -391,26 +330,11 @@ namespace Microsoft.AspNetCore.Cryptography.SafeHandles
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 62133dcbe8..823b288f69 100644
--- a/src/DataProtection/Cryptography.Internal/ref/Microsoft.AspNetCore.Cryptography.Internal.csproj
+++ b/src/DataProtection/Cryptography.Internal/ref/Microsoft.AspNetCore.Cryptography.Internal.csproj
@@ -2,12 +2,10 @@
netstandard2.0
- false
-
-
+
diff --git a/src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.Manual.cs b/src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.Manual.cs
new file mode 100644
index 0000000000..b7d5d3ec20
--- /dev/null
+++ b/src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.Manual.cs
@@ -0,0 +1,28 @@
+// 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.Cryptography.KeyDerivation.PBKDF2
+{
+ internal partial interface IPbkdf2Provider
+ {
+ byte[] DeriveKey(string password, byte[] salt, Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivationPrf prf, int iterationCount, int numBytesRequested);
+ }
+
+ internal sealed partial class ManagedPbkdf2Provider : Microsoft.AspNetCore.Cryptography.KeyDerivation.PBKDF2.IPbkdf2Provider
+ {
+ public ManagedPbkdf2Provider() { }
+ public byte[] DeriveKey(string password, byte[] salt, Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivationPrf prf, int iterationCount, int numBytesRequested) { throw null; }
+ }
+
+ internal sealed partial class Win7Pbkdf2Provider : Microsoft.AspNetCore.Cryptography.KeyDerivation.PBKDF2.IPbkdf2Provider
+ {
+ public Win7Pbkdf2Provider() { }
+ public byte[] DeriveKey(string password, byte[] salt, Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivationPrf prf, int iterationCount, int numBytesRequested) { throw null; }
+ }
+
+ internal sealed partial class Win8Pbkdf2Provider : Microsoft.AspNetCore.Cryptography.KeyDerivation.PBKDF2.IPbkdf2Provider
+ {
+ public Win8Pbkdf2Provider() { }
+ public byte[] DeriveKey(string password, byte[] salt, Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivationPrf prf, int iterationCount, int numBytesRequested) { throw null; }
+ }
+}
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 ad9a99c463..d8dbf59125 100644
--- a/src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.csproj
+++ b/src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.csproj
@@ -2,15 +2,18 @@
netstandard2.0;netcoreapp2.0
- false
-
-
+
+
+
-
+
+
+
+
diff --git a/src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.netcoreapp2.0.Manual.cs b/src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.netcoreapp2.0.Manual.cs
new file mode 100644
index 0000000000..ea38de53c7
--- /dev/null
+++ b/src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.netcoreapp2.0.Manual.cs
@@ -0,0 +1,11 @@
+// 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.Cryptography.KeyDerivation.PBKDF2
+{
+ internal sealed partial class NetCorePbkdf2Provider : Microsoft.AspNetCore.Cryptography.KeyDerivation.PBKDF2.IPbkdf2Provider
+ {
+ public NetCorePbkdf2Provider() { }
+ public byte[] DeriveKey(string password, byte[] salt, Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivationPrf prf, int iterationCount, int numBytesRequested) { throw null; }
+ }
+}
diff --git a/src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.Manual.cs b/src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.Manual.cs
new file mode 100644
index 0000000000..77b0d75fa1
--- /dev/null
+++ b/src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.Manual.cs
@@ -0,0 +1,385 @@
+// 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.DataProtection
+{
+ internal static partial class ActivatorExtensions
+ {
+ public static T CreateInstance(this Microsoft.AspNetCore.DataProtection.Internal.IActivator activator, string implementationTypeName) where T : class { throw null; }
+ public static Microsoft.AspNetCore.DataProtection.Internal.IActivator GetActivator(this System.IServiceProvider serviceProvider) { throw null; }
+ }
+ internal static partial class ArraySegmentExtensions
+ {
+ public static byte[] AsStandaloneArray(this System.ArraySegment arraySegment) { throw null; }
+ public static void Validate(this System.ArraySegment arraySegment) { }
+ }
+ internal partial interface IRegistryPolicyResolver
+ {
+ Microsoft.AspNetCore.DataProtection.RegistryPolicy ResolvePolicy();
+ }
+ internal sealed partial class RegistryPolicyResolver : Microsoft.AspNetCore.DataProtection.IRegistryPolicyResolver
+ {
+ public RegistryPolicyResolver(Microsoft.AspNetCore.DataProtection.Internal.IActivator activator) { }
+ internal RegistryPolicyResolver(Microsoft.Win32.RegistryKey policyRegKey, Microsoft.AspNetCore.DataProtection.Internal.IActivator activator) { }
+ public Microsoft.AspNetCore.DataProtection.RegistryPolicy ResolvePolicy() { throw null; }
+ }
+ internal static partial class Error
+ {
+ public static System.InvalidOperationException CertificateXmlEncryptor_CertificateNotFound(string thumbprint) { throw null; }
+ public static System.ArgumentException Common_ArgumentCannotBeNullOrEmpty(string parameterName) { throw null; }
+ public static System.ArgumentException Common_BufferIncorrectlySized(string parameterName, int actualSize, int expectedSize) { throw null; }
+ public static System.Security.Cryptography.CryptographicException Common_EncryptionFailed(System.Exception inner = null) { throw null; }
+ public static System.Security.Cryptography.CryptographicException Common_KeyNotFound(System.Guid id) { throw null; }
+ public static System.Security.Cryptography.CryptographicException Common_KeyRevoked(System.Guid id) { throw null; }
+ public static System.InvalidOperationException Common_PropertyCannotBeNullOrEmpty(string propertyName) { throw null; }
+ public static System.InvalidOperationException Common_PropertyMustBeNonNegative(string propertyName) { throw null; }
+ public static System.ArgumentOutOfRangeException Common_ValueMustBeNonNegative(string paramName) { throw null; }
+ public static System.Security.Cryptography.CryptographicException CryptCommon_GenericError(System.Exception inner = null) { throw null; }
+ public static System.Security.Cryptography.CryptographicException CryptCommon_PayloadInvalid() { throw null; }
+ public static System.Security.Cryptography.CryptographicException DecryptionFailed(System.Exception inner) { throw null; }
+ public static System.Security.Cryptography.CryptographicException ProtectionProvider_BadMagicHeader() { throw null; }
+ public static System.Security.Cryptography.CryptographicException ProtectionProvider_BadVersion() { throw null; }
+ public static System.InvalidOperationException XmlKeyManager_DuplicateKey(System.Guid keyId) { throw null; }
+ }
+ internal static partial class Resources
+ {
+ internal static string AlgorithmAssert_BadBlockSize { get { throw null; } }
+ internal static string AlgorithmAssert_BadDigestSize { get { throw null; } }
+ internal static string AlgorithmAssert_BadKeySize { get { throw null; } }
+ internal static string CertificateXmlEncryptor_CertificateNotFound { get { throw null; } }
+ internal static string Common_ArgumentCannotBeNullOrEmpty { get { throw null; } }
+ internal static string Common_BufferIncorrectlySized { get { throw null; } }
+ internal static string Common_DecryptionFailed { get { throw null; } }
+ internal static string Common_EncryptionFailed { get { throw null; } }
+ internal static string Common_KeyNotFound { get { throw null; } }
+ internal static string Common_KeyRevoked { get { throw null; } }
+ internal static string Common_PropertyCannotBeNullOrEmpty { get { throw null; } }
+ internal static string Common_PropertyMustBeNonNegative { get { throw null; } }
+ internal static string Common_ValueMustBeNonNegative { get { throw null; } }
+ internal static string CryptCommon_GenericError { get { throw null; } }
+ internal static string CryptCommon_PayloadInvalid { get { throw null; } }
+ internal static System.Globalization.CultureInfo Culture { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ internal static string EncryptedXmlDecryptor_DoesNotWorkOnCoreClr { get { throw null; } }
+ internal static string FileSystem_EphemeralKeysLocationInContainer { get { throw null; } }
+ internal static string KeyManagementOptions_MinNewKeyLifetimeViolated { get { throw null; } }
+ internal static string KeyRingProvider_NoDefaultKey_AutoGenerateDisabled { get { throw null; } }
+ internal static string LifetimeMustNotBeNegative { get { throw null; } }
+ internal static string Platform_WindowsRequiredForGcm { get { throw null; } }
+ internal static string ProtectionProvider_BadMagicHeader { get { throw null; } }
+ internal static string ProtectionProvider_BadVersion { get { throw null; } }
+ internal static System.Resources.ResourceManager ResourceManager { get { throw null; } }
+ internal static string TypeExtensions_BadCast { get { throw null; } }
+ internal static string XmlKeyManager_DuplicateKey { get { throw null; } }
+ internal static string XmlKeyManager_IXmlRepositoryNotFound { get { throw null; } }
+ internal static string FormatAlgorithmAssert_BadBlockSize(object p0) { throw null; }
+ internal static string FormatAlgorithmAssert_BadDigestSize(object p0) { throw null; }
+ internal static string FormatAlgorithmAssert_BadKeySize(object p0) { throw null; }
+ internal static string FormatCertificateXmlEncryptor_CertificateNotFound(object p0) { throw null; }
+ internal static string FormatCommon_BufferIncorrectlySized(object p0, object p1) { throw null; }
+ internal static string FormatCommon_PropertyCannotBeNullOrEmpty(object p0) { throw null; }
+ internal static string FormatCommon_PropertyMustBeNonNegative(object p0) { throw null; }
+ internal static string FormatFileSystem_EphemeralKeysLocationInContainer(object path) { throw null; }
+ internal static string FormatLifetimeMustNotBeNegative(object p0) { throw null; }
+ internal static string FormatTypeExtensions_BadCast(object p0, object p1) { throw null; }
+ internal static string FormatXmlKeyManager_IXmlRepositoryNotFound(object p0, object p1) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]internal static string GetResourceString(string resourceKey, string defaultValue = null) { throw null; }
+ }
+ internal partial class RegistryPolicy
+ {
+ public RegistryPolicy(Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration configuration, System.Collections.Generic.IEnumerable keyEscrowSinks, int? defaultKeyLifetime) { }
+ public int? DefaultKeyLifetime { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration EncryptorConfiguration { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public System.Collections.Generic.IEnumerable KeyEscrowSinks { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ }
+ internal partial class SimpleActivator : Microsoft.AspNetCore.DataProtection.Internal.IActivator
+ {
+ internal static readonly Microsoft.AspNetCore.DataProtection.SimpleActivator DefaultWithoutServices;
+ public SimpleActivator(System.IServiceProvider services) { }
+ public virtual object CreateInstance(System.Type expectedBaseType, string implementationTypeName) { throw null; }
+ }
+ internal partial class TypeForwardingActivator : Microsoft.AspNetCore.DataProtection.SimpleActivator
+ {
+ public TypeForwardingActivator(System.IServiceProvider services) : base (default(System.IServiceProvider)) { }
+ public TypeForwardingActivator(System.IServiceProvider services, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) : base (default(System.IServiceProvider)) { }
+ public override object CreateInstance(System.Type expectedBaseType, string originalTypeName) { throw null; }
+ internal object CreateInstance(System.Type expectedBaseType, string originalTypeName, out bool forwarded) { throw null; }
+ protected string RemoveVersionFromAssemblyName(string forwardedTypeName) { throw null; }
+ }
+ internal static partial class XmlConstants
+ {
+ internal static readonly System.Xml.Linq.XName DecryptorTypeAttributeName;
+ internal static readonly System.Xml.Linq.XName DeserializerTypeAttributeName;
+ internal static readonly System.Xml.Linq.XName EncryptedSecretElementName;
+ internal static readonly System.Xml.Linq.XName RequiresEncryptionAttributeName;
+ }
+ internal static partial class XmlExtensions
+ {
+ public static System.Xml.Linq.XElement WithoutChildNodes(this System.Xml.Linq.XElement element) { throw null; }
+ }
+}
+namespace Microsoft.AspNetCore.DataProtection.Internal
+{
+ internal partial class KeyManagementOptionsSetup : Microsoft.Extensions.Options.IConfigureOptions
+ {
+ public KeyManagementOptionsSetup() { }
+ public KeyManagementOptionsSetup(Microsoft.AspNetCore.DataProtection.IRegistryPolicyResolver registryPolicyResolver) { }
+ public KeyManagementOptionsSetup(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) { }
+ public KeyManagementOptionsSetup(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.DataProtection.IRegistryPolicyResolver registryPolicyResolver) { }
+ public void Configure(Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions options) { }
+ }
+ internal static partial class ContainerUtils
+ {
+ public static bool IsContainer { get { throw null; } }
+ internal static bool IsDirectoryMounted(System.IO.DirectoryInfo directory, System.Collections.Generic.IEnumerable fstab) { throw null; }
+ public static bool IsVolumeMountedFolder(System.IO.DirectoryInfo directory) { throw null; }
+ }
+}
+namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption
+{
+ internal partial interface IOptimizedAuthenticatedEncryptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor
+ {
+ byte[] Encrypt(System.ArraySegment plaintext, System.ArraySegment additionalAuthenticatedData, uint preBufferSize, uint postBufferSize);
+ }
+}
+namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel
+{
+ public sealed partial class ManagedAuthenticatedEncryptorDescriptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor
+ {
+ internal Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorConfiguration Configuration { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ internal Microsoft.AspNetCore.DataProtection.ISecret MasterKey { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ }
+ public sealed partial class CngCbcAuthenticatedEncryptorDescriptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor
+ {
+ internal Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorConfiguration Configuration { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ internal Microsoft.AspNetCore.DataProtection.ISecret MasterKey { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ }
+ public sealed partial class CngGcmAuthenticatedEncryptorDescriptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor
+ {
+ internal Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorConfiguration Configuration { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ internal Microsoft.AspNetCore.DataProtection.ISecret MasterKey { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ }
+ internal static partial class SecretExtensions
+ {
+ public static System.Xml.Linq.XElement ToMasterKeyElement(this Microsoft.AspNetCore.DataProtection.ISecret secret) { throw null; }
+ public static Microsoft.AspNetCore.DataProtection.Secret ToSecret(this string base64String) { throw null; }
+ }
+}
+namespace Microsoft.AspNetCore.DataProtection.Cng
+{
+ internal sealed partial class GcmAuthenticatedEncryptor : Microsoft.AspNetCore.DataProtection.Cng.Internal.CngAuthenticatedEncryptorBase
+ {
+ public GcmAuthenticatedEncryptor(Microsoft.AspNetCore.DataProtection.Secret keyDerivationKey, Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle symmetricAlgorithmHandle, uint symmetricAlgorithmKeySizeInBytes, Microsoft.AspNetCore.DataProtection.Cng.IBCryptGenRandom genRandom = null) { }
+ protected unsafe override byte[] DecryptImpl(byte* pbCiphertext, uint cbCiphertext, byte* pbAdditionalAuthenticatedData, uint cbAdditionalAuthenticatedData) { throw null; }
+ public override void Dispose() { }
+ protected unsafe override byte[] EncryptImpl(byte* pbPlaintext, uint cbPlaintext, byte* pbAdditionalAuthenticatedData, uint cbAdditionalAuthenticatedData, uint cbPreBuffer, uint cbPostBuffer) { throw null; }
+ }
+ internal sealed partial class CbcAuthenticatedEncryptor : Microsoft.AspNetCore.DataProtection.Cng.Internal.CngAuthenticatedEncryptorBase
+ {
+ public CbcAuthenticatedEncryptor(Microsoft.AspNetCore.DataProtection.Secret keyDerivationKey, Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle symmetricAlgorithmHandle, uint symmetricAlgorithmKeySizeInBytes, Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle hmacAlgorithmHandle, Microsoft.AspNetCore.DataProtection.Cng.IBCryptGenRandom genRandom = null) { }
+ protected unsafe override byte[] DecryptImpl(byte* pbCiphertext, uint cbCiphertext, byte* pbAdditionalAuthenticatedData, uint cbAdditionalAuthenticatedData) { throw null; }
+ public override void Dispose() { }
+ protected unsafe override byte[] EncryptImpl(byte* pbPlaintext, uint cbPlaintext, byte* pbAdditionalAuthenticatedData, uint cbAdditionalAuthenticatedData, uint cbPreBuffer, uint cbPostBuffer) { throw null; }
+ }
+ internal unsafe partial interface IBCryptGenRandom
+ {
+ void GenRandom(byte* pbBuffer, uint cbBuffer);
+ }
+}
+namespace Microsoft.AspNetCore.DataProtection.Cng.Internal
+{
+ internal unsafe abstract partial class CngAuthenticatedEncryptorBase : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor, Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IOptimizedAuthenticatedEncryptor, System.IDisposable
+ {
+ protected CngAuthenticatedEncryptorBase() { }
+ public byte[] Decrypt(System.ArraySegment ciphertext, System.ArraySegment additionalAuthenticatedData) { throw null; }
+ protected unsafe abstract byte[] DecryptImpl(byte* pbCiphertext, uint cbCiphertext, byte* pbAdditionalAuthenticatedData, uint cbAdditionalAuthenticatedData);
+ public abstract void Dispose();
+ public byte[] Encrypt(System.ArraySegment plaintext, System.ArraySegment additionalAuthenticatedData) { throw null; }
+ public byte[] Encrypt(System.ArraySegment plaintext, System.ArraySegment additionalAuthenticatedData, uint preBufferSize, uint postBufferSize) { throw null; }
+ protected unsafe abstract byte[] EncryptImpl(byte* pbPlaintext, uint cbPlaintext, byte* pbAdditionalAuthenticatedData, uint cbAdditionalAuthenticatedData, uint cbPreBuffer, uint cbPostBuffer);
+ }
+}
+namespace Microsoft.AspNetCore.DataProtection.KeyManagement
+{
+ internal static partial class KeyEscrowServiceProviderExtensions
+ {
+ public static Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink GetKeyEscrowSink(this System.IServiceProvider services) { throw null; }
+ }
+ internal sealed partial class DefaultKeyResolver : Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IDefaultKeyResolver
+ {
+ public DefaultKeyResolver(Microsoft.Extensions.Options.IOptions keyManagementOptions) { }
+ public DefaultKeyResolver(Microsoft.Extensions.Options.IOptions keyManagementOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) { }
+ public Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.DefaultKeyResolution ResolveDefaultKeyPolicy(System.DateTimeOffset now, System.Collections.Generic.IEnumerable allKeys) { throw null; }
+ }
+ internal sealed partial class DeferredKey : Microsoft.AspNetCore.DataProtection.KeyManagement.KeyBase
+ {
+ public DeferredKey(System.Guid keyId, System.DateTimeOffset creationDate, System.DateTimeOffset activationDate, System.DateTimeOffset expirationDate, Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager keyManager, System.Xml.Linq.XElement keyElement, System.Collections.Generic.IEnumerable encryptorFactories) : base (default(System.Guid), default(System.DateTimeOffset), default(System.DateTimeOffset), default(System.DateTimeOffset), default(System.Lazy), default(System.Collections.Generic.IEnumerable)) { }
+ }
+ internal sealed partial class Key : Microsoft.AspNetCore.DataProtection.KeyManagement.KeyBase
+ {
+ public Key(System.Guid keyId, System.DateTimeOffset creationDate, System.DateTimeOffset activationDate, System.DateTimeOffset expirationDate, Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor descriptor, System.Collections.Generic.IEnumerable encryptorFactories) : base (default(System.Guid), default(System.DateTimeOffset), default(System.DateTimeOffset), default(System.DateTimeOffset), default(System.Lazy), default(System.Collections.Generic.IEnumerable)) { }
+ }
+ internal abstract partial class KeyBase : Microsoft.AspNetCore.DataProtection.KeyManagement.IKey
+ {
+ public KeyBase(System.Guid keyId, System.DateTimeOffset creationDate, System.DateTimeOffset activationDate, System.DateTimeOffset expirationDate, System.Lazy lazyDescriptor, System.Collections.Generic.IEnumerable encryptorFactories) { }
+ public System.DateTimeOffset ActivationDate { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public System.DateTimeOffset CreationDate { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor Descriptor { get { throw null; } }
+ public System.DateTimeOffset ExpirationDate { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public bool IsRevoked { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public System.Guid KeyId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor CreateEncryptor() { throw null; }
+ internal void SetRevoked() { }
+ }
+ internal sealed partial class KeyRing : Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRing
+ {
+ public KeyRing(Microsoft.AspNetCore.DataProtection.KeyManagement.IKey defaultKey, System.Collections.Generic.IEnumerable allKeys) { }
+ public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor DefaultAuthenticatedEncryptor { get { throw null; } }
+ public System.Guid DefaultKeyId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor GetAuthenticatedEncryptorByKeyId(System.Guid keyId, out bool isRevoked) { throw null; }
+ }
+ internal sealed partial class KeyRingProvider : Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.ICacheableKeyRingProvider, Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRingProvider
+ {
+ public KeyRingProvider(Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager keyManager, Microsoft.Extensions.Options.IOptions keyManagementOptions, Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IDefaultKeyResolver defaultKeyResolver) { }
+ public KeyRingProvider(Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager keyManager, Microsoft.Extensions.Options.IOptions keyManagementOptions, Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IDefaultKeyResolver defaultKeyResolver, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) { }
+ internal System.DateTime AutoRefreshWindowEnd { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ internal Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.ICacheableKeyRingProvider CacheableKeyRingProvider { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRing GetCurrentKeyRing() { throw null; }
+ internal Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRing GetCurrentKeyRingCore(System.DateTime utcNow, bool forceRefresh = false) { throw null; }
+ internal bool InAutoRefreshWindow() { throw null; }
+ Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.CacheableKeyRing Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.ICacheableKeyRingProvider.GetCacheableKeyRing(System.DateTimeOffset now) { throw null; }
+ internal Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRing RefreshCurrentKeyRing() { throw null; }
+ }
+ internal sealed partial class KeyRingBasedDataProtector : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider, Microsoft.AspNetCore.DataProtection.IDataProtector, Microsoft.AspNetCore.DataProtection.IPersistedDataProtector
+ {
+ public KeyRingBasedDataProtector(Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRingProvider keyRingProvider, Microsoft.Extensions.Logging.ILogger logger, string[] originalPurposes, string newPurpose) { }
+ internal string[] Purposes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.DataProtection.IDataProtector CreateProtector(string purpose) { throw null; }
+ public byte[] DangerousUnprotect(byte[] protectedData, bool ignoreRevocationErrors, out bool requiresMigration, out bool wasRevoked) { throw null; }
+ public byte[] Protect(byte[] plaintext) { throw null; }
+ public byte[] Unprotect(byte[] protectedData) { throw null; }
+ }
+ public sealed partial class XmlKeyManager : Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager, Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager
+ {
+ internal static readonly System.Xml.Linq.XName ActivationDateElementName;
+ internal static readonly System.Xml.Linq.XName CreationDateElementName;
+ internal static readonly System.Xml.Linq.XName DescriptorElementName;
+ internal static readonly System.Xml.Linq.XName DeserializerTypeAttributeName;
+ internal static readonly System.Xml.Linq.XName ExpirationDateElementName;
+ internal static readonly System.Xml.Linq.XName IdAttributeName;
+ internal static readonly System.Xml.Linq.XName KeyElementName;
+ internal static readonly System.Xml.Linq.XName ReasonElementName;
+ internal static readonly System.Xml.Linq.XName RevocationDateElementName;
+ internal static readonly System.Xml.Linq.XName RevocationElementName;
+ internal static readonly System.Xml.Linq.XName VersionAttributeName;
+ internal XmlKeyManager(Microsoft.Extensions.Options.IOptions keyManagementOptions, Microsoft.AspNetCore.DataProtection.Internal.IActivator activator, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager internalXmlKeyManager) { }
+ internal XmlKeyManager(Microsoft.Extensions.Options.IOptions keyManagementOptions, Microsoft.AspNetCore.DataProtection.Internal.IActivator activator, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.DataProtection.Repositories.IDefaultKeyStorageDirectories keyStorageDirectories) { }
+ internal Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor KeyEncryptor { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ internal Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository KeyRepository { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ internal System.Collections.Generic.KeyValuePair GetFallbackKeyRepositoryEncryptorPair() { throw null; }
+ }
+}
+namespace Microsoft.AspNetCore.DataProtection.KeyManagement.Internal
+{
+ public sealed partial class CacheableKeyRing
+ {
+ internal CacheableKeyRing(System.Threading.CancellationToken expirationToken, System.DateTimeOffset expirationTime, Microsoft.AspNetCore.DataProtection.KeyManagement.IKey defaultKey, System.Collections.Generic.IEnumerable allKeys) { }
+ internal CacheableKeyRing(System.Threading.CancellationToken expirationToken, System.DateTimeOffset expirationTime, Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRing keyRing) { }
+ internal System.DateTime ExpirationTimeUtc { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ internal Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRing KeyRing { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ internal static bool IsValid(Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.CacheableKeyRing keyRing, System.DateTime utcNow) { throw null; }
+ internal Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.CacheableKeyRing WithTemporaryExtendedLifetime(System.DateTimeOffset now) { throw null; }
+ }
+}
+namespace Microsoft.AspNetCore.DataProtection.Managed
+{
+ internal sealed partial class ManagedAuthenticatedEncryptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor, System.IDisposable
+ {
+ public ManagedAuthenticatedEncryptor(Microsoft.AspNetCore.DataProtection.Secret keyDerivationKey, System.Func symmetricAlgorithmFactory, int symmetricAlgorithmKeySizeInBytes, System.Func validationAlgorithmFactory, Microsoft.AspNetCore.DataProtection.Managed.IManagedGenRandom genRandom = null) { }
+ public byte[] Decrypt(System.ArraySegment protectedPayload, System.ArraySegment additionalAuthenticatedData) { throw null; }
+ public void Dispose() { }
+ public byte[] Encrypt(System.ArraySegment plaintext, System.ArraySegment additionalAuthenticatedData) { throw null; }
+ }
+ internal partial interface IManagedGenRandom
+ {
+ byte[] GenRandom(int numBytes);
+ }
+}
+namespace Microsoft.AspNetCore.DataProtection.Repositories
+{
+ internal partial class EphemeralXmlRepository : Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository
+ {
+ public EphemeralXmlRepository(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) { }
+ public virtual System.Collections.Generic.IReadOnlyCollection GetAllElements() { throw null; }
+ public virtual void StoreElement(System.Xml.Linq.XElement element, string friendlyName) { }
+ }
+ internal partial interface IDefaultKeyStorageDirectories
+ {
+ System.IO.DirectoryInfo GetKeyStorageDirectory();
+ System.IO.DirectoryInfo GetKeyStorageDirectoryForAzureWebSites();
+ }
+}
+namespace Microsoft.AspNetCore.DataProtection.SP800_108
+{
+ internal unsafe partial interface ISP800_108_CTR_HMACSHA512Provider : System.IDisposable
+ {
+ void DeriveKey(byte* pbLabel, uint cbLabel, byte* pbContext, uint cbContext, byte* pbDerivedKey, uint cbDerivedKey);
+ }
+ internal static partial class ManagedSP800_108_CTR_HMACSHA512
+ {
+ public static void DeriveKeys(byte[] kdk, System.ArraySegment label, System.ArraySegment context, System.Func prfFactory, System.ArraySegment output) { }
+ public static void DeriveKeysWithContextHeader(byte[] kdk, System.ArraySegment label, byte[] contextHeader, System.ArraySegment context, System.Func prfFactory, System.ArraySegment output) { }
+ }
+ internal static partial class SP800_108_CTR_HMACSHA512Extensions
+ {
+ public unsafe static void DeriveKeyWithContextHeader(this Microsoft.AspNetCore.DataProtection.SP800_108.ISP800_108_CTR_HMACSHA512Provider provider, byte* pbLabel, uint cbLabel, byte[] contextHeader, byte* pbContext, uint cbContext, byte* pbDerivedKey, uint cbDerivedKey) { }
+ }
+ internal static partial class SP800_108_CTR_HMACSHA512Util
+ {
+ public static Microsoft.AspNetCore.DataProtection.SP800_108.ISP800_108_CTR_HMACSHA512Provider CreateEmptyProvider() { throw null; }
+ public static Microsoft.AspNetCore.DataProtection.SP800_108.ISP800_108_CTR_HMACSHA512Provider CreateProvider(Microsoft.AspNetCore.DataProtection.Secret kdk) { throw null; }
+ public unsafe static Microsoft.AspNetCore.DataProtection.SP800_108.ISP800_108_CTR_HMACSHA512Provider CreateProvider(byte* pbKdk, uint cbKdk) { throw null; }
+ }
+ internal sealed partial class Win7SP800_108_CTR_HMACSHA512Provider : Microsoft.AspNetCore.DataProtection.SP800_108.ISP800_108_CTR_HMACSHA512Provider, System.IDisposable
+ {
+ public unsafe Win7SP800_108_CTR_HMACSHA512Provider(byte* pbKdk, uint cbKdk) { }
+ public unsafe void DeriveKey(byte* pbLabel, uint cbLabel, byte* pbContext, uint cbContext, byte* pbDerivedKey, uint cbDerivedKey) { }
+ public void Dispose() { }
+ }
+ internal sealed partial class Win8SP800_108_CTR_HMACSHA512Provider : Microsoft.AspNetCore.DataProtection.SP800_108.ISP800_108_CTR_HMACSHA512Provider, System.IDisposable
+ {
+ public unsafe Win8SP800_108_CTR_HMACSHA512Provider(byte* pbKdk, uint cbKdk) { }
+ public unsafe void DeriveKey(byte* pbLabel, uint cbLabel, byte* pbContext, uint cbContext, byte* pbDerivedKey, uint cbDerivedKey) { }
+ public void Dispose() { }
+ }
+}
+namespace Microsoft.AspNetCore.DataProtection.XmlEncryption
+{
+ public sealed partial class CertificateXmlEncryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IInternalCertificateXmlEncryptor, Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor
+ {
+ System.Security.Cryptography.Xml.EncryptedData Microsoft.AspNetCore.DataProtection.XmlEncryption.IInternalCertificateXmlEncryptor.PerformEncryption(System.Security.Cryptography.Xml.EncryptedXml encryptedXml, System.Xml.XmlElement elementToEncrypt) { throw null; }
+ internal CertificateXmlEncryptor(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.DataProtection.XmlEncryption.IInternalCertificateXmlEncryptor encryptor) { }
+ }
+ internal partial interface IInternalCertificateXmlEncryptor
+ {
+ System.Security.Cryptography.Xml.EncryptedData PerformEncryption(System.Security.Cryptography.Xml.EncryptedXml encryptedXml, System.Xml.XmlElement elementToEncrypt);
+ }
+ internal partial interface IInternalEncryptedXmlDecryptor
+ {
+ void PerformPreDecryptionSetup(System.Security.Cryptography.Xml.EncryptedXml encryptedXml);
+ }
+ internal static partial class XmlEncryptionExtensions
+ {
+ public static System.Xml.Linq.XElement DecryptElement(this System.Xml.Linq.XElement element, Microsoft.AspNetCore.DataProtection.Internal.IActivator activator) { throw null; }
+ public static System.Xml.Linq.XElement EncryptIfNecessary(this Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor encryptor, System.Xml.Linq.XElement element) { throw null; }
+ public static Microsoft.AspNetCore.DataProtection.Secret ToSecret(this System.Xml.Linq.XElement element) { throw null; }
+ public static System.Xml.Linq.XElement ToXElement(this Microsoft.AspNetCore.DataProtection.Secret secret) { throw null; }
+ }
+ internal partial class XmlKeyDecryptionOptions
+ {
+ public XmlKeyDecryptionOptions() { }
+ public int KeyDecryptionCertificateCount { get { throw null; } }
+ public void AddKeyDecryptionCertificate(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { }
+ public bool TryGetKeyDecryptionCertificates(System.Security.Cryptography.X509Certificates.X509Certificate2 certInfo, out System.Collections.Generic.IReadOnlyList keyDecryptionCerts) { throw null; }
+ }
+}
\ No newline at end of file
diff --git a/src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.csproj b/src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.csproj
index 9f8c21ba0f..b1c29c222c 100644
--- a/src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.csproj
+++ b/src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.csproj
@@ -2,30 +2,32 @@
netstandard2.0;netcoreapp3.0
- false
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/src/DataProtection/EntityFrameworkCore/ref/Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.csproj b/src/DataProtection/EntityFrameworkCore/ref/Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.csproj
deleted file mode 100644
index dd34dcfdfd..0000000000
--- a/src/DataProtection/EntityFrameworkCore/ref/Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.csproj
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- netstandard2.1
-
-
-
-
-
-
-
diff --git a/src/DataProtection/EntityFrameworkCore/ref/Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.netstandard2.1.cs b/src/DataProtection/EntityFrameworkCore/ref/Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.netstandard2.1.cs
deleted file mode 100644
index 6c4ae69807..0000000000
--- a/src/DataProtection/EntityFrameworkCore/ref/Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.netstandard2.1.cs
+++ /dev/null
@@ -1,30 +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.DataProtection
-{
- public static partial class EntityFrameworkCoreDataProtectionExtensions
- {
- public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToDbContext(this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder) where TContext : Microsoft.EntityFrameworkCore.DbContext, Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.IDataProtectionKeyContext { throw null; }
- }
-}
-namespace Microsoft.AspNetCore.DataProtection.EntityFrameworkCore
-{
- public partial class DataProtectionKey
- {
- public DataProtectionKey() { }
- public string FriendlyName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public int Id { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string Xml { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- }
- public partial class EntityFrameworkCoreXmlRepository : Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository where TContext : Microsoft.EntityFrameworkCore.DbContext, Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.IDataProtectionKeyContext
- {
- public EntityFrameworkCoreXmlRepository(System.IServiceProvider services, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) { }
- public virtual System.Collections.Generic.IReadOnlyCollection GetAllElements() { throw null; }
- public void StoreElement(System.Xml.Linq.XElement element, string friendlyName) { }
- }
- public partial interface IDataProtectionKeyContext
- {
- Microsoft.EntityFrameworkCore.DbSet DataProtectionKeys { get; }
- }
-}
diff --git a/src/DataProtection/EntityFrameworkCore/test/Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.Test.csproj b/src/DataProtection/EntityFrameworkCore/test/Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.Test.csproj
index 6d3e504879..08d7775c8f 100644
--- a/src/DataProtection/EntityFrameworkCore/test/Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.Test.csproj
+++ b/src/DataProtection/EntityFrameworkCore/test/Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.Test.csproj
@@ -2,11 +2,15 @@
netcoreapp3.0
+
+ false
+
+
diff --git a/src/DataProtection/Extensions/ref/Microsoft.AspNetCore.DataProtection.Extensions.Manual.cs b/src/DataProtection/Extensions/ref/Microsoft.AspNetCore.DataProtection.Extensions.Manual.cs
new file mode 100644
index 0000000000..f1c965458a
--- /dev/null
+++ b/src/DataProtection/Extensions/ref/Microsoft.AspNetCore.DataProtection.Extensions.Manual.cs
@@ -0,0 +1,34 @@
+// 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.DataProtection
+{
+ public static partial class DataProtectionProvider
+ {
+ internal static Microsoft.AspNetCore.DataProtection.IDataProtectionProvider CreateProvider(System.IO.DirectoryInfo keyDirectory, System.Action setupAction, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { throw null; }
+ }
+ internal sealed partial class TimeLimitedDataProtector : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider, Microsoft.AspNetCore.DataProtection.IDataProtector, Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector
+ {
+ public TimeLimitedDataProtector(Microsoft.AspNetCore.DataProtection.IDataProtector innerProtector) { }
+ public Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector CreateProtector(string purpose) { throw null; }
+ Microsoft.AspNetCore.DataProtection.IDataProtector Microsoft.AspNetCore.DataProtection.IDataProtectionProvider.CreateProtector(string purpose) { throw null; }
+ byte[] Microsoft.AspNetCore.DataProtection.IDataProtector.Protect(byte[] plaintext) { throw null; }
+ byte[] Microsoft.AspNetCore.DataProtection.IDataProtector.Unprotect(byte[] protectedData) { throw null; }
+ public byte[] Protect(byte[] plaintext, System.DateTimeOffset expiration) { throw null; }
+ public byte[] Unprotect(byte[] protectedData, out System.DateTimeOffset expiration) { throw null; }
+ internal byte[] UnprotectCore(byte[] protectedData, System.DateTimeOffset now, out System.DateTimeOffset expiration) { throw null; }
+ }
+}
+namespace Microsoft.AspNetCore.DataProtection.Extensions
+{
+ internal static partial class Resources
+ {
+ internal static string CryptCommon_GenericError { get { throw null; } }
+ internal static System.Globalization.CultureInfo Culture { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ internal static System.Resources.ResourceManager ResourceManager { get { throw null; } }
+ internal static string TimeLimitedDataProtector_PayloadExpired { get { throw null; } }
+ internal static string TimeLimitedDataProtector_PayloadInvalid { get { throw null; } }
+ internal static string FormatTimeLimitedDataProtector_PayloadExpired(object p0) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]internal static string GetResourceString(string resourceKey, string defaultValue = null) { throw null; }
+ }
+}
\ No newline at end of file
diff --git a/src/DataProtection/Extensions/ref/Microsoft.AspNetCore.DataProtection.Extensions.csproj b/src/DataProtection/Extensions/ref/Microsoft.AspNetCore.DataProtection.Extensions.csproj
index d2d166c02d..07ca49eb8b 100644
--- a/src/DataProtection/Extensions/ref/Microsoft.AspNetCore.DataProtection.Extensions.csproj
+++ b/src/DataProtection/Extensions/ref/Microsoft.AspNetCore.DataProtection.Extensions.csproj
@@ -2,17 +2,19 @@
netstandard2.0;netcoreapp3.0
- false
-
-
-
+
+
+
+
-
-
+
+
+
+
diff --git a/src/DataProtection/StackExchangeRedis/ref/Microsoft.AspNetCore.DataProtection.StackExchangeRedis.csproj b/src/DataProtection/StackExchangeRedis/ref/Microsoft.AspNetCore.DataProtection.StackExchangeRedis.csproj
deleted file mode 100644
index 013fffddf8..0000000000
--- a/src/DataProtection/StackExchangeRedis/ref/Microsoft.AspNetCore.DataProtection.StackExchangeRedis.csproj
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- netstandard2.0
-
-
-
-
-
-
-
diff --git a/src/DataProtection/StackExchangeRedis/ref/Microsoft.AspNetCore.DataProtection.StackExchangeRedis.netstandard2.0.cs b/src/DataProtection/StackExchangeRedis/ref/Microsoft.AspNetCore.DataProtection.StackExchangeRedis.netstandard2.0.cs
deleted file mode 100644
index 3208711453..0000000000
--- a/src/DataProtection/StackExchangeRedis/ref/Microsoft.AspNetCore.DataProtection.StackExchangeRedis.netstandard2.0.cs
+++ /dev/null
@@ -1,21 +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.DataProtection
-{
- public static partial class StackExchangeRedisDataProtectionBuilderExtensions
- {
- public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToStackExchangeRedis(this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, StackExchange.Redis.IConnectionMultiplexer connectionMultiplexer) { throw null; }
- public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToStackExchangeRedis(this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, StackExchange.Redis.IConnectionMultiplexer connectionMultiplexer, StackExchange.Redis.RedisKey key) { throw null; }
- public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToStackExchangeRedis(this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, System.Func databaseFactory, StackExchange.Redis.RedisKey key) { throw null; }
- }
-}
-namespace Microsoft.AspNetCore.DataProtection.StackExchangeRedis
-{
- public partial class RedisXmlRepository : Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository
- {
- public RedisXmlRepository(System.Func databaseFactory, StackExchange.Redis.RedisKey key) { }
- public System.Collections.Generic.IReadOnlyCollection GetAllElements() { throw null; }
- public void StoreElement(System.Xml.Linq.XElement element, string friendlyName) { }
- }
-}
diff --git a/src/DataProtection/StackExchangeRedis/test/Microsoft.AspNetCore.DataProtection.StackExchangeRedis.Tests.csproj b/src/DataProtection/StackExchangeRedis/test/Microsoft.AspNetCore.DataProtection.StackExchangeRedis.Tests.csproj
index ff9e397e77..2c2a36786b 100644
--- a/src/DataProtection/StackExchangeRedis/test/Microsoft.AspNetCore.DataProtection.StackExchangeRedis.Tests.csproj
+++ b/src/DataProtection/StackExchangeRedis/test/Microsoft.AspNetCore.DataProtection.StackExchangeRedis.Tests.csproj
@@ -2,6 +2,8 @@
netcoreapp3.0
+
+ false
@@ -16,6 +18,8 @@
+
+
diff --git a/src/DataProtection/samples/AzureBlob/AzureBlob.csproj b/src/DataProtection/samples/AzureBlob/AzureBlob.csproj
index 55e41b6b18..2762eaadc1 100644
--- a/src/DataProtection/samples/AzureBlob/AzureBlob.csproj
+++ b/src/DataProtection/samples/AzureBlob/AzureBlob.csproj
@@ -3,6 +3,8 @@
netcoreapp3.0
exe
+
+ false
@@ -11,6 +13,8 @@
+
+
diff --git a/src/DataProtection/samples/AzureKeyVault/AzureKeyVault.csproj b/src/DataProtection/samples/AzureKeyVault/AzureKeyVault.csproj
index b577b27124..ceedf79044 100644
--- a/src/DataProtection/samples/AzureKeyVault/AzureKeyVault.csproj
+++ b/src/DataProtection/samples/AzureKeyVault/AzureKeyVault.csproj
@@ -3,6 +3,8 @@
netcoreapp3.0
exe
+
+ false
@@ -12,6 +14,8 @@
+
+
diff --git a/src/DataProtection/samples/EntityFrameworkCoreSample/EntityFrameworkCoreSample.csproj b/src/DataProtection/samples/EntityFrameworkCoreSample/EntityFrameworkCoreSample.csproj
index 0796b4d4b8..c759892e53 100644
--- a/src/DataProtection/samples/EntityFrameworkCoreSample/EntityFrameworkCoreSample.csproj
+++ b/src/DataProtection/samples/EntityFrameworkCoreSample/EntityFrameworkCoreSample.csproj
@@ -3,6 +3,8 @@
exe
netcoreapp3.0
+
+ false
@@ -11,6 +13,8 @@
+
+
diff --git a/src/DataProtection/samples/Redis/Redis.csproj b/src/DataProtection/samples/Redis/Redis.csproj
index f30e056234..12b5e42652 100644
--- a/src/DataProtection/samples/Redis/Redis.csproj
+++ b/src/DataProtection/samples/Redis/Redis.csproj
@@ -3,6 +3,8 @@
netcoreapp3.0
exe
+
+ false
@@ -10,6 +12,8 @@
+
+
diff --git a/src/DefaultBuilder/ref/Microsoft.AspNetCore.csproj b/src/DefaultBuilder/ref/Microsoft.AspNetCore.csproj
index b232f9b6b3..5380f58997 100644
--- a/src/DefaultBuilder/ref/Microsoft.AspNetCore.csproj
+++ b/src/DefaultBuilder/ref/Microsoft.AspNetCore.csproj
@@ -2,28 +2,26 @@
netcoreapp3.0
- false
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/DefaultBuilder/testassets/Directory.Build.props b/src/DefaultBuilder/testassets/Directory.Build.props
index b8ad72d258..b49282fb6f 100644
--- a/src/DefaultBuilder/testassets/Directory.Build.props
+++ b/src/DefaultBuilder/testassets/Directory.Build.props
@@ -6,11 +6,4 @@
-
-
-
-
-
diff --git a/src/Features/JsonPatch/ref/Microsoft.AspNetCore.JsonPatch.csproj b/src/Features/JsonPatch/ref/Microsoft.AspNetCore.JsonPatch.csproj
deleted file mode 100644
index c2eba6030a..0000000000
--- a/src/Features/JsonPatch/ref/Microsoft.AspNetCore.JsonPatch.csproj
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- netstandard2.0
-
-
-
-
-
-
-
diff --git a/src/Features/JsonPatch/ref/Microsoft.AspNetCore.JsonPatch.netstandard2.0.cs b/src/Features/JsonPatch/ref/Microsoft.AspNetCore.JsonPatch.netstandard2.0.cs
deleted file mode 100644
index f8ba24f51f..0000000000
--- a/src/Features/JsonPatch/ref/Microsoft.AspNetCore.JsonPatch.netstandard2.0.cs
+++ /dev/null
@@ -1,309 +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.JsonPatch
-{
- public partial interface IJsonPatchDocument
- {
- Newtonsoft.Json.Serialization.IContractResolver ContractResolver { get; set; }
- System.Collections.Generic.IList GetOperations();
- }
- [Newtonsoft.Json.JsonConverterAttribute(typeof(Microsoft.AspNetCore.JsonPatch.Converters.JsonPatchDocumentConverter))]
- public partial class JsonPatchDocument : Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument
- {
- public JsonPatchDocument() { }
- public JsonPatchDocument(System.Collections.Generic.List operations, Newtonsoft.Json.Serialization.IContractResolver contractResolver) { }
- [Newtonsoft.Json.JsonIgnoreAttribute]
- public Newtonsoft.Json.Serialization.IContractResolver ContractResolver { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public System.Collections.Generic.List Operations { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Add(string path, object value) { throw null; }
- public void ApplyTo(object objectToApplyTo) { }
- public void ApplyTo(object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter) { }
- public void ApplyTo(object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter, System.Action logErrorAction) { }
- public void ApplyTo(object objectToApplyTo, System.Action logErrorAction) { }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Copy(string from, string path) { throw null; }
- System.Collections.Generic.IList Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument.GetOperations() { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Move(string from, string path) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Remove(string path) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Replace(string path, object value) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Test(string path, object value) { throw null; }
- }
- [Newtonsoft.Json.JsonConverterAttribute(typeof(Microsoft.AspNetCore.JsonPatch.Converters.TypedJsonPatchDocumentConverter))]
- public partial class JsonPatchDocument : Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument where TModel : class
- {
- public JsonPatchDocument() { }
- public JsonPatchDocument(System.Collections.Generic.List> operations, Newtonsoft.Json.Serialization.IContractResolver contractResolver) { }
- [Newtonsoft.Json.JsonIgnoreAttribute]
- public Newtonsoft.Json.Serialization.IContractResolver ContractResolver { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public System.Collections.Generic.List> Operations { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Add(System.Linq.Expressions.Expression>> path, TProp value) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Add(System.Linq.Expressions.Expression>> path, TProp value, int position) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Add(System.Linq.Expressions.Expression> path, TProp value) { throw null; }
- public void ApplyTo(TModel objectToApplyTo) { }
- public void ApplyTo(TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter) { }
- public void ApplyTo(TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter, System.Action logErrorAction) { }
- public void ApplyTo(TModel objectToApplyTo, System.Action logErrorAction) { }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Copy(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Copy(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path, int positionTo) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Copy(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression> path) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Copy(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Copy(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path, int positionTo) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Copy(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression> path) { throw null; }
- System.Collections.Generic.IList Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument.GetOperations() { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Move(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Move(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression>> path, int positionTo) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Move(System.Linq.Expressions.Expression>> from, int positionFrom, System.Linq.Expressions.Expression> path) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Move(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Move(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression>> path, int positionTo) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Move(System.Linq.Expressions.Expression> from, System.Linq.Expressions.Expression> path) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Remove(System.Linq.Expressions.Expression>> path) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Remove(System.Linq.Expressions.Expression>> path, int position) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Remove(System.Linq.Expressions.Expression> path) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Replace(System.Linq.Expressions.Expression>> path, TProp value) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Replace(System.Linq.Expressions.Expression>> path, TProp value, int position) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Replace(System.Linq.Expressions.Expression> path, TProp value) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Test(System.Linq.Expressions.Expression>> path, TProp value) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Test(System.Linq.Expressions.Expression>> path, TProp value, int position) { throw null; }
- public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Test(System.Linq.Expressions.Expression> path, TProp value) { throw null; }
- }
- public partial class JsonPatchError
- {
- public JsonPatchError(object affectedObject, Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, string errorMessage) { }
- public object AffectedObject { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public string ErrorMessage { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public Microsoft.AspNetCore.JsonPatch.Operations.Operation Operation { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- }
- public partial class JsonPatchProperty
- {
- public JsonPatchProperty(Newtonsoft.Json.Serialization.JsonProperty property, object parent) { }
- public object Parent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public Newtonsoft.Json.Serialization.JsonProperty Property { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- }
-}
-namespace Microsoft.AspNetCore.JsonPatch.Adapters
-{
- public partial class AdapterFactory : Microsoft.AspNetCore.JsonPatch.Adapters.IAdapterFactory
- {
- public AdapterFactory() { }
- public virtual Microsoft.AspNetCore.JsonPatch.Internal.IAdapter Create(object target, Newtonsoft.Json.Serialization.IContractResolver contractResolver) { throw null; }
- }
- public partial interface IAdapterFactory
- {
- Microsoft.AspNetCore.JsonPatch.Internal.IAdapter Create(object target, Newtonsoft.Json.Serialization.IContractResolver contractResolver);
- }
- public partial interface IObjectAdapter
- {
- void Add(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo);
- void Copy(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo);
- void Move(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo);
- void Remove(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo);
- void Replace(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo);
- }
- public partial interface IObjectAdapterWithTest : Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter
- {
- void Test(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo);
- }
- public partial class ObjectAdapter : Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapterWithTest
- {
- public ObjectAdapter(Newtonsoft.Json.Serialization.IContractResolver contractResolver, System.Action logErrorAction) { }
- public ObjectAdapter(Newtonsoft.Json.Serialization.IContractResolver contractResolver, System.Action logErrorAction, Microsoft.AspNetCore.JsonPatch.Adapters.IAdapterFactory adapterFactory) { }
- public Microsoft.AspNetCore.JsonPatch.Adapters.IAdapterFactory AdapterFactory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public Newtonsoft.Json.Serialization.IContractResolver ContractResolver { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public System.Action LogErrorAction { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public void Add(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) { }
- public void Copy(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) { }
- public void Move(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) { }
- public void Remove(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) { }
- public void Replace(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) { }
- public void Test(Microsoft.AspNetCore.JsonPatch.Operations.Operation operation, object objectToApplyTo) { }
- }
-}
-namespace Microsoft.AspNetCore.JsonPatch.Converters
-{
- public partial class JsonPatchDocumentConverter : Newtonsoft.Json.JsonConverter
- {
- public JsonPatchDocumentConverter() { }
- public override bool CanConvert(System.Type objectType) { throw null; }
- public override object ReadJson(Newtonsoft.Json.JsonReader reader, System.Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer) { throw null; }
- public override void WriteJson(Newtonsoft.Json.JsonWriter writer, object value, Newtonsoft.Json.JsonSerializer serializer) { }
- }
- public partial class TypedJsonPatchDocumentConverter : Microsoft.AspNetCore.JsonPatch.Converters.JsonPatchDocumentConverter
- {
- public TypedJsonPatchDocumentConverter() { }
- public override object ReadJson(Newtonsoft.Json.JsonReader reader, System.Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer) { throw null; }
- }
-}
-namespace Microsoft.AspNetCore.JsonPatch.Exceptions
-{
- public partial class JsonPatchException : System.Exception
- {
- public JsonPatchException() { }
- public JsonPatchException(Microsoft.AspNetCore.JsonPatch.JsonPatchError jsonPatchError) { }
- public JsonPatchException(Microsoft.AspNetCore.JsonPatch.JsonPatchError jsonPatchError, System.Exception innerException) { }
- public JsonPatchException(string message, System.Exception innerException) { }
- public object AffectedObject { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public Microsoft.AspNetCore.JsonPatch.Operations.Operation FailedOperation { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- }
-}
-namespace Microsoft.AspNetCore.JsonPatch.Helpers
-{
- public partial class GetValueResult
- {
- public GetValueResult(object propertyValue, bool hasError) { }
- public bool HasError { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public object PropertyValue { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- }
-}
-namespace Microsoft.AspNetCore.JsonPatch.Internal
-{
- public partial class ConversionResult
- {
- public ConversionResult(bool canBeConverted, object convertedInstance) { }
- public bool CanBeConverted { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public object ConvertedInstance { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- }
- public static partial class ConversionResultProvider
- {
- public static Microsoft.AspNetCore.JsonPatch.Internal.ConversionResult ConvertTo(object value, System.Type typeToConvertTo) { throw null; }
- public static Microsoft.AspNetCore.JsonPatch.Internal.ConversionResult CopyTo(object value, System.Type typeToConvertTo) { throw null; }
- }
- public partial class DictionaryAdapter : Microsoft.AspNetCore.JsonPatch.Internal.IAdapter
- {
- public DictionaryAdapter() { }
- public virtual bool TryAdd(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) { throw null; }
- protected virtual bool TryConvertKey(string key, out TKey convertedKey, out string errorMessage) { throw null; }
- protected virtual bool TryConvertValue(object value, out TValue convertedValue, out string errorMessage) { throw null; }
- public virtual bool TryGet(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) { throw null; }
- public virtual bool TryRemove(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out string errorMessage) { throw null; }
- public virtual bool TryReplace(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) { throw null; }
- public virtual bool TryTest(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) { throw null; }
- public virtual bool TryTraverse(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object nextTarget, out string errorMessage) { throw null; }
- }
- public partial class DynamicObjectAdapter : Microsoft.AspNetCore.JsonPatch.Internal.IAdapter
- {
- public DynamicObjectAdapter() { }
- public virtual bool TryAdd(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) { throw null; }
- protected virtual bool TryConvertValue(object value, System.Type propertyType, out object convertedValue) { throw null; }
- public virtual bool TryGet(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) { throw null; }
- protected virtual bool TryGetDynamicObjectProperty(object target, Newtonsoft.Json.Serialization.IContractResolver contractResolver, string segment, out object value, out string errorMessage) { throw null; }
- public virtual bool TryRemove(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out string errorMessage) { throw null; }
- public virtual bool TryReplace(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) { throw null; }
- protected virtual bool TrySetDynamicObjectProperty(object target, Newtonsoft.Json.Serialization.IContractResolver contractResolver, string segment, object value, out string errorMessage) { throw null; }
- public virtual bool TryTest(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) { throw null; }
- public virtual bool TryTraverse(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object nextTarget, out string errorMessage) { throw null; }
- }
- public partial interface IAdapter
- {
- bool TryAdd(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage);
- bool TryGet(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage);
- bool TryRemove(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out string errorMessage);
- bool TryReplace(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage);
- bool TryTest(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage);
- bool TryTraverse(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object nextTarget, out string errorMessage);
- }
- public partial class ListAdapter : Microsoft.AspNetCore.JsonPatch.Internal.IAdapter
- {
- public ListAdapter() { }
- public virtual bool TryAdd(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) { throw null; }
- protected virtual bool TryConvertValue(object originalValue, System.Type listTypeArgument, string segment, out object convertedValue, out string errorMessage) { throw null; }
- public virtual bool TryGet(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) { throw null; }
- protected virtual bool TryGetListTypeArgument(System.Collections.IList list, out System.Type listTypeArgument, out string errorMessage) { throw null; }
- protected virtual bool TryGetPositionInfo(System.Collections.IList list, string segment, Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.OperationType operationType, out Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionInfo positionInfo, out string errorMessage) { throw null; }
- public virtual bool TryRemove(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out string errorMessage) { throw null; }
- public virtual bool TryReplace(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) { throw null; }
- public virtual bool TryTest(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) { throw null; }
- public virtual bool TryTraverse(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) { throw null; }
- protected enum OperationType
- {
- Add = 0,
- Remove = 1,
- Get = 2,
- Replace = 3,
- }
- [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- protected readonly partial struct PositionInfo
- {
- private readonly int _dummyPrimitive;
- public PositionInfo(Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType type, int index) { throw null; }
- public int Index { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public Microsoft.AspNetCore.JsonPatch.Internal.ListAdapter.PositionType Type { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- }
- protected enum PositionType
- {
- Index = 0,
- EndOfList = 1,
- Invalid = 2,
- OutOfBounds = 3,
- }
- }
- public partial class ObjectVisitor
- {
- public ObjectVisitor(Microsoft.AspNetCore.JsonPatch.Internal.ParsedPath path, Newtonsoft.Json.Serialization.IContractResolver contractResolver) { }
- public ObjectVisitor(Microsoft.AspNetCore.JsonPatch.Internal.ParsedPath path, Newtonsoft.Json.Serialization.IContractResolver contractResolver, Microsoft.AspNetCore.JsonPatch.Adapters.IAdapterFactory adapterFactory) { }
- public bool TryVisit(ref object target, out Microsoft.AspNetCore.JsonPatch.Internal.IAdapter adapter, out string errorMessage) { throw null; }
- }
- [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public readonly partial struct ParsedPath
- {
- private readonly object _dummy;
- public ParsedPath(string path) { throw null; }
- public string LastSegment { get { throw null; } }
- public System.Collections.Generic.IReadOnlyList Segments { get { throw null; } }
- }
- public partial class PocoAdapter : Microsoft.AspNetCore.JsonPatch.Internal.IAdapter
- {
- public PocoAdapter() { }
- public virtual bool TryAdd(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) { throw null; }
- protected virtual bool TryConvertValue(object value, System.Type propertyType, out object convertedValue) { throw null; }
- public virtual bool TryGet(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) { throw null; }
- protected virtual bool TryGetJsonProperty(object target, Newtonsoft.Json.Serialization.IContractResolver contractResolver, string segment, out Newtonsoft.Json.Serialization.JsonProperty jsonProperty) { throw null; }
- public virtual bool TryRemove(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out string errorMessage) { throw null; }
- public virtual bool TryReplace(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) { throw null; }
- public virtual bool TryTest(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, object value, out string errorMessage) { throw null; }
- public virtual bool TryTraverse(object target, string segment, Newtonsoft.Json.Serialization.IContractResolver contractResolver, out object value, out string errorMessage) { throw null; }
- }
-}
-namespace Microsoft.AspNetCore.JsonPatch.Operations
-{
- public partial class Operation : Microsoft.AspNetCore.JsonPatch.Operations.OperationBase
- {
- public Operation() { }
- public Operation(string op, string path, string from) { }
- public Operation(string op, string path, string from, object value) { }
- [Newtonsoft.Json.JsonPropertyAttribute("value")]
- public object value { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public void Apply(object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter) { }
- public bool ShouldSerializevalue() { throw null; }
- }
- public partial class OperationBase
- {
- public OperationBase() { }
- public OperationBase(string op, string path, string from) { }
- [Newtonsoft.Json.JsonPropertyAttribute("from")]
- public string from { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- [Newtonsoft.Json.JsonPropertyAttribute("op")]
- public string op { get { throw null; } set { } }
- [Newtonsoft.Json.JsonIgnoreAttribute]
- public Microsoft.AspNetCore.JsonPatch.Operations.OperationType OperationType { get { throw null; } }
- [Newtonsoft.Json.JsonPropertyAttribute("path")]
- public string path { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public bool ShouldSerializefrom() { throw null; }
- }
- public enum OperationType
- {
- Add = 0,
- Remove = 1,
- Replace = 2,
- Move = 3,
- Copy = 4,
- Test = 5,
- Invalid = 6,
- }
- public partial class Operation : Microsoft.AspNetCore.JsonPatch.Operations.Operation where TModel : class
- {
- public Operation() { }
- public Operation(string op, string path, string from) { }
- public Operation(string op, string path, string from, object value) { }
- public void Apply(TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter) { }
- }
-}
diff --git a/src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj b/src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj
index 255efbf900..4d2094750b 100644
--- a/src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj
+++ b/src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj
@@ -29,14 +29,17 @@ This package is an internal implementation of the .NET Core SDK and is not meant
false
false
-
+
false
PackageOverrides.txt
true
-
+
MSB3243
$(NoWarn);NU5131;NU5128
@@ -54,7 +57,6 @@ This package is an internal implementation of the .NET Core SDK and is not meant
-
false
@@ -208,7 +210,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
+ Condition=" '$(IsPackable)' == 'true' ">
<_TarCommand>tar
<_TarCommand Condition="Exists('$(RepoRoot).tools\tar.exe')">$(RepoRoot).tools\tar.exe
diff --git a/src/Hosting/Abstractions/ref/Microsoft.AspNetCore.Hosting.Abstractions.csproj b/src/Hosting/Abstractions/ref/Microsoft.AspNetCore.Hosting.Abstractions.csproj
index 6b19abf98b..961e2af1ec 100644
--- a/src/Hosting/Abstractions/ref/Microsoft.AspNetCore.Hosting.Abstractions.csproj
+++ b/src/Hosting/Abstractions/ref/Microsoft.AspNetCore.Hosting.Abstractions.csproj
@@ -2,13 +2,11 @@
netcoreapp3.0
- false
-
-
-
-
+
+
+
diff --git a/src/Hosting/Hosting/ref/Microsoft.AspNetCore.Hosting.Manual.cs b/src/Hosting/Hosting/ref/Microsoft.AspNetCore.Hosting.Manual.cs
new file mode 100644
index 0000000000..12132b3838
--- /dev/null
+++ b/src/Hosting/Hosting/ref/Microsoft.AspNetCore.Hosting.Manual.cs
@@ -0,0 +1,218 @@
+// 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.Hosting
+{
+ internal partial class ConfigureBuilder
+ {
+ public ConfigureBuilder(System.Reflection.MethodInfo configure) { }
+ public System.Reflection.MethodInfo MethodInfo { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public System.Action Build(object instance) { throw null; }
+ }
+ internal partial class ConfigureContainerBuilder
+ {
+ public ConfigureContainerBuilder(System.Reflection.MethodInfo configureContainerMethod) { }
+ public System.Func, System.Action> ConfigureContainerFilters { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public System.Reflection.MethodInfo MethodInfo { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public System.Action Build(object instance) { throw null; }
+ public System.Type GetContainerType() { throw null; }
+ }
+ internal partial class ConfigureServicesBuilder
+ {
+ public ConfigureServicesBuilder(System.Reflection.MethodInfo configureServices) { }
+ public System.Reflection.MethodInfo MethodInfo { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public System.Func, System.Func> StartupServiceFilters { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public System.Func Build(object instance) { throw null; }
+ }
+ internal partial class GenericWebHostBuilder : Microsoft.AspNetCore.Hosting.ISupportsStartup, Microsoft.AspNetCore.Hosting.ISupportsUseDefaultServiceProvider, Microsoft.AspNetCore.Hosting.IWebHostBuilder
+ {
+ public GenericWebHostBuilder(Microsoft.Extensions.Hosting.IHostBuilder builder) { }
+ public Microsoft.AspNetCore.Hosting.IWebHost Build() { throw null; }
+ public Microsoft.AspNetCore.Hosting.IWebHostBuilder Configure(System.Action configure) { throw null; }
+ public Microsoft.AspNetCore.Hosting.IWebHostBuilder ConfigureAppConfiguration(System.Action configureDelegate) { throw null; }
+ public Microsoft.AspNetCore.Hosting.IWebHostBuilder ConfigureServices(System.Action configureServices) { throw null; }
+ public Microsoft.AspNetCore.Hosting.IWebHostBuilder ConfigureServices(System.Action configureServices) { throw null; }
+ public string GetSetting(string key) { throw null; }
+ public Microsoft.AspNetCore.Hosting.IWebHostBuilder UseDefaultServiceProvider(System.Action configure) { throw null; }
+ public Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSetting(string key, string value) { throw null; }
+ public Microsoft.AspNetCore.Hosting.IWebHostBuilder UseStartup(System.Type startupType) { throw null; }
+ }
+ internal partial class GenericWebHostService : Microsoft.Extensions.Hosting.IHostedService
+ {
+ public GenericWebHostService(Microsoft.Extensions.Options.IOptions options, Microsoft.AspNetCore.Hosting.Server.IServer server, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Diagnostics.DiagnosticListener diagnosticListener, Microsoft.AspNetCore.Http.IHttpContextFactory httpContextFactory, Microsoft.AspNetCore.Hosting.Builder.IApplicationBuilderFactory applicationBuilderFactory, System.Collections.Generic.IEnumerable startupFilters, Microsoft.Extensions.Configuration.IConfiguration configuration, Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnvironment) { }
+ public Microsoft.AspNetCore.Hosting.Builder.IApplicationBuilderFactory ApplicationBuilderFactory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.Extensions.Configuration.IConfiguration Configuration { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public System.Diagnostics.DiagnosticListener DiagnosticListener { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Hosting.IWebHostEnvironment HostingEnvironment { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Http.IHttpContextFactory HttpContextFactory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.Extensions.Logging.ILogger LifetimeLogger { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.Extensions.Logging.ILogger Logger { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Hosting.GenericWebHostServiceOptions Options { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.AspNetCore.Hosting.Server.IServer Server { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public System.Collections.Generic.IEnumerable StartupFilters { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.Task StartAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
+ }
+ internal partial class GenericWebHostServiceOptions
+ {
+ public GenericWebHostServiceOptions() { }
+ public System.Action ConfigureApplication { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public System.AggregateException HostingStartupExceptions { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public Microsoft.AspNetCore.Hosting.WebHostOptions WebHostOptions { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ }
+ internal partial class HostingApplication : Microsoft.AspNetCore.Hosting.Server.IHttpApplication
+ {
+ public HostingApplication(Microsoft.AspNetCore.Http.RequestDelegate application, Microsoft.Extensions.Logging.ILogger logger, System.Diagnostics.DiagnosticListener diagnosticSource, Microsoft.AspNetCore.Http.IHttpContextFactory httpContextFactory) { }
+ public Microsoft.AspNetCore.Hosting.HostingApplication.Context CreateContext(Microsoft.AspNetCore.Http.Features.IFeatureCollection contextFeatures) { throw null; }
+ public void DisposeContext(Microsoft.AspNetCore.Hosting.HostingApplication.Context context, System.Exception exception) { }
+ public System.Threading.Tasks.Task ProcessRequestAsync(Microsoft.AspNetCore.Hosting.HostingApplication.Context context) { throw null; }
+ internal partial class Context
+ {
+ public Context() { }
+ public System.Diagnostics.Activity Activity { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public bool EventLogEnabled { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ internal bool HasDiagnosticListener { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public Microsoft.AspNetCore.Http.HttpContext HttpContext { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public System.IDisposable Scope { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public long StartTimestamp { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public void Reset() { }
+ }
+ }
+ internal partial class HostingEnvironment : Microsoft.AspNetCore.Hosting.IHostingEnvironment, Microsoft.AspNetCore.Hosting.IWebHostEnvironment, Microsoft.Extensions.Hosting.IHostEnvironment, Microsoft.Extensions.Hosting.IHostingEnvironment
+ {
+ public HostingEnvironment() { }
+ public string ApplicationName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public Microsoft.Extensions.FileProviders.IFileProvider ContentRootFileProvider { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public string ContentRootPath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public string EnvironmentName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public Microsoft.Extensions.FileProviders.IFileProvider WebRootFileProvider { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public string WebRootPath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ }
+ internal static partial class HostingEnvironmentExtensions
+ {
+ internal static void Initialize(this Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnvironment, string contentRootPath, Microsoft.AspNetCore.Hosting.WebHostOptions options) { }
+ internal static void Initialize(this Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnvironment, string contentRootPath, Microsoft.AspNetCore.Hosting.WebHostOptions options) { }
+ }
+ internal sealed partial class HostingEventSource : System.Diagnostics.Tracing.EventSource
+ {
+ public static readonly Microsoft.AspNetCore.Hosting.HostingEventSource Log;
+ internal HostingEventSource() { }
+ internal HostingEventSource(string eventSourceName) { }
+ [System.Diagnostics.Tracing.EventAttribute(1, Level=System.Diagnostics.Tracing.EventLevel.Informational)]
+ public void HostStart() { }
+ [System.Diagnostics.Tracing.EventAttribute(2, Level=System.Diagnostics.Tracing.EventLevel.Informational)]
+ public void HostStop() { }
+ protected override void OnEventCommand(System.Diagnostics.Tracing.EventCommandEventArgs command) { }
+ internal void RequestFailed() { }
+ [System.Diagnostics.Tracing.EventAttribute(3, Level=System.Diagnostics.Tracing.EventLevel.Informational)]
+ public void RequestStart(string method, string path) { }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)][System.Diagnostics.Tracing.EventAttribute(4, Level=System.Diagnostics.Tracing.EventLevel.Informational)]
+ public void RequestStop() { }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)][System.Diagnostics.Tracing.EventAttribute(5, Level=System.Diagnostics.Tracing.EventLevel.Error)]
+ public void UnhandledException() { }
+ }
+ internal partial class HostingRequestStartingLog : System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyList>, System.Collections.IEnumerable
+ {
+ internal static readonly System.Func Callback;
+ public HostingRequestStartingLog(Microsoft.AspNetCore.Http.HttpContext httpContext) { }
+ public int Count { get { throw null; } }
+ public System.Collections.Generic.KeyValuePair this[int index] { get { throw null; } }
+ public System.Collections.Generic.IEnumerator> GetEnumerator() { throw null; }
+ System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
+ public override string ToString() { throw null; }
+ }
+ internal partial interface ISupportsStartup
+ {
+ Microsoft.AspNetCore.Hosting.IWebHostBuilder Configure(System.Action configure);
+ Microsoft.AspNetCore.Hosting.IWebHostBuilder UseStartup(System.Type startupType);
+ }
+ internal partial interface ISupportsUseDefaultServiceProvider
+ {
+ Microsoft.AspNetCore.Hosting.IWebHostBuilder UseDefaultServiceProvider(System.Action configure);
+ }
+ internal static partial class LoggerEventIds
+ {
+ public const int ApplicationStartupException = 6;
+ public const int ApplicationStoppedException = 8;
+ public const int ApplicationStoppingException = 7;
+ public const int HostedServiceStartException = 9;
+ public const int HostedServiceStopException = 10;
+ public const int HostingStartupAssemblyException = 11;
+ public const int RequestFinished = 2;
+ public const int RequestStarting = 1;
+ public const int ServerShutdownException = 12;
+ public const int Shutdown = 5;
+ public const int Started = 4;
+ public const int Starting = 3;
+ }
+ internal partial class StartupLoader
+ {
+ public StartupLoader() { }
+ internal static Microsoft.AspNetCore.Hosting.ConfigureContainerBuilder FindConfigureContainerDelegate(System.Type startupType, string environmentName) { throw null; }
+ internal static Microsoft.AspNetCore.Hosting.ConfigureBuilder FindConfigureDelegate(System.Type startupType, string environmentName) { throw null; }
+ internal static Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder FindConfigureServicesDelegate(System.Type startupType, string environmentName) { throw null; }
+ public static System.Type FindStartupType(string startupAssemblyName, string environmentName) { throw null; }
+ internal static bool HasConfigureServicesIServiceProviderDelegate(System.Type startupType, string environmentName) { throw null; }
+ public static Microsoft.AspNetCore.Hosting.StartupMethods LoadMethods(System.IServiceProvider hostingServiceProvider, System.Type startupType, string environmentName) { throw null; }
+ }
+ internal partial class StartupMethods
+ {
+ public StartupMethods(object instance, System.Action configure, System.Func configureServices) { }
+ public System.Action ConfigureDelegate { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public System.Func ConfigureServicesDelegate { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public object StartupInstance { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ }
+ internal partial class WebHostOptions
+ {
+ public WebHostOptions() { }
+ public WebHostOptions(Microsoft.Extensions.Configuration.IConfiguration configuration) { }
+ public WebHostOptions(Microsoft.Extensions.Configuration.IConfiguration configuration, string applicationNameFallback) { }
+ public string ApplicationName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public bool CaptureStartupErrors { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public string ContentRootPath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public bool DetailedErrors { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public string Environment { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public System.Collections.Generic.IReadOnlyList HostingStartupAssemblies { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public System.Collections.Generic.IReadOnlyList HostingStartupExcludeAssemblies { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public bool PreventHostingStartup { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public System.TimeSpan ShutdownTimeout { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public string StartupAssembly { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public bool SuppressStatusMessages { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public string WebRoot { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ public System.Collections.Generic.IEnumerable GetFinalHostingStartupAssemblies() { throw null; }
+ }
+}
+
+namespace Microsoft.AspNetCore.Hosting.StaticWebAssets
+{
+ internal partial class StaticWebAssetsFileProvider : Microsoft.Extensions.FileProviders.IFileProvider
+ {
+ public StaticWebAssetsFileProvider(string pathPrefix, string contentRoot) { }
+ public Microsoft.AspNetCore.Http.PathString BasePath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.Extensions.FileProviders.PhysicalFileProvider InnerProvider { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public Microsoft.Extensions.FileProviders.IDirectoryContents GetDirectoryContents(string subpath) { throw null; }
+ public Microsoft.Extensions.FileProviders.IFileInfo GetFileInfo(string subpath) { throw null; }
+ public Microsoft.Extensions.Primitives.IChangeToken Watch(string filter) { throw null; }
+ }
+ public partial class StaticWebAssetsLoader
+ {
+ internal const string StaticWebAssetsManifestName = "Microsoft.AspNetCore.StaticWebAssets.xml";
+ internal static string GetAssemblyLocation(System.Reflection.Assembly assembly) { throw null; }
+ internal static System.IO.Stream ResolveManifest(Microsoft.AspNetCore.Hosting.IWebHostEnvironment environment, Microsoft.Extensions.Configuration.IConfiguration configuration) { throw null; }
+ internal static void UseStaticWebAssetsCore(Microsoft.AspNetCore.Hosting.IWebHostEnvironment environment, System.IO.Stream manifest) { }
+ }
+ internal static partial class StaticWebAssetsReader
+ {
+ internal static System.Collections.Generic.IEnumerable Parse(System.IO.Stream manifest) { throw null; }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ internal readonly partial struct ContentRootMapping
+ {
+ private readonly object _dummy;
+ public ContentRootMapping(string basePath, string path) { throw null; }
+ public string BasePath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public string Path { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ }
+ }
+}
diff --git a/src/Hosting/Hosting/ref/Microsoft.AspNetCore.Hosting.csproj b/src/Hosting/Hosting/ref/Microsoft.AspNetCore.Hosting.csproj
index b05a67027c..8721a47ffc 100644
--- a/src/Hosting/Hosting/ref/Microsoft.AspNetCore.Hosting.csproj
+++ b/src/Hosting/Hosting/ref/Microsoft.AspNetCore.Hosting.csproj
@@ -2,23 +2,23 @@
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 74101ce3e9..6d38841f4e 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,12 +2,10 @@
netcoreapp3.0
- false
-
-
-
+
+
diff --git a/src/Hosting/Server.IntegrationTesting/ref/Microsoft.AspNetCore.Server.IntegrationTesting.csproj b/src/Hosting/Server.IntegrationTesting/ref/Microsoft.AspNetCore.Server.IntegrationTesting.csproj
deleted file mode 100644
index 6bcbe4e83c..0000000000
--- a/src/Hosting/Server.IntegrationTesting/ref/Microsoft.AspNetCore.Server.IntegrationTesting.csproj
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
- netcoreapp3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/Hosting/Server.IntegrationTesting/ref/Microsoft.AspNetCore.Server.IntegrationTesting.netcoreapp3.0.cs b/src/Hosting/Server.IntegrationTesting/ref/Microsoft.AspNetCore.Server.IntegrationTesting.netcoreapp3.0.cs
deleted file mode 100644
index a9d6aac1e1..0000000000
--- a/src/Hosting/Server.IntegrationTesting/ref/Microsoft.AspNetCore.Server.IntegrationTesting.netcoreapp3.0.cs
+++ /dev/null
@@ -1,275 +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.Hosting
-{
- public static partial class IWebHostExtensions
- {
- public static string GetAddress(this Microsoft.AspNetCore.Hosting.IWebHost host) { throw null; }
- }
-}
-namespace Microsoft.AspNetCore.Server.IntegrationTesting
-{
- public abstract partial class ApplicationDeployer : System.IDisposable
- {
- public static readonly string DotnetCommandName;
- public ApplicationDeployer(Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters deploymentParameters, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) { }
- protected Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters DeploymentParameters { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- protected Microsoft.Extensions.Logging.ILogger Logger { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- protected Microsoft.Extensions.Logging.ILoggerFactory LoggerFactory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- protected void AddEnvironmentVariablesToProcess(System.Diagnostics.ProcessStartInfo startInfo, System.Collections.Generic.IDictionary environmentVariables) { }
- protected void CleanPublishedOutput() { }
- public abstract System.Threading.Tasks.Task DeployAsync();
- public abstract void Dispose();
- protected void DotnetPublish(string publishRoot = null) { }
- protected string GetDotNetExeForArchitecture() { throw null; }
- protected void InvokeUserApplicationCleanup() { }
- protected void ShutDownIfAnyHostProcess(System.Diagnostics.Process hostProcess) { }
- protected void StartTimer() { }
- protected void StopTimer() { }
- protected void TriggerHostShutdown(System.Threading.CancellationTokenSource hostShutdownSource) { }
- }
- public partial class ApplicationDeployerFactory
- {
- public ApplicationDeployerFactory() { }
- public static Microsoft.AspNetCore.Server.IntegrationTesting.ApplicationDeployer Create(Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters deploymentParameters, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) { throw null; }
- }
- public partial class ApplicationPublisher
- {
- public static readonly string DotnetCommandName;
- public ApplicationPublisher(string applicationPath) { }
- public string ApplicationPath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- protected static System.IO.DirectoryInfo CreateTempDirectory() { throw null; }
- public virtual System.Threading.Tasks.Task Publish(Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters deploymentParameters, Microsoft.Extensions.Logging.ILogger logger) { throw null; }
- }
- public enum ApplicationType
- {
- Portable = 0,
- Standalone = 1,
- }
- public partial class CachingApplicationPublisher : Microsoft.AspNetCore.Server.IntegrationTesting.ApplicationPublisher, System.IDisposable
- {
- public CachingApplicationPublisher(string applicationPath) : base (default(string)) { }
- public static void CopyFiles(System.IO.DirectoryInfo source, System.IO.DirectoryInfo target, Microsoft.Extensions.Logging.ILogger logger) { }
- public void Dispose() { }
- [System.Diagnostics.DebuggerStepThroughAttribute]
- public override System.Threading.Tasks.Task Publish(Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters deploymentParameters, Microsoft.Extensions.Logging.ILogger logger) { throw null; }
- }
- public partial class DeploymentParameters
- {
- public DeploymentParameters() { }
- public DeploymentParameters(Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters parameters) { }
- public DeploymentParameters(Microsoft.AspNetCore.Server.IntegrationTesting.TestVariant variant) { }
- public DeploymentParameters(string applicationPath, Microsoft.AspNetCore.Server.IntegrationTesting.ServerType serverType, Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeFlavor runtimeFlavor, Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeArchitecture runtimeArchitecture) { }
- public string AdditionalPublishParameters { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string ApplicationBaseUriHint { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string ApplicationName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string ApplicationPath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public Microsoft.AspNetCore.Server.IntegrationTesting.ApplicationPublisher ApplicationPublisher { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public Microsoft.AspNetCore.Server.IntegrationTesting.ApplicationType ApplicationType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string Configuration { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string EnvironmentName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public System.Collections.Generic.IDictionary EnvironmentVariables { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public Microsoft.AspNetCore.Server.IntegrationTesting.HostingModel HostingModel { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public bool PreservePublishedApplicationForDebugging { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public bool PublishApplicationBeforeDeployment { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string PublishedApplicationRootPath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public System.Collections.Generic.IDictionary PublishEnvironmentVariables { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeArchitecture RuntimeArchitecture { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeFlavor RuntimeFlavor { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string Scheme { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string ServerConfigLocation { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string ServerConfigTemplateContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public Microsoft.AspNetCore.Server.IntegrationTesting.ServerType ServerType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string SiteName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public bool StatusMessagesEnabled { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string TargetFramework { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public System.Action UserAdditionalCleanup { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public override string ToString() { throw null; }
- }
- public partial class DeploymentResult
- {
- public DeploymentResult(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters deploymentParameters, string applicationBaseUri) { }
- public DeploymentResult(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters deploymentParameters, string applicationBaseUri, string contentRoot, System.Threading.CancellationToken hostShutdownToken) { }
- public string ApplicationBaseUri { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public string ContentRoot { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters DeploymentParameters { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public System.Threading.CancellationToken HostShutdownToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public System.Net.Http.HttpClient HttpClient { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public System.Net.Http.HttpClient CreateHttpClient(System.Net.Http.HttpMessageHandler baseHandler) { throw null; }
- }
- public static partial class DotNetCommands
- {
- public static string GetDotNetExecutable(Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeArchitecture arch) { throw null; }
- public static string GetDotNetHome() { throw null; }
- public static string GetDotNetInstallDir(Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeArchitecture arch) { throw null; }
- public static bool IsRunningX86OnX64(Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeArchitecture arch) { throw null; }
- }
- public enum HostingModel
- {
- InProcess = 2,
- None = 0,
- OutOfProcess = 1,
- }
- public partial class IISExpressAncmSchema
- {
- public IISExpressAncmSchema() { }
- public static string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public static bool SupportsInProcessHosting { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- }
- public partial class NginxDeployer : Microsoft.AspNetCore.Server.IntegrationTesting.SelfHostDeployer
- {
- public NginxDeployer(Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters deploymentParameters, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) : base (default(Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters), default(Microsoft.Extensions.Logging.ILoggerFactory)) { }
- [System.Diagnostics.DebuggerStepThroughAttribute]
- public override System.Threading.Tasks.Task DeployAsync() { throw null; }
- public override void Dispose() { }
- }
- public partial class PublishedApplication : System.IDisposable
- {
- public PublishedApplication(string path, Microsoft.Extensions.Logging.ILogger logger) { }
- public string Path { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public void Dispose() { }
- }
- public partial class RemoteWindowsDeployer : Microsoft.AspNetCore.Server.IntegrationTesting.ApplicationDeployer
- {
- public RemoteWindowsDeployer(Microsoft.AspNetCore.Server.IntegrationTesting.RemoteWindowsDeploymentParameters deploymentParameters, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) : base (default(Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters), default(Microsoft.Extensions.Logging.ILoggerFactory)) { }
- [System.Diagnostics.DebuggerStepThroughAttribute]
- public override System.Threading.Tasks.Task DeployAsync() { throw null; }
- public override void Dispose() { }
- }
- public partial class RemoteWindowsDeploymentParameters : Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters
- {
- public RemoteWindowsDeploymentParameters(string applicationPath, string dotnetRuntimePath, Microsoft.AspNetCore.Server.IntegrationTesting.ServerType serverType, Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeFlavor runtimeFlavor, Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeArchitecture runtimeArchitecture, string remoteServerFileSharePath, string remoteServerName, string remoteServerAccountName, string remoteServerAccountPassword) { }
- public string DotnetRuntimePath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public string RemoteServerFileSharePath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public string ServerAccountName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public string ServerAccountPassword { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public string ServerName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- }
- public partial class RetryHelper
- {
- public RetryHelper() { }
- public static void RetryOperation(System.Action retryBlock, System.Action exceptionBlock, int retryCount = 3, int retryDelayMilliseconds = 0) { }
- [System.Diagnostics.DebuggerStepThroughAttribute]
- public static System.Threading.Tasks.Task RetryRequest(System.Func> retryBlock, Microsoft.Extensions.Logging.ILogger logger, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken), int retryCount = 60) { throw null; }
- }
- public enum RuntimeArchitecture
- {
- x64 = 0,
- x86 = 1,
- }
- public enum RuntimeFlavor
- {
- Clr = 2,
- CoreClr = 1,
- None = 0,
- }
- public partial class SelfHostDeployer : Microsoft.AspNetCore.Server.IntegrationTesting.ApplicationDeployer
- {
- public SelfHostDeployer(Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters deploymentParameters, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) : base (default(Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters), default(Microsoft.Extensions.Logging.ILoggerFactory)) { }
- public System.Diagnostics.Process HostProcess { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- [System.Diagnostics.DebuggerStepThroughAttribute]
- public override System.Threading.Tasks.Task DeployAsync() { throw null; }
- public override void Dispose() { }
- [System.Diagnostics.DebuggerStepThroughAttribute]
- protected System.Threading.Tasks.Task> StartSelfHostAsync(System.Uri hintUrl) { throw null; }
- }
- public enum ServerType
- {
- HttpSys = 3,
- IIS = 2,
- IISExpress = 1,
- Kestrel = 4,
- Nginx = 5,
- None = 0,
- }
- [System.AttributeUsageAttribute(System.AttributeTargets.Method, AllowMultiple=true)]
- public partial class SkipIfEnvironmentVariableNotEnabledAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition
- {
- public SkipIfEnvironmentVariableNotEnabledAttribute(string environmentVariableName) { }
- public string AdditionalInfo { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public bool IsMet { get { throw null; } }
- public string SkipReason { get { throw null; } }
- }
- [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method)]
- public sealed partial class SkipIfIISExpressSchemaMissingInProcessAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition
- {
- public SkipIfIISExpressSchemaMissingInProcessAttribute() { }
- public bool IsMet { get { throw null; } }
- public string SkipReason { get { throw null; } }
- }
- [System.AttributeUsageAttribute(System.AttributeTargets.Method, AllowMultiple=false)]
- public partial class SkipOn32BitOSAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition
- {
- public SkipOn32BitOSAttribute() { }
- public bool IsMet { get { throw null; } }
- public string SkipReason { get { throw null; } }
- }
- public partial class TestMatrix : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable
- {
- public TestMatrix() { }
- public System.Collections.Generic.IList ApplicationTypes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public System.Collections.Generic.IList Architectures { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public System.Collections.Generic.IList HostingModels { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public System.Collections.Generic.IList Servers { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public System.Collections.Generic.IList Tfms { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public static Microsoft.AspNetCore.Server.IntegrationTesting.TestMatrix ForServers(params Microsoft.AspNetCore.Server.IntegrationTesting.ServerType[] types) { throw null; }
- public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; }
- public Microsoft.AspNetCore.Server.IntegrationTesting.TestMatrix Skip(string message, System.Func check) { throw null; }
- System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
- public Microsoft.AspNetCore.Server.IntegrationTesting.TestMatrix WithAllApplicationTypes() { throw null; }
- public Microsoft.AspNetCore.Server.IntegrationTesting.TestMatrix WithAllArchitectures() { throw null; }
- public Microsoft.AspNetCore.Server.IntegrationTesting.TestMatrix WithAllHostingModels() { throw null; }
- public Microsoft.AspNetCore.Server.IntegrationTesting.TestMatrix WithAncmV2InProcess() { throw null; }
- public Microsoft.AspNetCore.Server.IntegrationTesting.TestMatrix WithApplicationTypes(params Microsoft.AspNetCore.Server.IntegrationTesting.ApplicationType[] types) { throw null; }
- public Microsoft.AspNetCore.Server.IntegrationTesting.TestMatrix WithArchitectures(params Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeArchitecture[] archs) { throw null; }
- public Microsoft.AspNetCore.Server.IntegrationTesting.TestMatrix WithHostingModels(params Microsoft.AspNetCore.Server.IntegrationTesting.HostingModel[] models) { throw null; }
- public Microsoft.AspNetCore.Server.IntegrationTesting.TestMatrix WithTfms(params string[] tfms) { throw null; }
- }
- public partial class TestVariant : Xunit.Abstractions.IXunitSerializable
- {
- public TestVariant() { }
- public Microsoft.AspNetCore.Server.IntegrationTesting.ApplicationType ApplicationType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeArchitecture Architecture { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public Microsoft.AspNetCore.Server.IntegrationTesting.HostingModel HostingModel { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public Microsoft.AspNetCore.Server.IntegrationTesting.ServerType Server { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string Skip { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string Tfm { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public void Deserialize(Xunit.Abstractions.IXunitSerializationInfo info) { }
- public void Serialize(Xunit.Abstractions.IXunitSerializationInfo info) { }
- public override string ToString() { throw null; }
- }
- public static partial class Tfm
- {
- public const string Net461 = "net461";
- public const string NetCoreApp20 = "netcoreapp2.0";
- public const string NetCoreApp21 = "netcoreapp2.1";
- public const string NetCoreApp22 = "netcoreapp2.2";
- public const string NetCoreApp30 = "netcoreapp3.0";
- public static bool Matches(string tfm1, string tfm2) { throw null; }
- }
-}
-namespace Microsoft.AspNetCore.Server.IntegrationTesting.Common
-{
- public static partial class TestPortHelper
- {
- public static int GetNextPort() { throw null; }
- public static int GetNextSSLPort() { throw null; }
- }
- public static partial class TestUriHelper
- {
- public static System.Uri BuildTestUri(Microsoft.AspNetCore.Server.IntegrationTesting.ServerType serverType) { throw null; }
- public static System.Uri BuildTestUri(Microsoft.AspNetCore.Server.IntegrationTesting.ServerType serverType, string hint) { throw null; }
- }
- public static partial class TestUrlHelper
- {
- public static string GetTestUrl(Microsoft.AspNetCore.Server.IntegrationTesting.ServerType serverType) { throw null; }
- }
-}
-namespace System.Diagnostics
-{
- public static partial class ProcessLoggingExtensions
- {
- public static void StartAndCaptureOutAndErrToLogger(this System.Diagnostics.Process process, string prefix, Microsoft.Extensions.Logging.ILogger logger) { }
- }
-}
diff --git a/src/Hosting/TestHost/ref/Microsoft.AspNetCore.TestHost.csproj b/src/Hosting/TestHost/ref/Microsoft.AspNetCore.TestHost.csproj
deleted file mode 100644
index 3e9b20abad..0000000000
--- a/src/Hosting/TestHost/ref/Microsoft.AspNetCore.TestHost.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- netcoreapp3.0
-
-
-
-
-
-
-
-
diff --git a/src/Hosting/TestHost/ref/Microsoft.AspNetCore.TestHost.netcoreapp3.0.cs b/src/Hosting/TestHost/ref/Microsoft.AspNetCore.TestHost.netcoreapp3.0.cs
deleted file mode 100644
index ed7536b490..0000000000
--- a/src/Hosting/TestHost/ref/Microsoft.AspNetCore.TestHost.netcoreapp3.0.cs
+++ /dev/null
@@ -1,77 +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.TestHost
-{
- public partial class ClientHandler : System.Net.Http.HttpMessageHandler
- {
- internal ClientHandler() { }
- [System.Diagnostics.DebuggerStepThroughAttribute]
- protected override System.Threading.Tasks.Task SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { throw null; }
- }
- public static partial class HostBuilderTestServerExtensions
- {
- public static System.Net.Http.HttpClient GetTestClient(this Microsoft.Extensions.Hosting.IHost host) { throw null; }
- public static Microsoft.AspNetCore.TestHost.TestServer GetTestServer(this Microsoft.Extensions.Hosting.IHost host) { throw null; }
- }
- public partial class HttpResetTestException : System.Exception
- {
- public HttpResetTestException(int errorCode) { }
- public int ErrorCode { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- }
- public partial class RequestBuilder
- {
- public RequestBuilder(Microsoft.AspNetCore.TestHost.TestServer server, string path) { }
- public Microsoft.AspNetCore.TestHost.TestServer TestServer { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public Microsoft.AspNetCore.TestHost.RequestBuilder AddHeader(string name, string value) { throw null; }
- public Microsoft.AspNetCore.TestHost.RequestBuilder And(System.Action configure) { throw null; }
- public System.Threading.Tasks.Task GetAsync() { throw null; }
- public System.Threading.Tasks.Task PostAsync() { throw null; }
- public System.Threading.Tasks.Task SendAsync(string method) { throw null; }
- }
- public partial class TestServer : Microsoft.AspNetCore.Hosting.Server.IServer, System.IDisposable
- {
- public TestServer(Microsoft.AspNetCore.Hosting.IWebHostBuilder builder) { }
- public TestServer(Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, Microsoft.AspNetCore.Http.Features.IFeatureCollection featureCollection) { }
- public TestServer(System.IServiceProvider services) { }
- public TestServer(System.IServiceProvider services, Microsoft.AspNetCore.Http.Features.IFeatureCollection featureCollection) { }
- public bool AllowSynchronousIO { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public System.Uri BaseAddress { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public Microsoft.AspNetCore.Http.Features.IFeatureCollection Features { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public Microsoft.AspNetCore.Hosting.IWebHost Host { get { throw null; } }
- public bool PreserveExecutionContext { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public System.IServiceProvider Services { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public System.Net.Http.HttpClient CreateClient() { throw null; }
- public System.Net.Http.HttpMessageHandler CreateHandler() { throw null; }
- public Microsoft.AspNetCore.TestHost.RequestBuilder CreateRequest(string path) { throw null; }
- public Microsoft.AspNetCore.TestHost.WebSocketClient CreateWebSocketClient() { throw null; }
- public void Dispose() { }
- System.Threading.Tasks.Task Microsoft.AspNetCore.Hosting.Server.IServer.StartAsync(Microsoft.AspNetCore.Hosting.Server.IHttpApplication application, System.Threading.CancellationToken cancellationToken) { throw null; }
- System.Threading.Tasks.Task Microsoft.AspNetCore.Hosting.Server.IServer.StopAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
- [System.Diagnostics.DebuggerStepThroughAttribute]
- public System.Threading.Tasks.Task SendAsync(System.Action configureContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- }
- public static partial class WebHostBuilderExtensions
- {
- public static Microsoft.AspNetCore.Hosting.IWebHostBuilder ConfigureTestContainer(this Microsoft.AspNetCore.Hosting.IWebHostBuilder webHostBuilder, System.Action servicesConfiguration) { throw null; }
- public static Microsoft.AspNetCore.Hosting.IWebHostBuilder ConfigureTestServices(this Microsoft.AspNetCore.Hosting.IWebHostBuilder webHostBuilder, System.Action servicesConfiguration) { throw null; }
- public static System.Net.Http.HttpClient GetTestClient(this Microsoft.AspNetCore.Hosting.IWebHost host) { throw null; }
- public static Microsoft.AspNetCore.TestHost.TestServer GetTestServer(this Microsoft.AspNetCore.Hosting.IWebHost host) { throw null; }
- public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSolutionRelativeContentRoot(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, string solutionRelativePath, string solutionName = "*.sln") { throw null; }
- public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSolutionRelativeContentRoot(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, string solutionRelativePath, string applicationBasePath, string solutionName = "*.sln") { throw null; }
- public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseTestServer(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder) { throw null; }
- }
- public static partial class WebHostBuilderFactory
- {
- public static Microsoft.AspNetCore.Hosting.IWebHostBuilder CreateFromAssemblyEntryPoint(System.Reflection.Assembly assembly, string[] args) { throw null; }
- public static Microsoft.AspNetCore.Hosting.IWebHostBuilder CreateFromTypesAssemblyEntryPoint(string[] args) { throw null; }
- }
- public partial class WebSocketClient
- {
- internal WebSocketClient() { }
- public System.Action ConfigureRequest { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public System.Collections.Generic.IList SubProtocols { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- [System.Diagnostics.DebuggerStepThroughAttribute]
- public System.Threading.Tasks.Task ConnectAsync(System.Uri uri, System.Threading.CancellationToken cancellationToken) { throw null; }
- }
-}
diff --git a/src/Hosting/WindowsServices/ref/Microsoft.AspNetCore.Hosting.WindowsServices.csproj b/src/Hosting/WindowsServices/ref/Microsoft.AspNetCore.Hosting.WindowsServices.csproj
deleted file mode 100644
index 6ddfceca7c..0000000000
--- a/src/Hosting/WindowsServices/ref/Microsoft.AspNetCore.Hosting.WindowsServices.csproj
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- netcoreapp3.0
-
-
-
-
-
-
-
diff --git a/src/Hosting/WindowsServices/ref/Microsoft.AspNetCore.Hosting.WindowsServices.netcoreapp3.0.cs b/src/Hosting/WindowsServices/ref/Microsoft.AspNetCore.Hosting.WindowsServices.netcoreapp3.0.cs
deleted file mode 100644
index 0bcdd5d17c..0000000000
--- a/src/Hosting/WindowsServices/ref/Microsoft.AspNetCore.Hosting.WindowsServices.netcoreapp3.0.cs
+++ /dev/null
@@ -1,21 +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.Hosting.WindowsServices
-{
- [System.ComponentModel.DesignerCategoryAttribute("Code")]
- public partial class WebHostService : System.ServiceProcess.ServiceBase
- {
- public WebHostService(Microsoft.AspNetCore.Hosting.IWebHost host) { }
- protected sealed override void OnStart(string[] args) { }
- protected virtual void OnStarted() { }
- protected virtual void OnStarting(string[] args) { }
- protected sealed override void OnStop() { }
- protected virtual void OnStopped() { }
- protected virtual void OnStopping() { }
- }
- public static partial class WebHostWindowsServiceExtensions
- {
- public static void RunAsService(this Microsoft.AspNetCore.Hosting.IWebHost host) { }
- }
-}
diff --git a/src/Hosting/test/testassets/IStartupInjectionAssemblyName/IStartupInjectionAssemblyName.csproj b/src/Hosting/test/testassets/IStartupInjectionAssemblyName/IStartupInjectionAssemblyName.csproj
index da860f1783..3ea37b679b 100644
--- a/src/Hosting/test/testassets/IStartupInjectionAssemblyName/IStartupInjectionAssemblyName.csproj
+++ b/src/Hosting/test/testassets/IStartupInjectionAssemblyName/IStartupInjectionAssemblyName.csproj
@@ -6,11 +6,6 @@
-
-
-
diff --git a/src/Html/Abstractions/ref/Microsoft.AspNetCore.Html.Abstractions.Manual.cs b/src/Html/Abstractions/ref/Microsoft.AspNetCore.Html.Abstractions.Manual.cs
new file mode 100644
index 0000000000..3cb6aab378
--- /dev/null
+++ b/src/Html/Abstractions/ref/Microsoft.AspNetCore.Html.Abstractions.Manual.cs
@@ -0,0 +1,13 @@
+// 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.Html
+{
+ public partial class HtmlContentBuilder : Microsoft.AspNetCore.Html.IHtmlContent, Microsoft.AspNetCore.Html.IHtmlContentBuilder, Microsoft.AspNetCore.Html.IHtmlContentContainer
+ {
+ internal System.Collections.Generic.IList Entries
+ {
+ [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; }
+ }
+ }
+}
diff --git a/src/Html/Abstractions/ref/Microsoft.AspNetCore.Html.Abstractions.csproj b/src/Html/Abstractions/ref/Microsoft.AspNetCore.Html.Abstractions.csproj
index 20451ebbd5..676449b513 100644
--- a/src/Html/Abstractions/ref/Microsoft.AspNetCore.Html.Abstractions.csproj
+++ b/src/Html/Abstractions/ref/Microsoft.AspNetCore.Html.Abstractions.csproj
@@ -2,11 +2,10 @@
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 8f174166c1..559a3c2cfb 100644
--- a/src/Http/Authentication.Abstractions/ref/Microsoft.AspNetCore.Authentication.Abstractions.csproj
+++ b/src/Http/Authentication.Abstractions/ref/Microsoft.AspNetCore.Authentication.Abstractions.csproj
@@ -2,13 +2,11 @@
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 4be3f75582..0a0f96fe91 100644
--- a/src/Http/Authentication.Core/ref/Microsoft.AspNetCore.Authentication.Core.csproj
+++ b/src/Http/Authentication.Core/ref/Microsoft.AspNetCore.Authentication.Core.csproj
@@ -2,13 +2,11 @@
netcoreapp3.0
- false
-
-
-
-
+
+
+
diff --git a/src/Http/Headers/ref/Microsoft.Net.Http.Headers.Manual.cs b/src/Http/Headers/ref/Microsoft.Net.Http.Headers.Manual.cs
new file mode 100644
index 0000000000..86a0a12079
--- /dev/null
+++ b/src/Http/Headers/ref/Microsoft.Net.Http.Headers.Manual.cs
@@ -0,0 +1,10 @@
+// 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.Net.Http.Headers
+{
+ public partial class SetCookieHeaderValue
+ {
+ internal static bool SuppressSameSiteNone;
+ }
+}
diff --git a/src/Http/Headers/ref/Microsoft.Net.Http.Headers.csproj b/src/Http/Headers/ref/Microsoft.Net.Http.Headers.csproj
index 167dfca0e1..8c483d68a0 100644
--- a/src/Http/Headers/ref/Microsoft.Net.Http.Headers.csproj
+++ b/src/Http/Headers/ref/Microsoft.Net.Http.Headers.csproj
@@ -2,11 +2,11 @@
netcoreapp3.0
- false
-
-
+
+
+
diff --git a/src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.Manual.cs b/src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.Manual.cs
new file mode 100644
index 0000000000..0d0ec8f3a5
--- /dev/null
+++ b/src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.Manual.cs
@@ -0,0 +1,101 @@
+// 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.Builder
+{
+ public static partial class UseMiddlewareExtensions
+ {
+ internal const string InvokeAsyncMethodName = "InvokeAsync";
+ internal const string InvokeMethodName = "Invoke";
+ }
+}
+
+namespace Microsoft.AspNetCore.Http
+{
+ internal static partial class ParsingHelpers
+ {
+ public static void AppendHeaderJoined(Microsoft.AspNetCore.Http.IHeaderDictionary headers, string key, params string[] values) { }
+ public static void AppendHeaderUnmodified(Microsoft.AspNetCore.Http.IHeaderDictionary headers, string key, Microsoft.Extensions.Primitives.StringValues values) { }
+ public static Microsoft.Extensions.Primitives.StringValues GetHeader(Microsoft.AspNetCore.Http.IHeaderDictionary headers, string key) { throw null; }
+ public static Microsoft.Extensions.Primitives.StringValues GetHeaderSplit(Microsoft.AspNetCore.Http.IHeaderDictionary headers, string key) { throw null; }
+ public static Microsoft.Extensions.Primitives.StringValues GetHeaderUnmodified(Microsoft.AspNetCore.Http.IHeaderDictionary headers, string key) { throw null; }
+ public static void SetHeaderJoined(Microsoft.AspNetCore.Http.IHeaderDictionary headers, string key, Microsoft.Extensions.Primitives.StringValues value) { }
+ public static void SetHeaderUnmodified(Microsoft.AspNetCore.Http.IHeaderDictionary headers, string key, Microsoft.Extensions.Primitives.StringValues? values) { }
+ }
+}
+
+namespace Microsoft.AspNetCore.Http.Abstractions
+{
+ internal static partial class Resources
+ {
+ internal static string ArgumentCannotBeNullOrEmpty { get { throw null; } }
+ internal static System.Globalization.CultureInfo Culture { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
+ internal static string Exception_InvokeDoesNotSupportRefOrOutParams { get { throw null; } }
+ internal static string Exception_InvokeMiddlewareNoService { get { throw null; } }
+ internal static string Exception_PathMustStartWithSlash { get { throw null; } }
+ internal static string Exception_PortMustBeGreaterThanZero { get { throw null; } }
+ internal static string Exception_UseMiddleMutlipleInvokes { get { throw null; } }
+ internal static string Exception_UseMiddlewareExplicitArgumentsNotSupported { get { throw null; } }
+ internal static string Exception_UseMiddlewareIServiceProviderNotAvailable { get { throw null; } }
+ internal static string Exception_UseMiddlewareNoInvokeMethod { get { throw null; } }
+ internal static string Exception_UseMiddlewareNoMiddlewareFactory { get { throw null; } }
+ internal static string Exception_UseMiddlewareNonTaskReturnType { get { throw null; } }
+ internal static string Exception_UseMiddlewareNoParameters { get { throw null; } }
+ internal static string Exception_UseMiddlewareUnableToCreateMiddleware { get { throw null; } }
+ internal static System.Resources.ResourceManager ResourceManager { get { throw null; } }
+ internal static string RouteValueDictionary_DuplicateKey { get { throw null; } }
+ internal static string RouteValueDictionary_DuplicatePropertyName { get { throw null; } }
+ internal static string FormatException_InvokeDoesNotSupportRefOrOutParams(object p0) { throw null; }
+ internal static string FormatException_InvokeMiddlewareNoService(object p0, object p1) { throw null; }
+ internal static string FormatException_PathMustStartWithSlash(object p0) { throw null; }
+ internal static string FormatException_UseMiddleMutlipleInvokes(object p0, object p1) { throw null; }
+ internal static string FormatException_UseMiddlewareExplicitArgumentsNotSupported(object p0) { throw null; }
+ internal static string FormatException_UseMiddlewareIServiceProviderNotAvailable(object p0) { throw null; }
+ internal static string FormatException_UseMiddlewareNoInvokeMethod(object p0, object p1, object p2) { throw null; }
+ internal static string FormatException_UseMiddlewareNoMiddlewareFactory(object p0) { throw null; }
+ internal static string FormatException_UseMiddlewareNonTaskReturnType(object p0, object p1, object p2) { throw null; }
+ internal static string FormatException_UseMiddlewareNoParameters(object p0, object p1, object p2) { throw null; }
+ internal static string FormatException_UseMiddlewareUnableToCreateMiddleware(object p0, object p1) { throw null; }
+ internal static string FormatRouteValueDictionary_DuplicateKey(object p0, object p1) { throw null; }
+ internal static string FormatRouteValueDictionary_DuplicatePropertyName(object p0, object p1, object p2, object p3) { throw null; }
+ }
+}
+
+namespace Microsoft.AspNetCore.Routing
+{
+ public partial class RouteValueDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.IEnumerable
+ {
+ internal System.Collections.Generic.KeyValuePair[] _arrayStorage;
+ internal Microsoft.AspNetCore.Routing.RouteValueDictionary.PropertyStorage _propertyStorage;
+ internal partial class PropertyStorage
+ {
+ public readonly Microsoft.Extensions.Internal.PropertyHelper[] Properties;
+ public readonly object Value;
+ public PropertyStorage(object value) { }
+ }
+ }
+}
+
+namespace Microsoft.Extensions.Internal
+{
+ internal partial class PropertyHelper
+ {
+ public PropertyHelper(System.Reflection.PropertyInfo property) { }
+ public virtual string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]protected set { } }
+ public System.Reflection.PropertyInfo Property { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
+ public System.Func ValueGetter { get { throw null; } }
+ public System.Action ValueSetter { get { 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; }
+ public static System.Func MakeFastPropertyGetter(System.Reflection.PropertyInfo propertyInfo) { 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) { }
+ }
+}
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 2d9a7fc6c2..93577496d6 100644
--- a/src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.csproj
+++ b/src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.csproj
@@ -2,13 +2,14 @@
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 cb0f176577..059cb3a94a 100644
--- a/src/Http/Http.Extensions/ref/Microsoft.AspNetCore.Http.Extensions.csproj
+++ b/src/Http/Http.Extensions/ref/Microsoft.AspNetCore.Http.Extensions.csproj
@@ -2,13 +2,11 @@
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 410b369e19..751310909c 100644
--- a/src/Http/Http.Features/ref/Microsoft.AspNetCore.Http.Features.csproj
+++ b/src/Http/Http.Features/ref/Microsoft.AspNetCore.Http.Features.csproj
@@ -2,17 +2,15 @@
netstandard2.0;netcoreapp3.0
- false
-
-
-
+
+
-
-
+
+
diff --git a/src/Http/Http/ref/Microsoft.AspNetCore.Http.Manual.cs b/src/Http/Http/ref/Microsoft.AspNetCore.Http.Manual.cs
new file mode 100644
index 0000000000..9709a96e49
--- /dev/null
+++ b/src/Http/Http/ref/Microsoft.AspNetCore.Http.Manual.cs
@@ -0,0 +1,40 @@
+// 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
+{
+ internal partial class RequestCookieCollection : Microsoft.AspNetCore.Http.IRequestCookieCollection, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable
+ {
+ public static readonly Microsoft.AspNetCore.Http.RequestCookieCollection Empty;
+ public RequestCookieCollection() { }
+ public RequestCookieCollection(System.Collections.Generic.Dictionary store) { }
+ public RequestCookieCollection(int capacity) { }
+ public int Count { get { throw null; } }
+ public string this[string key] { get { throw null; } }
+ public System.Collections.Generic.ICollection Keys { get { throw null; } }
+ public bool ContainsKey(string key) { throw null; }
+ public Microsoft.AspNetCore.Http.RequestCookieCollection.Enumerator GetEnumerator() { throw null; }
+ public static Microsoft.AspNetCore.Http.RequestCookieCollection Parse(System.Collections.Generic.IList values) { throw null; }
+ System.Collections.Generic.IEnumerator> System.Collections.Generic.IEnumerable>.GetEnumerator() { throw null; }
+ System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
+ public bool TryGetValue(string key, out string value) { throw null; }
+ public partial struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable
+ {
+ internal Enumerator(System.Collections.Generic.Dictionary.Enumerator dictionaryEnumerator) { throw null; }
+ public System.Collections.Generic.KeyValuePair Current { get { throw null; } }
+ object System.Collections.IEnumerator.Current { get { throw null; } }
+ public void Dispose() { }
+ public bool MoveNext() { throw null; }
+ public void Reset() { }
+ }
+ }
+
+ internal partial class ResponseCookies : Microsoft.AspNetCore.Http.IResponseCookies
+ {
+ public ResponseCookies(Microsoft.AspNetCore.Http.IHeaderDictionary headers, Microsoft.Extensions.ObjectPool.ObjectPool builderPool) { }
+ public void Append(string key, string value) { }
+ public void Append(string key, string value, Microsoft.AspNetCore.Http.CookieOptions options) { }
+ public void Delete(string key) { }
+ public void Delete(string key, Microsoft.AspNetCore.Http.CookieOptions options) { }
+ }
+}
diff --git a/src/Http/Http/ref/Microsoft.AspNetCore.Http.csproj b/src/Http/Http/ref/Microsoft.AspNetCore.Http.csproj
index ee10cacf37..87f9b707d4 100644
--- a/src/Http/Http/ref/Microsoft.AspNetCore.Http.csproj
+++ b/src/Http/Http/ref/Microsoft.AspNetCore.Http.csproj
@@ -2,15 +2,15 @@
netcoreapp3.0
- false
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/src/Http/Metadata/ref/Microsoft.AspNetCore.Metadata.csproj b/src/Http/Metadata/ref/Microsoft.AspNetCore.Metadata.csproj
index 4507a5bf69..da5e9234e8 100644
--- a/src/Http/Metadata/ref/Microsoft.AspNetCore.Metadata.csproj
+++ b/src/Http/Metadata/ref/Microsoft.AspNetCore.Metadata.csproj
@@ -2,11 +2,8 @@
netstandard2.0
- false
-
-
diff --git a/src/Http/Owin/ref/Microsoft.AspNetCore.Owin.csproj b/src/Http/Owin/ref/Microsoft.AspNetCore.Owin.csproj
deleted file mode 100644
index d053acd1b3..0000000000
--- a/src/Http/Owin/ref/Microsoft.AspNetCore.Owin.csproj
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- netcoreapp3.0
-
-
-
-
-
-
diff --git a/src/Http/Owin/ref/Microsoft.AspNetCore.Owin.netcoreapp3.0.cs b/src/Http/Owin/ref/Microsoft.AspNetCore.Owin.netcoreapp3.0.cs
deleted file mode 100644
index 84de949d34..0000000000
--- a/src/Http/Owin/ref/Microsoft.AspNetCore.Owin.netcoreapp3.0.cs
+++ /dev/null
@@ -1,155 +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.Builder
-{
- public static partial class OwinExtensions
- {
- public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseBuilder(this System.Action, System.Threading.Tasks.Task>, System.Func, System.Threading.Tasks.Task>>> app) { throw null; }
- public static System.Action, System.Threading.Tasks.Task>, System.Func, System.Threading.Tasks.Task>>> UseBuilder(this System.Action, System.Threading.Tasks.Task>, System.Func, System.Threading.Tasks.Task>>> app, System.Action pipeline) { throw null; }
- public static System.Action, System.Threading.Tasks.Task>, System.Func, System.Threading.Tasks.Task>>> UseBuilder(this System.Action, System.Threading.Tasks.Task>, System.Func, System.Threading.Tasks.Task>>> app, System.Action pipeline, System.IServiceProvider serviceProvider) { throw null; }
- public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseBuilder(this System.Action, System.Threading.Tasks.Task>, System.Func, System.Threading.Tasks.Task>>> app, System.IServiceProvider serviceProvider) { throw null; }
- public static System.Action, System.Threading.Tasks.Task>, System.Func, System.Threading.Tasks.Task>>> UseOwin(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder) { throw null; }
- public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOwin(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, System.Action, System.Threading.Tasks.Task>, System.Func, System.Threading.Tasks.Task>>>> pipeline) { throw null; }
- }
-}
-namespace Microsoft.AspNetCore.Owin
-{
- public partial interface IOwinEnvironmentFeature
- {
- System.Collections.Generic.IDictionary Environment { get; set; }
- }
- public partial class OwinEnvironment : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable
- {
- public OwinEnvironment(Microsoft.AspNetCore.Http.HttpContext context) { }
- public System.Collections.Generic.IDictionary FeatureMaps { get { throw null; } }
- int System.Collections.Generic.ICollection>.Count { get { throw null; } }
- bool System.Collections.Generic.ICollection>.IsReadOnly { get { throw null; } }
- object System.Collections.Generic.IDictionary.this[string key] { get { throw null; } set { } }
- System.Collections.Generic.ICollection System.Collections.Generic.IDictionary.Keys { get { throw null; } }
- System.Collections.Generic.ICollection System.Collections.Generic.IDictionary.Values { get { throw null; } }
- public System.Collections.Generic.IEnumerator> GetEnumerator() { throw null; }
- void System.Collections.Generic.ICollection>.Add(System.Collections.Generic.KeyValuePair item) { }
- void System.Collections.Generic.ICollection>.Clear() { }
- bool System.Collections.Generic.ICollection>.Contains(System.Collections.Generic.KeyValuePair item) { throw null; }
- void System.Collections.Generic.ICollection>.CopyTo(System.Collections.Generic.KeyValuePair[] array, int arrayIndex) { }
- bool System.Collections.Generic.ICollection>.Remove(System.Collections.Generic.KeyValuePair item) { throw null; }
- void System.Collections.Generic.IDictionary.Add(string key, object value) { }
- bool System.Collections.Generic.IDictionary.ContainsKey(string key) { throw null; }
- bool System.Collections.Generic.IDictionary.Remove(string key) { throw null; }
- bool System.Collections.Generic.IDictionary.TryGetValue(string key, out object value) { throw null; }
- System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
- public partial class FeatureMap
- {
- public FeatureMap(System.Type featureInterface, System.Func getter) { }
- public FeatureMap(System.Type featureInterface, System.Func getter, System.Action setter) { }
- public FeatureMap(System.Type featureInterface, System.Func getter, System.Func