diff --git a/.azure/pipelines/ci.yml b/.azure/pipelines/ci.yml
index 11b06b530b..cb73aafae5 100644
--- a/.azure/pipelines/ci.yml
+++ b/.azure/pipelines/ci.yml
@@ -37,7 +37,7 @@ jobs:
- template: jobs/iisintegration-job.yml
parameters:
TestGroupName: IISExpress
- skipArgs: "/p:SkipIISBackwardsCompatibilityTests=false /p:SkipIISTests=true /p:SkipIISExpressTests=false /p:SkipIISForwardsCompatibilityTests=true"
+ skipArgs: "/p:SkipIISBackwardsCompatibilityTests=true /p:SkipIISTests=true /p:SkipIISExpressTests=false /p:SkipIISForwardsCompatibilityTests=true"
- template: jobs/iisintegration-job.yml
parameters:
TestGroupName: IISForwardCompat
diff --git a/.azure/pipelines/pr-validation-temp.yml b/.azure/pipelines/pr-validation-temp.yml
index c6b3feeb1a..218598aaeb 100644
--- a/.azure/pipelines/pr-validation-temp.yml
+++ b/.azure/pipelines/pr-validation-temp.yml
@@ -28,3 +28,11 @@ jobs:
jobDisplayName: "Build only : Linux"
agentOs: Linux
buildArgs: --all --pack
+- job: Code_check
+ displayName: Code check
+ workspace:
+ clean: all
+ pool:
+ vmImage: vs2017-win2016
+ steps:
+ - powershell: ./eng/scripts/CodeCheck.ps1 -ci
diff --git a/.gitignore b/.gitignore
index ac23b44637..6d3c5c15c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
bin/
obj/
.vs/
+.vscode/
*.suo
*.user
_ReSharper.*
diff --git a/Directory.Build.props b/Directory.Build.props
index 43fb9fcfd1..5f7322d556 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -87,6 +87,15 @@
$(ArtifactsConfigurationDir)installers\
+
+ $(RepositoryRoot)bin\$(Configuration)\$(MSBuildProjectName)\
+ $(BaseOutputPath)
+ $(RepositoryRoot)obj\$(MSBuildProjectName)\
+ $(BaseIntermediateOutputPath)$(Configuration)\
+ $(OutputPath)$(Platform)\
+ $(IntermediateOutputPath)$(Platform)\
+
+
$([MSBuild]::MakeRelative($(RepositoryRoot), $(MSBuildProjectDirectory)))
@@ -97,6 +106,13 @@
true
+
+
+
+
+ $(MSBuildThisFileDirectory)src\Mvc\src\Microsoft.AspNetCore.Mvc.Testing\Microsoft.AspNetCore.Mvc.Testing.targets
+
+
diff --git a/Directory.Build.targets b/Directory.Build.targets
index 4ac8ecef98..ba56410650 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -34,7 +34,8 @@
- $(BaselinePackageVersion).0
+ $(BaselinePackageVersion.Substring(0, $(BaselinePackageVersion.IndexOf('-')))).0
+ $(BaselinePackageVersion).0
true
+
+ true
+
false
@@ -61,7 +65,9 @@
$(NETStandardLibrary20PackageVersion)
+
+
diff --git a/build.ps1 b/build.ps1
index 3214fbf70b..ed9e96583c 100644
--- a/build.ps1
+++ b/build.ps1
@@ -45,6 +45,9 @@ Build native projects (C++).
.PARAMETER NodeJS
Build NodeJS projects (TypeScript, JS).
+.PARAMETER Installers
+Build Windows Installers. Required .NET 3.5 to be installed (WiX toolset requirement).
+
.PARAMETER MSBuildArguments
Additional MSBuild arguments to be passed through.
@@ -96,6 +99,8 @@ param(
[switch]$Native,
[Parameter(ParameterSetName = 'Groups')]
[switch]$NodeJS,
+ [Parameter(ParameterSetName = 'Groups')]
+ [switch]$Installers,
# Other lifecycle targets
[switch]$Help, # Show help
@@ -236,18 +241,20 @@ elseif ($Projects) {
}
else {
# When adding new sub-group build flags, add them to this check.
- if((-not $Native) -and (-not $Managed) -and (-not $NodeJS)) {
- Write-Warning "No default group of projects was specified, so building the 'managed' subset of projects. Run ``build.cmd -help`` for more details."
+ if((-not $Native) -and (-not $Managed) -and (-not $NodeJS) -and (-not $Installers)) {
+ Write-Warning "No default group of projects was specified, so building the 'managed' and 'native' subsets of projects. Run ``build.cmd -help`` for more details."
# This goal of this is to pick a sensible default for `build.cmd` with zero arguments.
- # We believe the most common thing our contributors will work on is C#, so if no other build group was picked, build the C# projects.
+ # Now that we support subfolder invokations of build.cmd, we will be pushing to have build.cmd build everything (-all) by default
$Managed = $true
+ $Native = $true
}
$MSBuildArguments += "/p:BuildManaged=$Managed"
$MSBuildArguments += "/p:BuildNative=$Native"
$MSBuildArguments += "/p:BuildNodeJS=$NodeJS"
+ $MSBuildArguments += "/p:BuildWindowsInstallers=$Installers"
}
# Target selection
diff --git a/build/artifacts.props b/build/artifacts.props
index 512c58b689..8a5ed73567 100644
--- a/build/artifacts.props
+++ b/build/artifacts.props
@@ -36,7 +36,6 @@ This can be done once #4246 is complete, and done in conjunction with converting
-
@@ -79,7 +78,6 @@ This can be done once #4246 is complete, and done in conjunction with converting
-
@@ -92,12 +90,7 @@ This can be done once #4246 is complete, and done in conjunction with converting
-
-
-
-
-
diff --git a/build/buildorder.props b/build/buildorder.props
index 76b9d518b3..82647f7811 100644
--- a/build/buildorder.props
+++ b/build/buildorder.props
@@ -7,11 +7,6 @@
-
-
-
-
-
diff --git a/build/dependencies.props b/build/dependencies.props
index 57a0b7efa4..39f51b3cfa 100644
--- a/build/dependencies.props
+++ b/build/dependencies.props
@@ -105,6 +105,9 @@
3.0.0-preview.18604.3
3.0.0-preview.18604.3
3.0.0-preview.18604.3
+
+
+ 3.0.0-preview.19053.2
@@ -139,15 +142,16 @@
2.1.0
8.7.0
4.2.1
- 2.3.0-preview1-update2
- 2.3.0-preview1-update2
- 2.3.0-preview1-update1
+ 2.3.0
+ 2.3.0
+ 2.3.0
3.1.0
1.10.0
1.7.3.4
2.1.1
2.2.0
2.2.0
+ 2.0.0
2.2.1
2.2.0
5.2.6
diff --git a/build/repo.props b/build/repo.props
index 0cb8c9d666..ec96979315 100644
--- a/build/repo.props
+++ b/build/repo.props
@@ -64,6 +64,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -84,12 +111,15 @@
$(RepositoryRoot)src\Hosting\**\*.*proj;
$(RepositoryRoot)src\Http\**\*.*proj;
$(RepositoryRoot)src\Html\**\*.*proj;
+ $(RepositoryRoot)src\Identity\**\*.*proj;
$(RepositoryRoot)src\Servers\**\*.csproj;
$(RepositoryRoot)src\Security\**\*.*proj;
$(RepositoryRoot)src\Shared\**\*.*proj;
$(RepositoryRoot)src\Tools\**\*.*proj;
$(RepositoryRoot)src\Middleware\**\*.*proj;
$(RepositoryRoot)src\Razor\**\*.*proj;
+ $(RepositoryRoot)src\Mvc\**\*.*proj;
+ $(RepositoryRoot)src\Azure\**\*.*proj;
"
Exclude="
@(ProjectToExclude);
diff --git a/build/repo.targets b/build/repo.targets
index 150edb552e..6e4b31e51b 100644
--- a/build/repo.targets
+++ b/build/repo.targets
@@ -168,14 +168,14 @@
-
-
+
<_PackageArtifactWithoutMatchingInfo Include="@(_Temp)" Exclude="@(PackageArtifact)" />
diff --git a/build/submodules.props b/build/submodules.props
index 1e139132e4..81d3c309c3 100644
--- a/build/submodules.props
+++ b/build/submodules.props
@@ -36,12 +36,7 @@
-
-
-
-
-
diff --git a/src/Installers/Windows/InstallerTasks/GenerateGuid.cs b/build/tasks/GenerateGuid.cs
similarity index 100%
rename from src/Installers/Windows/InstallerTasks/GenerateGuid.cs
rename to build/tasks/GenerateGuid.cs
diff --git a/src/Installers/Windows/InstallerTasks/GetMsiProperty.cs b/build/tasks/GetMsiProperty.cs
similarity index 97%
rename from src/Installers/Windows/InstallerTasks/GetMsiProperty.cs
rename to build/tasks/GetMsiProperty.cs
index 90f3cd3d24..182a5f0af3 100644
--- a/src/Installers/Windows/InstallerTasks/GetMsiProperty.cs
+++ b/build/tasks/GetMsiProperty.cs
@@ -1,3 +1,4 @@
+#if BUILD_MSI_TASKS
// 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.
@@ -36,3 +37,4 @@ namespace RepoTasks
}
}
}
+#endif
diff --git a/build/tasks/JoinItems.cs b/build/tasks/JoinRepoItems.cs
similarity index 99%
rename from build/tasks/JoinItems.cs
rename to build/tasks/JoinRepoItems.cs
index facfd4fa53..97f0ab9d0f 100644
--- a/build/tasks/JoinItems.cs
+++ b/build/tasks/JoinRepoItems.cs
@@ -10,7 +10,7 @@ using Microsoft.Build.Utilities;
namespace RepoTasks
{
- public class JoinItems : Task
+ public class JoinRepoItems : Task
{
[Required]
public ITaskItem[] Left { get; set; }
diff --git a/build/tasks/RepoTasks.csproj b/build/tasks/RepoTasks.csproj
index 17c9981497..f0b7d88273 100644
--- a/build/tasks/RepoTasks.csproj
+++ b/build/tasks/RepoTasks.csproj
@@ -4,6 +4,7 @@
netcoreapp2.1
net461
+ $(DefineConstants);BUILD_MSI_TASKS
@@ -13,5 +14,16 @@
+
+
+
+
+ $(WiXSdkPath)\Microsoft.Deployment.WindowsInstaller.dll
+
+
+ $(WiXSdkPath)\Microsoft.Deployment.WindowsInstaller.Package.dll
+
+
+
diff --git a/build/tasks/RepoTasks.tasks b/build/tasks/RepoTasks.tasks
index c99d93e1c3..43323cf2e2 100644
--- a/build/tasks/RepoTasks.tasks
+++ b/build/tasks/RepoTasks.tasks
@@ -4,7 +4,9 @@
-
+
+
+
diff --git a/src/Installers/Windows/InstallerTasks/Uuid.cs b/build/tasks/Uuid.cs
similarity index 100%
rename from src/Installers/Windows/InstallerTasks/Uuid.cs
rename to build/tasks/Uuid.cs
diff --git a/docs/BuildFromSource.md b/docs/BuildFromSource.md
index c13d20ec92..001b1c2206 100644
--- a/docs/BuildFromSource.md
+++ b/docs/BuildFromSource.md
@@ -61,13 +61,14 @@ Before opening our .sln files in Visual Studio or VS Code, you need to perform t
1. Executing the following on command-line:
```
- .\build.cmd
+ .\restore.cmd
```
This will download required tools and build the entire repository once. At that point, you should be able to open .sln files to work on the projects you care about.
-2. Use the `startvs.cmd` script to open Visual Studio .sln files. This script first sets required environment variables.
+ > :bulb: Pro tip: you will also want to run this command after pulling large sets of changes. On the master branch, we regularly update the versions of .NET Core SDK required to build the repo.
+ > You will need to restart Visual Studio every time we update the .NET Core SDK.
-> :bulb: Pro tip: you will also want to run this command after pulling large sets of changes. Visual Studio will only build projects in a solution file, and makes a best effort to use other files on disk. If you pull many changes, the files on disk may be stale and will need to re-build.
+2. Use the `startvs.cmd` script to open Visual Studio .sln files. This script first sets required environment variables.
### Solution files
diff --git a/docs/README.md b/docs/README.md
index 98fe46e403..f055ea32b5 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -2,4 +2,4 @@ Contributor documentation
=========================
The primary audience for documentation in this folder is contributors to ASP.NET Core.
-If you are looking for documentation on to *use* ASP.NET Core, go to .
+If you are looking for documentation on how to *use* ASP.NET Core, go to .
diff --git a/eng/Baseline.Designer.props b/eng/Baseline.Designer.props
index 70ce243290..d5f685dc29 100644
--- a/eng/Baseline.Designer.props
+++ b/eng/Baseline.Designer.props
@@ -31,6 +31,50 @@
+
+
+ 2.2.0-preview-35687
+
+
+
+
+
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
2.2.0
@@ -39,19 +83,6 @@
2.2.0
-
-
- 2.2.0
-
-
-
-
-
-
-
-
-
-
2.2.0
@@ -61,6 +92,26 @@
+
+
+ 2.2.0
+
+
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
+
2.2.0
@@ -138,13 +189,18 @@
-
-
+
+
2.2.0
-
+
+
+
+
+
+
@@ -154,6 +210,38 @@
+
+
+ 2.2.0
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
2.2.0
@@ -162,6 +250,15 @@
+
+
+ 2.2.0
+
+
+
+
+
+
2.2.0
@@ -173,15 +270,6 @@
-
-
- 2.2.0
-
-
-
-
-
-
2.2.0
@@ -424,6 +512,48 @@
+
+
+ 2.2.0
+
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
+
2.2.0
@@ -459,6 +589,89 @@
+
+
+ 2.2.0
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
+
2.2.0
@@ -471,6 +684,98 @@
+
+
+ 2.2.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
2.2.0
@@ -478,13 +783,6 @@
-
-
- 2.2.0
-
-
-
-
2.2.0
@@ -504,6 +802,13 @@
+
+
+ 2.2.0
+
+
+
+
2.2.0
@@ -718,6 +1023,25 @@
+
+
+ 2.2.0
+
+
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
2.2.0
@@ -755,21 +1079,6 @@
-
-
- 2.2.0
-
-
-
-
-
-
-
-
-
-
-
-
2.2.0
@@ -794,6 +1103,21 @@
+
+
+ 2.2.0
+
+
+
+
+
+
+
+
+
+
+
+
2.2.0
@@ -803,6 +1127,25 @@
+
+
+ 2.2.0
+
+
+
+
+
+
+
+
+
+ 2.2.0
+
+
+
+
+
+
2.2.0
diff --git a/eng/Baseline.xml b/eng/Baseline.xml
index 075e8e4d39..01ae10edf3 100644
--- a/eng/Baseline.xml
+++ b/eng/Baseline.xml
@@ -10,10 +10,13 @@ build of ASP.NET Core 2.2.x. Update this list when preparing for a new patch.
+
+
-
+
+
@@ -24,11 +27,14 @@ build of ASP.NET Core 2.2.x. Update this list when preparing for a new patch.
-
+
+
+
+
-
+
@@ -55,16 +61,36 @@ build of ASP.NET Core 2.2.x. Update this list when preparing for a new patch.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -81,13 +107,17 @@ build of ASP.NET Core 2.2.x. Update this list when preparing for a new patch.
+
+
-
+
+
+
diff --git a/eng/Dependencies.props b/eng/Dependencies.props
index 4c546e4768..d6f53d42ea 100644
--- a/eng/Dependencies.props
+++ b/eng/Dependencies.props
@@ -21,16 +21,21 @@ and are generated based on the last package release.
+
+
+
+
+
@@ -53,14 +58,17 @@ and are generated based on the last package release.
+
+
+
@@ -72,7 +80,9 @@ and are generated based on the last package release.
+
+
@@ -80,10 +90,12 @@ and are generated based on the last package release.
+
+
@@ -105,12 +117,18 @@ and are generated based on the last package release.
+
+
+
+
+
+
diff --git a/eng/ProjectReferences.props b/eng/ProjectReferences.props
index f89a94017f..6bb2293088 100644
--- a/eng/ProjectReferences.props
+++ b/eng/ProjectReferences.props
@@ -35,11 +35,18 @@
+
+
+
+
+
+
+
-
-
-
+
+
+
@@ -60,11 +67,6 @@
-
-
-
-
-
@@ -78,27 +80,38 @@
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/eng/scripts/CodeCheck.ps1 b/eng/scripts/CodeCheck.ps1
new file mode 100644
index 0000000000..08e1902cbb
--- /dev/null
+++ b/eng/scripts/CodeCheck.ps1
@@ -0,0 +1,69 @@
+#requires -version 5
+<#
+.SYNOPSIS
+This script runs a quick check for common errors, such as checking that Visual Studio solutions are up to date or that generated code has been committed to source.
+#>
+param(
+ [switch]$ci
+)
+
+$ErrorActionPreference = 'Stop'
+Set-StrictMode -Version 1
+Import-Module -Scope Local -Force "$PSScriptRoot/common.psm1"
+
+$repoRoot = Resolve-Path "$PSScriptRoot/../../"
+
+[string[]] $errors = @()
+
+try {
+ #
+ # Solutions
+ #
+
+ Write-Host "Checking that solutions are up to date"
+
+ Get-ChildItem "$repoRoot/*.sln" -Recurse | % {
+ Write-Host " Checking $(Split-Path -Leaf $_)"
+ $slnDir = Split-Path -Parent $_
+ $sln = $_
+ & dotnet sln $_ list `
+ | ? { $_ -ne 'Project(s)' -and $_ -ne '----------' } `
+ | % {
+ $proj = Join-Path $slnDir $_
+ if (-not (Test-Path $proj)) {
+ $errors += "Missing project. Solution references a project which does not exist: $proj. [$sln] "
+ }
+ }
+ }
+
+ #
+ # Generated code check
+ #
+
+ Write-Host "Re-running code generation"
+
+ Invoke-Block {
+ [string[]] $generateArgs = @()
+ if ($ci) {
+ $generateArgs += '-ci'
+ }
+ & $repoRoot/build.cmd /t:GenerateProjectList @generateArgs
+ }
+
+ Write-Host "git diff"
+ & git diff --ignore-space-at-eol --exit-code
+ if ($LastExitCode -ne 0) {
+ $status = git status -s | Out-String
+ $status = $status -replace "`n","`n "
+ $errors += "Generated code is not up to date."
+ }
+}
+finally {
+ foreach ($err in $errors) {
+ Write-Host -f Red "error : $err"
+ }
+
+ if ($errors) {
+ exit 1
+ }
+}
diff --git a/eng/scripts/common.psm1 b/eng/scripts/common.psm1
index 3a31f2a023..96544dc6f2 100644
--- a/eng/scripts/common.psm1
+++ b/eng/scripts/common.psm1
@@ -52,54 +52,6 @@ function LoadXml([string]$path) {
return $obj
}
-function Get-MSBuildPath {
- param(
- [switch]$Prerelease,
- [string[]]$Requires
- )
-
- $vsInstallDir = $null
- if ($env:VSINSTALLDIR -and (Test-Path $env:VSINSTALLDIR)) {
- $vsInstallDir = $env:VSINSTALLDIR
- Write-Verbose "Using VSINSTALLDIR=$vsInstallDir"
- }
- else {
- $vswhere = "${env:ProgramFiles(x86)}/Microsoft Visual Studio/Installer/vswhere.exe"
- Write-Verbose "Using vswhere.exe from $vswhere"
-
- if (-not (Test-Path $vswhere)) {
- Write-Error "Missing prerequisite: could not find vswhere"
- }
-
- [string[]] $vswhereArgs = @()
-
- if ($Prerelease) {
- $vswhereArgs += '-prerelease'
- }
-
- if ($Requires) {
- foreach ($r in $Requires) {
- $vswhereArgs += '-requires', $r
- }
- }
-
- $installs = & $vswhere -format json -version '[15.0, 16.0)' -latest -products * @vswhereArgs | ConvertFrom-Json
- if (!$installs) {
- Write-Error "Missing prerequisite: could not find any installations of Visual Studio"
- }
-
- $vs = $installs | Select-Object -First 1
- $vsInstallDir = $vs.installationPath
- Write-Host "Using $($vs.displayName)"
- }
-
- $msbuild = Join-Path $vsInstallDir 'MSBuild/15.0/bin/msbuild.exe'
- if (!(Test-Path $msbuild)) {
- Write-Error "Missing prerequisite: could not find msbuild.exe"
- }
- return $msbuild
-}
-
function Get-RemoteFile([string]$RemotePath, [string]$LocalPath) {
if ($RemotePath -notlike 'http*') {
Copy-Item $RemotePath $LocalPath
diff --git a/eng/targets/Packaging.targets b/eng/targets/Packaging.targets
index fefa42496b..a49a65b988 100644
--- a/eng/targets/Packaging.targets
+++ b/eng/targets/Packaging.targets
@@ -27,4 +27,16 @@
+
+
+
+
+ <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)">
+ $(MSBuildProjectName)
+ $(PackageVersion)
+
+
+
+
diff --git a/src/Servers/IIS/ResolveIisReferences.targets b/eng/targets/ResolveIisReferences.targets
similarity index 65%
rename from src/Servers/IIS/ResolveIisReferences.targets
rename to eng/targets/ResolveIisReferences.targets
index be3d68c00f..4beec3df91 100644
--- a/src/Servers/IIS/ResolveIisReferences.targets
+++ b/eng/targets/ResolveIisReferences.targets
@@ -8,30 +8,13 @@ with the right MSBuild incantations to get output copied to the right place.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Platform=%(Platform)
- %(Platform)\%(HandlerPath)\
+ %(Platform)\%(HandlerPath)\
false
diff --git a/eng/targets/ResolveReferences.targets b/eng/targets/ResolveReferences.targets
index 965da850bc..03d40146ca 100644
--- a/eng/targets/ResolveReferences.targets
+++ b/eng/targets/ResolveReferences.targets
@@ -86,7 +86,7 @@
<_ReferenceTemp Remove="@(_ReferenceTemp)" />
-
+
+
$(MSBuildToolsPath32)\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets
$(MSBuildToolsPath)\NuGet.targets
diff --git a/eng/targets/Wix.Common.targets b/eng/targets/Wix.Common.targets
index 3cdb0c3b86..7ff9e39fd6 100644
--- a/eng/targets/Wix.Common.targets
+++ b/eng/targets/Wix.Common.targets
@@ -41,5 +41,4 @@
-
diff --git a/global.json b/global.json
index 9dc0e10865..ec110d15d8 100644
--- a/global.json
+++ b/global.json
@@ -3,6 +3,6 @@
"version": "3.0.100-preview-009750"
},
"msbuild-sdks": {
- "Internal.AspNetCore.Sdk": "3.0.0-build-20181214.1"
+ "Internal.AspNetCore.Sdk": "3.0.0-build-20190104.3"
}
}
diff --git a/korebuild-lock.txt b/korebuild-lock.txt
index ea35aa286b..8349287fdf 100644
--- a/korebuild-lock.txt
+++ b/korebuild-lock.txt
@@ -1,2 +1,2 @@
-version:3.0.0-build-20181214.1
-commithash:0872134136bf3d181e3ca3fa700b7ff392c055b3
+version:3.0.0-build-20190104.3
+commithash:1cc7b8211d23fd469ad03c73ff45e4d291b24be7
diff --git a/korebuild.json b/korebuild.json
index 274f6490dc..5e39f050bd 100644
--- a/korebuild.json
+++ b/korebuild.json
@@ -17,7 +17,7 @@
"Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Win81",
"Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
"Microsoft.VisualStudio.Component.VC.ATL",
- "Microsoft.VisualStudio.Component.Windows10SDK.15063.Desktop"
+ "Microsoft.VisualStudio.Component.Windows10SDK.17134"
]
}
}
diff --git a/src/AADIntegration/.gitignore b/src/AADIntegration/.gitignore
deleted file mode 100644
index e38f0aa101..0000000000
--- a/src/AADIntegration/.gitignore
+++ /dev/null
@@ -1,43 +0,0 @@
-[Oo]bj/
-[Bb]in/
-TestResults/
-.nuget/
-.build/
-.testPublish/
-*.sln.ide/
-_ReSharper.*/
-packages/
-artifacts/
-PublishProfiles/
-.vs/
-bower_components/
-node_modules/
-debugSettings.json
-project.lock.json
-*.user
-*.suo
-*.cache
-*.docstates
-_ReSharper.*
-nuget.exe
-*net45.csproj
-*net451.csproj
-*k10.csproj
-*.psess
-*.vsp
-*.pidb
-*.userprefs
-*DS_Store
-*.ncrunchsolution
-*.*sdf
-*.ipch
-.settings
-*.sln.ide
-node_modules
-*launchSettings.json
-*.orig
-.vscode/
-global.json
-BenchmarkDotNet.Artifacts/
-.idea/
-msbuild.binlog
diff --git a/src/AADIntegration/AADIntegration.sln b/src/AADIntegration/AADIntegration.sln
deleted file mode 100644
index 2ed6ef8876..0000000000
--- a/src/AADIntegration/AADIntegration.sln
+++ /dev/null
@@ -1,79 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.26124.0
-MinimumVisualStudioVersion = 15.0.26124.0
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{75A812B0-D98C-45F3-B2A9-357BBDF7331A}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{8CF63E1D-F9F7-4CB4-AD90-88C4077F7BFF}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{57F46508-E53D-4F6B-B77C-2EFE95925AEF}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AzureADB2CSample", "samples\AzureADB2CSample\AzureADB2CSample.csproj", "{5D2378D4-9DDA-468F-82C6-AE4DAA54E96C}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Authentication.AzureADB2C.UI", "src\Microsoft.AspNetCore.Authentication.AzureADB2C.UI\Microsoft.AspNetCore.Authentication.AzureADB2C.UI.csproj", "{16912327-C9B3-49FC-87E0-49FEDED0A065}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test", "test\Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test\Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test.csproj", "{454089F9-ED16-4A11-9C52-2BA74DCF5D35}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Authentication.AzureAD.UI", "src\Microsoft.AspNetCore.Authentication.AzureAD.UI\Microsoft.AspNetCore.Authentication.AzureAD.UI.csproj", "{1762840C-A14A-4498-9883-CC671956F0F2}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Authentication.AzureAD.UI.Test", "test\Microsoft.AspNetCore.Authentication.AzureAD.UI.Test\Microsoft.AspNetCore.Authentication.AzureAD.UI.Test.csproj", "{3D0CF896-3A9D-4A8F-A343-A2E1A131C861}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests", "test\Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests\Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests.csproj", "{1967296B-614B-43E5-B1BA-A601579961D5}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "WebSites", "WebSites", "{2AEF59C3-7ADA-404D-B965-26B700FBD03F}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AzureAD.WebSite", "test\WebSites\AzureAD.WebSite\AzureAD.WebSite.csproj", "{4DB3C5B2-9FBF-42BC-80B2-2190EB1AE316}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {5D2378D4-9DDA-468F-82C6-AE4DAA54E96C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5D2378D4-9DDA-468F-82C6-AE4DAA54E96C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5D2378D4-9DDA-468F-82C6-AE4DAA54E96C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5D2378D4-9DDA-468F-82C6-AE4DAA54E96C}.Release|Any CPU.Build.0 = Release|Any CPU
- {16912327-C9B3-49FC-87E0-49FEDED0A065}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {16912327-C9B3-49FC-87E0-49FEDED0A065}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {16912327-C9B3-49FC-87E0-49FEDED0A065}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {16912327-C9B3-49FC-87E0-49FEDED0A065}.Release|Any CPU.Build.0 = Release|Any CPU
- {454089F9-ED16-4A11-9C52-2BA74DCF5D35}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {454089F9-ED16-4A11-9C52-2BA74DCF5D35}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {454089F9-ED16-4A11-9C52-2BA74DCF5D35}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {454089F9-ED16-4A11-9C52-2BA74DCF5D35}.Release|Any CPU.Build.0 = Release|Any CPU
- {1762840C-A14A-4498-9883-CC671956F0F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {1762840C-A14A-4498-9883-CC671956F0F2}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {1762840C-A14A-4498-9883-CC671956F0F2}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {1762840C-A14A-4498-9883-CC671956F0F2}.Release|Any CPU.Build.0 = Release|Any CPU
- {3D0CF896-3A9D-4A8F-A343-A2E1A131C861}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3D0CF896-3A9D-4A8F-A343-A2E1A131C861}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3D0CF896-3A9D-4A8F-A343-A2E1A131C861}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3D0CF896-3A9D-4A8F-A343-A2E1A131C861}.Release|Any CPU.Build.0 = Release|Any CPU
- {1967296B-614B-43E5-B1BA-A601579961D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {1967296B-614B-43E5-B1BA-A601579961D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {1967296B-614B-43E5-B1BA-A601579961D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {1967296B-614B-43E5-B1BA-A601579961D5}.Release|Any CPU.Build.0 = Release|Any CPU
- {4DB3C5B2-9FBF-42BC-80B2-2190EB1AE316}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {4DB3C5B2-9FBF-42BC-80B2-2190EB1AE316}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {4DB3C5B2-9FBF-42BC-80B2-2190EB1AE316}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {4DB3C5B2-9FBF-42BC-80B2-2190EB1AE316}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(NestedProjects) = preSolution
- {5D2378D4-9DDA-468F-82C6-AE4DAA54E96C} = {8CF63E1D-F9F7-4CB4-AD90-88C4077F7BFF}
- {16912327-C9B3-49FC-87E0-49FEDED0A065} = {75A812B0-D98C-45F3-B2A9-357BBDF7331A}
- {454089F9-ED16-4A11-9C52-2BA74DCF5D35} = {57F46508-E53D-4F6B-B77C-2EFE95925AEF}
- {1762840C-A14A-4498-9883-CC671956F0F2} = {75A812B0-D98C-45F3-B2A9-357BBDF7331A}
- {3D0CF896-3A9D-4A8F-A343-A2E1A131C861} = {57F46508-E53D-4F6B-B77C-2EFE95925AEF}
- {1967296B-614B-43E5-B1BA-A601579961D5} = {57F46508-E53D-4F6B-B77C-2EFE95925AEF}
- {2AEF59C3-7ADA-404D-B965-26B700FBD03F} = {57F46508-E53D-4F6B-B77C-2EFE95925AEF}
- {4DB3C5B2-9FBF-42BC-80B2-2190EB1AE316} = {2AEF59C3-7ADA-404D-B965-26B700FBD03F}
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {C6DBF56C-E862-46EA-A4E0-993D2950D78D}
- EndGlobalSection
-EndGlobal
diff --git a/src/AADIntegration/Directory.Build.props b/src/AADIntegration/Directory.Build.props
deleted file mode 100644
index 1c968415ec..0000000000
--- a/src/AADIntegration/Directory.Build.props
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-
-
-
-
-
- Microsoft ASP.NET Core AAD Integration
- https://github.com/aspnet/AspNetCore
- git
- $(MSBuildThisFileDirectory)
- $(MSBuildThisFileDirectory)..\..\eng\AspNetCore.snk
- true
- true
-
-
-
-
- $(MSBuildThisFileDirectory)..\..\artifacts\
- $(ArtifactsDir)$(Configuration)\
- $(ArtifactsConfigurationDir)packages\
- $(BasePackageOutputPath)product\
- $(BasePackageOutputPath)internal\
-
-
-
diff --git a/src/AADIntegration/Directory.Build.targets b/src/AADIntegration/Directory.Build.targets
deleted file mode 100644
index f5a3f65909..0000000000
--- a/src/AADIntegration/Directory.Build.targets
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- $(MicrosoftNETCoreAppPackageVersion)
-
-
-
-
- false
-
- $(ProductPackageOutputPath)
- $(InternalPackageOutputPath)
-
-
-
diff --git a/src/AADIntegration/NuGetPackageVerifier.json b/src/AADIntegration/NuGetPackageVerifier.json
deleted file mode 100644
index 66afb69831..0000000000
--- a/src/AADIntegration/NuGetPackageVerifier.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "Default": {
- "rules": [
- "DefaultCompositeRule"
- ],
- "packages": {
- "Microsoft.AspNetCore.Authentication.AzureADB2C.UI": {
- "Exclusions": {
- "DOC_MISSING": {
- "lib/netcoreapp3.0/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Views.dll": "This library contains precompiled views."
- }
- }
- },
- "Microsoft.AspNetCore.Authentication.AzureAD.UI": {
- "Exclusions": {
- "DOC_MISSING": {
- "lib/netcoreapp3.0/Microsoft.AspNetCore.Authentication.AzureAD.UI.Views.dll": "This library contains precompiled views."
- }
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/AADIntegration/README.md b/src/AADIntegration/README.md
deleted file mode 100644
index 5155df07d9..0000000000
--- a/src/AADIntegration/README.md
+++ /dev/null
@@ -1,14 +0,0 @@
-ASP.NET Core Azure Active Directory Integration
-===
-
-
-
-ASP.NET Core Azure Active Directory Integration provides seamless authentication integration with different Azure Active Directory services like Azure Active Directory and Azure Active Directory B2C for ASP.NET Core applications.
-
-This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the [Home](https://github.com/aspnet/home) repo.
-
-## Building from source
-
-To run a complete build on command line only, execute `build.cmd` or `build.sh` without arguments. See [developer documentation](https://github.com/aspnet/Home/wiki) for more details.
diff --git a/src/AADIntegration/build/dependencies.props b/src/AADIntegration/build/dependencies.props
deleted file mode 100644
index 08ac3b8428..0000000000
--- a/src/AADIntegration/build/dependencies.props
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
- $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
-
-
- 3.0.0-build-20181114.5
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-preview-181113-11
- 3.0.0-preview-181113-11
- 3.0.0-preview-181113-11
- 3.0.0-preview-181113-11
- 3.0.0-preview-181113-11
- 3.0.0-preview-181113-11
- 3.0.0-preview-181113-11
- 3.0.0-preview-181113-11
- 3.0.0-preview1-26907-05
- 3.0.0-preview-18579-0056
- 15.6.1
- 4.10.0
- 2.0.3
- 0.10.0
- 2.3.1
- 2.4.0
-
-
-
-
-
diff --git a/src/AADIntegration/build/repo.props b/src/AADIntegration/build/repo.props
deleted file mode 100644
index 744ce282f7..0000000000
--- a/src/AADIntegration/build/repo.props
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
- false
-
-
-
-
-
-
diff --git a/src/AADIntegration/build/sources.props b/src/AADIntegration/build/sources.props
deleted file mode 100644
index f23d255142..0000000000
--- a/src/AADIntegration/build/sources.props
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
- $(DotNetRestoreSources)
-
- $(RestoreSources);
- https://dotnet.myget.org/F/dotnet-core/api/v3/index.json;
- https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json;
- https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json;
-
-
- $(RestoreSources);
- https://api.nuget.org/v3/index.json;
-
-
-
\ No newline at end of file
diff --git a/src/AADIntegration/samples/AzureADB2CSample/AzureADB2CSample.csproj b/src/AADIntegration/samples/AzureADB2CSample/AzureADB2CSample.csproj
deleted file mode 100644
index 1e4e228ccf..0000000000
--- a/src/AADIntegration/samples/AzureADB2CSample/AzureADB2CSample.csproj
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
- netcoreapp3.0
-
-
-
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/AADIntegration/samples/AzureADB2CSample/Properties/launchSettings.json b/src/AADIntegration/samples/AzureADB2CSample/Properties/launchSettings.json
deleted file mode 100644
index 1ee213cd17..0000000000
--- a/src/AADIntegration/samples/AzureADB2CSample/Properties/launchSettings.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "iisSettings": {
- "windowsAuthentication": false,
- "anonymousAuthentication": true,
- "iisExpress": {
- "applicationUrl": "http://localhost:59364/",
- "sslPort": 44315
- }
- },
- "profiles": {
- "IIS Express": {
- "commandName": "IISExpress",
- "launchBrowser": true,
- "environmentVariables": {
- "ASPNETCORE_ENVIRONMENT": "Development"
- }
- },
- "AzureADB2CSample": {
- "commandName": "Project",
- "launchBrowser": true,
- "environmentVariables": {
- "ASPNETCORE_ENVIRONMENT": "Development"
- },
- "applicationUrl": "https://localhost:44315/;http://localhost:59364/"
- }
- }
-}
\ No newline at end of file
diff --git a/src/AADIntegration/src/Directory.Build.props b/src/AADIntegration/src/Directory.Build.props
deleted file mode 100644
index 4b89a431e7..0000000000
--- a/src/AADIntegration/src/Directory.Build.props
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/AADIntegration/test/Directory.Build.props b/src/AADIntegration/test/Directory.Build.props
deleted file mode 100644
index 35b63d60ae..0000000000
--- a/src/AADIntegration/test/Directory.Build.props
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
- false
- xUnit1026:$(WarningsNotAsErrors)
- $(MSBuildThisFileDirectory)AADIntegration.ruleset
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests/Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests.csproj b/src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests/Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests.csproj
deleted file mode 100644
index be07303a4c..0000000000
--- a/src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests/Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests.csproj
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- netcoreapp3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/AADIntegration/test/WebSites/AzureAD.WebSite/AzureAD.WebSite.csproj b/src/AADIntegration/test/WebSites/AzureAD.WebSite/AzureAD.WebSite.csproj
deleted file mode 100644
index b23f727ae3..0000000000
--- a/src/AADIntegration/test/WebSites/AzureAD.WebSite/AzureAD.WebSite.csproj
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
- netcoreapp3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/AADIntegration/test/WebSites/Directory.Build.props b/src/AADIntegration/test/WebSites/Directory.Build.props
deleted file mode 100644
index c8a4ec4440..0000000000
--- a/src/AADIntegration/test/WebSites/Directory.Build.props
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/src/AADIntegration/version.props b/src/AADIntegration/version.props
deleted file mode 100644
index e796179bb9..0000000000
--- a/src/AADIntegration/version.props
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- 3.0.0
- 0.5.0
- alpha1
- $(VersionPrefix)
- $(VersionPrefix)-$(VersionSuffix)-final
- t000
- $(VersionSuffix)-$([System.Text.RegularExpressions.Regex]::Replace('$(FeatureBranchVersionSuffix)', '[^\w-]', '-'))
- $(VersionSuffix)-$(BuildNumber)
-
-
diff --git a/src/Azure/Azure.sln b/src/Azure/Azure.sln
new file mode 100644
index 0000000000..50cfeb2ada
--- /dev/null
+++ b/src/Azure/Azure.sln
@@ -0,0 +1,493 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+VisualStudioVersion = 15.0.26124.0
+MinimumVisualStudioVersion = 15.0.26124.0
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AzureAD", "AzureAD", "{B931802A-45BB-49A4-9919-B36C827100AC}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Authentication.AzureAD.UI", "Authentication.AzureAD.UI", "{312795E1-D5E2-4021-8FEA-342CA6F14CC8}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Authentication.AzureAD.UI", "AzureAD\Authentication.AzureAD.UI\src\Microsoft.AspNetCore.Authentication.AzureAD.UI.csproj", "{0579BC3C-DC2C-440F-9FB9-F47ABD9B8A58}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Authentication.AzureAD.UI.Test", "AzureAD\Authentication.AzureAD.UI\test\Microsoft.AspNetCore.Authentication.AzureAD.UI.Test.csproj", "{06817D18-5694-454E-A010-CDAECD8AF89B}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Authentication.AzureADB2C.UI", "Authentication.AzureADB2C.UI", "{79FE11AB-8D1E-4DEF-81C0-9B352769BFA4}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Authentication.AzureADB2C.UI", "AzureAD\Authentication.AzureADB2C.UI\src\Microsoft.AspNetCore.Authentication.AzureADB2C.UI.csproj", "{6EC81D5C-D17C-4F11-9471-A8CDBDD8B76C}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test", "AzureAD\Authentication.AzureADB2C.UI\test\Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test.csproj", "{C4703BE0-E8DE-4A22-8653-9E2A20E2BE51}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{A28A64CA-297E-4023-895A-483DFDA59FBE}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AzureADB2CSample", "AzureAD\samples\AzureADB2CSample\AzureADB2CSample.csproj", "{A81C6D14-8A7F-4AC0-B4E8-DF0A925C1ECE}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{F4F1E3C9-38E5-49EC-8688-A2D16AA8807B}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests", "AzureAD\test\FunctionalTests\Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests.csproj", "{B1FC9E6F-F2A2-4E3A-8CFC-0446C592C951}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "testassets", "testassets", "{0F577D33-2EA4-4182-9D89-2EFB022A2835}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AzureAD.WebSite", "AzureAD\test\testassets\AzureAD.WebSite\AzureAD.WebSite.csproj", "{84E67496-B000-4AAD-9626-2135F677C4F1}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "dependencies", "dependencies", "{84622717-F98A-4DE2-806E-1EF89C45C0EB}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server.Kestrel", "..\Servers\Kestrel\Kestrel\src\Microsoft.AspNetCore.Server.Kestrel.csproj", "{CF6B45E8-BF6C-487F-A0D0-D3EA31D80529}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server.Kestrel.Core", "..\Servers\Kestrel\Core\src\Microsoft.AspNetCore.Server.Kestrel.Core.csproj", "{B1385496-607F-4573-ABE9-D9FE88D96DB8}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.StaticFiles", "..\Middleware\StaticFiles\src\Microsoft.AspNetCore.StaticFiles.csproj", "{6EFFA596-23E7-498C-8D5E-331C6D8E945D}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.HttpsPolicy", "..\Middleware\HttpsPolicy\src\Microsoft.AspNetCore.HttpsPolicy.csproj", "{A3789DA9-2E0E-41D6-BDDD-11DA4D3DD72D}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server.IISIntegration", "..\Servers\IIS\IISIntegration\src\Microsoft.AspNetCore.Server.IISIntegration.csproj", "{9631D314-7B0C-4CEC-8650-0259A8F4C77A}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server.Kestrel.Https", "..\Servers\Kestrel\Https\src\Microsoft.AspNetCore.Server.Kestrel.Https.csproj", "{01B31C53-7BAB-4DA7-A55D-C67D9B1FB4A2}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.DataProtection.Extensions", "..\DataProtection\Extensions\src\Microsoft.AspNetCore.DataProtection.Extensions.csproj", "{240BBDB1-3501-4637-8A17-996EA4EBB20B}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Mvc", "..\Mvc\src\Microsoft.AspNetCore.Mvc\Microsoft.AspNetCore.Mvc.csproj", "{88EF760A-99A2-48C8-920F-78632A3BB57A}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Mvc.Testing", "..\Mvc\src\Microsoft.AspNetCore.Mvc.Testing\Microsoft.AspNetCore.Mvc.Testing.csproj", "{9593691E-1B65-4EB1-97AA-F8B292B0082A}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ApplicationInsights.HostingStartup", "ApplicationInsights.HostingStartup", "{EE98F905-C0E0-4A09-8B0E-5F8728EB14CF}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.ApplicationInsights.HostingStartup", "ApplicationInsights.HostingStartup\src\Microsoft.AspNetCore.ApplicationInsights.HostingStartup.csproj", "{12544BE3-B7B9-42EA-A6BD-C354C9F39568}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{9F1C63CA-BBE9-468A-B8E1-1C28A7D09F32}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "testassets", "testassets", "{D9A5379C-EA5B-4AAE-8C84-46FAF40E4EEB}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ApplicationInsightsHostingStartupSample", "ApplicationInsights.HostingStartup\test\testassets\ApplicationInsightsHostingStartupSample\ApplicationInsightsHostingStartupSample.csproj", "{B76BE944-681D-4887-9F90-5A24AD5924CB}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AzureAppServices.HostingStartup", "AzureAppServices.HostingStartup", "{9EC158BE-EB9C-4627-931D-B1B95D3210B6}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.AzureAppServices.HostingStartup", "AzureAppServices.HostingStartup\src\Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj", "{4209F2B4-0388-47DF-A054-C974ABE78723}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AzureAppServicesIntegration", "AzureAppServicesIntegration", "{C6E2B73F-137E-4C37-84DE-0863B1C30D23}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.AzureAppServicesIntegration", "AzureAppServicesIntegration\src\Microsoft.AspNetCore.AzureAppServicesIntegration.csproj", "{215BC7AA-7275-44CA-A7B5-D62AEC7D4752}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.AzureAppServicesIntegration.Tests", "AzureAppServicesIntegration\test\Microsoft.AspNetCore.AzureAppServicesIntegration.Tests.csproj", "{15FAF776-E564-4ADF-9F10-20F3C0A8BA7C}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.ApplicationInsights.HostingStartup.Tests", "ApplicationInsights.HostingStartup\test\UnitTests\Microsoft.AspNetCore.ApplicationInsights.HostingStartup.Tests.csproj", "{F523DF0F-E297-4DA6-A6CF-DECAFBB95562}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{3DCECD76-8F99-481E-B828-9C674FF39B2A}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AzureAppServicesHostingStartupSample", "samples\AzureAppServicesHostingStartupSample\AzureAppServicesHostingStartupSample.csproj", "{A52106C7-6539-4928-A6E3-A216292327E7}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AzureAppServicesSample", "samples\AzureAppServicesSample\AzureAppServicesSample.csproj", "{6B3083B3-FAEA-4626-B299-26D89AE1175A}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Hosting.Abstractions", "..\Hosting\Abstractions\src\Microsoft.AspNetCore.Hosting.Abstractions.csproj", "{CDD2AA23-BC7A-4C2A-8C42-3442B1D6B481}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Hosting", "..\Hosting\Hosting\src\Microsoft.AspNetCore.Hosting.csproj", "{DF5A8E5A-77C7-48B7-B8CD-4D032BAC8989}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server.IntegrationTesting", "..\Hosting\Server.IntegrationTesting\src\Microsoft.AspNetCore.Server.IntegrationTesting.csproj", "{38027842-48A7-4A64-A44F-004BAF0AB450}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.TestHost", "..\Hosting\TestHost\src\Microsoft.AspNetCore.TestHost.csproj", "{C520D48E-87A0-463D-B4CF-3E6B68F8F4D0}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Authorization", "..\Security\Authorization\Core\src\Microsoft.AspNetCore.Authorization.csproj", "{C57DFBC2-A887-44B4-A149-7ABFA6D98F7E}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
+ Debug|x86 = Debug|x86
+ Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
+ Release|x86 = Release|x86
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {0579BC3C-DC2C-440F-9FB9-F47ABD9B8A58}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0579BC3C-DC2C-440F-9FB9-F47ABD9B8A58}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0579BC3C-DC2C-440F-9FB9-F47ABD9B8A58}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {0579BC3C-DC2C-440F-9FB9-F47ABD9B8A58}.Debug|x64.Build.0 = Debug|Any CPU
+ {0579BC3C-DC2C-440F-9FB9-F47ABD9B8A58}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {0579BC3C-DC2C-440F-9FB9-F47ABD9B8A58}.Debug|x86.Build.0 = Debug|Any CPU
+ {0579BC3C-DC2C-440F-9FB9-F47ABD9B8A58}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0579BC3C-DC2C-440F-9FB9-F47ABD9B8A58}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0579BC3C-DC2C-440F-9FB9-F47ABD9B8A58}.Release|x64.ActiveCfg = Release|Any CPU
+ {0579BC3C-DC2C-440F-9FB9-F47ABD9B8A58}.Release|x64.Build.0 = Release|Any CPU
+ {0579BC3C-DC2C-440F-9FB9-F47ABD9B8A58}.Release|x86.ActiveCfg = Release|Any CPU
+ {0579BC3C-DC2C-440F-9FB9-F47ABD9B8A58}.Release|x86.Build.0 = Release|Any CPU
+ {06817D18-5694-454E-A010-CDAECD8AF89B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {06817D18-5694-454E-A010-CDAECD8AF89B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {06817D18-5694-454E-A010-CDAECD8AF89B}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {06817D18-5694-454E-A010-CDAECD8AF89B}.Debug|x64.Build.0 = Debug|Any CPU
+ {06817D18-5694-454E-A010-CDAECD8AF89B}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {06817D18-5694-454E-A010-CDAECD8AF89B}.Debug|x86.Build.0 = Debug|Any CPU
+ {06817D18-5694-454E-A010-CDAECD8AF89B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {06817D18-5694-454E-A010-CDAECD8AF89B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {06817D18-5694-454E-A010-CDAECD8AF89B}.Release|x64.ActiveCfg = Release|Any CPU
+ {06817D18-5694-454E-A010-CDAECD8AF89B}.Release|x64.Build.0 = Release|Any CPU
+ {06817D18-5694-454E-A010-CDAECD8AF89B}.Release|x86.ActiveCfg = Release|Any CPU
+ {06817D18-5694-454E-A010-CDAECD8AF89B}.Release|x86.Build.0 = Release|Any CPU
+ {6EC81D5C-D17C-4F11-9471-A8CDBDD8B76C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6EC81D5C-D17C-4F11-9471-A8CDBDD8B76C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6EC81D5C-D17C-4F11-9471-A8CDBDD8B76C}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {6EC81D5C-D17C-4F11-9471-A8CDBDD8B76C}.Debug|x64.Build.0 = Debug|Any CPU
+ {6EC81D5C-D17C-4F11-9471-A8CDBDD8B76C}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {6EC81D5C-D17C-4F11-9471-A8CDBDD8B76C}.Debug|x86.Build.0 = Debug|Any CPU
+ {6EC81D5C-D17C-4F11-9471-A8CDBDD8B76C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6EC81D5C-D17C-4F11-9471-A8CDBDD8B76C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6EC81D5C-D17C-4F11-9471-A8CDBDD8B76C}.Release|x64.ActiveCfg = Release|Any CPU
+ {6EC81D5C-D17C-4F11-9471-A8CDBDD8B76C}.Release|x64.Build.0 = Release|Any CPU
+ {6EC81D5C-D17C-4F11-9471-A8CDBDD8B76C}.Release|x86.ActiveCfg = Release|Any CPU
+ {6EC81D5C-D17C-4F11-9471-A8CDBDD8B76C}.Release|x86.Build.0 = Release|Any CPU
+ {C4703BE0-E8DE-4A22-8653-9E2A20E2BE51}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C4703BE0-E8DE-4A22-8653-9E2A20E2BE51}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C4703BE0-E8DE-4A22-8653-9E2A20E2BE51}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {C4703BE0-E8DE-4A22-8653-9E2A20E2BE51}.Debug|x64.Build.0 = Debug|Any CPU
+ {C4703BE0-E8DE-4A22-8653-9E2A20E2BE51}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {C4703BE0-E8DE-4A22-8653-9E2A20E2BE51}.Debug|x86.Build.0 = Debug|Any CPU
+ {C4703BE0-E8DE-4A22-8653-9E2A20E2BE51}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C4703BE0-E8DE-4A22-8653-9E2A20E2BE51}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C4703BE0-E8DE-4A22-8653-9E2A20E2BE51}.Release|x64.ActiveCfg = Release|Any CPU
+ {C4703BE0-E8DE-4A22-8653-9E2A20E2BE51}.Release|x64.Build.0 = Release|Any CPU
+ {C4703BE0-E8DE-4A22-8653-9E2A20E2BE51}.Release|x86.ActiveCfg = Release|Any CPU
+ {C4703BE0-E8DE-4A22-8653-9E2A20E2BE51}.Release|x86.Build.0 = Release|Any CPU
+ {A81C6D14-8A7F-4AC0-B4E8-DF0A925C1ECE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A81C6D14-8A7F-4AC0-B4E8-DF0A925C1ECE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A81C6D14-8A7F-4AC0-B4E8-DF0A925C1ECE}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {A81C6D14-8A7F-4AC0-B4E8-DF0A925C1ECE}.Debug|x64.Build.0 = Debug|Any CPU
+ {A81C6D14-8A7F-4AC0-B4E8-DF0A925C1ECE}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {A81C6D14-8A7F-4AC0-B4E8-DF0A925C1ECE}.Debug|x86.Build.0 = Debug|Any CPU
+ {A81C6D14-8A7F-4AC0-B4E8-DF0A925C1ECE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A81C6D14-8A7F-4AC0-B4E8-DF0A925C1ECE}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A81C6D14-8A7F-4AC0-B4E8-DF0A925C1ECE}.Release|x64.ActiveCfg = Release|Any CPU
+ {A81C6D14-8A7F-4AC0-B4E8-DF0A925C1ECE}.Release|x64.Build.0 = Release|Any CPU
+ {A81C6D14-8A7F-4AC0-B4E8-DF0A925C1ECE}.Release|x86.ActiveCfg = Release|Any CPU
+ {A81C6D14-8A7F-4AC0-B4E8-DF0A925C1ECE}.Release|x86.Build.0 = Release|Any CPU
+ {B1FC9E6F-F2A2-4E3A-8CFC-0446C592C951}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B1FC9E6F-F2A2-4E3A-8CFC-0446C592C951}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B1FC9E6F-F2A2-4E3A-8CFC-0446C592C951}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {B1FC9E6F-F2A2-4E3A-8CFC-0446C592C951}.Debug|x64.Build.0 = Debug|Any CPU
+ {B1FC9E6F-F2A2-4E3A-8CFC-0446C592C951}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {B1FC9E6F-F2A2-4E3A-8CFC-0446C592C951}.Debug|x86.Build.0 = Debug|Any CPU
+ {B1FC9E6F-F2A2-4E3A-8CFC-0446C592C951}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B1FC9E6F-F2A2-4E3A-8CFC-0446C592C951}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B1FC9E6F-F2A2-4E3A-8CFC-0446C592C951}.Release|x64.ActiveCfg = Release|Any CPU
+ {B1FC9E6F-F2A2-4E3A-8CFC-0446C592C951}.Release|x64.Build.0 = Release|Any CPU
+ {B1FC9E6F-F2A2-4E3A-8CFC-0446C592C951}.Release|x86.ActiveCfg = Release|Any CPU
+ {B1FC9E6F-F2A2-4E3A-8CFC-0446C592C951}.Release|x86.Build.0 = Release|Any CPU
+ {84E67496-B000-4AAD-9626-2135F677C4F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {84E67496-B000-4AAD-9626-2135F677C4F1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {84E67496-B000-4AAD-9626-2135F677C4F1}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {84E67496-B000-4AAD-9626-2135F677C4F1}.Debug|x64.Build.0 = Debug|Any CPU
+ {84E67496-B000-4AAD-9626-2135F677C4F1}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {84E67496-B000-4AAD-9626-2135F677C4F1}.Debug|x86.Build.0 = Debug|Any CPU
+ {84E67496-B000-4AAD-9626-2135F677C4F1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {84E67496-B000-4AAD-9626-2135F677C4F1}.Release|Any CPU.Build.0 = Release|Any CPU
+ {84E67496-B000-4AAD-9626-2135F677C4F1}.Release|x64.ActiveCfg = Release|Any CPU
+ {84E67496-B000-4AAD-9626-2135F677C4F1}.Release|x64.Build.0 = Release|Any CPU
+ {84E67496-B000-4AAD-9626-2135F677C4F1}.Release|x86.ActiveCfg = Release|Any CPU
+ {84E67496-B000-4AAD-9626-2135F677C4F1}.Release|x86.Build.0 = Release|Any CPU
+ {CF6B45E8-BF6C-487F-A0D0-D3EA31D80529}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {CF6B45E8-BF6C-487F-A0D0-D3EA31D80529}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {CF6B45E8-BF6C-487F-A0D0-D3EA31D80529}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {CF6B45E8-BF6C-487F-A0D0-D3EA31D80529}.Debug|x64.Build.0 = Debug|Any CPU
+ {CF6B45E8-BF6C-487F-A0D0-D3EA31D80529}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {CF6B45E8-BF6C-487F-A0D0-D3EA31D80529}.Debug|x86.Build.0 = Debug|Any CPU
+ {CF6B45E8-BF6C-487F-A0D0-D3EA31D80529}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {CF6B45E8-BF6C-487F-A0D0-D3EA31D80529}.Release|Any CPU.Build.0 = Release|Any CPU
+ {CF6B45E8-BF6C-487F-A0D0-D3EA31D80529}.Release|x64.ActiveCfg = Release|Any CPU
+ {CF6B45E8-BF6C-487F-A0D0-D3EA31D80529}.Release|x64.Build.0 = Release|Any CPU
+ {CF6B45E8-BF6C-487F-A0D0-D3EA31D80529}.Release|x86.ActiveCfg = Release|Any CPU
+ {CF6B45E8-BF6C-487F-A0D0-D3EA31D80529}.Release|x86.Build.0 = Release|Any CPU
+ {B1385496-607F-4573-ABE9-D9FE88D96DB8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B1385496-607F-4573-ABE9-D9FE88D96DB8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B1385496-607F-4573-ABE9-D9FE88D96DB8}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {B1385496-607F-4573-ABE9-D9FE88D96DB8}.Debug|x64.Build.0 = Debug|Any CPU
+ {B1385496-607F-4573-ABE9-D9FE88D96DB8}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {B1385496-607F-4573-ABE9-D9FE88D96DB8}.Debug|x86.Build.0 = Debug|Any CPU
+ {B1385496-607F-4573-ABE9-D9FE88D96DB8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B1385496-607F-4573-ABE9-D9FE88D96DB8}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B1385496-607F-4573-ABE9-D9FE88D96DB8}.Release|x64.ActiveCfg = Release|Any CPU
+ {B1385496-607F-4573-ABE9-D9FE88D96DB8}.Release|x64.Build.0 = Release|Any CPU
+ {B1385496-607F-4573-ABE9-D9FE88D96DB8}.Release|x86.ActiveCfg = Release|Any CPU
+ {B1385496-607F-4573-ABE9-D9FE88D96DB8}.Release|x86.Build.0 = Release|Any CPU
+ {6EFFA596-23E7-498C-8D5E-331C6D8E945D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6EFFA596-23E7-498C-8D5E-331C6D8E945D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6EFFA596-23E7-498C-8D5E-331C6D8E945D}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {6EFFA596-23E7-498C-8D5E-331C6D8E945D}.Debug|x64.Build.0 = Debug|Any CPU
+ {6EFFA596-23E7-498C-8D5E-331C6D8E945D}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {6EFFA596-23E7-498C-8D5E-331C6D8E945D}.Debug|x86.Build.0 = Debug|Any CPU
+ {6EFFA596-23E7-498C-8D5E-331C6D8E945D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6EFFA596-23E7-498C-8D5E-331C6D8E945D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6EFFA596-23E7-498C-8D5E-331C6D8E945D}.Release|x64.ActiveCfg = Release|Any CPU
+ {6EFFA596-23E7-498C-8D5E-331C6D8E945D}.Release|x64.Build.0 = Release|Any CPU
+ {6EFFA596-23E7-498C-8D5E-331C6D8E945D}.Release|x86.ActiveCfg = Release|Any CPU
+ {6EFFA596-23E7-498C-8D5E-331C6D8E945D}.Release|x86.Build.0 = Release|Any CPU
+ {A3789DA9-2E0E-41D6-BDDD-11DA4D3DD72D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A3789DA9-2E0E-41D6-BDDD-11DA4D3DD72D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A3789DA9-2E0E-41D6-BDDD-11DA4D3DD72D}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {A3789DA9-2E0E-41D6-BDDD-11DA4D3DD72D}.Debug|x64.Build.0 = Debug|Any CPU
+ {A3789DA9-2E0E-41D6-BDDD-11DA4D3DD72D}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {A3789DA9-2E0E-41D6-BDDD-11DA4D3DD72D}.Debug|x86.Build.0 = Debug|Any CPU
+ {A3789DA9-2E0E-41D6-BDDD-11DA4D3DD72D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A3789DA9-2E0E-41D6-BDDD-11DA4D3DD72D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A3789DA9-2E0E-41D6-BDDD-11DA4D3DD72D}.Release|x64.ActiveCfg = Release|Any CPU
+ {A3789DA9-2E0E-41D6-BDDD-11DA4D3DD72D}.Release|x64.Build.0 = Release|Any CPU
+ {A3789DA9-2E0E-41D6-BDDD-11DA4D3DD72D}.Release|x86.ActiveCfg = Release|Any CPU
+ {A3789DA9-2E0E-41D6-BDDD-11DA4D3DD72D}.Release|x86.Build.0 = Release|Any CPU
+ {9631D314-7B0C-4CEC-8650-0259A8F4C77A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9631D314-7B0C-4CEC-8650-0259A8F4C77A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9631D314-7B0C-4CEC-8650-0259A8F4C77A}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {9631D314-7B0C-4CEC-8650-0259A8F4C77A}.Debug|x64.Build.0 = Debug|Any CPU
+ {9631D314-7B0C-4CEC-8650-0259A8F4C77A}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {9631D314-7B0C-4CEC-8650-0259A8F4C77A}.Debug|x86.Build.0 = Debug|Any CPU
+ {9631D314-7B0C-4CEC-8650-0259A8F4C77A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9631D314-7B0C-4CEC-8650-0259A8F4C77A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9631D314-7B0C-4CEC-8650-0259A8F4C77A}.Release|x64.ActiveCfg = Release|Any CPU
+ {9631D314-7B0C-4CEC-8650-0259A8F4C77A}.Release|x64.Build.0 = Release|Any CPU
+ {9631D314-7B0C-4CEC-8650-0259A8F4C77A}.Release|x86.ActiveCfg = Release|Any CPU
+ {9631D314-7B0C-4CEC-8650-0259A8F4C77A}.Release|x86.Build.0 = Release|Any CPU
+ {01B31C53-7BAB-4DA7-A55D-C67D9B1FB4A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {01B31C53-7BAB-4DA7-A55D-C67D9B1FB4A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {01B31C53-7BAB-4DA7-A55D-C67D9B1FB4A2}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {01B31C53-7BAB-4DA7-A55D-C67D9B1FB4A2}.Debug|x64.Build.0 = Debug|Any CPU
+ {01B31C53-7BAB-4DA7-A55D-C67D9B1FB4A2}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {01B31C53-7BAB-4DA7-A55D-C67D9B1FB4A2}.Debug|x86.Build.0 = Debug|Any CPU
+ {01B31C53-7BAB-4DA7-A55D-C67D9B1FB4A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {01B31C53-7BAB-4DA7-A55D-C67D9B1FB4A2}.Release|Any CPU.Build.0 = Release|Any CPU
+ {01B31C53-7BAB-4DA7-A55D-C67D9B1FB4A2}.Release|x64.ActiveCfg = Release|Any CPU
+ {01B31C53-7BAB-4DA7-A55D-C67D9B1FB4A2}.Release|x64.Build.0 = Release|Any CPU
+ {01B31C53-7BAB-4DA7-A55D-C67D9B1FB4A2}.Release|x86.ActiveCfg = Release|Any CPU
+ {01B31C53-7BAB-4DA7-A55D-C67D9B1FB4A2}.Release|x86.Build.0 = Release|Any CPU
+ {240BBDB1-3501-4637-8A17-996EA4EBB20B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {240BBDB1-3501-4637-8A17-996EA4EBB20B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {240BBDB1-3501-4637-8A17-996EA4EBB20B}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {240BBDB1-3501-4637-8A17-996EA4EBB20B}.Debug|x64.Build.0 = Debug|Any CPU
+ {240BBDB1-3501-4637-8A17-996EA4EBB20B}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {240BBDB1-3501-4637-8A17-996EA4EBB20B}.Debug|x86.Build.0 = Debug|Any CPU
+ {240BBDB1-3501-4637-8A17-996EA4EBB20B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {240BBDB1-3501-4637-8A17-996EA4EBB20B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {240BBDB1-3501-4637-8A17-996EA4EBB20B}.Release|x64.ActiveCfg = Release|Any CPU
+ {240BBDB1-3501-4637-8A17-996EA4EBB20B}.Release|x64.Build.0 = Release|Any CPU
+ {240BBDB1-3501-4637-8A17-996EA4EBB20B}.Release|x86.ActiveCfg = Release|Any CPU
+ {240BBDB1-3501-4637-8A17-996EA4EBB20B}.Release|x86.Build.0 = Release|Any CPU
+ {88EF760A-99A2-48C8-920F-78632A3BB57A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {88EF760A-99A2-48C8-920F-78632A3BB57A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {88EF760A-99A2-48C8-920F-78632A3BB57A}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {88EF760A-99A2-48C8-920F-78632A3BB57A}.Debug|x64.Build.0 = Debug|Any CPU
+ {88EF760A-99A2-48C8-920F-78632A3BB57A}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {88EF760A-99A2-48C8-920F-78632A3BB57A}.Debug|x86.Build.0 = Debug|Any CPU
+ {88EF760A-99A2-48C8-920F-78632A3BB57A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {88EF760A-99A2-48C8-920F-78632A3BB57A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {88EF760A-99A2-48C8-920F-78632A3BB57A}.Release|x64.ActiveCfg = Release|Any CPU
+ {88EF760A-99A2-48C8-920F-78632A3BB57A}.Release|x64.Build.0 = Release|Any CPU
+ {88EF760A-99A2-48C8-920F-78632A3BB57A}.Release|x86.ActiveCfg = Release|Any CPU
+ {88EF760A-99A2-48C8-920F-78632A3BB57A}.Release|x86.Build.0 = Release|Any CPU
+ {9593691E-1B65-4EB1-97AA-F8B292B0082A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9593691E-1B65-4EB1-97AA-F8B292B0082A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9593691E-1B65-4EB1-97AA-F8B292B0082A}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {9593691E-1B65-4EB1-97AA-F8B292B0082A}.Debug|x64.Build.0 = Debug|Any CPU
+ {9593691E-1B65-4EB1-97AA-F8B292B0082A}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {9593691E-1B65-4EB1-97AA-F8B292B0082A}.Debug|x86.Build.0 = Debug|Any CPU
+ {9593691E-1B65-4EB1-97AA-F8B292B0082A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9593691E-1B65-4EB1-97AA-F8B292B0082A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9593691E-1B65-4EB1-97AA-F8B292B0082A}.Release|x64.ActiveCfg = Release|Any CPU
+ {9593691E-1B65-4EB1-97AA-F8B292B0082A}.Release|x64.Build.0 = Release|Any CPU
+ {9593691E-1B65-4EB1-97AA-F8B292B0082A}.Release|x86.ActiveCfg = Release|Any CPU
+ {9593691E-1B65-4EB1-97AA-F8B292B0082A}.Release|x86.Build.0 = Release|Any CPU
+ {12544BE3-B7B9-42EA-A6BD-C354C9F39568}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {12544BE3-B7B9-42EA-A6BD-C354C9F39568}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {12544BE3-B7B9-42EA-A6BD-C354C9F39568}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {12544BE3-B7B9-42EA-A6BD-C354C9F39568}.Debug|x64.Build.0 = Debug|Any CPU
+ {12544BE3-B7B9-42EA-A6BD-C354C9F39568}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {12544BE3-B7B9-42EA-A6BD-C354C9F39568}.Debug|x86.Build.0 = Debug|Any CPU
+ {12544BE3-B7B9-42EA-A6BD-C354C9F39568}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {12544BE3-B7B9-42EA-A6BD-C354C9F39568}.Release|Any CPU.Build.0 = Release|Any CPU
+ {12544BE3-B7B9-42EA-A6BD-C354C9F39568}.Release|x64.ActiveCfg = Release|Any CPU
+ {12544BE3-B7B9-42EA-A6BD-C354C9F39568}.Release|x64.Build.0 = Release|Any CPU
+ {12544BE3-B7B9-42EA-A6BD-C354C9F39568}.Release|x86.ActiveCfg = Release|Any CPU
+ {12544BE3-B7B9-42EA-A6BD-C354C9F39568}.Release|x86.Build.0 = Release|Any CPU
+ {B76BE944-681D-4887-9F90-5A24AD5924CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B76BE944-681D-4887-9F90-5A24AD5924CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B76BE944-681D-4887-9F90-5A24AD5924CB}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {B76BE944-681D-4887-9F90-5A24AD5924CB}.Debug|x64.Build.0 = Debug|Any CPU
+ {B76BE944-681D-4887-9F90-5A24AD5924CB}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {B76BE944-681D-4887-9F90-5A24AD5924CB}.Debug|x86.Build.0 = Debug|Any CPU
+ {B76BE944-681D-4887-9F90-5A24AD5924CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B76BE944-681D-4887-9F90-5A24AD5924CB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B76BE944-681D-4887-9F90-5A24AD5924CB}.Release|x64.ActiveCfg = Release|Any CPU
+ {B76BE944-681D-4887-9F90-5A24AD5924CB}.Release|x64.Build.0 = Release|Any CPU
+ {B76BE944-681D-4887-9F90-5A24AD5924CB}.Release|x86.ActiveCfg = Release|Any CPU
+ {B76BE944-681D-4887-9F90-5A24AD5924CB}.Release|x86.Build.0 = Release|Any CPU
+ {4209F2B4-0388-47DF-A054-C974ABE78723}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {4209F2B4-0388-47DF-A054-C974ABE78723}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {4209F2B4-0388-47DF-A054-C974ABE78723}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {4209F2B4-0388-47DF-A054-C974ABE78723}.Debug|x64.Build.0 = Debug|Any CPU
+ {4209F2B4-0388-47DF-A054-C974ABE78723}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {4209F2B4-0388-47DF-A054-C974ABE78723}.Debug|x86.Build.0 = Debug|Any CPU
+ {4209F2B4-0388-47DF-A054-C974ABE78723}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {4209F2B4-0388-47DF-A054-C974ABE78723}.Release|Any CPU.Build.0 = Release|Any CPU
+ {4209F2B4-0388-47DF-A054-C974ABE78723}.Release|x64.ActiveCfg = Release|Any CPU
+ {4209F2B4-0388-47DF-A054-C974ABE78723}.Release|x64.Build.0 = Release|Any CPU
+ {4209F2B4-0388-47DF-A054-C974ABE78723}.Release|x86.ActiveCfg = Release|Any CPU
+ {4209F2B4-0388-47DF-A054-C974ABE78723}.Release|x86.Build.0 = Release|Any CPU
+ {215BC7AA-7275-44CA-A7B5-D62AEC7D4752}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {215BC7AA-7275-44CA-A7B5-D62AEC7D4752}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {215BC7AA-7275-44CA-A7B5-D62AEC7D4752}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {215BC7AA-7275-44CA-A7B5-D62AEC7D4752}.Debug|x64.Build.0 = Debug|Any CPU
+ {215BC7AA-7275-44CA-A7B5-D62AEC7D4752}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {215BC7AA-7275-44CA-A7B5-D62AEC7D4752}.Debug|x86.Build.0 = Debug|Any CPU
+ {215BC7AA-7275-44CA-A7B5-D62AEC7D4752}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {215BC7AA-7275-44CA-A7B5-D62AEC7D4752}.Release|Any CPU.Build.0 = Release|Any CPU
+ {215BC7AA-7275-44CA-A7B5-D62AEC7D4752}.Release|x64.ActiveCfg = Release|Any CPU
+ {215BC7AA-7275-44CA-A7B5-D62AEC7D4752}.Release|x64.Build.0 = Release|Any CPU
+ {215BC7AA-7275-44CA-A7B5-D62AEC7D4752}.Release|x86.ActiveCfg = Release|Any CPU
+ {215BC7AA-7275-44CA-A7B5-D62AEC7D4752}.Release|x86.Build.0 = Release|Any CPU
+ {15FAF776-E564-4ADF-9F10-20F3C0A8BA7C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {15FAF776-E564-4ADF-9F10-20F3C0A8BA7C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {15FAF776-E564-4ADF-9F10-20F3C0A8BA7C}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {15FAF776-E564-4ADF-9F10-20F3C0A8BA7C}.Debug|x64.Build.0 = Debug|Any CPU
+ {15FAF776-E564-4ADF-9F10-20F3C0A8BA7C}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {15FAF776-E564-4ADF-9F10-20F3C0A8BA7C}.Debug|x86.Build.0 = Debug|Any CPU
+ {15FAF776-E564-4ADF-9F10-20F3C0A8BA7C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {15FAF776-E564-4ADF-9F10-20F3C0A8BA7C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {15FAF776-E564-4ADF-9F10-20F3C0A8BA7C}.Release|x64.ActiveCfg = Release|Any CPU
+ {15FAF776-E564-4ADF-9F10-20F3C0A8BA7C}.Release|x64.Build.0 = Release|Any CPU
+ {15FAF776-E564-4ADF-9F10-20F3C0A8BA7C}.Release|x86.ActiveCfg = Release|Any CPU
+ {15FAF776-E564-4ADF-9F10-20F3C0A8BA7C}.Release|x86.Build.0 = Release|Any CPU
+ {F523DF0F-E297-4DA6-A6CF-DECAFBB95562}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F523DF0F-E297-4DA6-A6CF-DECAFBB95562}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F523DF0F-E297-4DA6-A6CF-DECAFBB95562}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {F523DF0F-E297-4DA6-A6CF-DECAFBB95562}.Debug|x64.Build.0 = Debug|Any CPU
+ {F523DF0F-E297-4DA6-A6CF-DECAFBB95562}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {F523DF0F-E297-4DA6-A6CF-DECAFBB95562}.Debug|x86.Build.0 = Debug|Any CPU
+ {F523DF0F-E297-4DA6-A6CF-DECAFBB95562}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F523DF0F-E297-4DA6-A6CF-DECAFBB95562}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F523DF0F-E297-4DA6-A6CF-DECAFBB95562}.Release|x64.ActiveCfg = Release|Any CPU
+ {F523DF0F-E297-4DA6-A6CF-DECAFBB95562}.Release|x64.Build.0 = Release|Any CPU
+ {F523DF0F-E297-4DA6-A6CF-DECAFBB95562}.Release|x86.ActiveCfg = Release|Any CPU
+ {F523DF0F-E297-4DA6-A6CF-DECAFBB95562}.Release|x86.Build.0 = Release|Any CPU
+ {A52106C7-6539-4928-A6E3-A216292327E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A52106C7-6539-4928-A6E3-A216292327E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A52106C7-6539-4928-A6E3-A216292327E7}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {A52106C7-6539-4928-A6E3-A216292327E7}.Debug|x64.Build.0 = Debug|Any CPU
+ {A52106C7-6539-4928-A6E3-A216292327E7}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {A52106C7-6539-4928-A6E3-A216292327E7}.Debug|x86.Build.0 = Debug|Any CPU
+ {A52106C7-6539-4928-A6E3-A216292327E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A52106C7-6539-4928-A6E3-A216292327E7}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A52106C7-6539-4928-A6E3-A216292327E7}.Release|x64.ActiveCfg = Release|Any CPU
+ {A52106C7-6539-4928-A6E3-A216292327E7}.Release|x64.Build.0 = Release|Any CPU
+ {A52106C7-6539-4928-A6E3-A216292327E7}.Release|x86.ActiveCfg = Release|Any CPU
+ {A52106C7-6539-4928-A6E3-A216292327E7}.Release|x86.Build.0 = Release|Any CPU
+ {6B3083B3-FAEA-4626-B299-26D89AE1175A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6B3083B3-FAEA-4626-B299-26D89AE1175A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6B3083B3-FAEA-4626-B299-26D89AE1175A}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {6B3083B3-FAEA-4626-B299-26D89AE1175A}.Debug|x64.Build.0 = Debug|Any CPU
+ {6B3083B3-FAEA-4626-B299-26D89AE1175A}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {6B3083B3-FAEA-4626-B299-26D89AE1175A}.Debug|x86.Build.0 = Debug|Any CPU
+ {6B3083B3-FAEA-4626-B299-26D89AE1175A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6B3083B3-FAEA-4626-B299-26D89AE1175A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6B3083B3-FAEA-4626-B299-26D89AE1175A}.Release|x64.ActiveCfg = Release|Any CPU
+ {6B3083B3-FAEA-4626-B299-26D89AE1175A}.Release|x64.Build.0 = Release|Any CPU
+ {6B3083B3-FAEA-4626-B299-26D89AE1175A}.Release|x86.ActiveCfg = Release|Any CPU
+ {6B3083B3-FAEA-4626-B299-26D89AE1175A}.Release|x86.Build.0 = Release|Any CPU
+ {CDD2AA23-BC7A-4C2A-8C42-3442B1D6B481}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {CDD2AA23-BC7A-4C2A-8C42-3442B1D6B481}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {CDD2AA23-BC7A-4C2A-8C42-3442B1D6B481}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {CDD2AA23-BC7A-4C2A-8C42-3442B1D6B481}.Debug|x64.Build.0 = Debug|Any CPU
+ {CDD2AA23-BC7A-4C2A-8C42-3442B1D6B481}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {CDD2AA23-BC7A-4C2A-8C42-3442B1D6B481}.Debug|x86.Build.0 = Debug|Any CPU
+ {CDD2AA23-BC7A-4C2A-8C42-3442B1D6B481}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {CDD2AA23-BC7A-4C2A-8C42-3442B1D6B481}.Release|Any CPU.Build.0 = Release|Any CPU
+ {CDD2AA23-BC7A-4C2A-8C42-3442B1D6B481}.Release|x64.ActiveCfg = Release|Any CPU
+ {CDD2AA23-BC7A-4C2A-8C42-3442B1D6B481}.Release|x64.Build.0 = Release|Any CPU
+ {CDD2AA23-BC7A-4C2A-8C42-3442B1D6B481}.Release|x86.ActiveCfg = Release|Any CPU
+ {CDD2AA23-BC7A-4C2A-8C42-3442B1D6B481}.Release|x86.Build.0 = Release|Any CPU
+ {DF5A8E5A-77C7-48B7-B8CD-4D032BAC8989}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {DF5A8E5A-77C7-48B7-B8CD-4D032BAC8989}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {DF5A8E5A-77C7-48B7-B8CD-4D032BAC8989}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {DF5A8E5A-77C7-48B7-B8CD-4D032BAC8989}.Debug|x64.Build.0 = Debug|Any CPU
+ {DF5A8E5A-77C7-48B7-B8CD-4D032BAC8989}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {DF5A8E5A-77C7-48B7-B8CD-4D032BAC8989}.Debug|x86.Build.0 = Debug|Any CPU
+ {DF5A8E5A-77C7-48B7-B8CD-4D032BAC8989}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {DF5A8E5A-77C7-48B7-B8CD-4D032BAC8989}.Release|Any CPU.Build.0 = Release|Any CPU
+ {DF5A8E5A-77C7-48B7-B8CD-4D032BAC8989}.Release|x64.ActiveCfg = Release|Any CPU
+ {DF5A8E5A-77C7-48B7-B8CD-4D032BAC8989}.Release|x64.Build.0 = Release|Any CPU
+ {DF5A8E5A-77C7-48B7-B8CD-4D032BAC8989}.Release|x86.ActiveCfg = Release|Any CPU
+ {DF5A8E5A-77C7-48B7-B8CD-4D032BAC8989}.Release|x86.Build.0 = Release|Any CPU
+ {38027842-48A7-4A64-A44F-004BAF0AB450}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {38027842-48A7-4A64-A44F-004BAF0AB450}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {38027842-48A7-4A64-A44F-004BAF0AB450}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {38027842-48A7-4A64-A44F-004BAF0AB450}.Debug|x64.Build.0 = Debug|Any CPU
+ {38027842-48A7-4A64-A44F-004BAF0AB450}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {38027842-48A7-4A64-A44F-004BAF0AB450}.Debug|x86.Build.0 = Debug|Any CPU
+ {38027842-48A7-4A64-A44F-004BAF0AB450}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {38027842-48A7-4A64-A44F-004BAF0AB450}.Release|Any CPU.Build.0 = Release|Any CPU
+ {38027842-48A7-4A64-A44F-004BAF0AB450}.Release|x64.ActiveCfg = Release|Any CPU
+ {38027842-48A7-4A64-A44F-004BAF0AB450}.Release|x64.Build.0 = Release|Any CPU
+ {38027842-48A7-4A64-A44F-004BAF0AB450}.Release|x86.ActiveCfg = Release|Any CPU
+ {38027842-48A7-4A64-A44F-004BAF0AB450}.Release|x86.Build.0 = Release|Any CPU
+ {C520D48E-87A0-463D-B4CF-3E6B68F8F4D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C520D48E-87A0-463D-B4CF-3E6B68F8F4D0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C520D48E-87A0-463D-B4CF-3E6B68F8F4D0}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {C520D48E-87A0-463D-B4CF-3E6B68F8F4D0}.Debug|x64.Build.0 = Debug|Any CPU
+ {C520D48E-87A0-463D-B4CF-3E6B68F8F4D0}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {C520D48E-87A0-463D-B4CF-3E6B68F8F4D0}.Debug|x86.Build.0 = Debug|Any CPU
+ {C520D48E-87A0-463D-B4CF-3E6B68F8F4D0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C520D48E-87A0-463D-B4CF-3E6B68F8F4D0}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C520D48E-87A0-463D-B4CF-3E6B68F8F4D0}.Release|x64.ActiveCfg = Release|Any CPU
+ {C520D48E-87A0-463D-B4CF-3E6B68F8F4D0}.Release|x64.Build.0 = Release|Any CPU
+ {C520D48E-87A0-463D-B4CF-3E6B68F8F4D0}.Release|x86.ActiveCfg = Release|Any CPU
+ {C520D48E-87A0-463D-B4CF-3E6B68F8F4D0}.Release|x86.Build.0 = Release|Any CPU
+ {C57DFBC2-A887-44B4-A149-7ABFA6D98F7E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C57DFBC2-A887-44B4-A149-7ABFA6D98F7E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C57DFBC2-A887-44B4-A149-7ABFA6D98F7E}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {C57DFBC2-A887-44B4-A149-7ABFA6D98F7E}.Debug|x64.Build.0 = Debug|Any CPU
+ {C57DFBC2-A887-44B4-A149-7ABFA6D98F7E}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {C57DFBC2-A887-44B4-A149-7ABFA6D98F7E}.Debug|x86.Build.0 = Debug|Any CPU
+ {C57DFBC2-A887-44B4-A149-7ABFA6D98F7E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C57DFBC2-A887-44B4-A149-7ABFA6D98F7E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C57DFBC2-A887-44B4-A149-7ABFA6D98F7E}.Release|x64.ActiveCfg = Release|Any CPU
+ {C57DFBC2-A887-44B4-A149-7ABFA6D98F7E}.Release|x64.Build.0 = Release|Any CPU
+ {C57DFBC2-A887-44B4-A149-7ABFA6D98F7E}.Release|x86.ActiveCfg = Release|Any CPU
+ {C57DFBC2-A887-44B4-A149-7ABFA6D98F7E}.Release|x86.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {312795E1-D5E2-4021-8FEA-342CA6F14CC8} = {B931802A-45BB-49A4-9919-B36C827100AC}
+ {0579BC3C-DC2C-440F-9FB9-F47ABD9B8A58} = {312795E1-D5E2-4021-8FEA-342CA6F14CC8}
+ {06817D18-5694-454E-A010-CDAECD8AF89B} = {312795E1-D5E2-4021-8FEA-342CA6F14CC8}
+ {79FE11AB-8D1E-4DEF-81C0-9B352769BFA4} = {B931802A-45BB-49A4-9919-B36C827100AC}
+ {6EC81D5C-D17C-4F11-9471-A8CDBDD8B76C} = {79FE11AB-8D1E-4DEF-81C0-9B352769BFA4}
+ {C4703BE0-E8DE-4A22-8653-9E2A20E2BE51} = {79FE11AB-8D1E-4DEF-81C0-9B352769BFA4}
+ {A28A64CA-297E-4023-895A-483DFDA59FBE} = {B931802A-45BB-49A4-9919-B36C827100AC}
+ {A81C6D14-8A7F-4AC0-B4E8-DF0A925C1ECE} = {A28A64CA-297E-4023-895A-483DFDA59FBE}
+ {F4F1E3C9-38E5-49EC-8688-A2D16AA8807B} = {B931802A-45BB-49A4-9919-B36C827100AC}
+ {B1FC9E6F-F2A2-4E3A-8CFC-0446C592C951} = {F4F1E3C9-38E5-49EC-8688-A2D16AA8807B}
+ {0F577D33-2EA4-4182-9D89-2EFB022A2835} = {F4F1E3C9-38E5-49EC-8688-A2D16AA8807B}
+ {84E67496-B000-4AAD-9626-2135F677C4F1} = {0F577D33-2EA4-4182-9D89-2EFB022A2835}
+ {CF6B45E8-BF6C-487F-A0D0-D3EA31D80529} = {84622717-F98A-4DE2-806E-1EF89C45C0EB}
+ {B1385496-607F-4573-ABE9-D9FE88D96DB8} = {84622717-F98A-4DE2-806E-1EF89C45C0EB}
+ {6EFFA596-23E7-498C-8D5E-331C6D8E945D} = {84622717-F98A-4DE2-806E-1EF89C45C0EB}
+ {A3789DA9-2E0E-41D6-BDDD-11DA4D3DD72D} = {84622717-F98A-4DE2-806E-1EF89C45C0EB}
+ {9631D314-7B0C-4CEC-8650-0259A8F4C77A} = {84622717-F98A-4DE2-806E-1EF89C45C0EB}
+ {01B31C53-7BAB-4DA7-A55D-C67D9B1FB4A2} = {84622717-F98A-4DE2-806E-1EF89C45C0EB}
+ {240BBDB1-3501-4637-8A17-996EA4EBB20B} = {84622717-F98A-4DE2-806E-1EF89C45C0EB}
+ {88EF760A-99A2-48C8-920F-78632A3BB57A} = {84622717-F98A-4DE2-806E-1EF89C45C0EB}
+ {9593691E-1B65-4EB1-97AA-F8B292B0082A} = {84622717-F98A-4DE2-806E-1EF89C45C0EB}
+ {12544BE3-B7B9-42EA-A6BD-C354C9F39568} = {EE98F905-C0E0-4A09-8B0E-5F8728EB14CF}
+ {9F1C63CA-BBE9-468A-B8E1-1C28A7D09F32} = {EE98F905-C0E0-4A09-8B0E-5F8728EB14CF}
+ {D9A5379C-EA5B-4AAE-8C84-46FAF40E4EEB} = {9F1C63CA-BBE9-468A-B8E1-1C28A7D09F32}
+ {B76BE944-681D-4887-9F90-5A24AD5924CB} = {D9A5379C-EA5B-4AAE-8C84-46FAF40E4EEB}
+ {4209F2B4-0388-47DF-A054-C974ABE78723} = {9EC158BE-EB9C-4627-931D-B1B95D3210B6}
+ {215BC7AA-7275-44CA-A7B5-D62AEC7D4752} = {C6E2B73F-137E-4C37-84DE-0863B1C30D23}
+ {15FAF776-E564-4ADF-9F10-20F3C0A8BA7C} = {C6E2B73F-137E-4C37-84DE-0863B1C30D23}
+ {F523DF0F-E297-4DA6-A6CF-DECAFBB95562} = {9F1C63CA-BBE9-468A-B8E1-1C28A7D09F32}
+ {A52106C7-6539-4928-A6E3-A216292327E7} = {3DCECD76-8F99-481E-B828-9C674FF39B2A}
+ {6B3083B3-FAEA-4626-B299-26D89AE1175A} = {3DCECD76-8F99-481E-B828-9C674FF39B2A}
+ {CDD2AA23-BC7A-4C2A-8C42-3442B1D6B481} = {84622717-F98A-4DE2-806E-1EF89C45C0EB}
+ {DF5A8E5A-77C7-48B7-B8CD-4D032BAC8989} = {84622717-F98A-4DE2-806E-1EF89C45C0EB}
+ {38027842-48A7-4A64-A44F-004BAF0AB450} = {84622717-F98A-4DE2-806E-1EF89C45C0EB}
+ {C520D48E-87A0-463D-B4CF-3E6B68F8F4D0} = {84622717-F98A-4DE2-806E-1EF89C45C0EB}
+ {C57DFBC2-A887-44B4-A149-7ABFA6D98F7E} = {84622717-F98A-4DE2-806E-1EF89C45C0EB}
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {81AADD49-473B-43ED-8A08-F6B7A058AA39}
+ EndGlobalSection
+EndGlobal
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Areas/AzureAD/Controllers/AccountController.cs b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Controllers/AccountController.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Areas/AzureAD/Controllers/AccountController.cs
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Controllers/AccountController.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Areas/AzureAD/Pages/Account/AccessDenied.cshtml b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/Account/AccessDenied.cshtml
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Areas/AzureAD/Pages/Account/AccessDenied.cshtml
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/Account/AccessDenied.cshtml
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Areas/AzureAD/Pages/Account/AccessDenied.cshtml.cs b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/Account/AccessDenied.cshtml.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Areas/AzureAD/Pages/Account/AccessDenied.cshtml.cs
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/Account/AccessDenied.cshtml.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Areas/AzureAD/Pages/Account/Error.cshtml b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/Account/Error.cshtml
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Areas/AzureAD/Pages/Account/Error.cshtml
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/Account/Error.cshtml
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Areas/AzureAD/Pages/Account/Error.cshtml.cs b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/Account/Error.cshtml.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Areas/AzureAD/Pages/Account/Error.cshtml.cs
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/Account/Error.cshtml.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Areas/AzureAD/Pages/Account/SignedOut.cshtml b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/Account/SignedOut.cshtml
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Areas/AzureAD/Pages/Account/SignedOut.cshtml
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/Account/SignedOut.cshtml
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Areas/AzureAD/Pages/Account/SignedOut.cshtml.cs b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/Account/SignedOut.cshtml.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Areas/AzureAD/Pages/Account/SignedOut.cshtml.cs
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/Account/SignedOut.cshtml.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Areas/AzureAD/Pages/Account/_viewImports.cshtml b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/Account/_viewImports.cshtml
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Areas/AzureAD/Pages/Account/_viewImports.cshtml
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/Account/_viewImports.cshtml
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Areas/AzureAD/Pages/_ViewStart.cshtml b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/_ViewStart.cshtml
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Areas/AzureAD/Pages/_ViewStart.cshtml
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/_ViewStart.cshtml
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/AzureADAccountControllerFeatureProvider.cs b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/AzureADAccountControllerFeatureProvider.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/AzureADAccountControllerFeatureProvider.cs
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/AzureADAccountControllerFeatureProvider.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/AzureADAuthenticationBuilderExtensions.cs b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/AzureADAuthenticationBuilderExtensions.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/AzureADAuthenticationBuilderExtensions.cs
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/AzureADAuthenticationBuilderExtensions.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/AzureADDefaults.cs b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/AzureADDefaults.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/AzureADDefaults.cs
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/AzureADDefaults.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/AzureADOptions.cs b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/AzureADOptions.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/AzureADOptions.cs
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/AzureADOptions.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/AzureADOptionsConfiguration.cs b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/AzureADOptionsConfiguration.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/AzureADOptionsConfiguration.cs
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/AzureADOptionsConfiguration.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/AzureADSchemeOptions.cs b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/AzureADSchemeOptions.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/AzureADSchemeOptions.cs
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/AzureADSchemeOptions.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/CookieOptionsConfiguration.cs b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/CookieOptionsConfiguration.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/CookieOptionsConfiguration.cs
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/CookieOptionsConfiguration.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/JwtBearerOptionsConfiguration.cs b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/JwtBearerOptionsConfiguration.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/JwtBearerOptionsConfiguration.cs
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/JwtBearerOptionsConfiguration.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Microsoft.AspNetCore.Authentication.AzureAD.UI.csproj b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/Microsoft.AspNetCore.Authentication.AzureAD.UI.csproj
similarity index 72%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Microsoft.AspNetCore.Authentication.AzureAD.UI.csproj
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/Microsoft.AspNetCore.Authentication.AzureAD.UI.csproj
index 1192afae5d..4a7df9d5a8 100644
--- a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Microsoft.AspNetCore.Authentication.AzureAD.UI.csproj
+++ b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/Microsoft.AspNetCore.Authentication.AzureAD.UI.csproj
@@ -15,11 +15,11 @@
-
-
-
-
-
+
+
+
+
+
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/OpenIdConnectOptionsConfiguration.cs b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/OpenIdConnectOptionsConfiguration.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/OpenIdConnectOptionsConfiguration.cs
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/OpenIdConnectOptionsConfiguration.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Properties/AssemblyInfo.cs b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/Properties/AssemblyInfo.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/Properties/AssemblyInfo.cs
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/Properties/AssemblyInfo.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/baseline.netcore.json b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/baseline.netcore.json
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/baseline.netcore.json
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/src/baseline.netcore.json
diff --git a/src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureAD.UI.Test/AzureADAuthenticationBuilderExtensionsTests.cs b/src/Azure/AzureAD/Authentication.AzureAD.UI/test/AzureADAuthenticationBuilderExtensionsTests.cs
similarity index 100%
rename from src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureAD.UI.Test/AzureADAuthenticationBuilderExtensionsTests.cs
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/test/AzureADAuthenticationBuilderExtensionsTests.cs
diff --git a/src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureAD.UI.Test/Controllers/AccountControllerTests.cs b/src/Azure/AzureAD/Authentication.AzureAD.UI/test/Controllers/AccountControllerTests.cs
similarity index 100%
rename from src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureAD.UI.Test/Controllers/AccountControllerTests.cs
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/test/Controllers/AccountControllerTests.cs
diff --git a/src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureAD.UI.Test/Microsoft.AspNetCore.Authentication.AzureAD.UI.Test.csproj b/src/Azure/AzureAD/Authentication.AzureAD.UI/test/Microsoft.AspNetCore.Authentication.AzureAD.UI.Test.csproj
similarity index 73%
rename from src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureAD.UI.Test/Microsoft.AspNetCore.Authentication.AzureAD.UI.Test.csproj
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/test/Microsoft.AspNetCore.Authentication.AzureAD.UI.Test.csproj
index 554232c8a4..509d46fde9 100644
--- a/src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureAD.UI.Test/Microsoft.AspNetCore.Authentication.AzureAD.UI.Test.csproj
+++ b/src/Azure/AzureAD/Authentication.AzureAD.UI/test/Microsoft.AspNetCore.Authentication.AzureAD.UI.Test.csproj
@@ -12,7 +12,7 @@
-
+
diff --git a/src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests/xunit.runner.json b/src/Azure/AzureAD/Authentication.AzureAD.UI/test/xunit.runner.json
similarity index 100%
rename from src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests/xunit.runner.json
rename to src/Azure/AzureAD/Authentication.AzureAD.UI/test/xunit.runner.json
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Areas/AzureADB2C/Controllers/AccountController.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Controllers/AccountController.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Areas/AzureADB2C/Controllers/AccountController.cs
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Controllers/AccountController.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Areas/AzureADB2C/Pages/Account/AccessDenied.cshtml b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/Account/AccessDenied.cshtml
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Areas/AzureADB2C/Pages/Account/AccessDenied.cshtml
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/Account/AccessDenied.cshtml
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Areas/AzureADB2C/Pages/Account/AccessDenied.cshtml.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/Account/AccessDenied.cshtml.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Areas/AzureADB2C/Pages/Account/AccessDenied.cshtml.cs
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/Account/AccessDenied.cshtml.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Areas/AzureADB2C/Pages/Account/Error.cshtml b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/Account/Error.cshtml
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Areas/AzureADB2C/Pages/Account/Error.cshtml
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/Account/Error.cshtml
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Areas/AzureADB2C/Pages/Account/Error.cshtml.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/Account/Error.cshtml.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Areas/AzureADB2C/Pages/Account/Error.cshtml.cs
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/Account/Error.cshtml.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Areas/AzureADB2C/Pages/Account/SignedOut.cshtml b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/Account/SignedOut.cshtml
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Areas/AzureADB2C/Pages/Account/SignedOut.cshtml
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/Account/SignedOut.cshtml
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Areas/AzureADB2C/Pages/Account/SignedOut.cshtml.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/Account/SignedOut.cshtml.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Areas/AzureADB2C/Pages/Account/SignedOut.cshtml.cs
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/Account/SignedOut.cshtml.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Areas/AzureADB2C/Pages/Account/_viewImports.cshtml b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/Account/_viewImports.cshtml
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Areas/AzureADB2C/Pages/Account/_viewImports.cshtml
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/Account/_viewImports.cshtml
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Areas/AzureADB2C/Pages/_ViewStart.cshtml b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/_ViewStart.cshtml
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Areas/AzureADB2C/Pages/_ViewStart.cshtml
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/_ViewStart.cshtml
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/AzureADB2CAccountControllerFeatureProvider.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureADB2CAccountControllerFeatureProvider.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/AzureADB2CAccountControllerFeatureProvider.cs
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureADB2CAccountControllerFeatureProvider.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/AzureAdB2CAuthenticationBuilderExtensions.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureAdB2CAuthenticationBuilderExtensions.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/AzureAdB2CAuthenticationBuilderExtensions.cs
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureAdB2CAuthenticationBuilderExtensions.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/AzureAdB2CDefaults.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureAdB2CDefaults.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/AzureAdB2CDefaults.cs
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureAdB2CDefaults.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/AzureAdB2COpenIDConnectEventHandlers.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureAdB2COpenIDConnectEventHandlers.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/AzureAdB2COpenIDConnectEventHandlers.cs
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureAdB2COpenIDConnectEventHandlers.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/AzureAdB2COptions.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureAdB2COptions.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/AzureAdB2COptions.cs
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureAdB2COptions.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/AzureAdB2COptionsConfiguration.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureAdB2COptionsConfiguration.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/AzureAdB2COptionsConfiguration.cs
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureAdB2COptionsConfiguration.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/AzureAdB2CSchemeOptions.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureAdB2CSchemeOptions.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/AzureAdB2CSchemeOptions.cs
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureAdB2CSchemeOptions.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/CookieOptionsConfiguration.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/CookieOptionsConfiguration.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/CookieOptionsConfiguration.cs
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/CookieOptionsConfiguration.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/JwtBearerOptionsConfiguration.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/JwtBearerOptionsConfiguration.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/JwtBearerOptionsConfiguration.cs
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/JwtBearerOptionsConfiguration.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.csproj b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.csproj
similarity index 72%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.csproj
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.csproj
index da8af667f8..3c3a584bfd 100644
--- a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.csproj
+++ b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.csproj
@@ -15,11 +15,11 @@
-
-
-
-
-
+
+
+
+
+
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/OpenIdConnectOptionsConfiguration.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/OpenIdConnectOptionsConfiguration.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/OpenIdConnectOptionsConfiguration.cs
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/OpenIdConnectOptionsConfiguration.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Properties/AssemblyInfo.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Properties/AssemblyInfo.cs
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/Properties/AssemblyInfo.cs
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Properties/AssemblyInfo.cs
diff --git a/src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/baseline.netcore.json b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/baseline.netcore.json
similarity index 100%
rename from src/AADIntegration/src/Microsoft.AspNetCore.Authentication.AzureADB2C.UI/baseline.netcore.json
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/baseline.netcore.json
diff --git a/src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test/AzureAdB2CAuthenticationBuilderExtensionsTests.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/test/AzureAdB2CAuthenticationBuilderExtensionsTests.cs
similarity index 100%
rename from src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test/AzureAdB2CAuthenticationBuilderExtensionsTests.cs
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/test/AzureAdB2CAuthenticationBuilderExtensionsTests.cs
diff --git a/src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test/AzureAdB2COpenIDConnectEventHandlersTests.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/test/AzureAdB2COpenIDConnectEventHandlersTests.cs
similarity index 100%
rename from src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test/AzureAdB2COpenIDConnectEventHandlersTests.cs
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/test/AzureAdB2COpenIDConnectEventHandlersTests.cs
diff --git a/src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test/Controllers/AccountControllerTests.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/test/Controllers/AccountControllerTests.cs
similarity index 100%
rename from src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test/Controllers/AccountControllerTests.cs
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/test/Controllers/AccountControllerTests.cs
diff --git a/src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test.csproj b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/test/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test.csproj
similarity index 72%
rename from src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test.csproj
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/test/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test.csproj
index 7becca1b5e..6abd66f574 100644
--- a/src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test.csproj
+++ b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/test/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test.csproj
@@ -12,7 +12,7 @@
-
+
diff --git a/src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureAD.UI.Test/xunit.runner.json b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/test/xunit.runner.json
similarity index 100%
rename from src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureAD.UI.Test/xunit.runner.json
rename to src/Azure/AzureAD/Authentication.AzureADB2C.UI/test/xunit.runner.json
diff --git a/src/AADIntegration/test/AADIntegration.ruleset b/src/Azure/AzureAD/AzureAD.ruleset
similarity index 69%
rename from src/AADIntegration/test/AADIntegration.ruleset
rename to src/Azure/AzureAD/AzureAD.ruleset
index 23f2deac4a..57375fd55d 100644
--- a/src/AADIntegration/test/AADIntegration.ruleset
+++ b/src/Azure/AzureAD/AzureAD.ruleset
@@ -1,7 +1,7 @@

-
+
-
diff --git a/src/Azure/AzureAD/Directory.Build.props b/src/Azure/AzureAD/Directory.Build.props
new file mode 100644
index 0000000000..647d706b5a
--- /dev/null
+++ b/src/Azure/AzureAD/Directory.Build.props
@@ -0,0 +1,8 @@
+
+
+
+
+ xUnit1026:$(WarningsNotAsErrors)
+ $(MSBuildThisFileDirectory)AzureAD.ruleset
+
+
diff --git a/src/Azure/AzureAD/README.md b/src/Azure/AzureAD/README.md
new file mode 100644
index 0000000000..6086294419
--- /dev/null
+++ b/src/Azure/AzureAD/README.md
@@ -0,0 +1,4 @@
+Azure Active Directory Integration
+==================================
+
+ASP.NET Core Azure Active Directory Integration provides seamless authentication integration with different Azure Active Directory services like Azure Active Directory and Azure Active Directory B2C for ASP.NET Core applications.
\ No newline at end of file
diff --git a/src/Azure/AzureAD/samples/AzureADB2CSample/AzureADB2CSample.csproj b/src/Azure/AzureAD/samples/AzureADB2CSample/AzureADB2CSample.csproj
new file mode 100644
index 0000000000..6b9a99731f
--- /dev/null
+++ b/src/Azure/AzureAD/samples/AzureADB2CSample/AzureADB2CSample.csproj
@@ -0,0 +1,23 @@
+
+
+
+ netcoreapp3.0
+
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/AADIntegration/samples/AzureADB2CSample/Pages/Index.cshtml b/src/Azure/AzureAD/samples/AzureADB2CSample/Pages/Index.cshtml
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/Pages/Index.cshtml
rename to src/Azure/AzureAD/samples/AzureADB2CSample/Pages/Index.cshtml
diff --git a/src/AADIntegration/samples/AzureADB2CSample/Pages/Index.cshtml.cs b/src/Azure/AzureAD/samples/AzureADB2CSample/Pages/Index.cshtml.cs
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/Pages/Index.cshtml.cs
rename to src/Azure/AzureAD/samples/AzureADB2CSample/Pages/Index.cshtml.cs
diff --git a/src/AADIntegration/samples/AzureADB2CSample/Pages/Shared/_Layout.cshtml b/src/Azure/AzureAD/samples/AzureADB2CSample/Pages/Shared/_Layout.cshtml
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/Pages/Shared/_Layout.cshtml
rename to src/Azure/AzureAD/samples/AzureADB2CSample/Pages/Shared/_Layout.cshtml
diff --git a/src/AADIntegration/samples/AzureADB2CSample/Pages/Shared/_LoginPartial.cshtml b/src/Azure/AzureAD/samples/AzureADB2CSample/Pages/Shared/_LoginPartial.cshtml
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/Pages/Shared/_LoginPartial.cshtml
rename to src/Azure/AzureAD/samples/AzureADB2CSample/Pages/Shared/_LoginPartial.cshtml
diff --git a/src/AADIntegration/samples/AzureADB2CSample/Pages/_ViewImports.cshtml b/src/Azure/AzureAD/samples/AzureADB2CSample/Pages/_ViewImports.cshtml
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/Pages/_ViewImports.cshtml
rename to src/Azure/AzureAD/samples/AzureADB2CSample/Pages/_ViewImports.cshtml
diff --git a/src/AADIntegration/samples/AzureADB2CSample/Pages/_ViewStart.cshtml b/src/Azure/AzureAD/samples/AzureADB2CSample/Pages/_ViewStart.cshtml
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/Pages/_ViewStart.cshtml
rename to src/Azure/AzureAD/samples/AzureADB2CSample/Pages/_ViewStart.cshtml
diff --git a/src/AADIntegration/samples/AzureADB2CSample/Program.cs b/src/Azure/AzureAD/samples/AzureADB2CSample/Program.cs
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/Program.cs
rename to src/Azure/AzureAD/samples/AzureADB2CSample/Program.cs
diff --git a/src/AADIntegration/samples/AzureADB2CSample/Startup.cs b/src/Azure/AzureAD/samples/AzureADB2CSample/Startup.cs
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/Startup.cs
rename to src/Azure/AzureAD/samples/AzureADB2CSample/Startup.cs
diff --git a/src/AADIntegration/samples/AzureADB2CSample/appsettings.Development.json b/src/Azure/AzureAD/samples/AzureADB2CSample/appsettings.Development.json
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/appsettings.Development.json
rename to src/Azure/AzureAD/samples/AzureADB2CSample/appsettings.Development.json
diff --git a/src/AADIntegration/samples/AzureADB2CSample/appsettings.json b/src/Azure/AzureAD/samples/AzureADB2CSample/appsettings.json
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/appsettings.json
rename to src/Azure/AzureAD/samples/AzureADB2CSample/appsettings.json
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/css/site.css b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/css/site.css
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/css/site.css
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/css/site.css
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/css/site.min.css b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/css/site.min.css
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/css/site.min.css
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/css/site.min.css
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/favicon.ico b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/favicon.ico
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/favicon.ico
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/favicon.ico
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/images/banner1.svg b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/images/banner1.svg
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/images/banner1.svg
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/images/banner1.svg
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/images/banner2.svg b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/images/banner2.svg
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/images/banner2.svg
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/images/banner2.svg
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/images/banner3.svg b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/images/banner3.svg
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/images/banner3.svg
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/images/banner3.svg
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/images/banner4.svg b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/images/banner4.svg
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/images/banner4.svg
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/images/banner4.svg
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/js/site.js b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/js/site.js
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/js/site.js
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/js/site.js
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/js/site.min.js b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/js/site.min.js
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/js/site.min.js
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/js/site.min.js
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/.bower.json b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/.bower.json
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/.bower.json
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/.bower.json
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/LICENSE b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/LICENSE
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/LICENSE
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/LICENSE
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css.map b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css.map
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css.map
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css.map
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css.map b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css.map
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css.map
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css.map
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap.css b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap.css
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap.css
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap.css
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap.css.map b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap.css.map
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap.css.map
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap.css.map
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css.map b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css.map
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css.map
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css.map
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.svg b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.svg
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.svg
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.svg
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/js/bootstrap.js b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/js/bootstrap.js
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/js/bootstrap.js
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/js/bootstrap.js
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/js/npm.js b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/js/npm.js
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/js/npm.js
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/bootstrap/dist/js/npm.js
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery-validation-unobtrusive/.bower.json b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery-validation-unobtrusive/.bower.json
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery-validation-unobtrusive/.bower.json
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery-validation-unobtrusive/.bower.json
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery-validation/.bower.json b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery-validation/.bower.json
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery-validation/.bower.json
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery-validation/.bower.json
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery-validation/LICENSE.md b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery-validation/LICENSE.md
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery-validation/LICENSE.md
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery-validation/LICENSE.md
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery-validation/dist/additional-methods.js b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery-validation/dist/additional-methods.js
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery-validation/dist/additional-methods.js
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery-validation/dist/additional-methods.js
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery-validation/dist/jquery.validate.js b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery-validation/dist/jquery.validate.js
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery-validation/dist/jquery.validate.js
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery-validation/dist/jquery.validate.js
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery/.bower.json b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery/.bower.json
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery/.bower.json
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery/.bower.json
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery/LICENSE.txt b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery/LICENSE.txt
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery/LICENSE.txt
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery/LICENSE.txt
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery/dist/jquery.js b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery/dist/jquery.js
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery/dist/jquery.js
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery/dist/jquery.js
diff --git a/src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery/dist/jquery.min.map b/src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery/dist/jquery.min.map
similarity index 100%
rename from src/AADIntegration/samples/AzureADB2CSample/wwwroot/lib/jquery/dist/jquery.min.map
rename to src/Azure/AzureAD/samples/AzureADB2CSample/wwwroot/lib/jquery/dist/jquery.min.map
diff --git a/src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests/ApiAuthenticationTests.cs b/src/Azure/AzureAD/test/FunctionalTests/ApiAuthenticationTests.cs
similarity index 100%
rename from src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests/ApiAuthenticationTests.cs
rename to src/Azure/AzureAD/test/FunctionalTests/ApiAuthenticationTests.cs
diff --git a/src/Azure/AzureAD/test/FunctionalTests/Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests.csproj b/src/Azure/AzureAD/test/FunctionalTests/Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests.csproj
new file mode 100644
index 0000000000..ed2253ef17
--- /dev/null
+++ b/src/Azure/AzureAD/test/FunctionalTests/Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests.csproj
@@ -0,0 +1,21 @@
+
+
+
+ netcoreapp3.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests/WebAuthenticationTests.cs b/src/Azure/AzureAD/test/FunctionalTests/WebAuthenticationTests.cs
similarity index 100%
rename from src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureAD.FunctionalTests/WebAuthenticationTests.cs
rename to src/Azure/AzureAD/test/FunctionalTests/WebAuthenticationTests.cs
diff --git a/src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test/xunit.runner.json b/src/Azure/AzureAD/test/FunctionalTests/xunit.runner.json
similarity index 100%
rename from src/AADIntegration/test/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Test/xunit.runner.json
rename to src/Azure/AzureAD/test/FunctionalTests/xunit.runner.json
diff --git a/src/Azure/AzureAD/test/testassets/AzureAD.WebSite/AzureAD.WebSite.csproj b/src/Azure/AzureAD/test/testassets/AzureAD.WebSite/AzureAD.WebSite.csproj
new file mode 100644
index 0000000000..73b832bf22
--- /dev/null
+++ b/src/Azure/AzureAD/test/testassets/AzureAD.WebSite/AzureAD.WebSite.csproj
@@ -0,0 +1,25 @@
+
+
+
+ netcoreapp3.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/AADIntegration/test/WebSites/AzureAD.WebSite/Controllers/TestController.cs b/src/Azure/AzureAD/test/testassets/AzureAD.WebSite/Controllers/TestController.cs
similarity index 100%
rename from src/AADIntegration/test/WebSites/AzureAD.WebSite/Controllers/TestController.cs
rename to src/Azure/AzureAD/test/testassets/AzureAD.WebSite/Controllers/TestController.cs
diff --git a/src/AADIntegration/test/WebSites/AzureAD.WebSite/Program.cs b/src/Azure/AzureAD/test/testassets/AzureAD.WebSite/Program.cs
similarity index 100%
rename from src/AADIntegration/test/WebSites/AzureAD.WebSite/Program.cs
rename to src/Azure/AzureAD/test/testassets/AzureAD.WebSite/Program.cs
diff --git a/src/AADIntegration/test/WebSites/AzureAD.WebSite/Startup.cs b/src/Azure/AzureAD/test/testassets/AzureAD.WebSite/Startup.cs
similarity index 100%
rename from src/AADIntegration/test/WebSites/AzureAD.WebSite/Startup.cs
rename to src/Azure/AzureAD/test/testassets/AzureAD.WebSite/Startup.cs
diff --git a/src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/AssemblyInfo.cs b/src/Azure/AzureAppServices.HostingStartup/src/AssemblyInfo.cs
similarity index 100%
rename from src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/AssemblyInfo.cs
rename to src/Azure/AzureAppServices.HostingStartup/src/AssemblyInfo.cs
diff --git a/src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/AzureAppServicesHostingStartup.cs b/src/Azure/AzureAppServices.HostingStartup/src/AzureAppServicesHostingStartup.cs
similarity index 100%
rename from src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/AzureAppServicesHostingStartup.cs
rename to src/Azure/AzureAppServices.HostingStartup/src/AzureAppServicesHostingStartup.cs
diff --git a/src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/HostingStartupConfigurationExtensions.cs b/src/Azure/AzureAppServices.HostingStartup/src/HostingStartupConfigurationExtensions.cs
similarity index 100%
rename from src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/HostingStartupConfigurationExtensions.cs
rename to src/Azure/AzureAppServices.HostingStartup/src/HostingStartupConfigurationExtensions.cs
diff --git a/src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj b/src/Azure/AzureAppServices.HostingStartup/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj
similarity index 51%
rename from src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj
rename to src/Azure/AzureAppServices.HostingStartup/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj
index fc57aaf3cb..ac74adf4d7 100644
--- a/src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj
+++ b/src/Azure/AzureAppServices.HostingStartup/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj
@@ -1,6 +1,6 @@

-
+
ASP.NET Core lightup integration with Azure AppServices.
@@ -11,11 +11,8 @@
-
-
-
-
-
+
+
diff --git a/src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/baseline.netcore.json b/src/Azure/AzureAppServices.HostingStartup/src/baseline.netcore.json
similarity index 100%
rename from src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/baseline.netcore.json
rename to src/Azure/AzureAppServices.HostingStartup/src/baseline.netcore.json
diff --git a/src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/baseline.netframework.json b/src/Azure/AzureAppServices.HostingStartup/src/baseline.netframework.json
similarity index 100%
rename from src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/baseline.netframework.json
rename to src/Azure/AzureAppServices.HostingStartup/src/baseline.netframework.json
diff --git a/src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServicesIntegration/AppServicesWebHostBuilderExtensions.cs b/src/Azure/AzureAppServicesIntegration/src/AppServicesWebHostBuilderExtensions.cs
similarity index 100%
rename from src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServicesIntegration/AppServicesWebHostBuilderExtensions.cs
rename to src/Azure/AzureAppServicesIntegration/src/AppServicesWebHostBuilderExtensions.cs
diff --git a/src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServicesIntegration/Microsoft.AspNetCore.AzureAppServicesIntegration.csproj b/src/Azure/AzureAppServicesIntegration/src/Microsoft.AspNetCore.AzureAppServicesIntegration.csproj
similarity index 65%
rename from src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServicesIntegration/Microsoft.AspNetCore.AzureAppServicesIntegration.csproj
rename to src/Azure/AzureAppServicesIntegration/src/Microsoft.AspNetCore.AzureAppServicesIntegration.csproj
index 4370120fc2..fbbef613fd 100644
--- a/src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServicesIntegration/Microsoft.AspNetCore.AzureAppServicesIntegration.csproj
+++ b/src/Azure/AzureAppServicesIntegration/src/Microsoft.AspNetCore.AzureAppServicesIntegration.csproj
@@ -11,8 +11,8 @@
-
-
+
+
diff --git a/src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServicesIntegration/Properties/AssemblyInfo.cs b/src/Azure/AzureAppServicesIntegration/src/Properties/AssemblyInfo.cs
similarity index 100%
rename from src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServicesIntegration/Properties/AssemblyInfo.cs
rename to src/Azure/AzureAppServicesIntegration/src/Properties/AssemblyInfo.cs
diff --git a/src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServicesIntegration/baseline.netcore.json b/src/Azure/AzureAppServicesIntegration/src/baseline.netcore.json
similarity index 100%
rename from src/AzureIntegration/src/Microsoft.AspNetCore.AzureAppServicesIntegration/baseline.netcore.json
rename to src/Azure/AzureAppServicesIntegration/src/baseline.netcore.json
diff --git a/src/AzureIntegration/test/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests/AppServicesWebHostBuilderExtensionsTest.cs b/src/Azure/AzureAppServicesIntegration/test/AppServicesWebHostBuilderExtensionsTest.cs
similarity index 100%
rename from src/AzureIntegration/test/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests/AppServicesWebHostBuilderExtensionsTest.cs
rename to src/Azure/AzureAppServicesIntegration/test/AppServicesWebHostBuilderExtensionsTest.cs
diff --git a/src/Azure/AzureAppServicesIntegration/test/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests.csproj b/src/Azure/AzureAppServicesIntegration/test/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests.csproj
new file mode 100644
index 0000000000..d325471015
--- /dev/null
+++ b/src/Azure/AzureAppServicesIntegration/test/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests.csproj
@@ -0,0 +1,13 @@
+
+
+
+ netcoreapp3.0
+
+
+
+
+
+
+
+
+
diff --git a/src/Azure/build.cmd b/src/Azure/build.cmd
new file mode 100644
index 0000000000..033fe6f614
--- /dev/null
+++ b/src/Azure/build.cmd
@@ -0,0 +1,3 @@
+@ECHO OFF
+SET RepoRoot=%~dp0..\..
+%RepoRoot%\build.cmd -projects %~dp0\**\*.*proj %*
diff --git a/src/AzureIntegration/build/hostingstartup.targets b/src/Azure/hostingstartup.targets
similarity index 100%
rename from src/AzureIntegration/build/hostingstartup.targets
rename to src/Azure/hostingstartup.targets
diff --git a/src/Azure/samples/AzureAppServicesHostingStartupSample/AzureAppServicesHostingStartupSample.csproj b/src/Azure/samples/AzureAppServicesHostingStartupSample/AzureAppServicesHostingStartupSample.csproj
new file mode 100644
index 0000000000..6985ea6c0c
--- /dev/null
+++ b/src/Azure/samples/AzureAppServicesHostingStartupSample/AzureAppServicesHostingStartupSample.csproj
@@ -0,0 +1,15 @@
+
+
+
+ netcoreapp3.0
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/AzureIntegration/sample/AzureAppServicesHostingStartupSample/Startup.cs b/src/Azure/samples/AzureAppServicesHostingStartupSample/Startup.cs
similarity index 100%
rename from src/AzureIntegration/sample/AzureAppServicesHostingStartupSample/Startup.cs
rename to src/Azure/samples/AzureAppServicesHostingStartupSample/Startup.cs
diff --git a/src/Azure/samples/AzureAppServicesSample/AzureAppServicesSample.csproj b/src/Azure/samples/AzureAppServicesSample/AzureAppServicesSample.csproj
new file mode 100644
index 0000000000..9f7be59933
--- /dev/null
+++ b/src/Azure/samples/AzureAppServicesSample/AzureAppServicesSample.csproj
@@ -0,0 +1,15 @@
+
+
+
+ netcoreapp3.0
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/AzureIntegration/sample/AzureAppServicesSample/Startup.cs b/src/Azure/samples/AzureAppServicesSample/Startup.cs
similarity index 100%
rename from src/AzureIntegration/sample/AzureAppServicesSample/Startup.cs
rename to src/Azure/samples/AzureAppServicesSample/Startup.cs
diff --git a/src/Azure/startvs.cmd b/src/Azure/startvs.cmd
new file mode 100644
index 0000000000..458c43b11a
--- /dev/null
+++ b/src/Azure/startvs.cmd
@@ -0,0 +1,3 @@
+@ECHO OFF
+
+%~dp0..\..\startvs.cmd %~dp0Azure.sln
diff --git a/src/AzureIntegration/.gitignore b/src/AzureIntegration/.gitignore
deleted file mode 100644
index 5c05ff5f40..0000000000
--- a/src/AzureIntegration/.gitignore
+++ /dev/null
@@ -1,34 +0,0 @@
-[Oo]bj/
-[Bb]in/
-TestResults/
-.nuget/
-_ReSharper.*/
-packages/
-artifacts/
-PublishProfiles/
-*.user
-*.suo
-*.cache
-*.docstates
-_ReSharper.*
-nuget.exe
-*net45.csproj
-*net451.csproj
-*k10.csproj
-*.psess
-*.vsp
-*.pidb
-*.userprefs
-*DS_Store
-*.ncrunchsolution
-*.*sdf
-*.ipch
-*.sln.ide
-project.lock.json
-.vs
-.build/
-.testPublish/
-global.json
-msbuild.binlog
-.test-dotnet/
-.deps/
\ No newline at end of file
diff --git a/src/AzureIntegration/AzureIntegration.sln b/src/AzureIntegration/AzureIntegration.sln
deleted file mode 100644
index 4ae8e28927..0000000000
--- a/src/AzureIntegration/AzureIntegration.sln
+++ /dev/null
@@ -1,90 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 16
-VisualStudioVersion = 16.0.28315.86
-MinimumVisualStudioVersion = 15.0.26730.03
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.AzureAppServicesIntegration", "src\Microsoft.AspNetCore.AzureAppServicesIntegration\Microsoft.AspNetCore.AzureAppServicesIntegration.csproj", "{5916BEB5-0969-469B-976C-A392E015DFAC}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{FF9B744E-6C59-40CC-9E41-9D2EBD292435}"
- ProjectSection(SolutionItems) = preProject
- src\Directory.Build.props = src\Directory.Build.props
- EndProjectSection
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{2FFE2B87-BF8A-4B38-ADAB-2FE2F9BC4A7C}"
- ProjectSection(SolutionItems) = preProject
- build\dependencies.props = build\dependencies.props
- Directory.Build.props = Directory.Build.props
- Directory.Build.targets = Directory.Build.targets
- NuGet.config = NuGet.config
- EndProjectSection
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AzureAppServicesSample", "sample\AzureAppServicesSample\AzureAppServicesSample.csproj", "{05A4D308-B162-4194-BC5E-88CCB4DBD318}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{37237C93-6855-40D9-9E60-418B093EF49A}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{CD650B4B-81C2-4A44-AEF2-A251A877C1F0}"
- ProjectSection(SolutionItems) = preProject
- test\Directory.Build.props = test\Directory.Build.props
- EndProjectSection
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.AzureAppServicesIntegration.Tests", "test\Microsoft.AspNetCore.AzureAppServicesIntegration.Tests\Microsoft.AspNetCore.AzureAppServicesIntegration.Tests.csproj", "{9BA1B692-B313-4E22-A864-F0ADBBE3C3FA}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.AzureAppServices.HostingStartup", "src\Microsoft.AspNetCore.AzureAppServices.HostingStartup\Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj", "{AC023B45-7995-4D4A-8108-E512AE8E5734}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AzureAppServicesHostingStartupSample", "sample\AzureAppServicesHostingStartupSample\AzureAppServicesHostingStartupSample.csproj", "{939EA897-CA31-4F2E-BA51-22B570B64671}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Extensions.ApplicationModelDetection", "src\Microsoft.Extensions.ApplicationModelDetection\Microsoft.Extensions.ApplicationModelDetection.csproj", "{F0CABFE8-A5B1-487B-A451-A486D26742D3}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Extensions.ApplicationModelDetection.Tests", "test\Microsoft.Extensions.ApplicationModelDetection.Tests\Microsoft.Extensions.ApplicationModelDetection.Tests.csproj", "{15664836-2B94-4D2D-AC18-6DED01FCCCBD}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {5916BEB5-0969-469B-976C-A392E015DFAC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5916BEB5-0969-469B-976C-A392E015DFAC}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5916BEB5-0969-469B-976C-A392E015DFAC}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5916BEB5-0969-469B-976C-A392E015DFAC}.Release|Any CPU.Build.0 = Release|Any CPU
- {05A4D308-B162-4194-BC5E-88CCB4DBD318}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {05A4D308-B162-4194-BC5E-88CCB4DBD318}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {05A4D308-B162-4194-BC5E-88CCB4DBD318}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {05A4D308-B162-4194-BC5E-88CCB4DBD318}.Release|Any CPU.Build.0 = Release|Any CPU
- {9BA1B692-B313-4E22-A864-F0ADBBE3C3FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {9BA1B692-B313-4E22-A864-F0ADBBE3C3FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {9BA1B692-B313-4E22-A864-F0ADBBE3C3FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {9BA1B692-B313-4E22-A864-F0ADBBE3C3FA}.Release|Any CPU.Build.0 = Release|Any CPU
- {AC023B45-7995-4D4A-8108-E512AE8E5734}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {AC023B45-7995-4D4A-8108-E512AE8E5734}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {AC023B45-7995-4D4A-8108-E512AE8E5734}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {AC023B45-7995-4D4A-8108-E512AE8E5734}.Release|Any CPU.Build.0 = Release|Any CPU
- {939EA897-CA31-4F2E-BA51-22B570B64671}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {939EA897-CA31-4F2E-BA51-22B570B64671}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {939EA897-CA31-4F2E-BA51-22B570B64671}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {939EA897-CA31-4F2E-BA51-22B570B64671}.Release|Any CPU.Build.0 = Release|Any CPU
- {F0CABFE8-A5B1-487B-A451-A486D26742D3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F0CABFE8-A5B1-487B-A451-A486D26742D3}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F0CABFE8-A5B1-487B-A451-A486D26742D3}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F0CABFE8-A5B1-487B-A451-A486D26742D3}.Release|Any CPU.Build.0 = Release|Any CPU
- {15664836-2B94-4D2D-AC18-6DED01FCCCBD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {15664836-2B94-4D2D-AC18-6DED01FCCCBD}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {15664836-2B94-4D2D-AC18-6DED01FCCCBD}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {15664836-2B94-4D2D-AC18-6DED01FCCCBD}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(NestedProjects) = preSolution
- {5916BEB5-0969-469B-976C-A392E015DFAC} = {FF9B744E-6C59-40CC-9E41-9D2EBD292435}
- {05A4D308-B162-4194-BC5E-88CCB4DBD318} = {37237C93-6855-40D9-9E60-418B093EF49A}
- {9BA1B692-B313-4E22-A864-F0ADBBE3C3FA} = {CD650B4B-81C2-4A44-AEF2-A251A877C1F0}
- {AC023B45-7995-4D4A-8108-E512AE8E5734} = {FF9B744E-6C59-40CC-9E41-9D2EBD292435}
- {939EA897-CA31-4F2E-BA51-22B570B64671} = {37237C93-6855-40D9-9E60-418B093EF49A}
- {F0CABFE8-A5B1-487B-A451-A486D26742D3} = {FF9B744E-6C59-40CC-9E41-9D2EBD292435}
- {15664836-2B94-4D2D-AC18-6DED01FCCCBD} = {CD650B4B-81C2-4A44-AEF2-A251A877C1F0}
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {5743DFE7-1AA5-439D-84AE-A480EA389927}
- EndGlobalSection
-EndGlobal
diff --git a/src/AzureIntegration/Directory.Build.props b/src/AzureIntegration/Directory.Build.props
deleted file mode 100644
index 9a82191584..0000000000
--- a/src/AzureIntegration/Directory.Build.props
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
- Microsoft ASP.NET Core
- https://github.com/aspnet/AspNetCore
- git
- $(MSBuildThisFileDirectory)
- $(MSBuildThisFileDirectory)..\..\eng\AspNetCore.snk
- true
- true
- $(MSBuildThisFileDirectory)..\Shared\
-
-
-
-
- $(MSBuildThisFileDirectory)..\..\artifacts\
- $(ArtifactsDir)$(Configuration)\
- $(ArtifactsConfigurationDir)packages\
- $(BasePackageOutputPath)product\
- $(BasePackageOutputPath)internal\
-
-
-
diff --git a/src/AzureIntegration/Directory.Build.targets b/src/AzureIntegration/Directory.Build.targets
deleted file mode 100644
index f5a3f65909..0000000000
--- a/src/AzureIntegration/Directory.Build.targets
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- $(MicrosoftNETCoreAppPackageVersion)
-
-
-
-
- false
-
- $(ProductPackageOutputPath)
- $(InternalPackageOutputPath)
-
-
-
diff --git a/src/AzureIntegration/NuGetPackageVerifier.json b/src/AzureIntegration/NuGetPackageVerifier.json
deleted file mode 100644
index cf7178529c..0000000000
--- a/src/AzureIntegration/NuGetPackageVerifier.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "adx": { // Packages written by the ADX team and that ship on NuGet.org
- "rules": [
- "AdxVerificationCompositeRule"
- ],
- "packages": {
- "Microsoft.AspNetCore.AzureAppServicesIntegration": { },
- "Microsoft.Extensions.ApplicationModelDetection": { }
- }
- },
- "Default": { // Rules to run for packages not listed in any other set.
- "rules": [
- "DefaultCompositeRule"
- ]
- }
-}
\ No newline at end of file
diff --git a/src/AzureIntegration/README.md b/src/AzureIntegration/README.md
deleted file mode 100644
index 1eeece66ef..0000000000
--- a/src/AzureIntegration/README.md
+++ /dev/null
@@ -1,27 +0,0 @@
-AzureIntegration
-===
-
-Features that integrate ASP.NET Core with Azure.
-
-This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the [Home](https://github.com/aspnet/home) repo.
-
-
-SiteExtensions
-===
-
-To install a nightly preview of the ASP.NET Core runtime site extension for testing purposes:
-1. In the Azure portal select App Services -> your site -> Application settings
-1. Set `SCM_SITEEXTENSIONS_FEED_URL` application setting to `https://dotnet.myget.org/F/aspnetcore-dev/`
-1. Go to `DEVELOPMENT TOOLS` -> `Advanced Tools` -> `Site extensions` -> `Gallery`
-1. Enter `AspNetCoreRuntime` into `Search` box and click `Search`
-1. Click `+` to install site extension and wait untill installation animation finishes
-1. `Extensions` tab should now show newly installed site extension
-1. Click `Restart site` on the right side of the page when installation finishes (this would only restart Kudu site, not the main one)
-1. Restart site in `Overview` tab of `App service`
-
-
-To update ASP.NET Core runtime site extension:
-1. Stop site in `Overview` tab of `App service`
-1. Go to `DEVELOPMENT TOOLS` -> `Advanced Tools` -> `Site extensions`
-1. Click update on site extension
-1. Start site in `Overview` tab of `App service`
\ No newline at end of file
diff --git a/src/AzureIntegration/build/dependencies.props b/src/AzureIntegration/build/dependencies.props
deleted file mode 100644
index 3c6817fc61..0000000000
--- a/src/AzureIntegration/build/dependencies.props
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
- $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
-
-
- 3.0.0-build-20181114.5
- 3.0.0-build-20181114.5
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 0.7.0-alpha1-10742
- 3.0.0-alpha1-10742
- 3.0.0-alpha1-10742
- 1.1.3
- 1.0.3
- 3.0.0-alpha1-10670
- 3.0.0-preview-181113-11
- 3.0.0-preview-181113-11
- 3.0.0-preview-181113-11
- 3.0.0-preview-181113-11
- 3.0.0-preview-181113-11
- 3.0.0-preview-181113-11
- 3.0.0-preview-181113-11
- 3.0.0-preview-181113-11
- 3.0.0-preview-181113-11
- 3.0.0-preview1-26907-05
- 3.0.0-preview-18579-0056
- 15.6.1
- 1.4.0
- 4.10.0
- 2.0.3
- 12.0.1
- 1.7.0-preview1-26907-04
- 8.1.4
- 2.3.1
- 2.4.0
-
-
-
-
diff --git a/src/AzureIntegration/build/repo.props b/src/AzureIntegration/build/repo.props
deleted file mode 100644
index 4b07653315..0000000000
--- a/src/AzureIntegration/build/repo.props
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
-
- false
-
-
-
- $(RepositoryRoot)test\Microsoft.AspNetCore.AzureAppServices.FunctionalTests\Microsoft.AspNetCore.AzureAppServices.FunctionalTests.csproj
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/AzureIntegration/build/repo.targets b/src/AzureIntegration/build/repo.targets
deleted file mode 100644
index 9dcc1240cc..0000000000
--- a/src/AzureIntegration/build/repo.targets
+++ /dev/null
@@ -1,94 +0,0 @@
-
-
-
- True
- <_SdkVersion>$(SITE_EXTENSION_SDK_VERSION)
- <_SdkVersion Condition="'$(_SdkVersion)' == ''">$([System.IO.Path]::GetFileName($([System.IO.Path]::GetDirectoryName('$(MSBuildExtensionsPath)'))))
- <_SdkFeed>$(SITE_EXTENSION_SDK_FEED)
- <_SdkFeed Condition="'$(_SdkFeed)' == ''">$(DefaultDotNetAssetFeed)
- $(RepositoryRoot).test-dotnet\
- $(RepositoryRoot)artifacts\apps
- $(TestDotNetPath)extension\$(SiteExtensionArch)\
- $(RepositoryRoot)artifacts\build
- $(RepositoryRoot)\test\Microsoft.AspNetCore.AzureAppServices.FunctionalTests\
- https://dotnet.myget.org/F/aspnetcore-dev/
- $(MicrosoftNETCoreAppPackageVersion)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/AzureIntegration/build/sources.props b/src/AzureIntegration/build/sources.props
deleted file mode 100644
index 9215df9751..0000000000
--- a/src/AzureIntegration/build/sources.props
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
- $(DotNetRestoreSources)
-
- $(RestoreSources);
- https://dotnet.myget.org/F/dotnet-core/api/v3/index.json;
- https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json;
- https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json;
-
-
- $(RestoreSources);
- https://api.nuget.org/v3/index.json;
-
-
-
diff --git a/src/AzureIntegration/sample/AzureAppServicesHostingStartupSample/AzureAppServicesHostingStartupSample.csproj b/src/AzureIntegration/sample/AzureAppServicesHostingStartupSample/AzureAppServicesHostingStartupSample.csproj
deleted file mode 100644
index a2f447ed5e..0000000000
--- a/src/AzureIntegration/sample/AzureAppServicesHostingStartupSample/AzureAppServicesHostingStartupSample.csproj
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
- netcoreapp3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/AzureIntegration/sample/AzureAppServicesHostingStartupSample/Properties/launchSettings.json b/src/AzureIntegration/sample/AzureAppServicesHostingStartupSample/Properties/launchSettings.json
deleted file mode 100644
index 731d8620e9..0000000000
--- a/src/AzureIntegration/sample/AzureAppServicesHostingStartupSample/Properties/launchSettings.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "iisSettings": {
- "windowsAuthentication": false,
- "anonymousAuthentication": true,
- "iisExpress": {
- "applicationUrl": "http://localhost:22071/",
- "sslPort": 0
- }
- },
- "profiles": {
- "IIS Express": {
- "commandName": "IISExpress",
- "launchBrowser": true,
- "environmentVariables": {
- "ASPNETCORE_ENVIRONMENT": "Development",
- "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.AzureAppServices.HostingStartup;Microsoft.AspNetCore.Server.IISIntegration"
- }
- },
- "AzureAppServicesHostingStartupSample": {
- "commandName": "IISExpress",
- "launchBrowser": true
- }
- }
-}
\ No newline at end of file
diff --git a/src/AzureIntegration/sample/AzureAppServicesSample/AzureAppServicesSample.csproj b/src/AzureIntegration/sample/AzureAppServicesSample/AzureAppServicesSample.csproj
deleted file mode 100644
index 4b03ef5612..0000000000
--- a/src/AzureIntegration/sample/AzureAppServicesSample/AzureAppServicesSample.csproj
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
- netcoreapp3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/AzureIntegration/sample/AzureAppServicesSample/Properties/launchSettings.json b/src/AzureIntegration/sample/AzureAppServicesSample/Properties/launchSettings.json
deleted file mode 100644
index 93ebc1db03..0000000000
--- a/src/AzureIntegration/sample/AzureAppServicesSample/Properties/launchSettings.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "iisSettings": {
- "windowsAuthentication": false,
- "anonymousAuthentication": true,
- "iisExpress": {
- "applicationUrl": "http://localhost:64358/",
- "sslPort": 0
- }
- },
- "profiles": {
- "IIS Express": {
- "commandName": "IISExpress",
- "launchBrowser": true,
- "environmentVariables": {
- "ASPNETCORE_ENVIRONMENT": "Development",
- "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.Server.IISIntegration"
- }
- },
- "AzureAppServicesSample": {
- "commandName": "IISExpress",
- "launchBrowser": true
- }
- }
-}
\ No newline at end of file
diff --git a/src/AzureIntegration/src/Directory.Build.props b/src/AzureIntegration/src/Directory.Build.props
deleted file mode 100644
index 4f07cbc45d..0000000000
--- a/src/AzureIntegration/src/Directory.Build.props
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/AzureIntegration/src/Microsoft.Extensions.ApplicationModelDetection/AppModelDetectionResult.cs b/src/AzureIntegration/src/Microsoft.Extensions.ApplicationModelDetection/AppModelDetectionResult.cs
deleted file mode 100644
index 96e53dc52d..0000000000
--- a/src/AzureIntegration/src/Microsoft.Extensions.ApplicationModelDetection/AppModelDetectionResult.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.Extensions.ApplicationModelDetection
-{
- public class AppModelDetectionResult
- {
- public RuntimeFramework? Framework { get; set; }
- public string FrameworkVersion { get; set; }
- public string AspNetCoreVersion { get; set; }
- }
-}
\ No newline at end of file
diff --git a/src/AzureIntegration/src/Microsoft.Extensions.ApplicationModelDetection/AppModelDetector.cs b/src/AzureIntegration/src/Microsoft.Extensions.ApplicationModelDetection/AppModelDetector.cs
deleted file mode 100644
index e42a8f2918..0000000000
--- a/src/AzureIntegration/src/Microsoft.Extensions.ApplicationModelDetection/AppModelDetector.cs
+++ /dev/null
@@ -1,250 +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.IO;
-using System.Linq;
-using System.Reflection.Metadata;
-using System.Reflection.PortableExecutable;
-using System.Xml.Linq;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Linq;
-
-namespace Microsoft.Extensions.ApplicationModelDetection
-{
- public class AppModelDetector
- {
- // We use Hosting package to detect AspNetCore version
- // it contains light-up implemenation that we care about and
- // would have to be used by aspnet core web apps
- private const string AspNetCoreAssembly = "Microsoft.AspNetCore.Hosting";
-
- ///
- /// Reads the following sources
- /// - web.config to detect dotnet framework kind
- /// - *.runtimeconfig.json to detect target framework version
- /// - *.deps.json to detect Asp.Net Core version
- /// - Microsoft.AspNetCore.Hosting.dll to detect Asp.Net Core version
- ///
- /// The application directory
- /// The instance containing information about application
- public AppModelDetectionResult Detect(DirectoryInfo directory)
- {
- string entryPoint = null;
-
- // Try reading web.config and resolving framework and app path
- var webConfig = directory.GetFiles("web.config").FirstOrDefault();
-
- bool webConfigExists = webConfig != null;
- bool? usesDotnetExe = null;
-
- if (webConfigExists &&
- TryParseWebConfig(webConfig, out var dotnetExe, out entryPoint))
- {
- usesDotnetExe = dotnetExe;
- }
-
- // If we found entry point let's look for .deps.json
- // in some cases it exists in desktop too
- FileInfo depsJson = null;
- FileInfo runtimeConfig = null;
-
- if (!string.IsNullOrWhiteSpace(entryPoint))
- {
- depsJson = new FileInfo(Path.ChangeExtension(entryPoint, ".deps.json"));
- runtimeConfig = new FileInfo(Path.ChangeExtension(entryPoint, ".runtimeconfig.json"));
- }
-
- if (depsJson == null || !depsJson.Exists)
- {
- depsJson = directory.GetFiles("*.deps.json").FirstOrDefault();
- }
-
- if (runtimeConfig == null || !runtimeConfig.Exists)
- {
- runtimeConfig = directory.GetFiles("*.runtimeconfig.json").FirstOrDefault();
- }
-
- string aspNetCoreVersionFromDeps = null;
- string aspNetCoreVersionFromDll = null;
-
-
- // Try to detect ASP.NET Core version from .deps.json
- if (depsJson != null &&
- depsJson.Exists &&
- TryParseDependencies(depsJson, out var aspNetCoreVersion))
- {
- aspNetCoreVersionFromDeps = aspNetCoreVersion;
- }
-
- // Try to detect ASP.NET Core version from .deps.json
- var aspNetCoreDll = directory.GetFiles(AspNetCoreAssembly + ".dll").FirstOrDefault();
- if (aspNetCoreDll != null &&
- TryParseAssembly(aspNetCoreDll, out aspNetCoreVersion))
- {
- aspNetCoreVersionFromDll = aspNetCoreVersion;
- }
-
- // Try to detect dotnet core runtime version from runtimeconfig.json
- string runtimeVersionFromRuntimeConfig = null;
- if (runtimeConfig != null &&
- runtimeConfig.Exists)
- {
- TryParseRuntimeConfig(runtimeConfig, out runtimeVersionFromRuntimeConfig);
- }
-
- var result = new AppModelDetectionResult();
- if (usesDotnetExe == true)
- {
- result.Framework = RuntimeFramework.DotNetCore;
- result.FrameworkVersion = runtimeVersionFromRuntimeConfig;
- }
- else
- {
- if (depsJson?.Exists == true &&
- runtimeConfig?.Exists == true)
- {
- result.Framework = RuntimeFramework.DotNetCoreStandalone;
- }
- else
- {
- result.Framework = RuntimeFramework.DotNetFramework;
- }
- }
-
- result.AspNetCoreVersion = aspNetCoreVersionFromDeps ?? aspNetCoreVersionFromDll;
-
- return result;
- }
-
- private bool TryParseAssembly(FileInfo aspNetCoreDll, out string aspNetCoreVersion)
- {
- aspNetCoreVersion = null;
- try
- {
- using (var stream = aspNetCoreDll.OpenRead())
- using (var peReader = new PEReader(stream))
- {
- var metadataReader = peReader.GetMetadataReader();
- var assemblyDefinition = metadataReader.GetAssemblyDefinition();
- aspNetCoreVersion = assemblyDefinition.Version.ToString();
- return true;
- }
- }
- catch (Exception)
- {
- return false;
- }
- }
-
- ///
- /// Search for Microsoft.AspNetCore.Hosting entry in deps.json and get it's version number
- ///
- private bool TryParseDependencies(FileInfo depsJson, out string aspnetCoreVersion)
- {
- aspnetCoreVersion = null;
- try
- {
- using (var streamReader = depsJson.OpenText())
- using (var jsonReader = new JsonTextReader(streamReader))
- {
- var json = JObject.Load(jsonReader);
-
- var libraryPrefix = AspNetCoreAssembly+ "/";
-
- var library = json.Descendants().OfType().FirstOrDefault(property => property.Name.StartsWith(libraryPrefix));
- if (library != null)
- {
- aspnetCoreVersion = library.Name.Substring(libraryPrefix.Length);
- return true;
- }
- }
- }
- catch (Exception)
- {
- }
- return false;
- }
-
- private bool TryParseRuntimeConfig(FileInfo runtimeConfig, out string frameworkVersion)
- {
- frameworkVersion = null;
- try
- {
- using (var streamReader = runtimeConfig.OpenText())
- using (var jsonReader = new JsonTextReader(streamReader))
- {
- var json = JObject.Load(jsonReader);
- frameworkVersion = (string)json?["runtimeOptions"]
- ?["framework"]
- ?["version"];
-
- return true;
- }
- }
- catch (Exception)
- {
- return false;
- }
- }
-
- private bool TryParseWebConfig(FileInfo webConfig, out bool usesDotnetExe, out string entryPoint)
- {
- usesDotnetExe = false;
- entryPoint = null;
-
- try
- {
- var xdocument = XDocument.Load(webConfig.FullName);
- var aspNetCoreHandler = xdocument.Root?
- .Element("system.webServer")
- .Element("aspNetCore");
-
- if (aspNetCoreHandler == null)
- {
- return false;
- }
-
- var processPath = (string) aspNetCoreHandler.Attribute("processPath");
- var arguments = (string) aspNetCoreHandler.Attribute("arguments");
-
- if (processPath.EndsWith("dotnet", StringComparison.OrdinalIgnoreCase) ||
- processPath.EndsWith("dotnet.exe", StringComparison.OrdinalIgnoreCase) &&
- !string.IsNullOrWhiteSpace(arguments))
- {
- usesDotnetExe = true;
- var entryPointPart = arguments.Split(new[] {" "}, StringSplitOptions.RemoveEmptyEntries).FirstOrDefault();
-
- if (!string.IsNullOrWhiteSpace(entryPointPart))
- {
- try
- {
- entryPoint = Path.GetFullPath(Path.Combine(webConfig.DirectoryName, entryPointPart));
- }
- catch (Exception)
- {
- }
- }
- }
- else
- {
- usesDotnetExe = false;
-
- try
- {
- entryPoint = Path.GetFullPath(Path.Combine(webConfig.DirectoryName, processPath));
- }
- catch (Exception)
- {
- }
- }
- }
- catch (Exception)
- {
- return false;
- }
-
- return true;
- }
- }
-}
\ No newline at end of file
diff --git a/src/AzureIntegration/src/Microsoft.Extensions.ApplicationModelDetection/Microsoft.Extensions.ApplicationModelDetection.csproj b/src/AzureIntegration/src/Microsoft.Extensions.ApplicationModelDetection/Microsoft.Extensions.ApplicationModelDetection.csproj
deleted file mode 100644
index ccb195cee2..0000000000
--- a/src/AzureIntegration/src/Microsoft.Extensions.ApplicationModelDetection/Microsoft.Extensions.ApplicationModelDetection.csproj
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
- ASP.NET Core integration with Azure AppServices.
- netcoreapp3.0
- $(NoWarn);CS1591
- true
- true
- aspnetcore;azure;appservices
-
-
-
-
-
-
-
diff --git a/src/AzureIntegration/src/Microsoft.Extensions.ApplicationModelDetection/RuntimeFramework.cs b/src/AzureIntegration/src/Microsoft.Extensions.ApplicationModelDetection/RuntimeFramework.cs
deleted file mode 100644
index b182c79eec..0000000000
--- a/src/AzureIntegration/src/Microsoft.Extensions.ApplicationModelDetection/RuntimeFramework.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.Extensions.ApplicationModelDetection
-{
- public enum RuntimeFramework
- {
- DotNetCore,
- DotNetCoreStandalone,
- DotNetFramework
- }
-}
\ No newline at end of file
diff --git a/src/AzureIntegration/src/Microsoft.Extensions.ApplicationModelDetection/baseline.netcore.json b/src/AzureIntegration/src/Microsoft.Extensions.ApplicationModelDetection/baseline.netcore.json
deleted file mode 100644
index d94df11f0a..0000000000
--- a/src/AzureIntegration/src/Microsoft.Extensions.ApplicationModelDetection/baseline.netcore.json
+++ /dev/null
@@ -1,144 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.Extensions.ApplicationModelDetection, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.Extensions.ApplicationModelDetection.AppModelDetectionResult",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Framework",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Framework",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Nullable"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_FrameworkVersion",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_FrameworkVersion",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_AspNetCoreVersion",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_AspNetCoreVersion",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Extensions.ApplicationModelDetection.AppModelDetector",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Detect",
- "Parameters": [
- {
- "Name": "directory",
- "Type": "System.IO.DirectoryInfo"
- }
- ],
- "ReturnType": "Microsoft.Extensions.ApplicationModelDetection.AppModelDetectionResult",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Extensions.ApplicationModelDetection.RuntimeFramework",
- "Visibility": "Public",
- "Kind": "Enumeration",
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Field",
- "Name": "DotNetCore",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "0"
- },
- {
- "Kind": "Field",
- "Name": "DotNetCoreStandalone",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "1"
- },
- {
- "Kind": "Field",
- "Name": "DotNetFramework",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "2"
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/AzureIntegration/test/Directory.Build.props b/src/AzureIntegration/test/Directory.Build.props
deleted file mode 100644
index f1ae8d1fe4..0000000000
--- a/src/AzureIntegration/test/Directory.Build.props
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/AzureIntegration/test/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests.csproj b/src/AzureIntegration/test/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests.csproj
deleted file mode 100644
index 039fe663b8..0000000000
--- a/src/AzureIntegration/test/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests.csproj
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
- netcoreapp3.0
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/AzureIntegration/test/Microsoft.Extensions.ApplicationModelDetection.Tests/AppModelTests.cs b/src/AzureIntegration/test/Microsoft.Extensions.ApplicationModelDetection.Tests/AppModelTests.cs
deleted file mode 100644
index 02e420d2e4..0000000000
--- a/src/AzureIntegration/test/Microsoft.Extensions.ApplicationModelDetection.Tests/AppModelTests.cs
+++ /dev/null
@@ -1,229 +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.IO;
-using Microsoft.AspNetCore.Hosting;
-using Xunit;
-
-namespace Microsoft.Extensions.ApplicationModelDetection.Tests
-{
- public class AppModelTests
- {
- private const string EmptyWebConfig = @"";
-
- [Theory]
- [InlineData("dotnet")]
- [InlineData("dotnet.exe")]
- [InlineData("%HOME%/dotnet")]
- [InlineData("%HOME%/dotnet.exe")]
- [InlineData("DoTNeT.ExE")]
- public void DetectsCoreFrameworkFromWebConfig(string processPath)
- {
- using (var temp = new TemporaryDirectory()
- .WithFile("web.config",GenerateWebConfig(processPath, ".\\app.dll")))
- {
- var result = new AppModelDetector().Detect(temp.Directory);
- Assert.Equal(RuntimeFramework.DotNetCore, result.Framework);
- }
- }
-
- [Theory]
- [InlineData("app")]
- [InlineData("app.exe")]
- [InlineData("%HOME%/app")]
- [InlineData("%HOME%/app.exe")]
- public void DetectsFullFrameworkFromWebConfig(string processPath)
- {
- using (var temp = new TemporaryDirectory()
- .WithFile("web.config", GenerateWebConfig(processPath, ".\\app.dll")))
- {
- var result = new AppModelDetector().Detect(temp.Directory);
- Assert.Equal(RuntimeFramework.DotNetFramework, result.Framework);
- }
- }
-
- [Theory]
- [InlineData("2.0.0")]
- [InlineData("2.0.0-preview1")]
- [InlineData("1.1.3")]
- public void DetectsRuntimeVersionFromRuntimeConfig(string runtimeVersion)
- {
- using (var temp = new TemporaryDirectory()
- .WithFile("web.config", GenerateWebConfig("dotnet", ".\\app.dll"))
- .WithFile("app.runtimeconfig.json", @"{
- ""runtimeOptions"": {
- ""tfm"": ""netcoreapp2.0"",
- ""framework"": {
- ""name"": ""Microsoft.NETCore.App"",
- ""version"": """+ runtimeVersion + @"""
- },
- ""configProperties"": {
- ""System.GC.Server"": true
- }
- }
-}"))
- {
- var result = new AppModelDetector().Detect(temp.Directory);
- Assert.Equal(RuntimeFramework.DotNetCore, result.Framework);
- Assert.Equal(runtimeVersion, result.FrameworkVersion);
- }
- }
-
-
- [Theory]
- [InlineData("2.0.0")]
- [InlineData("2.0.0-preview1")]
- [InlineData("1.1.3")]
- public void DetectsRuntimeVersionFromRuntimeConfigWitoutEntryPoint(string runtimeVersion)
- {
- using (var temp = new TemporaryDirectory()
- .WithFile("web.config", GenerateWebConfig("dotnet", "%HOME%\\app.dll"))
- .WithFile("app.runtimeconfig.json", @"{
- ""runtimeOptions"": {
- ""tfm"": ""netcoreapp2.0"",
- ""framework"": {
- ""name"": ""Microsoft.NETCore.App"",
- ""version"": """+ runtimeVersion + @"""
- },
- ""configProperties"": {
- ""System.GC.Server"": true
- }
- }
-}"))
- {
- var result = new AppModelDetector().Detect(temp.Directory);
- Assert.Equal(RuntimeFramework.DotNetCore, result.Framework);
- Assert.Equal(runtimeVersion, result.FrameworkVersion);
- }
- }
-
- [Theory]
- [InlineData("2.0.0")]
- [InlineData("2.0.0-preview1")]
- [InlineData("1.1.3")]
- public void DetectsAspNetCoreVersionFromDepsFile(string runtimeVersion)
- {
- using (var temp = new TemporaryDirectory()
- .WithFile("web.config", GenerateWebConfig("dotnet", "app.dll"))
- .WithFile("app.deps.json", @"{
- ""targets"": {
- "".NETCoreApp,Version=v2.7"": {
- ""Microsoft.AspNetCore.Hosting/" + runtimeVersion + @""": { }
- }
- }
-}"))
- {
- var result = new AppModelDetector().Detect(temp.Directory);
- Assert.Equal(RuntimeFramework.DotNetCore, result.Framework);
- Assert.Equal(runtimeVersion, result.AspNetCoreVersion);
- }
- }
-
- [Theory]
- [InlineData("2.0.0")]
- [InlineData("2.0.0-preview1")]
- [InlineData("1.1.3")]
- public void DetectsAspNetCoreVersionFromDepsFileWithoutEntryPoint(string runtimeVersion)
- {
- using (var temp = new TemporaryDirectory()
- .WithFile("web.config", GenerateWebConfig("dotnet", "%HOME%\\app.dll"))
- .WithFile("app.deps.json", @"{
- ""targets"": {
- "".NETCoreApp,Version=v2.7"": {
- ""Microsoft.AspNetCore.Hosting/" + runtimeVersion + @""": { }
- }
- }
-}"))
- {
- var result = new AppModelDetector().Detect(temp.Directory);
- Assert.Equal(RuntimeFramework.DotNetCore, result.Framework);
- Assert.Equal(runtimeVersion, result.AspNetCoreVersion);
- }
- }
-
- [Fact]
- public void DetectsFullFrameworkWhenWebConfigExists()
- {
- using (var temp = new TemporaryDirectory()
- .WithFile("web.config", EmptyWebConfig))
- {
- var result = new AppModelDetector().Detect(temp.Directory);
- Assert.Equal(RuntimeFramework.DotNetFramework, result.Framework);
- }
- }
-
- [Fact]
- public void DetectsStandalone_WhenBothDepsAndRuntimeConfigExist()
- {
- using (var temp = new TemporaryDirectory()
- .WithFile("web.config", GenerateWebConfig("app.exe", ""))
- .WithFile("app.runtimeconfig.json", "{}")
- .WithFile("app.deps.json", "{}"))
- {
- var result = new AppModelDetector().Detect(temp.Directory);
- Assert.Equal(RuntimeFramework.DotNetCoreStandalone, result.Framework);
- }
- }
-
- [Fact]
- public void DetectsAspNetCoreVersionFromHostingDll()
- {
- using (var temp = new TemporaryDirectory()
- .WithFile(typeof(WebHostBuilder).Assembly.Location))
- {
- var result = new AppModelDetector().Detect(temp.Directory);
- Assert.Equal(typeof(WebHostBuilder).Assembly.GetName().Version.ToString(), result.AspNetCoreVersion);
- }
- }
-
- private static string GenerateWebConfig(string processPath, string arguments)
- {
- return $@"
-
-
-
-
-
-
-
-
-";
- }
-
- private class TemporaryDirectory: IDisposable
- {
- public TemporaryDirectory()
- {
- Directory = new DirectoryInfo(Path.GetTempPath())
- .CreateSubdirectory(Guid.NewGuid().ToString("N"));
- }
-
- public DirectoryInfo Directory { get; }
-
- public void Dispose()
- {
- try
- {
- Directory.Delete(true);
- }
- catch (IOException)
- {
- }
- }
-
- public TemporaryDirectory WithFile(string name, string value)
- {
- File.WriteAllText(Path.Combine(Directory.FullName, name), value);
- return this;
- }
-
-
- public TemporaryDirectory WithFile(string name)
- {
- File.Copy(name, Path.Combine(Directory.FullName, Path.GetFileName(name)));
- return this;
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/AzureIntegration/test/Microsoft.Extensions.ApplicationModelDetection.Tests/Microsoft.Extensions.ApplicationModelDetection.Tests.csproj b/src/AzureIntegration/test/Microsoft.Extensions.ApplicationModelDetection.Tests/Microsoft.Extensions.ApplicationModelDetection.Tests.csproj
deleted file mode 100644
index b95c066f61..0000000000
--- a/src/AzureIntegration/test/Microsoft.Extensions.ApplicationModelDetection.Tests/Microsoft.Extensions.ApplicationModelDetection.Tests.csproj
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- netcoreapp3.0
-
-
-
-
-
-
-
diff --git a/src/AzureIntegration/version.props b/src/AzureIntegration/version.props
deleted file mode 100644
index 39e69414a0..0000000000
--- a/src/AzureIntegration/version.props
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/src/Components/Components.sln b/src/Components/Components.sln
index 8119ccce36..bc11818870 100644
--- a/src/Components/Components.sln
+++ b/src/Components/Components.sln
@@ -1,24 +1,55 @@

Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.28306.52
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.28414.68
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{F5FDD4E5-6A52-4A86-BE5E-5E42CB1DC8DA}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{B867E038-B3CE-43E3-9292-61568C46CDEB}"
EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{ADA3AE29-F6DE-49F6-8C7C-B321508CAE8E}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "HostedInAspNet", "HostedInAspNet", "{4D367450-96E9-4C8C-8B56-EED8ADE3A20D}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MonoSanity", "MonoSanity", "{2A076721-6081-4517-8329-B9E5110D6DAC}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "testapps", "testapps", "{4AE0D35B-D97A-44D0-8392-C9240377DCCE}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "templates", "templates", "{E8EBA72C-D555-43AE-BC98-F0B2D05F6A07}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "BlazorHosted-CSharp", "BlazorHosted-CSharp", "{73DA1DFD-79F0-4BA2-B0B6-4F3A21D2C3F8}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tooling", "tooling", "{F563ABB6-85FB-4CFC-B0D2-1D5130E8246D}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "benchmarks", "benchmarks", "{36A7DEB7-5F88-4BFB-B57E-79EEC9950E25}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ComponentsApp", "ComponentsApp", "{3173A9C0-4F66-4064-83EC-3C206F1430FB}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "blazor", "blazor", "{E5DDF29D-DFC9-43E3-AC3A-5B6D54B786D5}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "benchmarks", "benchmarks", "{DDE4B710-6936-4E17-9CA0-54C45333ED15}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{C7B9207E-BF85-422D-9EBC-E243C399F619}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{AD41FFD8-2C0C-4F0C-9537-25C2A3A7A1F4}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "shared", "shared", "{A63F9FCD-29D7-4D49-BC70-7E0F57D0BA60}"
+ ProjectSection(SolutionItems) = preProject
+ src\shared\ComponentsApi.cs = src\shared\ComponentsApi.cs
+ src\shared\ConventionBasedStartup.cs = src\shared\ConventionBasedStartup.cs
+ src\shared\IBlazorStartup.cs = src\shared\IBlazorStartup.cs
+ EndProjectSection
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{32B33872-B599-4913-9F90-EDB5F9E24B18}"
+EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MonoSanity", "blazor\samples\MonoSanity\MonoSanity.csproj", "{7C53BB6B-5906-4753-B507-C9FCC2F7E5B7}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Components.Server", "src\Microsoft.AspNetCore.Components.Server\Microsoft.AspNetCore.Components.Server.csproj", "{5A694793-3257-4D37-BB74-4A41B3894685}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{ADA3AE29-F6DE-49F6-8C7C-B321508CAE8E}"
-EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Components.E2ETest", "test\Microsoft.AspNetCore.Components.E2ETest\Microsoft.AspNetCore.Components.E2ETest.csproj", "{5BC2A10D-B6CA-43AE-B73C-2A41AE1039F9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MonoSanityClient", "blazor\samples\MonoSanityClient\MonoSanityClient.csproj", "{06AAAE9E-96DE-4574-97DA-9C4C7D9FE990}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "HostedInAspNet", "HostedInAspNet", "{4D367450-96E9-4C8C-8B56-EED8ADE3A20D}"
-EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HostedInAspNet.Client", "blazor\samples\HostedInAspNet.Client\HostedInAspNet.Client.csproj", "{B4335F7C-4E86-4559-821F-F1B1C75F5FAE}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HostedInAspNet.Server", "blazor\samples\HostedInAspNet.Server\HostedInAspNet.Server.csproj", "{F8996835-41F7-4663-91DF-3B5652ADC37D}"
@@ -27,8 +58,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Compon
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StandaloneApp", "blazor\samples\StandaloneApp\StandaloneApp.csproj", "{B241434A-1642-44CC-AE9A-2012B5C5BD02}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MonoSanity", "MonoSanity", "{2A076721-6081-4517-8329-B9E5110D6DAC}"
-EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Components.Build.Test", "test\Microsoft.AspNetCore.Components.Build.Test\Microsoft.AspNetCore.Components.Build.Test.csproj", "{709C7EBE-EB93-4F6D-9491-D714B0D2E898}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Components.Build", "src\Microsoft.AspNetCore.Components.Build\Microsoft.AspNetCore.Components.Build.csproj", "{8B3D0F1C-0E38-4E6D-BFF1-C4FDA0CD9815}"
@@ -37,34 +66,20 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Compon
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Components.Test", "test\Microsoft.AspNetCore.Components.Test\Microsoft.AspNetCore.Components.Test.csproj", "{8FD8636E-AFA5-434D-8857-06D02686741A}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "testapps", "testapps", "{4AE0D35B-D97A-44D0-8392-C9240377DCCE}"
-EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BasicTestApp", "test\testapps\BasicTestApp\BasicTestApp.csproj", "{2838CB6F-D2C7-4C0A-A994-C72E56F16984}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Components.Razor.Extensions", "src\Microsoft.AspNetCore.Components.Razor.Extensions\Microsoft.AspNetCore.Components.Razor.Extensions.csproj", "{D652A019-B765-4922-B7B8-3AB1C58338D7}"
-EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestServer", "test\testapps\TestServer\TestServer.csproj", "{29CD3FC6-49E3-4756-B5DF-E03B46E5CD45}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.Cli", "blazor\src\Microsoft.AspNetCore.Blazor.Cli\Microsoft.AspNetCore.Blazor.Cli.csproj", "{AF79BB84-BAE6-4F9A-9AD5-B0E3D7455288}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.Templates", "blazor\src\Microsoft.AspNetCore.Blazor.Templates\Microsoft.AspNetCore.Blazor.Templates.csproj", "{8C160273-0A1D-4D79-9F7B-7687B2D2F7C4}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "templates", "templates", "{E8EBA72C-D555-43AE-BC98-F0B2D05F6A07}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "BlazorHosted-CSharp", "BlazorHosted-CSharp", "{73DA1DFD-79F0-4BA2-B0B6-4F3A21D2C3F8}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Components.Razor.Extensions.Test", "test\Microsoft.AspNetCore.Components.Razor.Extensions.Test\Microsoft.AspNetCore.Components.Razor.Extensions.Test.csproj", "{FF25111E-5A3E-48A3-96D8-08A2C5A2A91C}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tooling", "tooling", "{F563ABB6-85FB-4CFC-B0D2-1D5130E8246D}"
-EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.VisualStudio.LanguageServices.Blazor", "blazor\tooling\Microsoft.VisualStudio.LanguageServices.Blazor\Microsoft.VisualStudio.LanguageServices.Blazor.csproj", "{43E39257-7DC1-46BD-9BD9-2319A1313D07}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.VisualStudio.BlazorExtension", "blazor\tooling\Microsoft.VisualStudio.BlazorExtension\Microsoft.VisualStudio.BlazorExtension.csproj", "{9088E4E4-B855-457F-AE9E-D86709A5E1F4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestContentPackage", "test\testapps\TestContentPackage\TestContentPackage.csproj", "{C57382BC-EE93-49D5-BC40-5C98AF8AA048}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "benchmarks", "benchmarks", "{36A7DEB7-5F88-4BFB-B57E-79EEC9950E25}"
-EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Components.Performance", "benchmarks\Microsoft.AspNetCore.Components.Performance\Microsoft.AspNetCore.Components.Performance.csproj", "{50F6820F-D058-4E68-9E15-801F893F514E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Components.Analyzers", "src\Microsoft.AspNetCore.Components.Analyzers\Microsoft.AspNetCore.Components.Analyzers.csproj", "{6DDD6A29-0A3E-417F-976C-5FE3FDA74055}"
@@ -73,24 +88,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Compon
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Components.Server.Test", "test\Microsoft.AspNetCore.Components.Server.Test\Microsoft.AspNetCore.Components.Server.Test.csproj", "{142AA6BC-5110-486B-A34D-6878E5E2CE95}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ComponentsApp", "ComponentsApp", "{3173A9C0-4F66-4064-83EC-3C206F1430FB}"
-EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComponentsApp.Server", "samples\ComponentsApp.Server\ComponentsApp.Server.csproj", "{5655AFF9-612C-4947-8221-7DB6949A6CA4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComponentsApp.App", "samples\ComponentsApp.App\ComponentsApp.App.csproj", "{33C361D8-CAF1-47C0-A344-251AEF4FE1FE}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.E2EPerformance", "blazor\benchmarks\Microsoft.AspNetCore.Blazor.E2EPerformance\Microsoft.AspNetCore.Blazor.E2EPerformance.csproj", "{CCEC81C4-1A3C-40DC-952F-074712C46180}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Components.TagHelperWorkaround", "src\Microsoft.AspNetCore.Components.TagHelperWorkaround\Microsoft.AspNetCore.Components.TagHelperWorkaround.csproj", "{F71D78AB-A07E-415D-BF3F-1B9991628214}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "blazor", "blazor", "{E5DDF29D-DFC9-43E3-AC3A-5B6D54B786D5}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "benchmarks", "benchmarks", "{DDE4B710-6936-4E17-9CA0-54C45333ED15}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{C7B9207E-BF85-422D-9EBC-E243C399F619}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{AD41FFD8-2C0C-4F0C-9537-25C2A3A7A1F4}"
-EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorLibrary-CSharp", "blazor\src\Microsoft.AspNetCore.Blazor.Templates\content\BlazorLibrary-CSharp\BlazorLibrary-CSharp.csproj", "{8C5D8A27-E6E6-4E5B-9389-206B5519658C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorHosted-CSharp.Client", "blazor\src\Microsoft.AspNetCore.Blazor.Templates\content\BlazorHosted-CSharp\BlazorHosted-CSharp.Client\BlazorHosted-CSharp.Client.csproj", "{61150807-8DBD-4456-9C6E-D97268181C2B}"
@@ -101,16 +104,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorHosted-CSharp.Shared"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorStandalone-CSharp", "blazor\src\Microsoft.AspNetCore.Blazor.Templates\content\BlazorStandalone-CSharp\BlazorStandalone-CSharp.csproj", "{2F92DE29-78E9-4A04-8F4F-F8F40E02FE98}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AspNetCore.Blazor", "blazor\src\Microsoft.AspNetCore.Blazor\Microsoft.AspNetCore.Blazor.csproj", "{A42AC30B-45E3-4907-99A9-9ABDA45973D7}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "shared", "shared", "{A63F9FCD-29D7-4D49-BC70-7E0F57D0BA60}"
- ProjectSection(SolutionItems) = preProject
- src\shared\ComponentsApi.cs = src\shared\ComponentsApi.cs
- src\shared\ConventionBasedStartup.cs = src\shared\ConventionBasedStartup.cs
- src\shared\IBlazorStartup.cs = src\shared\IBlazorStartup.cs
- EndProjectSection
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{32B33872-B599-4913-9F90-EDB5F9E24B18}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor", "blazor\src\Microsoft.AspNetCore.Blazor\Microsoft.AspNetCore.Blazor.csproj", "{A42AC30B-45E3-4907-99A9-9ABDA45973D7}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.Test", "blazor\test\Microsoft.AspNetCore.Blazor.Test\Microsoft.AspNetCore.Blazor.Test.csproj", "{85813607-297F-4D39-92F7-89379FD80D70}"
EndProject
@@ -228,14 +222,6 @@ Global
{2838CB6F-D2C7-4C0A-A994-C72E56F16984}.Release|Any CPU.Build.0 = Release|Any CPU
{2838CB6F-D2C7-4C0A-A994-C72E56F16984}.ReleaseNoVSIX|Any CPU.ActiveCfg = Release|Any CPU
{2838CB6F-D2C7-4C0A-A994-C72E56F16984}.ReleaseNoVSIX|Any CPU.Build.0 = Release|Any CPU
- {D652A019-B765-4922-B7B8-3AB1C58338D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D652A019-B765-4922-B7B8-3AB1C58338D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D652A019-B765-4922-B7B8-3AB1C58338D7}.DebugNoVSIX|Any CPU.ActiveCfg = Debug|Any CPU
- {D652A019-B765-4922-B7B8-3AB1C58338D7}.DebugNoVSIX|Any CPU.Build.0 = Debug|Any CPU
- {D652A019-B765-4922-B7B8-3AB1C58338D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D652A019-B765-4922-B7B8-3AB1C58338D7}.Release|Any CPU.Build.0 = Release|Any CPU
- {D652A019-B765-4922-B7B8-3AB1C58338D7}.ReleaseNoVSIX|Any CPU.ActiveCfg = Release|Any CPU
- {D652A019-B765-4922-B7B8-3AB1C58338D7}.ReleaseNoVSIX|Any CPU.Build.0 = Release|Any CPU
{29CD3FC6-49E3-4756-B5DF-E03B46E5CD45}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{29CD3FC6-49E3-4756-B5DF-E03B46E5CD45}.Debug|Any CPU.Build.0 = Debug|Any CPU
{29CD3FC6-49E3-4756-B5DF-E03B46E5CD45}.DebugNoVSIX|Any CPU.ActiveCfg = Debug|Any CPU
@@ -260,14 +246,6 @@ Global
{8C160273-0A1D-4D79-9F7B-7687B2D2F7C4}.Release|Any CPU.Build.0 = Release|Any CPU
{8C160273-0A1D-4D79-9F7B-7687B2D2F7C4}.ReleaseNoVSIX|Any CPU.ActiveCfg = Release|Any CPU
{8C160273-0A1D-4D79-9F7B-7687B2D2F7C4}.ReleaseNoVSIX|Any CPU.Build.0 = Release|Any CPU
- {FF25111E-5A3E-48A3-96D8-08A2C5A2A91C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {FF25111E-5A3E-48A3-96D8-08A2C5A2A91C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {FF25111E-5A3E-48A3-96D8-08A2C5A2A91C}.DebugNoVSIX|Any CPU.ActiveCfg = Debug|Any CPU
- {FF25111E-5A3E-48A3-96D8-08A2C5A2A91C}.DebugNoVSIX|Any CPU.Build.0 = Debug|Any CPU
- {FF25111E-5A3E-48A3-96D8-08A2C5A2A91C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {FF25111E-5A3E-48A3-96D8-08A2C5A2A91C}.Release|Any CPU.Build.0 = Release|Any CPU
- {FF25111E-5A3E-48A3-96D8-08A2C5A2A91C}.ReleaseNoVSIX|Any CPU.ActiveCfg = Release|Any CPU
- {FF25111E-5A3E-48A3-96D8-08A2C5A2A91C}.ReleaseNoVSIX|Any CPU.Build.0 = Release|Any CPU
{43E39257-7DC1-46BD-9BD9-2319A1313D07}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{43E39257-7DC1-46BD-9BD9-2319A1313D07}.Debug|Any CPU.Build.0 = Debug|Any CPU
{43E39257-7DC1-46BD-9BD9-2319A1313D07}.DebugNoVSIX|Any CPU.ActiveCfg = Debug|Any CPU
@@ -346,14 +324,6 @@ Global
{CCEC81C4-1A3C-40DC-952F-074712C46180}.Release|Any CPU.Build.0 = Release|Any CPU
{CCEC81C4-1A3C-40DC-952F-074712C46180}.ReleaseNoVSIX|Any CPU.ActiveCfg = Release|Any CPU
{CCEC81C4-1A3C-40DC-952F-074712C46180}.ReleaseNoVSIX|Any CPU.Build.0 = Release|Any CPU
- {F71D78AB-A07E-415D-BF3F-1B9991628214}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F71D78AB-A07E-415D-BF3F-1B9991628214}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F71D78AB-A07E-415D-BF3F-1B9991628214}.DebugNoVSIX|Any CPU.ActiveCfg = Debug|Any CPU
- {F71D78AB-A07E-415D-BF3F-1B9991628214}.DebugNoVSIX|Any CPU.Build.0 = Debug|Any CPU
- {F71D78AB-A07E-415D-BF3F-1B9991628214}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F71D78AB-A07E-415D-BF3F-1B9991628214}.Release|Any CPU.Build.0 = Release|Any CPU
- {F71D78AB-A07E-415D-BF3F-1B9991628214}.ReleaseNoVSIX|Any CPU.ActiveCfg = Release|Any CPU
- {F71D78AB-A07E-415D-BF3F-1B9991628214}.ReleaseNoVSIX|Any CPU.Build.0 = Release|Any CPU
{8C5D8A27-E6E6-4E5B-9389-206B5519658C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8C5D8A27-E6E6-4E5B-9389-206B5519658C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8C5D8A27-E6E6-4E5B-9389-206B5519658C}.DebugNoVSIX|Any CPU.ActiveCfg = Debug|Any CPU
@@ -423,30 +393,34 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
+ {4D367450-96E9-4C8C-8B56-EED8ADE3A20D} = {C7B9207E-BF85-422D-9EBC-E243C399F619}
+ {2A076721-6081-4517-8329-B9E5110D6DAC} = {C7B9207E-BF85-422D-9EBC-E243C399F619}
+ {4AE0D35B-D97A-44D0-8392-C9240377DCCE} = {ADA3AE29-F6DE-49F6-8C7C-B321508CAE8E}
+ {E8EBA72C-D555-43AE-BC98-F0B2D05F6A07} = {E5DDF29D-DFC9-43E3-AC3A-5B6D54B786D5}
+ {73DA1DFD-79F0-4BA2-B0B6-4F3A21D2C3F8} = {E8EBA72C-D555-43AE-BC98-F0B2D05F6A07}
+ {F563ABB6-85FB-4CFC-B0D2-1D5130E8246D} = {E5DDF29D-DFC9-43E3-AC3A-5B6D54B786D5}
+ {3173A9C0-4F66-4064-83EC-3C206F1430FB} = {F5FDD4E5-6A52-4A86-BE5E-5E42CB1DC8DA}
+ {DDE4B710-6936-4E17-9CA0-54C45333ED15} = {E5DDF29D-DFC9-43E3-AC3A-5B6D54B786D5}
+ {C7B9207E-BF85-422D-9EBC-E243C399F619} = {E5DDF29D-DFC9-43E3-AC3A-5B6D54B786D5}
+ {AD41FFD8-2C0C-4F0C-9537-25C2A3A7A1F4} = {E5DDF29D-DFC9-43E3-AC3A-5B6D54B786D5}
+ {A63F9FCD-29D7-4D49-BC70-7E0F57D0BA60} = {B867E038-B3CE-43E3-9292-61568C46CDEB}
+ {32B33872-B599-4913-9F90-EDB5F9E24B18} = {E5DDF29D-DFC9-43E3-AC3A-5B6D54B786D5}
{7C53BB6B-5906-4753-B507-C9FCC2F7E5B7} = {2A076721-6081-4517-8329-B9E5110D6DAC}
{5A694793-3257-4D37-BB74-4A41B3894685} = {B867E038-B3CE-43E3-9292-61568C46CDEB}
{5BC2A10D-B6CA-43AE-B73C-2A41AE1039F9} = {ADA3AE29-F6DE-49F6-8C7C-B321508CAE8E}
{06AAAE9E-96DE-4574-97DA-9C4C7D9FE990} = {2A076721-6081-4517-8329-B9E5110D6DAC}
- {4D367450-96E9-4C8C-8B56-EED8ADE3A20D} = {C7B9207E-BF85-422D-9EBC-E243C399F619}
{B4335F7C-4E86-4559-821F-F1B1C75F5FAE} = {4D367450-96E9-4C8C-8B56-EED8ADE3A20D}
{F8996835-41F7-4663-91DF-3B5652ADC37D} = {4D367450-96E9-4C8C-8B56-EED8ADE3A20D}
{7FD8C650-74B3-4153-AEA1-00F4F6AF393D} = {B867E038-B3CE-43E3-9292-61568C46CDEB}
{B241434A-1642-44CC-AE9A-2012B5C5BD02} = {C7B9207E-BF85-422D-9EBC-E243C399F619}
- {2A076721-6081-4517-8329-B9E5110D6DAC} = {C7B9207E-BF85-422D-9EBC-E243C399F619}
{709C7EBE-EB93-4F6D-9491-D714B0D2E898} = {ADA3AE29-F6DE-49F6-8C7C-B321508CAE8E}
{8B3D0F1C-0E38-4E6D-BFF1-C4FDA0CD9815} = {B867E038-B3CE-43E3-9292-61568C46CDEB}
{8A19B1CE-9B62-4440-93B3-152DDBB39D0A} = {B867E038-B3CE-43E3-9292-61568C46CDEB}
{8FD8636E-AFA5-434D-8857-06D02686741A} = {ADA3AE29-F6DE-49F6-8C7C-B321508CAE8E}
- {4AE0D35B-D97A-44D0-8392-C9240377DCCE} = {ADA3AE29-F6DE-49F6-8C7C-B321508CAE8E}
{2838CB6F-D2C7-4C0A-A994-C72E56F16984} = {4AE0D35B-D97A-44D0-8392-C9240377DCCE}
- {D652A019-B765-4922-B7B8-3AB1C58338D7} = {B867E038-B3CE-43E3-9292-61568C46CDEB}
{29CD3FC6-49E3-4756-B5DF-E03B46E5CD45} = {4AE0D35B-D97A-44D0-8392-C9240377DCCE}
{AF79BB84-BAE6-4F9A-9AD5-B0E3D7455288} = {AD41FFD8-2C0C-4F0C-9537-25C2A3A7A1F4}
{8C160273-0A1D-4D79-9F7B-7687B2D2F7C4} = {AD41FFD8-2C0C-4F0C-9537-25C2A3A7A1F4}
- {E8EBA72C-D555-43AE-BC98-F0B2D05F6A07} = {E5DDF29D-DFC9-43E3-AC3A-5B6D54B786D5}
- {73DA1DFD-79F0-4BA2-B0B6-4F3A21D2C3F8} = {E8EBA72C-D555-43AE-BC98-F0B2D05F6A07}
- {FF25111E-5A3E-48A3-96D8-08A2C5A2A91C} = {ADA3AE29-F6DE-49F6-8C7C-B321508CAE8E}
- {F563ABB6-85FB-4CFC-B0D2-1D5130E8246D} = {E5DDF29D-DFC9-43E3-AC3A-5B6D54B786D5}
{43E39257-7DC1-46BD-9BD9-2319A1313D07} = {F563ABB6-85FB-4CFC-B0D2-1D5130E8246D}
{9088E4E4-B855-457F-AE9E-D86709A5E1F4} = {F563ABB6-85FB-4CFC-B0D2-1D5130E8246D}
{C57382BC-EE93-49D5-BC40-5C98AF8AA048} = {4AE0D35B-D97A-44D0-8392-C9240377DCCE}
@@ -454,22 +428,15 @@ Global
{6DDD6A29-0A3E-417F-976C-5FE3FDA74055} = {B867E038-B3CE-43E3-9292-61568C46CDEB}
{CF3B5990-7A05-4993-AACA-D2C8D7AFF6E6} = {ADA3AE29-F6DE-49F6-8C7C-B321508CAE8E}
{142AA6BC-5110-486B-A34D-6878E5E2CE95} = {ADA3AE29-F6DE-49F6-8C7C-B321508CAE8E}
- {3173A9C0-4F66-4064-83EC-3C206F1430FB} = {F5FDD4E5-6A52-4A86-BE5E-5E42CB1DC8DA}
{5655AFF9-612C-4947-8221-7DB6949A6CA4} = {3173A9C0-4F66-4064-83EC-3C206F1430FB}
{33C361D8-CAF1-47C0-A344-251AEF4FE1FE} = {3173A9C0-4F66-4064-83EC-3C206F1430FB}
{CCEC81C4-1A3C-40DC-952F-074712C46180} = {DDE4B710-6936-4E17-9CA0-54C45333ED15}
- {F71D78AB-A07E-415D-BF3F-1B9991628214} = {B867E038-B3CE-43E3-9292-61568C46CDEB}
- {DDE4B710-6936-4E17-9CA0-54C45333ED15} = {E5DDF29D-DFC9-43E3-AC3A-5B6D54B786D5}
- {C7B9207E-BF85-422D-9EBC-E243C399F619} = {E5DDF29D-DFC9-43E3-AC3A-5B6D54B786D5}
- {AD41FFD8-2C0C-4F0C-9537-25C2A3A7A1F4} = {E5DDF29D-DFC9-43E3-AC3A-5B6D54B786D5}
{8C5D8A27-E6E6-4E5B-9389-206B5519658C} = {E8EBA72C-D555-43AE-BC98-F0B2D05F6A07}
{61150807-8DBD-4456-9C6E-D97268181C2B} = {73DA1DFD-79F0-4BA2-B0B6-4F3A21D2C3F8}
{EB8B8216-BD47-4635-A23D-21135943F2B7} = {73DA1DFD-79F0-4BA2-B0B6-4F3A21D2C3F8}
{46B3D506-E351-4668-AC65-0719191B06A7} = {73DA1DFD-79F0-4BA2-B0B6-4F3A21D2C3F8}
{2F92DE29-78E9-4A04-8F4F-F8F40E02FE98} = {E8EBA72C-D555-43AE-BC98-F0B2D05F6A07}
{A42AC30B-45E3-4907-99A9-9ABDA45973D7} = {AD41FFD8-2C0C-4F0C-9537-25C2A3A7A1F4}
- {A63F9FCD-29D7-4D49-BC70-7E0F57D0BA60} = {B867E038-B3CE-43E3-9292-61568C46CDEB}
- {32B33872-B599-4913-9F90-EDB5F9E24B18} = {E5DDF29D-DFC9-43E3-AC3A-5B6D54B786D5}
{85813607-297F-4D39-92F7-89379FD80D70} = {32B33872-B599-4913-9F90-EDB5F9E24B18}
{E52F5005-26EA-4764-8ECF-41D324AAA6D9} = {B867E038-B3CE-43E3-9292-61568C46CDEB}
EndGlobalSection
diff --git a/src/Components/blazor/benchmarks/Microsoft.AspNetCore.Blazor.E2EPerformance/Microsoft.AspNetCore.Blazor.E2EPerformance.csproj b/src/Components/blazor/benchmarks/Microsoft.AspNetCore.Blazor.E2EPerformance/Microsoft.AspNetCore.Blazor.E2EPerformance.csproj
index 7e93b792fb..b59fcb2b3c 100644
--- a/src/Components/blazor/benchmarks/Microsoft.AspNetCore.Blazor.E2EPerformance/Microsoft.AspNetCore.Blazor.E2EPerformance.csproj
+++ b/src/Components/blazor/benchmarks/Microsoft.AspNetCore.Blazor.E2EPerformance/Microsoft.AspNetCore.Blazor.E2EPerformance.csproj
@@ -2,10 +2,6 @@
netstandard2.0
-
-
- dotnet
- run --project ../../../blazor/src/Microsoft.AspNetCore.Blazor.Cli serve
@@ -15,4 +11,8 @@
+
+
+
+
diff --git a/src/Components/blazor/samples/HostedInAspNet.Client/HostedInAspNet.Client.csproj b/src/Components/blazor/samples/HostedInAspNet.Client/HostedInAspNet.Client.csproj
index cf91951b81..07f6ccedb7 100644
--- a/src/Components/blazor/samples/HostedInAspNet.Client/HostedInAspNet.Client.csproj
+++ b/src/Components/blazor/samples/HostedInAspNet.Client/HostedInAspNet.Client.csproj
@@ -12,4 +12,8 @@
+
+
+
+
diff --git a/src/Components/blazor/samples/HostedInAspNet.Server/HostedInAspNet.Server.csproj b/src/Components/blazor/samples/HostedInAspNet.Server/HostedInAspNet.Server.csproj
index 4c59a6d2c8..4a72bd82a7 100644
--- a/src/Components/blazor/samples/HostedInAspNet.Server/HostedInAspNet.Server.csproj
+++ b/src/Components/blazor/samples/HostedInAspNet.Server/HostedInAspNet.Server.csproj
@@ -1,7 +1,18 @@
-
+
netcoreapp3.0
+
+
+ false
@@ -13,4 +24,8 @@
+
+
+
+
diff --git a/src/Components/blazor/samples/MonoSanity/MonoSanity.csproj b/src/Components/blazor/samples/MonoSanity/MonoSanity.csproj
index 503326e547..266f7976ca 100644
--- a/src/Components/blazor/samples/MonoSanity/MonoSanity.csproj
+++ b/src/Components/blazor/samples/MonoSanity/MonoSanity.csproj
@@ -6,7 +6,6 @@
-
diff --git a/src/Components/blazor/samples/MonoSanityClient/MonoSanityClient.csproj b/src/Components/blazor/samples/MonoSanityClient/MonoSanityClient.csproj
index 72f20a8fc8..f05ca817b0 100644
--- a/src/Components/blazor/samples/MonoSanityClient/MonoSanityClient.csproj
+++ b/src/Components/blazor/samples/MonoSanityClient/MonoSanityClient.csproj
@@ -13,4 +13,8 @@
+
+
+
+
diff --git a/src/Components/blazor/samples/StandaloneApp/StandaloneApp.csproj b/src/Components/blazor/samples/StandaloneApp/StandaloneApp.csproj
index 82b4494aad..b59fcb2b3c 100644
--- a/src/Components/blazor/samples/StandaloneApp/StandaloneApp.csproj
+++ b/src/Components/blazor/samples/StandaloneApp/StandaloneApp.csproj
@@ -2,10 +2,6 @@
netstandard2.0
-
-
- dotnet
- run --project ../../src/Microsoft.AspNetCore.Blazor.Cli serve
@@ -15,4 +11,8 @@
+
+
+
+
diff --git a/src/Components/blazor/src/Microsoft.AspNetCore.Blazor.Cli/Commands/ServeCommand.cs b/src/Components/blazor/src/Microsoft.AspNetCore.Blazor.Cli/Commands/ServeCommand.cs
index ce16353a74..ae7a4d671a 100644
--- a/src/Components/blazor/src/Microsoft.AspNetCore.Blazor.Cli/Commands/ServeCommand.cs
+++ b/src/Components/blazor/src/Microsoft.AspNetCore.Blazor.Cli/Commands/ServeCommand.cs
@@ -3,19 +3,30 @@
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.CommandLineUtils;
-using System;
-using System.Diagnostics;
-using System.Text.RegularExpressions;
namespace Microsoft.AspNetCore.Blazor.Cli.Commands
{
- class ServeCommand
+ internal class ServeCommand : CommandLineApplication
{
- public static void Command(CommandLineApplication command)
- {
- var remainingArgs = command.RemainingArguments.ToArray();
+ public ServeCommand(CommandLineApplication parent)
- Server.Program.BuildWebHost(remainingArgs).Run();
+ // We pass arbitrary arguments through to the ASP.NET Core configuration
+ : base(throwOnUnexpectedArg: false)
+ {
+ Parent = parent;
+
+ Name = "serve";
+ Description = "Serve requests to a Blazor application";
+
+ HelpOption("-?|-h|--help");
+
+ OnExecute(Execute);
+ }
+
+ private int Execute()
+ {
+ Server.Program.BuildWebHost(RemainingArguments.ToArray()).Run();
+ return 0;
}
}
}
diff --git a/src/Components/blazor/src/Microsoft.AspNetCore.Blazor.Cli/Program.cs b/src/Components/blazor/src/Microsoft.AspNetCore.Blazor.Cli/Program.cs
index 288715da4b..dcc71099b1 100644
--- a/src/Components/blazor/src/Microsoft.AspNetCore.Blazor.Cli/Program.cs
+++ b/src/Components/blazor/src/Microsoft.AspNetCore.Blazor.Cli/Program.cs
@@ -1,11 +1,8 @@
-// Copyright (c) .NET Foundation. All rights reserved.
+// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
-using Microsoft.AspNetCore.Hosting;
-using System;
-using System.Linq;
-using Microsoft.Extensions.CommandLineUtils;
using Microsoft.AspNetCore.Blazor.Cli.Commands;
+using Microsoft.Extensions.CommandLineUtils;
namespace Microsoft.AspNetCore.Blazor.Cli
{
@@ -13,22 +10,30 @@ namespace Microsoft.AspNetCore.Blazor.Cli
{
static int Main(string[] args)
{
- var app = new CommandLineApplication
+ var app = new CommandLineApplication(throwOnUnexpectedArg: false)
{
Name = "blazor-cli"
};
app.HelpOption("-?|-h|--help");
- app.Command("serve", ServeCommand.Command);
+ app.Commands.Add(new ServeCommand(app));
- if (args.Length > 0)
- {
- return app.Execute(args);
- }
- else
+ // A command is always required
+ app.OnExecute(() =>
{
app.ShowHelp();
return 0;
+ });
+
+ try
+ {
+ return app.Execute(args);
+ }
+ catch (CommandParsingException cex)
+ {
+ app.Error.WriteLine(cex.Message);
+ app.ShowHelp();
+ return 1;
}
}
}
diff --git a/src/Components/blazor/tooling/Microsoft.VisualStudio.BlazorExtension/Microsoft.VisualStudio.BlazorExtension.csproj b/src/Components/blazor/tooling/Microsoft.VisualStudio.BlazorExtension/Microsoft.VisualStudio.BlazorExtension.csproj
index cc6bba7808..335871c2e4 100644
--- a/src/Components/blazor/tooling/Microsoft.VisualStudio.BlazorExtension/Microsoft.VisualStudio.BlazorExtension.csproj
+++ b/src/Components/blazor/tooling/Microsoft.VisualStudio.BlazorExtension/Microsoft.VisualStudio.BlazorExtension.csproj
@@ -1,7 +1,7 @@
- 15.0
+ 16.0
$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
true
@@ -130,20 +130,6 @@
-
- Microsoft.AspNetCore.Components.Razor.Extensions
- False
-
-
-
-
-
-
- Microsoft.AspNetCore.Components.Razor.Extensions.dll
- true
- PreserveNewest
- false
-
{b9f7f502-6dd2-4e77-8fd1-cbd76f695b26}
Microsoft.VisualStudio.LanguageServices.Blazor
@@ -159,16 +145,6 @@
PreserveNewest
false
-
-
- AngleSharp.dll
- true
- PreserveNewest
- false
-
+
+
+
+
\ No newline at end of file
diff --git a/src/Components/samples/ComponentsApp.Server/ComponentsApp.Server.csproj b/src/Components/samples/ComponentsApp.Server/ComponentsApp.Server.csproj
index 53bfabb9f3..40d92c7295 100644
--- a/src/Components/samples/ComponentsApp.Server/ComponentsApp.Server.csproj
+++ b/src/Components/samples/ComponentsApp.Server/ComponentsApp.Server.csproj
@@ -6,7 +6,6 @@
-
@@ -14,4 +13,8 @@
+
+
+
+
diff --git a/src/Components/src/Microsoft.AspNetCore.Components.Build/Microsoft.AspNetCore.Components.Build.csproj b/src/Components/src/Microsoft.AspNetCore.Components.Build/Microsoft.AspNetCore.Components.Build.csproj
index 322bd288d2..575361c53b 100644
--- a/src/Components/src/Microsoft.AspNetCore.Components.Build/Microsoft.AspNetCore.Components.Build.csproj
+++ b/src/Components/src/Microsoft.AspNetCore.Components.Build/Microsoft.AspNetCore.Components.Build.csproj
@@ -1,7 +1,7 @@
- netcoreapp3.0
+ netcoreapp3.0
Build mechanism for ASP.NET Core Components.
Exe
true
@@ -19,7 +19,6 @@
-
@@ -31,10 +30,6 @@
-
-
-
-
@@ -60,20 +55,15 @@
repositorycommit=$(RepositoryCommit);
- <_TargetFramework Include="$(TargetFrameworks)" />
+ <_TargetFramework Include="$(TargetFramework)" />
-
-
-
-
-
diff --git a/src/Components/src/Microsoft.AspNetCore.Components.Build/Microsoft.AspNetCore.Components.Build.nuspec b/src/Components/src/Microsoft.AspNetCore.Components.Build/Microsoft.AspNetCore.Components.Build.nuspec
index 3eb593da38..061cb6d862 100644
--- a/src/Components/src/Microsoft.AspNetCore.Components.Build/Microsoft.AspNetCore.Components.Build.nuspec
+++ b/src/Components/src/Microsoft.AspNetCore.Components.Build/Microsoft.AspNetCore.Components.Build.nuspec
@@ -13,14 +13,12 @@
true
-
-
diff --git a/src/Components/src/Microsoft.AspNetCore.Components.Build/ReferenceFromSource.props b/src/Components/src/Microsoft.AspNetCore.Components.Build/ReferenceFromSource.props
index f524d0cc37..c084a0e196 100644
--- a/src/Components/src/Microsoft.AspNetCore.Components.Build/ReferenceFromSource.props
+++ b/src/Components/src/Microsoft.AspNetCore.Components.Build/ReferenceFromSource.props
@@ -1,4 +1,4 @@
-
+
+
+ dotnet
+ <_BlazorCliLocation>$(MSBuildThisFileDirectory)../../blazor/src/Microsoft.AspNetCore.Blazor.Cli/bin/$(Configuration)/netcoreapp3.0/dotnet-blazor.dll
+ exec $(_BlazorCliLocation) serve $(AdditionalRunArguments)
+
+
-
-
diff --git a/src/Components/src/Microsoft.AspNetCore.Components.Build/targets/RazorCompilation.targets b/src/Components/src/Microsoft.AspNetCore.Components.Build/targets/RazorCompilation.targets
index 7d06e76551..08386d7de3 100644
--- a/src/Components/src/Microsoft.AspNetCore.Components.Build/targets/RazorCompilation.targets
+++ b/src/Components/src/Microsoft.AspNetCore.Components.Build/targets/RazorCompilation.targets
@@ -1,436 +1,36 @@
+
+ This file now contains some *very temporary* settings to make projects
+ that use components use similar defaults to 2.X-based Blazor projects.
+ -->
- $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+ <_EnableAllInclusiveRazorSdk>true
+ 3.0
+ MVC-3.0
+ false
+ false
+ false
-
-
-
- <_AngleSharpAssemblyPath>$(BlazorToolsDir)AngleSharp.dll
- <_BlazorExtensionAssemblyPath>$(BlazorToolsDir)Microsoft.AspNetCore.Components.Razor.Extensions.dll
-
-
- false
-
- Experimental
-
-
- 0.1
- Blazor-$(BlazorLanguageVersion)
- BlazorDeclaration-$(BlazorLanguageVersion)
- $(BlazorDefinitionConfiguration)
-
-
-
-
- <_BlazorGenerateDeclarationContent Include="@(Content->WithMetadataValue('Extension', '.cshtml'))" />
-
- MSBuild:BlazorGenerateDeclaration
- Never
-
-
-
-
-
-
- Blazor-$(BlazorLanguageVersion);Blazor.AngleSharp-$(BlazorLanguageVersion);$(CustomRazorExtension)
+
+ MVC-3.0;$(CustomRazorExtension)
-
- Blazor-$(BlazorLanguageVersion)Blazor.AngleSharp-$(BlazorLanguageVersion);$(CustomRazorExtension)
-
-
-
- AngleSharp
- $(_AngleSharpAssemblyPath)
+
+ Microsoft.AspNetCore.Mvc.Razor.Extensions
+ $(RazorSdkDirectoryRoot)extensions\mvc-3-0\Microsoft.AspNetCore.Mvc.Razor.Extensions.dll
-
- Microsoft.AspNetCore.Components.Razor.Extensions
- $(_BlazorExtensionAssemblyPath)
-
-
-
- <_BlazorTempAssembly Include="$(IntermediateOutputPath)BlazorTemp\$(TargetName).dll" />
-
-
-
+
-
-
- _DefineBlazorPaths;
- _ResolveBlazorInputs;
- _AssignBlazorGenerateTargetPaths;
- _HashBlazorGenerateInputs;
-
-
- BlazorGenerateDeclaration;
- BlazorResolveComponents;
-
-
-
-
-
-
-
- <_BlazorGenerateDeclarationComponentManifest>$(IntermediateOutputPath)Blazor.declaration.components.json
- <_BlazorGenerateDefinitionComponentManifest>$(IntermediateOutputPath)Blazor.definition.components.json
- <_BlazorComponentInputCache>$(IntermediateOutputPath)Blazor.components.input.cache
-
-
-
-
+
-
+
-
-
-
-
-
-
-
-
-
- $(IntermediateOutputPath)$([System.IO.Path]::ChangeExtension('%(BlazorGenerateWithTargetPath.TargetPath)', 'g.i.cs'))
-
-
- $(IntermediateOutputPath)$([System.IO.Path]::ChangeExtension('%(BlazorGenerateWithTargetPath.TargetPath)', 'g.cs'))
-
-
-
-
-
-
- %(Identity)
-
-
-
-
-
-
-
-
-
-
-
- <_BlazorGenerateInputsHash>
- <_BlazorGenerateInputsHashFile>$(IntermediateOutputPath)Blazor.inputs.txt
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_BlazorGenerateDeclarationWithTargetPath Include="@(BlazorGenerateWithTargetPath)">
- %(GeneratedDeclaration)
-
- <_BlazorDeclarationConfiguration Include="@(RazorConfiguration->WithMetadataValue('Identity', '$(BlazorDeclarationConfiguration)'))" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_BlazorReferencePathWithRefAssemblies Include="@(ReferencePathWithRefAssemblies)" />
- <_BlazorReferencePathWithRefAssemblies Include="%(_BlazorTempAssembly.FullPath)" Condition="Exists('%(_BlazorTempAssembly.FullPath)')" />
-
-
-
- <_BlazorDeclarationConfiguration Include="@(RazorConfiguration->WithMetadataValue('Identity', '$(BlazorDeclarationConfiguration)'))" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_BlazorGenerateDefinitionWithTargetPath Include="@(BlazorGenerateWithTargetPath)">
- %(GeneratedDefinition)
-
- <_BlazorDefinitionConfiguration Include="@(RazorConfiguration->WithMetadataValue('Identity', '$(BlazorDefinitionConfiguration)'))" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- $(NoWarn);1701;1702
-
-
-
-
- $(NoWarn);2008
-
-
-
-
-
-
-
-
-
-
- $(AppConfig)
-
-
-
-
- false
-
-
-
-
-
-
-
-
-
- true
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/Components/src/Microsoft.AspNetCore.Components.Razor.Extensions/BindLoweringPass.cs b/src/Components/src/Microsoft.AspNetCore.Components.Razor.Extensions/BindLoweringPass.cs
deleted file mode 100644
index 92c8661eeb..0000000000
--- a/src/Components/src/Microsoft.AspNetCore.Components.Razor.Extensions/BindLoweringPass.cs
+++ /dev/null
@@ -1,519 +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.Collections.Generic;
-using System.Linq;
-using Microsoft.AspNetCore.Components.Shared;
-using Microsoft.AspNetCore.Razor.Language;
-using Microsoft.AspNetCore.Razor.Language.Extensions;
-using Microsoft.AspNetCore.Razor.Language.Intermediate;
-
-namespace Microsoft.AspNetCore.Components.Razor
-{
- internal class BindLoweringPass : IntermediateNodePassBase, IRazorOptimizationPass
- {
- // Run after event handler pass
- public override int Order => 100;
-
- protected override void ExecuteCore(RazorCodeDocument codeDocument, DocumentIntermediateNode documentNode)
- {
- var @namespace = documentNode.FindPrimaryNamespace();
- var @class = documentNode.FindPrimaryClass();
- if (@namespace == null || @class == null)
- {
- // Nothing to do, bail. We can't function without the standard structure.
- return;
- }
-
- // For each bind *usage* we need to rewrite the tag helper node to map to basic constructs.
- var references = documentNode.FindDescendantReferences();
-
- var parents = new HashSet();
- for (var i = 0; i < references.Count; i++)
- {
- parents.Add(references[i].Parent);
- }
-
- foreach (var parent in parents)
- {
- ProcessDuplicates(parent);
- }
-
- for (var i = 0; i < references.Count; i++)
- {
- var reference = references[i];
- var node = (TagHelperPropertyIntermediateNode)reference.Node;
-
- if (!reference.Parent.Children.Contains(node))
- {
- // This node was removed as a duplicate, skip it.
- continue;
- }
-
- if (node.TagHelper.IsBindTagHelper() && node.AttributeName.StartsWith("bind"))
- {
- // Workaround for https://github.com/aspnet/Blazor/issues/703
- var rewritten = RewriteUsage(reference.Parent, node);
- reference.Remove();
-
- for (var j = 0; j < rewritten.Length; j++)
- {
- reference.Parent.Children.Add(rewritten[j]);
- }
- }
- }
- }
-
- private void ProcessDuplicates(IntermediateNode node)
- {
- // Reverse order because we will remove nodes.
- //
- // Each 'property' node could be duplicated if there are multiple tag helpers that match that
- // particular attribute. This is common in our approach, which relies on 'fallback' tag helpers
- // that overlap with more specific ones.
- for (var i = node.Children.Count - 1; i >= 0; i--)
- {
- // For each usage of the general 'fallback' bind tag helper, it could duplicate
- // the usage of a more specific one. Look for duplicates and remove the fallback.
- var attribute = node.Children[i] as TagHelperPropertyIntermediateNode;
- if (attribute != null &&
- attribute.TagHelper != null &&
- attribute.TagHelper.IsFallbackBindTagHelper())
- {
- for (var j = 0; j < node.Children.Count; j++)
- {
- var duplicate = node.Children[j] as TagHelperPropertyIntermediateNode;
- if (duplicate != null &&
- duplicate.TagHelper != null &&
- duplicate.TagHelper.IsBindTagHelper() &&
- duplicate.AttributeName == attribute.AttributeName &&
- !object.ReferenceEquals(attribute, duplicate))
- {
- // Found a duplicate - remove the 'fallback' in favor of the
- // more specific tag helper.
- node.Children.RemoveAt(i);
- break;
- }
- }
- }
-
- // Also treat the general as a 'fallback' for that case and remove it.
- // This is a workaround for a limitation where you can't write a tag helper that binds only
- // when a specific attribute is **not** present.
- if (attribute != null &&
- attribute.TagHelper != null &&
- attribute.TagHelper.IsInputElementFallbackBindTagHelper())
- {
- for (var j = 0; j < node.Children.Count; j++)
- {
- var duplicate = node.Children[j] as TagHelperPropertyIntermediateNode;
- if (duplicate != null &&
- duplicate.TagHelper != null &&
- duplicate.TagHelper.IsInputElementBindTagHelper() &&
- duplicate.AttributeName == attribute.AttributeName &&
- !object.ReferenceEquals(attribute, duplicate))
- {
- // Found a duplicate - remove the 'fallback' input tag helper in favor of the
- // more specific tag helper.
- node.Children.RemoveAt(i);
- break;
- }
- }
- }
- }
-
- // If we still have duplicates at this point then they are genuine conflicts.
- var duplicates = node.Children
- .OfType()
- .GroupBy(p => p.AttributeName)
- .Where(g => g.Count() > 1);
-
- foreach (var duplicate in duplicates)
- {
- node.Diagnostics.Add(BlazorDiagnosticFactory.CreateBindAttribute_Duplicates(
- node.Source,
- duplicate.Key,
- duplicate.ToArray()));
- foreach (var property in duplicate)
- {
- node.Children.Remove(property);
- }
- }
- }
-
- private IntermediateNode[] RewriteUsage(IntermediateNode parent, TagHelperPropertyIntermediateNode node)
- {
- // Bind works similarly to a macro, it always expands to code that the user could have written.
- //
- // For the nodes that are related to the bind-attribute rewrite them to look like a pair of
- // 'normal' HTML attributes similar to the following transformation.
- //
- // Input:
- // Output:
- //
- // This means that the expression that appears inside of 'bind' must be an LValue or else
- // there will be errors. In general the errors that come from C# in this case are good enough
- // to understand the problem.
- //
- // The BindMethods calls are required in this case because to give us a good experience. They
- // use overloading to ensure that can get an Action
-
+
+
+
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/InitializeTestFileAttribute.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/InitializeTestFileAttribute.cs
deleted file mode 100644
index f166b3fcac..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/InitializeTestFileAttribute.cs
+++ /dev/null
@@ -1,29 +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.Reflection;
-using Microsoft.AspNetCore.Components.Build.Test;
-using Xunit.Sdk;
-
-namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests
-{
- public class InitializeTestFileAttribute : BeforeAfterTestAttribute
- {
- public override void Before(MethodInfo methodUnderTest)
- {
- if (typeof(RazorBaselineIntegrationTestBase).GetTypeInfo().IsAssignableFrom(methodUnderTest.ReflectedType.GetTypeInfo()))
- {
- var typeName = methodUnderTest.ReflectedType.Name;
- RazorBaselineIntegrationTestBase.DirectoryPath = $"TestFiles/{typeName}/{methodUnderTest.Name}";
- }
- }
-
- public override void After(MethodInfo methodUnderTest)
- {
- if (typeof(RazorBaselineIntegrationTestBase).GetTypeInfo().IsAssignableFrom(methodUnderTest.ReflectedType.GetTypeInfo()))
- {
- RazorBaselineIntegrationTestBase.DirectoryPath = null;
- }
- }
- }
-}
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/IntermediateNodeSerializer.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/IntermediateNodeSerializer.cs
deleted file mode 100644
index 00b1449d42..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/IntermediateNodeSerializer.cs
+++ /dev/null
@@ -1,46 +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.IO;
-using Microsoft.AspNetCore.Razor.Language.Intermediate;
-
-namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests
-{
- public static class IntermediateNodeSerializer
- {
- public static string Serialize(IntermediateNode node)
- {
- using (var writer = new StringWriter())
- {
- var walker = new Walker(writer);
- walker.Visit(node);
-
- return writer.ToString();
- }
- }
-
- private class Walker : IntermediateNodeWalker
- {
- private readonly IntermediateNodeWriter _visitor;
- private readonly TextWriter _writer;
-
- public Walker(TextWriter writer)
- {
- _visitor = new IntermediateNodeWriter(writer);
- _writer = writer;
- }
-
- public TextWriter Writer { get; }
-
- public override void VisitDefault(IntermediateNode node)
- {
- _visitor.Visit(node);
- _writer.WriteLine();
-
- _visitor.Depth++;
- base.VisitDefault(node);
- _visitor.Depth--;
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/IntermediateNodeVerifier.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/IntermediateNodeVerifier.cs
deleted file mode 100644
index f6b45c7b3a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/IntermediateNodeVerifier.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.
-
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Text;
-using Microsoft.AspNetCore.Razor.Language.Intermediate;
-using Xunit;
-using Xunit.Sdk;
-
-namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests
-{
- public static class IntermediateNodeVerifier
- {
- public static void Verify(IntermediateNode node, string[] baseline)
- {
- var walker = new Walker(baseline);
- walker.Visit(node);
- walker.AssertReachedEndOfBaseline();
- }
-
- private class Walker : IntermediateNodeWalker
- {
- private readonly string[] _baseline;
- private readonly IntermediateNodeWriter _visitor;
- private readonly StringWriter _writer;
-
- private int _index;
-
- public Walker(string[] baseline)
- {
- _writer = new StringWriter();
-
- _visitor = new IntermediateNodeWriter(_writer);
- _baseline = baseline;
-
- }
-
- public TextWriter Writer { get; }
-
- public override void VisitDefault(IntermediateNode node)
- {
- var expected = _index < _baseline.Length ? _baseline[_index++] : null;
-
- // Write the node as text for comparison
- _writer.GetStringBuilder().Clear();
- _visitor.Visit(node);
- var actual = _writer.GetStringBuilder().ToString();
-
- AssertNodeEquals(node, Ancestors, expected, actual);
-
- _visitor.Depth++;
- base.VisitDefault(node);
- _visitor.Depth--;
- }
-
- public void AssertReachedEndOfBaseline()
- {
- // Since we're walking the nodes of our generated code there's the chance that our baseline is longer.
- Assert.True(_baseline.Length == _index, "Not all lines of the baseline were visited!");
- }
-
- private void AssertNodeEquals(IntermediateNode node, IEnumerable ancestors, string expected, string actual)
- {
- if (string.Equals(expected, actual))
- {
- // YAY!!! everything is great.
- return;
- }
-
- if (expected == null)
- {
- var message = "The node is missing from baseline.";
- throw new IntermediateNodeBaselineException(node, Ancestors.ToArray(), expected, actual, message);
- }
-
- int charsVerified = 0;
- AssertNestingEqual(node, ancestors, expected, actual, ref charsVerified);
- AssertNameEqual(node, ancestors, expected, actual, ref charsVerified);
- AssertDelimiter(node, expected, actual, true, ref charsVerified);
- AssertLocationEqual(node, ancestors, expected, actual, ref charsVerified);
- AssertDelimiter(node, expected, actual, false, ref charsVerified);
- AssertContentEqual(node, ancestors, expected, actual, ref charsVerified);
-
- throw new InvalidOperationException("We can't figure out HOW these two things are different. This is a bug.");
- }
-
- private void AssertNestingEqual(IntermediateNode node, IEnumerable ancestors, string expected, string actual, ref int charsVerified)
- {
- var i = 0;
- for (; i < expected.Length; i++)
- {
- if (expected[i] != ' ')
- {
- break;
- }
- }
-
- var failed = false;
- var j = 0;
- for (; j < i; j++)
- {
- if (actual.Length <= j || actual[j] != ' ')
- {
- failed = true;
- break;
- }
- }
-
- if (actual.Length <= j + 1 || actual[j] == ' ')
- {
- failed = true;
- }
-
- if (failed)
- {
- var message = "The node is at the wrong level of nesting. This usually means a child is missing.";
- throw new IntermediateNodeBaselineException(node, ancestors.ToArray(), expected, actual, message);
- }
-
- charsVerified = j;
- }
-
- private void AssertNameEqual(IntermediateNode node, IEnumerable ancestors, string expected, string actual, ref int charsVerified)
- {
- var expectedName = GetName(expected, charsVerified);
- var actualName = GetName(actual, charsVerified);
-
- if (!string.Equals(expectedName, actualName))
- {
- var message = $"Node names are not equal.";
- throw new IntermediateNodeBaselineException(node, ancestors.ToArray(), expected, actual, message);
- }
-
- charsVerified += expectedName.Length;
- }
-
- // Either both strings need to have a delimiter next or neither should.
- private void AssertDelimiter(IntermediateNode node, string expected, string actual, bool required, ref int charsVerified)
- {
- if (charsVerified == expected.Length && required)
- {
- throw new InvalidOperationException($"Baseline text is not well-formed: '{expected}'.");
- }
-
- if (charsVerified == actual.Length && required)
- {
- throw new InvalidOperationException($"Baseline text is not well-formed: '{actual}'.");
- }
-
- if (charsVerified == expected.Length && charsVerified == actual.Length)
- {
- return;
- }
-
- var expectedDelimiter = expected.IndexOf(" - ", charsVerified);
- if (expectedDelimiter != charsVerified && expectedDelimiter != -1)
- {
- throw new InvalidOperationException($"Baseline text is not well-formed: '{actual}'.");
- }
-
- var actualDelimiter = actual.IndexOf(" - ", charsVerified);
- if (actualDelimiter != charsVerified && actualDelimiter != -1)
- {
- throw new InvalidOperationException($"Baseline text is not well-formed: '{actual}'.");
- }
-
- Assert.Equal(expectedDelimiter, actualDelimiter);
-
- charsVerified += 3;
- }
-
- private void AssertLocationEqual(IntermediateNode node, IEnumerable ancestors, string expected, string actual, ref int charsVerified)
- {
- var expectedLocation = GetLocation(expected, charsVerified);
- var actualLocation = GetLocation(actual, charsVerified);
-
- if (!string.Equals(expectedLocation, actualLocation))
- {
- var message = $"Locations are not equal.";
- throw new IntermediateNodeBaselineException(node, ancestors.ToArray(), expected, actual, message);
- }
-
- charsVerified += expectedLocation.Length;
- }
-
- private void AssertContentEqual(IntermediateNode node, IEnumerable ancestors, string expected, string actual, ref int charsVerified)
- {
- var expectedContent = GetContent(expected, charsVerified);
- var actualContent = GetContent(actual, charsVerified);
-
- if (!string.Equals(expectedContent, actualContent))
- {
- var message = $"Contents are not equal.";
- throw new IntermediateNodeBaselineException(node, ancestors.ToArray(), expected, actual, message);
- }
-
- charsVerified += expectedContent.Length;
- }
-
- private string GetName(string text, int start)
- {
- var delimiter = text.IndexOf(" - ", start);
- if (delimiter == -1)
- {
- throw new InvalidOperationException($"Baseline text is not well-formed: '{text}'.");
- }
-
- return text.Substring(start, delimiter - start);
- }
-
- private string GetLocation(string text, int start)
- {
- var delimiter = text.IndexOf(" - ", start);
- return delimiter == -1 ? text.Substring(start) : text.Substring(start, delimiter - start);
- }
-
- private string GetContent(string text, int start)
- {
- return start == text.Length ? string.Empty : text.Substring(start);
- }
-
- private class IntermediateNodeBaselineException : XunitException
- {
- public IntermediateNodeBaselineException(IntermediateNode node, IntermediateNode[] ancestors, string expected, string actual, string userMessage)
- : base(Format(node, ancestors, expected, actual, userMessage))
- {
- Node = node;
- Expected = expected;
- Actual = actual;
- }
-
- public IntermediateNode Node { get; }
-
- public string Actual { get; }
-
- public string Expected { get; }
-
- private static string Format(IntermediateNode node, IntermediateNode[] ancestors, string expected, string actual, string userMessage)
- {
- var builder = new StringBuilder();
- builder.AppendLine(userMessage);
- builder.AppendLine();
-
- if (expected != null)
- {
- builder.Append("Expected: ");
- builder.AppendLine(expected);
- }
-
- if (actual != null)
- {
- builder.Append("Actual: ");
- builder.AppendLine(actual);
- }
-
- if (ancestors != null)
- {
- builder.AppendLine();
- builder.AppendLine("Path:");
-
- foreach (var ancestor in ancestors)
- {
- builder.AppendLine(ancestor.ToString());
- }
- }
-
- return builder.ToString();
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/IntermediateNodeWriter.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/IntermediateNodeWriter.cs
deleted file mode 100644
index 4c0fa6a33d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/IntermediateNodeWriter.cs
+++ /dev/null
@@ -1,316 +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.Collections.Generic;
-using System.IO;
-using System.Security.Cryptography;
-using System.Text;
-using Microsoft.AspNetCore.Components.Razor;
-using Microsoft.AspNetCore.Razor.Language.Intermediate;
-
-namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests
-{
- // Serializes single IR nodes (shallow).
- public class IntermediateNodeWriter :
- IntermediateNodeVisitor,
- IExtensionIntermediateNodeVisitor,
- IExtensionIntermediateNodeVisitor,
- IExtensionIntermediateNodeVisitor,
- IExtensionIntermediateNodeVisitor,
- IExtensionIntermediateNodeVisitor,
- IExtensionIntermediateNodeVisitor,
- IExtensionIntermediateNodeVisitor,
- IExtensionIntermediateNodeVisitor,
- IExtensionIntermediateNodeVisitor
- {
- private readonly TextWriter _writer;
-
- public IntermediateNodeWriter(TextWriter writer)
- {
- _writer = writer;
- }
-
- public int Depth { get; set; }
-
- public override void VisitDefault(IntermediateNode node)
- {
- WriteBasicNode(node);
- }
-
- public override void VisitClassDeclaration(ClassDeclarationIntermediateNode node)
- {
- WriteContentNode(node, string.Join(" ", node.Modifiers), node.ClassName, node.BaseType, string.Join(", ", node.Interfaces ?? new List()));
- }
-
- public override void VisitCSharpExpressionAttributeValue(CSharpExpressionAttributeValueIntermediateNode node)
- {
- WriteContentNode(node, node.Prefix);
- }
-
- public override void VisitCSharpCodeAttributeValue(CSharpCodeAttributeValueIntermediateNode node)
- {
- WriteContentNode(node, node.Prefix);
- }
-
- public override void VisitToken(IntermediateToken node)
- {
- WriteContentNode(node, node.Kind.ToString(), node.Content);
- }
-
- public override void VisitMalformedDirective(MalformedDirectiveIntermediateNode node)
- {
- WriteContentNode(node, node.DirectiveName);
- }
-
- public override void VisitDirective(DirectiveIntermediateNode node)
- {
- WriteContentNode(node, node.DirectiveName);
- }
-
- public override void VisitDirectiveToken(DirectiveTokenIntermediateNode node)
- {
- WriteContentNode(node, node.Content);
- }
-
- public override void VisitFieldDeclaration(FieldDeclarationIntermediateNode node)
- {
- WriteContentNode(node, string.Join(" ", node.Modifiers), node.FieldType, node.FieldName);
- }
-
- public override void VisitHtmlAttribute(HtmlAttributeIntermediateNode node)
- {
- WriteContentNode(node, node.Prefix, node.Suffix);
- }
-
- public override void VisitHtmlAttributeValue(HtmlAttributeValueIntermediateNode node)
- {
- WriteContentNode(node, node.Prefix);
- }
-
- public override void VisitNamespaceDeclaration(NamespaceDeclarationIntermediateNode node)
- {
- WriteContentNode(node, node.Content);
- }
-
- public override void VisitMethodDeclaration(MethodDeclarationIntermediateNode node)
- {
- WriteContentNode(node, string.Join(" ", node.Modifiers), node.ReturnType, node.MethodName);
- }
-
- public override void VisitUsingDirective(UsingDirectiveIntermediateNode node)
- {
- WriteContentNode(node, node.Content);
- }
-
- public override void VisitTagHelper(TagHelperIntermediateNode node)
- {
- WriteContentNode(node, node.TagName, string.Format("{0}.{1}", nameof(TagMode), node.TagMode));
- }
-
- public override void VisitTagHelperProperty(TagHelperPropertyIntermediateNode node)
- {
- WriteContentNode(node, node.AttributeName, node.BoundAttribute.DisplayName, string.Format("HtmlAttributeValueStyle.{0}", node.AttributeStructure));
- }
-
- public override void VisitTagHelperHtmlAttribute(TagHelperHtmlAttributeIntermediateNode node)
- {
- WriteContentNode(node, node.AttributeName, string.Format("HtmlAttributeValueStyle.{0}", node.AttributeStructure));
- }
-
- public override void VisitExtension(ExtensionIntermediateNode node)
- {
- // This will be called for nodes that are internal implementation details of Razor,
- // like the design time directive nodes.
- if (node.GetType().Assembly == typeof(RazorCodeDocument).Assembly)
- {
- WriteBasicNode(node);
- }
- else
- {
- throw new InvalidOperationException("Unknown node type: " + node.GetType());
- }
- }
-
- protected void WriteBasicNode(IntermediateNode node)
- {
- WriteIndent();
- WriteName(node);
- WriteSeparator();
- WriteSourceRange(node);
- }
-
- protected void WriteContentNode(IntermediateNode node, params string[] content)
- {
- WriteIndent();
- WriteName(node);
- WriteSeparator();
- WriteSourceRange(node);
-
- for (var i = 0; i < content.Length; i++)
- {
- WriteSeparator();
- WriteContent(content[i]);
- }
- }
-
- protected void WriteIndent()
- {
- for (var i = 0; i < Depth; i++)
- {
- for (var j = 0; j < 4; j++)
- {
- _writer.Write(' ');
- }
- }
- }
-
- protected void WriteSeparator()
- {
- _writer.Write(" - ");
- }
-
- protected void WriteNewLine()
- {
- _writer.WriteLine();
- }
-
- protected void WriteName(IntermediateNode node)
- {
- var typeName = node.GetType().Name;
- if (typeName.EndsWith("IntermediateNode"))
- {
- _writer.Write(typeName.Substring(0, typeName.Length - "IntermediateNode".Length));
- }
- else
- {
- _writer.Write(typeName);
- }
- }
-
- protected void WriteSourceRange(IntermediateNode node)
- {
- if (node.Source != null)
- {
- WriteSourceRange(node.Source.Value);
- }
- }
-
- protected void WriteSourceRange(SourceSpan sourceRange)
- {
- _writer.Write("(");
- _writer.Write(sourceRange.AbsoluteIndex);
- _writer.Write(":");
- _writer.Write(sourceRange.LineIndex);
- _writer.Write(",");
- _writer.Write(sourceRange.CharacterIndex);
- _writer.Write(" [");
- _writer.Write(sourceRange.Length);
- _writer.Write("] ");
-
- if (sourceRange.FilePath != null)
- {
- var fileName = sourceRange.FilePath.Substring(sourceRange.FilePath.LastIndexOf('/') + 1);
- _writer.Write(fileName);
- }
-
- _writer.Write(")");
- }
-
- protected void WriteDiagnostics(IntermediateNode node)
- {
- if (node.HasDiagnostics)
- {
- _writer.Write("| ");
- for (var i = 0; i < node.Diagnostics.Count; i++)
- {
- var diagnostic = node.Diagnostics[i];
- _writer.Write("{");
- WriteSourceRange(diagnostic.Span);
- _writer.Write(": ");
- _writer.Write(diagnostic.Severity);
- _writer.Write(" ");
- _writer.Write(diagnostic.Id);
- _writer.Write(": ");
-
- // Purposefully not writing out the entire message to ensure readable IR and because messages
- // can span multiple lines. Not using string.GetHashCode because we can't have any collisions.
- using (var md5 = MD5.Create())
- {
- var diagnosticMessage = diagnostic.GetMessage();
- var messageBytes = Encoding.UTF8.GetBytes(diagnosticMessage);
- var messageHash = md5.ComputeHash(messageBytes);
- var stringHashBuilder = new StringBuilder();
-
- for (var j = 0; j < messageHash.Length; j++)
- {
- stringHashBuilder.Append(messageHash[j].ToString("x2"));
- }
-
- var stringHash = stringHashBuilder.ToString();
- _writer.Write(stringHash);
- }
- _writer.Write("} ");
- }
- }
- }
-
- protected void WriteContent(string content)
- {
- if (content == null)
- {
- return;
- }
-
- // We explicitly escape newlines in node content so that the IR can be compared line-by-line. The escaped
- // newline cannot be platform specific so we need to drop the windows \r.
- // Also, escape our separator so we can search for ` - `to find delimiters.
- _writer.Write(content.Replace("\r", string.Empty).Replace("\n", "\\n").Replace(" - ", "\\-"));
- }
-
- void IExtensionIntermediateNodeVisitor.VisitExtension(HtmlElementIntermediateNode node)
- {
- WriteContentNode(node, node.TagName);
- }
-
- void IExtensionIntermediateNodeVisitor.VisitExtension(HtmlBlockIntermediateNode node)
- {
- WriteContentNode(node, node.Content);
- }
-
- void IExtensionIntermediateNodeVisitor.VisitExtension(ComponentExtensionNode node)
- {
- WriteContentNode(node, node.TagName, node.TypeName);
- }
-
- void IExtensionIntermediateNodeVisitor.VisitExtension(ComponentAttributeExtensionNode node)
- {
- WriteContentNode(node, node.AttributeName, node.PropertyName);
- }
-
- void IExtensionIntermediateNodeVisitor.VisitExtension(ComponentChildContentIntermediateNode node)
- {
- WriteContentNode(node, node.AttributeName);
- }
-
- void IExtensionIntermediateNodeVisitor.VisitExtension(ComponentTypeArgumentExtensionNode node)
- {
- WriteContentNode(node, node.TypeParameterName);
- }
-
- void IExtensionIntermediateNodeVisitor.VisitExtension(ComponentTypeInferenceMethodIntermediateNode node)
- {
- WriteContentNode(node, node.FullTypeName, node.MethodName);
- }
-
- void IExtensionIntermediateNodeVisitor.VisitExtension(RouteAttributeExtensionNode node)
- {
- WriteContentNode(node, node.Template);
- }
-
- void IExtensionIntermediateNodeVisitor.VisitExtension(RefExtensionNode node)
- {
- WriteContentNode(node, node.IdentifierToken.Content, node.IsComponentCapture ? node.ComponentCaptureTypeName : "Element");
- }
- }
-}
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/RazorDiagnosticSerializer.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/RazorDiagnosticSerializer.cs
deleted file mode 100644
index aa5586e2bf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/RazorDiagnosticSerializer.cs
+++ /dev/null
@@ -1,13 +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.Razor.Language
-{
- public class RazorDiagnosticSerializer
- {
- public static string Serialize(RazorDiagnostic diagnostic)
- {
- return diagnostic.ToString();
- }
- }
-}
\ No newline at end of file
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/SourceMappingsSerializer.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/SourceMappingsSerializer.cs
deleted file mode 100644
index b5b44afa12..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/SourceMappingsSerializer.cs
+++ /dev/null
@@ -1,47 +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.Text;
-
-namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests
-{
- public static class SourceMappingsSerializer
- {
- public static string Serialize(RazorCSharpDocument csharpDocument, RazorSourceDocument sourceDocument)
- {
- var builder = new StringBuilder();
- var charBuffer = new char[sourceDocument.Length];
- sourceDocument.CopyTo(0, charBuffer, 0, sourceDocument.Length);
- var sourceContent = new string(charBuffer);
-
- for (var i = 0; i < csharpDocument.SourceMappings.Count; i++)
- {
- var sourceMapping = csharpDocument.SourceMappings[i];
-
- builder.Append("Source Location: ");
- AppendMappingLocation(builder, sourceMapping.OriginalSpan, sourceContent);
-
- builder.Append("Generated Location: ");
- AppendMappingLocation(builder, sourceMapping.GeneratedSpan, csharpDocument.GeneratedCode);
-
- builder.AppendLine();
- }
-
- return builder.ToString();
- }
-
- private static void AppendMappingLocation(StringBuilder builder, SourceSpan location, string content)
- {
- builder
- .AppendLine(location.ToString())
- .Append("|");
-
- for (var i = 0; i < location.Length; i++)
- {
- builder.Append(content[location.AbsoluteIndex + i]);
- }
-
- builder.AppendLine("|");
- }
- }
-}
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/VirtualProjectItem.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/VirtualProjectItem.cs
index cf00b888a0..68c135d715 100644
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/VirtualProjectItem.cs
+++ b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/Razor/VirtualProjectItem.cs
@@ -1,4 +1,4 @@
-// Copyright (c) .NET Foundation. All rights reserved.
+// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
@@ -9,19 +9,30 @@ namespace Microsoft.AspNetCore.Razor.Language
{
private readonly byte[] _content;
- public VirtualProjectItem(string basePath, string filePath, string physicalPath, string relativePhysicalPath, byte[] content)
+ public VirtualProjectItem(
+ string basePath,
+ string filePath,
+ string physicalPath,
+ string relativePhysicalPath,
+ string fileKind,
+ byte[] content)
{
BasePath = basePath;
FilePath = filePath;
PhysicalPath = physicalPath;
RelativePhysicalPath = relativePhysicalPath;
_content = content;
+
+ // Base class will detect based on file-extension.
+ FileKind = fileKind ?? base.FileKind;
}
public override string BasePath { get; }
public override string RelativePhysicalPath { get; }
+ public override string FileKind { get; }
+
public override string FilePath { get; }
public override string PhysicalPath { get; }
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/RazorBaselineIntegrationTestBase.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/RazorBaselineIntegrationTestBase.cs
deleted file mode 100644
index 1c3e5d443c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/RazorBaselineIntegrationTestBase.cs
+++ /dev/null
@@ -1,211 +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.IO;
-using System.Linq;
-using System.Threading;
-using Microsoft.AspNetCore.Razor.Language;
-using Microsoft.AspNetCore.Razor.Language.IntegrationTests;
-using Xunit;
-using Xunit.Sdk;
-
-namespace Microsoft.AspNetCore.Components.Build.Test
-{
- [InitializeTestFile]
- public abstract class RazorBaselineIntegrationTestBase : RazorIntegrationTestBase
- {
- private static readonly AsyncLocal _directoryPath = new AsyncLocal();
-
- protected RazorBaselineIntegrationTestBase(bool? generateBaselines = null)
- {
- TestProjectRoot = TestProject.GetProjectDirectory(GetType());
-
- if (generateBaselines.HasValue)
- {
- GenerateBaselines = generateBaselines.Value;
- }
- }
-
- // Used by the test framework to set the directory for test files.
- public static string DirectoryPath
- {
- get { return _directoryPath.Value; }
- set { _directoryPath.Value = value; }
- }
-
-#if GENERATE_BASELINES
- protected bool GenerateBaselines { get; } = true;
-#else
- protected bool GenerateBaselines { get; } = false;
-#endif
-
- protected string TestProjectRoot { get; }
-
- // For consistent line endings because the character counts are going to be recorded in files.
- internal override string LineEnding => "\r\n";
-
- internal override bool NormalizeSourceLineEndings => true;
-
- internal override string PathSeparator => "\\";
-
- // Force consistent paths since they are going to be recorded in files.
- internal override string WorkingDirectory => ArbitraryWindowsPath;
-
- [Fact]
- public void GenerateBaselinesMustBeFalse()
- {
- Assert.False(GenerateBaselines, "GenerateBaselines should be set back to false before you check in!");
- }
-
- protected void AssertDocumentNodeMatchesBaseline(RazorCodeDocument codeDocument)
- {
- var document = codeDocument.GetDocumentIntermediateNode();
- var baselineFilePath = GetBaselineFilePath(codeDocument, ".ir.txt");
-
- if (GenerateBaselines)
- {
- var baselineFullPath = Path.Combine(TestProjectRoot, baselineFilePath);
- Directory.CreateDirectory(Path.GetDirectoryName(baselineFullPath));
- WriteBaseline(IntermediateNodeSerializer.Serialize(document), baselineFullPath);
-
- return;
- }
-
- var irFile = TestFile.Create(baselineFilePath, GetType().Assembly);
- if (!irFile.Exists())
- {
- throw new XunitException($"The resource {baselineFilePath} was not found.");
- }
-
- // Normalize newlines by splitting into an array.
- var baseline = irFile.ReadAllText().Split(new char[] { '\r', '\n' }, StringSplitOptions.RemoveEmptyEntries);
- IntermediateNodeVerifier.Verify(document, baseline);
- }
-
- protected void AssertCSharpDocumentMatchesBaseline(RazorCodeDocument codeDocument)
- {
- var document = codeDocument.GetCSharpDocument();
-
- // Normalize newlines to match those in the baseline.
- var actualCode = document.GeneratedCode.Replace("\r", "").Replace("\n", "\r\n");
-
- var baselineFilePath = GetBaselineFilePath(codeDocument, ".codegen.cs");
- var baselineDiagnosticsFilePath = GetBaselineFilePath(codeDocument, ".diagnostics.txt");
- var baselineMappingsFilePath = GetBaselineFilePath(codeDocument, ".mappings.txt");
-
- var serializedMappings = SourceMappingsSerializer.Serialize(document, codeDocument.Source);
-
- if (GenerateBaselines)
- {
- var baselineFullPath = Path.Combine(TestProjectRoot, baselineFilePath);
- Directory.CreateDirectory(Path.GetDirectoryName(baselineFullPath));
- WriteBaseline(actualCode, baselineFullPath);
-
- var baselineDiagnosticsFullPath = Path.Combine(TestProjectRoot, baselineDiagnosticsFilePath);
- var lines = document.Diagnostics.Select(RazorDiagnosticSerializer.Serialize).ToArray();
- if (lines.Any())
- {
- WriteBaseline(lines, baselineDiagnosticsFullPath);
- }
- else if (File.Exists(baselineDiagnosticsFullPath))
- {
- File.Delete(baselineDiagnosticsFullPath);
- }
-
- var baselineMappingsFullPath = Path.Combine(TestProjectRoot, baselineMappingsFilePath);
- var text = SourceMappingsSerializer.Serialize(document, codeDocument.Source);
- if (!string.IsNullOrEmpty(text))
- {
- WriteBaseline(text, baselineMappingsFullPath);
- }
- else if (File.Exists(baselineMappingsFullPath))
- {
- File.Delete(baselineMappingsFullPath);
- }
-
- return;
- }
-
- var codegenFile = TestFile.Create(baselineFilePath, GetType().Assembly);
- if (!codegenFile.Exists())
- {
- throw new XunitException($"The resource {baselineFilePath} was not found.");
- }
-
- var baseline = codegenFile.ReadAllText();
- Assert.Equal(baseline, actualCode);
-
- var baselineDiagnostics = string.Empty;
- var diagnosticsFile = TestFile.Create(baselineDiagnosticsFilePath, GetType().Assembly);
- if (diagnosticsFile.Exists())
- {
- baselineDiagnostics = diagnosticsFile.ReadAllText();
- }
-
- var actualDiagnostics = string.Concat(document.Diagnostics.Select(d => RazorDiagnosticSerializer.Serialize(d) + "\r\n"));
- Assert.Equal(baselineDiagnostics, actualDiagnostics);
-
- var baselineMappings = string.Empty;
- var mappingsFile = TestFile.Create(baselineMappingsFilePath, GetType().Assembly);
- if (mappingsFile.Exists())
- {
- baselineMappings = mappingsFile.ReadAllText();
- }
-
- var actualMappings = SourceMappingsSerializer.Serialize(document, codeDocument.Source);
- actualMappings = actualMappings.Replace("\r", "").Replace("\n", "\r\n");
- Assert.Equal(baselineMappings, actualMappings);
- }
-
- private string GetBaselineFilePath(RazorCodeDocument codeDocument, string extension)
- {
- if (codeDocument == null)
- {
- throw new ArgumentNullException(nameof(codeDocument));
- }
-
- if (extension == null)
- {
- throw new ArgumentNullException(nameof(extension));
- }
-
- var lastSlash = codeDocument.Source.FilePath.LastIndexOfAny(new []{ '/', '\\' });
- var fileName = lastSlash == -1 ? null : codeDocument.Source.FilePath.Substring(lastSlash + 1);
- if (string.IsNullOrEmpty(fileName))
- {
- var message = "Integration tests require a filename";
- throw new InvalidOperationException(message);
- }
-
- if (DirectoryPath == null)
- {
- var message = $"{nameof(AssertDocumentNodeMatchesBaseline)} should only be called from an integration test..";
- throw new InvalidOperationException(message);
- }
-
- return Path.Combine(DirectoryPath, Path.ChangeExtension(fileName, extension));
- }
-
- private static void WriteBaseline(string text, string filePath)
- {
- var lines = text.Replace("\r", "").Replace("\n", "\r\n");
- File.WriteAllText(filePath, text);
- }
-
- private static void WriteBaseline(string[] lines, string filePath)
- {
- using (var writer = new StreamWriter(File.Open(filePath, FileMode.Create)))
- {
- // Force windows-style line endings so that we're consistent. This isn't
- // required for correctness, but will prevent churn when developing on OSX.
- writer.NewLine = "\r\n";
-
- for (var i = 0; i < lines.Length; i++)
- {
- writer.WriteLine(lines[i]);
- }
- }
- }
- }
-}
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/RazorIntegrationTestBase.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/RazorIntegrationTestBase.cs
index 09fdd8a5cd..f27e8ec1f0 100644
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/RazorIntegrationTestBase.cs
+++ b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/RazorIntegrationTestBase.cs
@@ -8,9 +8,8 @@ using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
+using System.Threading;
using System.Threading.Tasks;
-using Microsoft.AspNetCore.Components.Razor;
-using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Rendering;
using Microsoft.AspNetCore.Components.RenderTree;
using Microsoft.AspNetCore.Components.Test.Helpers;
@@ -20,12 +19,15 @@ using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Razor;
using Xunit;
+using Xunit.Abstractions;
using Xunit.Sdk;
namespace Microsoft.AspNetCore.Components.Build.Test
{
public class RazorIntegrationTestBase
{
+ private static readonly AsyncLocal _output = new AsyncLocal();
+
internal const string ArbitraryWindowsPath = "x:\\dir\\subdir\\Test";
internal const string ArbitraryMacLinuxPath = "/dir/subdir/Test";
@@ -59,17 +61,23 @@ namespace Microsoft.AspNetCore.Components.Build.Test
CSharpParseOptions = new CSharpParseOptions(LanguageVersion.CSharp7_3);
}
- public RazorIntegrationTestBase()
+ public RazorIntegrationTestBase(ITestOutputHelper output)
{
+ _output.Value = output;
+
AdditionalSyntaxTrees = new List();
AdditionalRazorItems = new List();
-
- Configuration = BlazorExtensionInitializer.DefaultConfiguration;
+ Configuration = RazorConfiguration.Create(RazorLanguageVersion.Latest, "MVC-3.0", Array.Empty());
+ FileKind = FileKinds.Component; // Treat input files as components by default.
FileSystem = new VirtualRazorProjectFileSystem();
PathSeparator = Path.DirectorySeparatorChar.ToString();
WorkingDirectory = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? ArbitraryWindowsPath : ArbitraryMacLinuxPath;
+ // Many of the rendering tests include line endings in the output.
+ LineEnding = "\n";
+ NormalizeSourceLineEndings = true;
+
DefaultBaseNamespace = "Test"; // Matches the default working directory
DefaultFileName = "TestComponent.cshtml";
}
@@ -85,7 +93,9 @@ namespace Microsoft.AspNetCore.Components.Build.Test
internal virtual string DefaultFileName { get; }
internal virtual bool DesignTime { get; }
-
+
+ internal virtual string FileKind { get; }
+
internal virtual VirtualRazorProjectFileSystem FileSystem { get; }
// Used to force a specific style of line-endings for testing. This matters
@@ -102,9 +112,10 @@ namespace Microsoft.AspNetCore.Components.Build.Test
internal virtual string WorkingDirectory { get; }
- internal RazorProjectEngine CreateProjectEngine(RazorConfiguration configuration, MetadataReference[] references)
+ // Intentionally private, we don't want tests messing with this because it's fragile.
+ private RazorProjectEngine CreateProjectEngine(MetadataReference[] references)
{
- return RazorProjectEngine.Create(configuration, FileSystem, b =>
+ return RazorProjectEngine.Create(Configuration, FileSystem, b =>
{
// Turn off checksums, we're testing code generation.
b.Features.Add(new SuppressChecksum());
@@ -114,7 +125,11 @@ namespace Microsoft.AspNetCore.Components.Build.Test
b.Phases.Insert(0, new ForceLineEndingPhase(LineEnding));
}
- BlazorExtensionInitializer.Register(b);
+ // Including MVC here so that we can find any issues that arise from mixed MVC + Components.
+ Microsoft.AspNetCore.Mvc.Razor.Extensions.RazorExtensions.Register(b);
+
+ // Features that use Roslyn are mandatory for components
+ Microsoft.CodeAnalysis.Razor.CompilerFeatures.Register(b);
b.Features.Add(new CompilationTagHelperFeature());
b.Features.Add(new DefaultMetadataReferenceFeature()
@@ -141,10 +156,11 @@ namespace Microsoft.AspNetCore.Components.Build.Test
}
return new VirtualProjectItem(
- WorkingDirectory,
- filePath,
+ WorkingDirectory,
+ filePath,
fullPath,
cshtmlRelativePath,
+ FileKind,
Encoding.UTF8.GetBytes(cshtmlContent.TrimStart()));
}
@@ -159,13 +175,13 @@ namespace Microsoft.AspNetCore.Components.Build.Test
{
// The first phase won't include any metadata references for component discovery. This mirrors
// what the build does.
- var projectEngine = CreateProjectEngine(BlazorExtensionInitializer.DeclarationConfiguration, Array.Empty());
-
+ var projectEngine = CreateProjectEngine(Array.Empty());
+
RazorCodeDocument codeDocument;
foreach (var item in AdditionalRazorItems)
{
// Result of generating declarations
- codeDocument = projectEngine.Process(item);
+ codeDocument = projectEngine.ProcessDeclarationOnly(item);
Assert.Empty(codeDocument.GetCSharpDocument().Diagnostics);
var syntaxTree = Parse(codeDocument.GetCSharpDocument().GeneratedCode, path: item.FilePath);
@@ -174,7 +190,7 @@ namespace Microsoft.AspNetCore.Components.Build.Test
// Result of generating declarations
var projectItem = CreateProjectItem(cshtmlRelativePath, cshtmlContent);
- codeDocument = projectEngine.Process(projectItem);
+ codeDocument = projectEngine.ProcessDeclarationOnly(projectItem);
var declaration = new CompileToCSharpResult
{
BaseCompilation = BaseCompilation.AddSyntaxTrees(AdditionalSyntaxTrees),
@@ -186,15 +202,15 @@ namespace Microsoft.AspNetCore.Components.Build.Test
// Result of doing 'temp' compilation
var tempAssembly = CompileToAssembly(declaration);
- // Add the 'temp' compilation as a metadata reference
+ // Add the 'temp' compilation as a metadata reference
var references = BaseCompilation.References.Concat(new[] { tempAssembly.Compilation.ToMetadataReference() }).ToArray();
- projectEngine = CreateProjectEngine(BlazorExtensionInitializer.DefaultConfiguration, references);
+ projectEngine = CreateProjectEngine(references);
// Now update the any additional files
foreach (var item in AdditionalRazorItems)
{
// Result of generating declarations
- codeDocument = projectEngine.Process(item);
+ codeDocument = DesignTime ? projectEngine.ProcessDesignTime(item) : projectEngine.Process(item);
Assert.Empty(codeDocument.GetCSharpDocument().Diagnostics);
// Replace the 'declaration' syntax tree
@@ -205,6 +221,30 @@ namespace Microsoft.AspNetCore.Components.Build.Test
// Result of real code generation for the document under test
codeDocument = DesignTime ? projectEngine.ProcessDesignTime(projectItem) : projectEngine.Process(projectItem);
+
+ _output.Value.WriteLine("Use this output when opening an issue");
+ _output.Value.WriteLine(string.Empty);
+
+ _output.Value.WriteLine($"## Main source file ({projectItem.FileKind}):");
+ _output.Value.WriteLine("```");
+ _output.Value.WriteLine(ReadProjectItem(projectItem));
+ _output.Value.WriteLine("```");
+ _output.Value.WriteLine(string.Empty);
+
+ foreach (var item in AdditionalRazorItems)
+ {
+ _output.Value.WriteLine($"### Additional source file ({item.FileKind}):");
+ _output.Value.WriteLine("```");
+ _output.Value.WriteLine(ReadProjectItem(item));
+ _output.Value.WriteLine("```");
+ _output.Value.WriteLine(string.Empty);
+ }
+
+ _output.Value.WriteLine("## Generated C#:");
+ _output.Value.WriteLine("```C#");
+ _output.Value.WriteLine(codeDocument.GetCSharpDocument().GeneratedCode);
+ _output.Value.WriteLine("```");
+
return new CompileToCSharpResult
{
BaseCompilation = BaseCompilation.AddSyntaxTrees(AdditionalSyntaxTrees),
@@ -217,10 +257,26 @@ namespace Microsoft.AspNetCore.Components.Build.Test
{
// For single phase compilation tests just use the base compilation's references.
// This will include the built-in Blazor components.
- var projectEngine = CreateProjectEngine(Configuration, BaseCompilation.References.ToArray());
+ var projectEngine = CreateProjectEngine(BaseCompilation.References.ToArray());
var projectItem = CreateProjectItem(cshtmlRelativePath, cshtmlContent);
var codeDocument = DesignTime ? projectEngine.ProcessDesignTime(projectItem) : projectEngine.Process(projectItem);
+
+ // Log the generated code for test results.
+ _output.Value.WriteLine("Use this output when opening an issue");
+ _output.Value.WriteLine(string.Empty);
+
+ _output.Value.WriteLine($"## Main source file ({projectItem.FileKind}):");
+ _output.Value.WriteLine("```");
+ _output.Value.WriteLine(ReadProjectItem(projectItem));
+ _output.Value.WriteLine("```");
+ _output.Value.WriteLine(string.Empty);
+
+ _output.Value.WriteLine("## Generated C#:");
+ _output.Value.WriteLine("```C#");
+ _output.Value.WriteLine(codeDocument.GetCSharpDocument().GeneratedCode);
+ _output.Value.WriteLine("```");
+
return new CompileToCSharpResult
{
BaseCompilation = BaseCompilation.AddSyntaxTrees(AdditionalSyntaxTrees),
@@ -343,6 +399,14 @@ namespace Microsoft.AspNetCore.Components.Build.Test
Assert.Equal(expected, generated.Code.Trim(), ignoreLineEndingDifferences: true);
}
+ private static string ReadProjectItem(RazorProjectItem item)
+ {
+ using (var reader = new StreamReader(item.Read()))
+ {
+ return reader.ReadToEnd();
+ }
+ }
+
protected class CompileToCSharpResult
{
// A compilation that can be used *with* this code to compile an assembly
@@ -380,7 +444,7 @@ namespace Microsoft.AspNetCore.Components.Build.Test
private class CompilationFailedException : XunitException
{
- public CompilationFailedException(Compilation compilation)
+ public CompilationFailedException(Compilation compilation)
{
Compilation = compilation;
}
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/RenderingRazorIntegrationTest.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/RenderingRazorIntegrationTest.cs
index 34f957229e..7444841b96 100644
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/RenderingRazorIntegrationTest.cs
+++ b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/RenderingRazorIntegrationTest.cs
@@ -3,10 +3,10 @@
using System;
using System.Collections.Generic;
-using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.RenderTree;
using Microsoft.AspNetCore.Components.Test.Helpers;
using Xunit;
+using Xunit.Abstractions;
namespace Microsoft.AspNetCore.Components.Build.Test
{
@@ -14,6 +14,11 @@ namespace Microsoft.AspNetCore.Components.Build.Test
// Includes running the component code to verify the output.
public class RenderingRazorIntegrationTest : RazorIntegrationTestBase
{
+ public RenderingRazorIntegrationTest(ITestOutputHelper output)
+ : base(output)
+ {
+ }
+
[Fact]
public void SupportsPlainText()
{
@@ -83,7 +88,7 @@ namespace Microsoft.AspNetCore.Components.Build.Test
frame => AssertFrame.Text(frame, "there", 2));
}
- [Fact(Skip = "Temporarily disable compiling markup frames in 0.5.1")]
+ [Fact]
public void SupportsElementsAsStaticBlock()
{
// Arrange/Act
@@ -144,28 +149,28 @@ namespace Microsoft.AspNetCore.Components.Build.Test
frame => AssertFrame.Attribute(frame, "myattr", "val", 2));
}
- [Fact(Skip = "Temporarily disable compiling markup frames in 0.5.1")]
+ [Fact]
public void SupportsSelfClosingElementsAsStaticBlock()
{
// Arrange/Act
var component = CompileToComponent("Some text so elem isn't at position 0 ");
// Assert
- Assert.Collection(GetRenderTree(component),
- frame => AssertFrame.Text(frame, "Some text so elem isn't at position 0 ", 0),
- frame => AssertFrame.Markup(frame, "", 1));
+ Assert.Collection(
+ GetRenderTree(component),
+ frame => AssertFrame.Markup(frame, "Some text so elem isn't at position 0 ", 0));
}
- [Fact(Skip = "Temporarily disable compiling markup frames in 0.5.1")]
+ [Fact]
public void SupportsVoidHtmlElements()
{
// Arrange/Act
var component = CompileToComponent("Some text so elem isn't at position 0
");
// Assert
- Assert.Collection(GetRenderTree(component),
- frame => AssertFrame.Text(frame, "Some text so elem isn't at position 0 ", 0),
- frame => AssertFrame.Markup(frame, "
", 1));
+ Assert.Collection(
+ GetRenderTree(component),
+ frame => AssertFrame.Markup(frame, "Some text so elem isn't at position 0
", 0));
}
[Fact]
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/RuntimeCodeGenerationTest.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/RuntimeCodeGenerationTest.cs
deleted file mode 100644
index 9cb34bb48d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/RuntimeCodeGenerationTest.cs
+++ /dev/null
@@ -1,9 +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.Build.Test
-{
- public class RuntimeCodeGenerationTest : CodeGenerationTestBase
- {
- }
-}
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TemplateRazorIntegrationTest.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TemplateRazorIntegrationTest.cs
deleted file mode 100644
index 3ab6ea1bed..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TemplateRazorIntegrationTest.cs
+++ /dev/null
@@ -1,125 +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 Xunit;
-
-namespace Microsoft.AspNetCore.Components.Build.Test
-{
- public class TemplateRazorIntegrationTest : RazorIntegrationTestBase
- {
- // Razor doesn't parse this as a template, we don't need much special handling for
- // it because it will just be invalid in general.
- [Fact]
- public void Template_ImplicitExpressionInMarkupAttribute_CreatesDiagnostic()
- {
- // Arrange
-
- // Act
- var generated = CompileToCSharp(@""" />");
-
- // Assert
- var diagnostic = Assert.Single(generated.Diagnostics);
- Assert.Equal("RZ1005", diagnostic.Id);
- }
-
- [Fact]
- public void Template_ExplicitExpressionInMarkupAttribute_CreatesDiagnostic()
- {
- // Arrange
-
- // Act
- var generated = CompileToCSharp(@")"" />");
-
- // Assert
- var diagnostic = Assert.Single(generated.Diagnostics);
- Assert.Equal("BL9994", diagnostic.Id);
- }
-
- // Razor doesn't parse this as a template, we don't need much special handling for
- // it because it will just be invalid in general.
- [Fact]
- public void Template_ImplicitExpressionInComponentAttribute_CreatesDiagnostic()
- {
- // Arrange
- AdditionalSyntaxTrees.Add(Parse(@"
-using Microsoft.AspNetCore.Components;
-
-namespace Test
-{
- public class MyComponent : ComponentBase
- {
- }
-}
-"));
-
- // Act
- var generated = CompileToCSharp(@""" />");
-
- // Assert
- var diagnostic = Assert.Single(generated.Diagnostics);
- Assert.Equal("RZ1005", diagnostic.Id);
- }
-
- [Fact]
- public void Template_ExplicitExpressionInComponentAttribute_CreatesDiagnostic()
- {
- // Arrange
- AdditionalSyntaxTrees.Add(Parse(@"
-using Microsoft.AspNetCore.Components;
-
-namespace Test
-{
- public class MyComponent : ComponentBase
- {
- }
-}
-"));
- // Act
- var generated = CompileToCSharp(@")"" />");
-
- // Assert
- var diagnostic = Assert.Single(generated.Diagnostics);
- Assert.Equal("BL9994", diagnostic.Id);
- }
-
- [Fact]
- public void Template_ExplicitExpressionInRef_CreatesDiagnostic()
- {
- // Arrange
-
- // Act
- var generated = CompileToCSharp(@")"" />");
-
- // Assert
- var diagnostic = Assert.Single(generated.Diagnostics);
- Assert.Equal("BL9994", diagnostic.Id);
- }
-
-
- [Fact]
- public void Template_ExplicitExpressionInBind_CreatesDiagnostic()
- {
- // Arrange
-
- // Act
- var generated = CompileToCSharp(@")"" />");
-
- // Assert
- var diagnostic = Assert.Single(generated.Diagnostics);
- Assert.Equal("BL9994", diagnostic.Id);
- }
-
- [Fact]
- public void Template_ExplicitExpressionInEventHandler_CreatesDiagnostic()
- {
- // Arrange
-
- // Act
- var generated = CompileToCSharp(@")"" />");
-
- // Assert
- var diagnostic = Assert.Single(generated.Diagnostics);
- Assert.Equal("BL9994", diagnostic.Id);
- }
- }
-}
\ No newline at end of file
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.codegen.cs
deleted file mode 100644
index 6de3cb730f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.codegen.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Microsoft.AspNetCore.Components;
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-using System.Threading.Tasks;
-
-#line default
-#line hidden
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue("async (e) => await Task.Delay(10)");
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.ir.txt
deleted file mode 100644
index cc858bd23b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- UsingDirective - (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [53] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (47:1,16 [33] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - - CSharp - "async (e) => await Task.Delay(10)"
- IntermediateToken - - CSharp - )
- HtmlContent - (84:1,53 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (84:1,53 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.mappings.txt
deleted file mode 100644
index b97e7aa5a7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml)
-|using System.Threading.Tasks|
-Generated Location: (266:10,0 [28] )
-|using System.Threading.Tasks|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.codegen.cs
deleted file mode 100644
index d9db12dcf0..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.codegen.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Microsoft.AspNetCore.Components;
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-using System.Threading.Tasks;
-
-#line default
-#line hidden
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(OnClick);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- Task OnClick(UIMouseEventArgs e)
- {
- return Task.CompletedTask;
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.ir.txt
deleted file mode 100644
index feb915aee2..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.ir.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- UsingDirective - (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (47:1,16 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
- IntermediateToken - - CSharp - )
- HtmlContent - (59:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (59:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (73:2,12 [91] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (73:2,12 [91] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n Task OnClick(UIMouseEventArgs e) \n {\n return Task.CompletedTask;\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.mappings.txt
deleted file mode 100644
index 8e3a9e0d99..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.mappings.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Source Location: (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml)
-|using System.Threading.Tasks|
-Generated Location: (266:10,0 [28] )
-|using System.Threading.Tasks|
-
-Source Location: (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
-|OnClick|
-Generated Location: (1028:27,133 [7] )
-|OnClick|
-
-Source Location: (73:2,12 [91] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- Task OnClick(UIMouseEventArgs e)
- {
- return Task.CompletedTask;
- }
-|
-Generated Location: (1151:31,12 [91] )
-|
- Task OnClick(UIMouseEventArgs e)
- {
- return Task.CompletedTask;
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.codegen.cs
deleted file mode 100644
index 6de3cb730f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.codegen.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Microsoft.AspNetCore.Components;
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-using System.Threading.Tasks;
-
-#line default
-#line hidden
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue("async (e) => await Task.Delay(10)");
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.ir.txt
deleted file mode 100644
index cc858bd23b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- UsingDirective - (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [53] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (47:1,16 [33] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - - CSharp - "async (e) => await Task.Delay(10)"
- IntermediateToken - - CSharp - )
- HtmlContent - (84:1,53 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (84:1,53 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.mappings.txt
deleted file mode 100644
index b97e7aa5a7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml)
-|using System.Threading.Tasks|
-Generated Location: (266:10,0 [28] )
-|using System.Threading.Tasks|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.codegen.cs
deleted file mode 100644
index 606261cf30..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.codegen.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Microsoft.AspNetCore.Components;
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-using System.Threading.Tasks;
-
-#line default
-#line hidden
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(OnClick);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- Task OnClick()
- {
- return Task.CompletedTask;
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.ir.txt
deleted file mode 100644
index 0da76c0893..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.ir.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- UsingDirective - (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (47:1,16 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
- IntermediateToken - - CSharp - )
- HtmlContent - (59:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (59:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (73:2,12 [73] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (73:2,12 [73] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n Task OnClick() \n {\n return Task.CompletedTask;\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.mappings.txt
deleted file mode 100644
index b20efd8550..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.mappings.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Source Location: (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml)
-|using System.Threading.Tasks|
-Generated Location: (266:10,0 [28] )
-|using System.Threading.Tasks|
-
-Source Location: (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
-|OnClick|
-Generated Location: (1028:27,133 [7] )
-|OnClick|
-
-Source Location: (73:2,12 [73] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- Task OnClick()
- {
- return Task.CompletedTask;
- }
-|
-Generated Location: (1151:31,12 [73] )
-|
- Task OnClick()
- {
- return Task.CompletedTask;
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index d0abedafaf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ParentValue
-
-#line default
-#line hidden
- ));
- __o = new System.Action(
- __value => ParentValue = __value);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index 7295ad37a4..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [50] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - Value
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - OnChanged - OnChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => ParentValue = __value
- HtmlContent - (81:1,50 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (81:1,50 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index ebd53f042b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1164:29,35 [11] )
-|ParentValue|
-
-Source Location: (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1588:42,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index 5a8ecbc709..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ParentValue
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index 68aa44af9f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [50] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - OnChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- HtmlContent - (81:1,50 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (81:1,50 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index eb3e730a54..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1093:29,35 [11] )
-|ParentValue|
-
-Source Location: (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1543:41,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index aa91ac7986..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ParentValue
-
-#line default
-#line hidden
- ));
- __o = new System.Action(
- __value => ParentValue = __value);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index c75da4700b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [40] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - Value
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - ValueChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => ParentValue = __value
- HtmlContent - (71:1,40 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (71:1,40 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index bf42d527ee..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1154:29,25 [11] )
-|ParentValue|
-
-Source Location: (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1578:42,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index 611acf6ce4..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ParentValue
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index b933602fea..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [40] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- HtmlContent - (71:1,40 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (71:1,40 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index ed41ba9eac..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1083:29,25 [11] )
-|ParentValue|
-
-Source Location: (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1533:41,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index f028961ecb..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ParentValue
-
-#line default
-#line hidden
- ));
- __o = new System.Action(
- __value => ParentValue = __value);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public string ParentValue { get; set; } = "42";
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index 8a43c85cbe..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [40] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - Value
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - ValueChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => ParentValue = __value
- HtmlContent - (71:1,40 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (71:1,40 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (85:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (85:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public string ParentValue { get; set; } = "42";\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index a3e10bc4ef..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1154:29,25 [11] )
-|ParentValue|
-
-Source Location: (85:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public string ParentValue { get; set; } = "42";
-|
-Generated Location: (1578:42,12 [55] )
-|
- public string ParentValue { get; set; } = "42";
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 96562a892c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(CurrentDate, "MM/dd");
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, "MM/dd");
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 45daf14a11..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [77] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (71:1,40 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (72:1,41 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
- IntermediateToken - - CSharp - ,
- IntermediateToken - - CSharp - "MM/dd"
- IntermediateToken - - CSharp - )
- HtmlAttribute - (71:1,40 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, "MM/dd")
- HtmlContent - (108:1,77 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (108:1,77 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (122:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (122:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index 87ca7a8ac5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (72:1,41 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|CurrentDate|
-Generated Location: (1005:27,71 [11] )
-|CurrentDate|
-
-Source Location: (122:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-|
-Generated Location: (1277:32,12 [77] )
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 684f352a03..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue);
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index dadfe0591b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [56] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (71:1,40 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (72:1,41 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (71:1,40 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- HtmlContent - (87:1,56 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (87:1,56 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (101:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (101:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index e629286e38..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (72:1,41 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1005:27,71 [11] )
-|ParentValue|
-
-Source Location: (101:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1259:32,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index e768b0f0cf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue);
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public string ParentValue { get; set; } = "hi";
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 8621ce9bc9..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [33] x:\dir\subdir\Test\TestComponent.cshtml) - div
- HtmlAttribute - (48:1,17 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myvalue=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (49:1,18 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (48:1,17 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myevent=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- HtmlContent - (64:1,33 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (64:1,33 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (78:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (78:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public string ParentValue { get; set; } = "hi";\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index 2e15f74625..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (49:1,18 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1005:27,71 [11] )
-|ParentValue|
-
-Source Location: (78:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public string ParentValue { get; set; } = "hi";
-|
-Generated Location: (1259:32,12 [55] )
-|
- public string ParentValue { get; set; } = "hi";
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index e768b0f0cf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue);
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public string ParentValue { get; set; } = "hi";
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 6bf6c30c87..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [27] x:\dir\subdir\Test\TestComponent.cshtml) - div
- HtmlAttribute - (42:1,11 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myvalue=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (43:1,12 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (42:1,11 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myevent=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- HtmlContent - (58:1,27 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (58:1,27 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (72:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (72:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public string ParentValue { get; set; } = "hi";\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index cd366f6243..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (43:1,12 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1005:27,71 [11] )
-|ParentValue|
-
-Source Location: (72:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public string ParentValue { get; set; } = "hi";
-|
-Generated Location: (1259:32,12 [55] )
-|
- public string ParentValue { get; set; } = "hi";
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 4b556e6406..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- RenderFragment header = (context) =>
-
-#line default
-#line hidden
- (builder2) => {
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context.ToLowerInvariant();
-
-#line default
-#line hidden
- }
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- __o = new Microsoft.AspNetCore.Components.RenderFragment(
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- header
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.ir.txt
deleted file mode 100644
index 2da9c6fd7c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderFragment header = (context) =>
- Template - (80:1,49 [37] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (80:1,49 [38] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLowerInvariant()
- CSharpCode - (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;
- ComponentExtensionNode - (123:2,0 [62] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlContent - (151:2,28 [20] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (151:2,28 [20] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n Some Content\n
- ComponentAttributeExtensionNode - (143:2,20 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Header - Header
- CSharpExpression - (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - header
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 325cb343a0..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
-| RenderFragment header = (context) => |
-Generated Location: (987:28,2 [46] )
-| RenderFragment header = (context) => |
-
-Source Location: (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml)
-|context.ToLowerInvariant()|
-Generated Location: (1201:34,55 [26] )
-|context.ToLowerInvariant()|
-
-Source Location: (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|; |
-Generated Location: (1414:40,87 [2] )
-|; |
-
-Source Location: (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|header|
-Generated Location: (1607:46,21 [6] )
-|header|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.codegen.cs
deleted file mode 100644
index d2554d64da..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- RenderFragment header = (context) =>
-
-#line default
-#line hidden
- (builder2) => {
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context.ToLowerInvariant();
-
-#line default
-#line hidden
- }
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- __o = new Microsoft.AspNetCore.Components.RenderFragment(
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- header
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- builder.AddAttribute(-1, "Footer", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.ir.txt
deleted file mode 100644
index 53a2f512d8..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderFragment header = (context) =>
- Template - (80:1,49 [37] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (80:1,49 [38] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLowerInvariant()
- CSharpCode - (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;
- ComponentExtensionNode - (123:2,0 [114] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - (155:3,2 [41] x:\dir\subdir\Test\TestComponent.cshtml) - ChildContent
- HtmlContent - (169:3,16 [12] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (169:3,16 [12] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Some Content
- ComponentChildContent - (200:4,2 [21] x:\dir\subdir\Test\TestComponent.cshtml) - Footer
- HtmlContent - (208:4,10 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (208:4,10 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Bye!
- ComponentAttributeExtensionNode - (143:2,20 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Header - Header
- CSharpExpression - (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - header
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 325cb343a0..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
-| RenderFragment header = (context) => |
-Generated Location: (987:28,2 [46] )
-| RenderFragment header = (context) => |
-
-Source Location: (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml)
-|context.ToLowerInvariant()|
-Generated Location: (1201:34,55 [26] )
-|context.ToLowerInvariant()|
-
-Source Location: (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|; |
-Generated Location: (1414:40,87 [2] )
-|; |
-
-Source Location: (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|header|
-Generated Location: (1607:46,21 [6] )
-|header|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 72169e0d95..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(Enabled);
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Enabled = __value, Enabled);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public bool Enabled { get; set; }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 5349927f27..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [8] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [8] x:\dir\subdir\Test\TestComponent.cshtml) - Html - checkbox
- HtmlAttribute - (60:1,29 [8] x:\dir\subdir\Test\TestComponent.cshtml) - checked=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (61:1,30 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Enabled
- IntermediateToken - - CSharp - )
- HtmlAttribute - (60:1,29 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Enabled = __value, Enabled)
- HtmlContent - (72:1,41 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (72:1,41 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (86:2,12 [41] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:2,12 [41] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public bool Enabled { get; set; }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index 4535b9812b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (61:1,30 [7] x:\dir\subdir\Test\TestComponent.cshtml)
-|Enabled|
-Generated Location: (1005:27,71 [7] )
-|Enabled|
-
-Source Location: (86:2,12 [41] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public bool Enabled { get; set; }
-|
-Generated Location: (1247:32,12 [41] )
-|
- public bool Enabled { get; set; }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 7d61f92d2a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(CurrentDate, Format);
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, Format);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
- public string Format { get; set; } = "MM/dd/yyyy";
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index bdd5856a21..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [63] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (57:1,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
- IntermediateToken - - CSharp - ,
- IntermediateToken - (85:1,54 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Format
- IntermediateToken - - CSharp - )
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, Format)
- HtmlContent - (94:1,63 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (94:1,63 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (108:2,12 [135] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (108:2,12 [135] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);\n\n public string Format { get; set; } = "MM/dd/yyyy";\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index 466721d41a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (57:1,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|CurrentDate|
-Generated Location: (1005:27,71 [11] )
-|CurrentDate|
-
-Source Location: (85:1,54 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|Format|
-Generated Location: (1018:27,84 [6] )
-|Format|
-
-Source Location: (108:2,12 [135] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
- public string Format { get; set; } = "MM/dd/yyyy";
-|
-Generated Location: (1275:32,12 [135] )
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
- public string Format { get; set; } = "MM/dd/yyyy";
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index f9fb164b2f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(CurrentDate, "MM/dd/yyyy");
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, "MM/dd/yyyy");
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 72fc1f0f07..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [66] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (57:1,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
- IntermediateToken - - CSharp - ,
- IntermediateToken - - CSharp - "MM/dd/yyyy"
- IntermediateToken - - CSharp - )
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, "MM/dd/yyyy")
- HtmlContent - (97:1,66 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (97:1,66 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (111:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (111:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index 7170fa644c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (57:1,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|CurrentDate|
-Generated Location: (1005:27,71 [11] )
-|CurrentDate|
-
-Source Location: (111:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-|
-Generated Location: (1287:32,12 [77] )
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 684f352a03..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue);
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 2813471425..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (57:1,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- HtmlContent - (72:1,41 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (72:1,41 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (86:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index d2b22b616a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (57:1,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1005:27,71 [11] )
-|ParentValue|
-
-Source Location: (86:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1259:32,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 684f352a03..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue);
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index b791080153..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [29] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (44:1,13 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (45:1,14 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (44:1,13 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- HtmlContent - (60:1,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (60:1,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (74:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (74:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index 08dab60ebf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (45:1,14 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1005:27,71 [11] )
-|ParentValue|
-
-Source Location: (74:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1259:32,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.codegen.cs
deleted file mode 100644
index ea8dc2f926..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.codegen.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = typeof(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- string
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "hi"
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.ir.txt
deleted file mode 100644
index 6d9d0292e4..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.ir.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [42] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentTypeArgumentExtensionNode - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentAttributeExtensionNode - (63:1,32 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (64:1,33 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.mappings.txt
deleted file mode 100644
index c8cfdec15a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.mappings.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|string|
-Generated Location: (1031:29,19 [6] )
-|string|
-
-Source Location: (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hi"|
-Generated Location: (1256:36,34 [4] )
-|"hi"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.codegen.cs
deleted file mode 100644
index 9564c39735..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.codegen.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = typeof(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- string
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- Value
-
-#line default
-#line hidden
- ));
- __o = new System.Action(
- __value => Value = __value);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- string Value;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.ir.txt
deleted file mode 100644
index 0028e0a5d0..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.ir.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [43] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentTypeArgumentExtensionNode - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentAttributeExtensionNode - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Value
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - ItemChanged - ItemChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => Value = __value
- HtmlContent - (74:1,43 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (74:1,43 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n string Value;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.mappings.txt
deleted file mode 100644
index 07633fc4bb..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.mappings.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|string|
-Generated Location: (1031:29,19 [6] )
-|string|
-
-Source Location: (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml)
-|Value|
-Generated Location: (1311:36,36 [5] )
-|Value|
-
-Source Location: (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- string Value;
-|
-Generated Location: (1717:49,12 [21] )
-|
- string Value;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.codegen.cs
deleted file mode 100644
index 03f32dcebf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.codegen.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = typeof(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- string
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- Value
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Value = __value, Value);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- string Value;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.ir.txt
deleted file mode 100644
index eead159f4f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.ir.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [43] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentTypeArgumentExtensionNode - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentAttributeExtensionNode - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Item -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Value
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - ItemChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Value = __value, Value)
- HtmlContent - (74:1,43 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (74:1,43 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n string Value;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.mappings.txt
deleted file mode 100644
index 10234758f3..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.mappings.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|string|
-Generated Location: (1031:29,19 [6] )
-|string|
-
-Source Location: (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml)
-|Value|
-Generated Location: (1246:36,36 [5] )
-|Value|
-
-Source Location: (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- string Value;
-|
-Generated Location: (1678:48,12 [21] )
-|
- string Value;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index d1412ef37b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- 18
-
-#line default
-#line hidden
- , -1, Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- Value
-
-#line default
-#line hidden
- ), -1, Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Value = __value, Value));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- string Value;
-
-#line default
-#line hidden
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, System.Object __arg1, int __seq2, System.Object __arg2)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Value", __arg0);
- builder.AddAttribute(__seq1, "Item", __arg1);
- builder.AddAttribute(__seq2, "ItemChanged", __arg2);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index 3ce37a7df2..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [42] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (66:1,35 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Value - Value
- CSharpExpression - (67:1,36 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (68:1,37 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 18
- ComponentAttributeExtensionNode - (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Item -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Value
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml) - ItemChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Value = __value, Value)
- HtmlContent - (73:1,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (73:1,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (87:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (87:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n string Value;\n
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.mappings.txt
deleted file mode 100644
index 23f5de23fc..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.mappings.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (68:1,37 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|18|
-Generated Location: (1115:29,37 [2] )
-|18|
-
-Source Location: (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml)
-|Value|
-Generated Location: (1297:35,23 [5] )
-|Value|
-
-Source Location: (87:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- string Value;
-|
-Generated Location: (1564:43,12 [21] )
-|
- string Value;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index a50ae877af..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1, Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- Value
-
-#line default
-#line hidden
- ), -1,
- __value => Value = __value);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- string Value;
-
-#line default
-#line hidden
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, global::System.Action __arg1)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.AddAttribute(__seq1, "ItemChanged", __arg1);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index 8da25b3d5e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [30] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Value
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml) - ItemChanged - ItemChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => Value = __value
- HtmlContent - (61:1,30 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (61:1,30 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (75:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (75:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n string Value;\n
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.mappings.txt
deleted file mode 100644
index 566c12bfe7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml)
-|Value|
-Generated Location: (1154:29,23 [5] )
-|Value|
-
-Source Location: (75:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- string Value;
-|
-Generated Location: (1367:38,12 [21] )
-|
- string Value;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 84bb22d4ae..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = typeof(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- string
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "hi"
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((context) => (builder2) => {
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context.ToLower();
-
-#line default
-#line hidden
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.ir.txt
deleted file mode 100644
index 5b20b6f6c4..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [90] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlContent - (72:1,41 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (72:1,41 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (76:2,2 [29] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (82:2,8 [17] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (82:2,8 [17] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLower()
- HtmlContent - (105:2,31 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (105:2,31 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentTypeArgumentExtensionNode - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentAttributeExtensionNode - (63:1,32 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (64:1,33 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 62f2c6c68e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|string|
-Generated Location: (1031:29,19 [6] )
-|string|
-
-Source Location: (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hi"|
-Generated Location: (1256:36,34 [4] )
-|"hi"|
-
-Source Location: (82:2,8 [17] x:\dir\subdir\Test\TestComponent.cshtml)
-|context.ToLower()|
-Generated Location: (1508:43,8 [17] )
-|context.ToLower()|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index 3952832c1b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "hi"
-
-#line default
-#line hidden
- , -1, (context) => (builder2) => {
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context.ToLower();
-
-#line default
-#line hidden
- }
- );
- }
- #pragma warning restore 1998
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, global::Microsoft.AspNetCore.Components.RenderFragment __arg1)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.AddAttribute(__seq1, "ChildContent", __arg1);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index 0c8dec9c50..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [77] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlContent - (59:1,28 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (59:1,28 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (63:2,2 [29] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (69:2,8 [17] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (69:2,8 [17] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLower()
- HtmlContent - (92:2,31 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (92:2,31 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentAttributeExtensionNode - (50:1,19 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.mappings.txt
deleted file mode 100644
index d966dab3c2..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.mappings.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hi"|
-Generated Location: (1099:29,21 [4] )
-|"hi"|
-
-Source Location: (69:2,8 [17] x:\dir\subdir\Test\TestComponent.cshtml)
-|context.ToLower()|
-Generated Location: (1243:35,8 [17] )
-|context.ToLower()|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.codegen.cs
deleted file mode 100644
index e3f7ea641a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.codegen.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = typeof(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- string
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "hi"
-
-#line default
-#line hidden
- );
- __o =
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- 17
-
-#line default
-#line hidden
- ;
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.ir.txt
deleted file mode 100644
index 18d0da6b2b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.ir.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [56] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentTypeArgumentExtensionNode - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentAttributeExtensionNode - (63:1,32 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (64:1,33 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
- ComponentAttributeExtensionNode - - Other -
- CSharpExpression - (79:1,48 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (81:1,50 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 17
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.mappings.txt
deleted file mode 100644
index 3fe96bdbc7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.mappings.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|string|
-Generated Location: (1031:29,19 [6] )
-|string|
-
-Source Location: (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hi"|
-Generated Location: (1256:36,34 [4] )
-|"hi"|
-
-Source Location: (81:1,50 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|17|
-Generated Location: (1430:43,50 [2] )
-|17|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index 959b2015b6..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "hi"
-
-#line default
-#line hidden
- , -1,
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- 17
-
-#line default
-#line hidden
- );
- }
- #pragma warning restore 1998
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, System.Object __arg1)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.AddAttribute(__seq1, "Other", __arg1);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index fffdaf96ad..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [43] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (50:1,19 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
- ComponentAttributeExtensionNode - - Other -
- CSharpExpression - (66:1,35 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (68:1,37 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 17
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.mappings.txt
deleted file mode 100644
index 565d353805..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.mappings.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hi"|
-Generated Location: (1099:29,21 [4] )
-|"hi"|
-
-Source Location: (68:1,37 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|17|
-Generated Location: (1244:35,37 [2] )
-|17|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index d77ffc4e7a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "hi"
-
-#line default
-#line hidden
- );
- }
- #pragma warning restore 1998
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index ffc822ec86..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [29] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (50:1,19 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.mappings.txt
deleted file mode 100644
index ae90183a66..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hi"|
-Generated Location: (1099:29,21 [4] )
-|"hi"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.codegen.cs
deleted file mode 100644
index ee03dbe3e8..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.codegen.cs
+++ /dev/null
@@ -1,78 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "hi"
-
-#line default
-#line hidden
- );
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_1(builder, -1, -1,
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- "how are you?"
-
-#line default
-#line hidden
- );
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_2(builder, -1, -1,
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
- "bye!"
-
-#line default
-#line hidden
- );
- }
- #pragma warning restore 1998
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.CloseComponent();
- }
- public static void CreateMyComponent_1(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.CloseComponent();
- }
- public static void CreateMyComponent_2(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.ir.txt
deleted file mode 100644
index 4c54493797..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.ir.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [29] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (50:1,19 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
- HtmlContent - (60:1,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (60:1,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (62:2,0 [39] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (81:2,19 [17] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (82:2,20 [16] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (83:2,21 [14] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "how are you?"
- HtmlContent - (101:2,39 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (101:2,39 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (103:3,0 [31] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (122:3,19 [9] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (123:3,20 [8] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (124:3,21 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "bye!"
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_1
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_2
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.mappings.txt
deleted file mode 100644
index cde7b926ae..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.mappings.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hi"|
-Generated Location: (1099:29,21 [4] )
-|"hi"|
-
-Source Location: (83:2,21 [14] x:\dir\subdir\Test\TestComponent.cshtml)
-|"how are you?"|
-Generated Location: (1317:36,21 [14] )
-|"how are you?"|
-
-Source Location: (124:3,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|"bye!"|
-Generated Location: (1545:43,21 [6] )
-|"bye!"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.codegen.cs
deleted file mode 100644
index 1ed68c5bc9..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.codegen.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = typeof(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- string
-
-#line default
-#line hidden
- );
- __o = typeof(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- int
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "hi"
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((context) => (builder2) => {
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context.ToLower();
-
-#line default
-#line hidden
- }
- ));
- builder.AddAttribute(-1, "AnotherChildContent", (Microsoft.AspNetCore.Components.RenderFragment.Context>)((item) => (builder2) => {
-#line 5 "x:\dir\subdir\Test\TestComponent.cshtml"
-__o = System.Math.Max(0, item.Item);
-
-#line default
-#line hidden
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.ir.txt
deleted file mode 100644
index 099d94fbcf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.ir.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [228] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - (88:2,2 [58] x:\dir\subdir\Test\TestComponent.cshtml) - ChildContent
- HtmlElement - (102:2,16 [29] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (108:2,22 [17] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (108:2,22 [17] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLower()
- ComponentChildContent - (148:3,0 [95] x:\dir\subdir\Test\TestComponent.cshtml) - AnotherChildContent
- HtmlContent - (184:3,36 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (184:3,36 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpExpression - (189:4,3 [29] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (189:4,3 [29] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - System.Math.Max(0, item.Item)
- HtmlContent - (218:4,32 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (218:4,32 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - ;\n
- ComponentTypeArgumentExtensionNode - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem1
- IntermediateToken - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentTypeArgumentExtensionNode - (65:1,34 [3] x:\dir\subdir\Test\TestComponent.cshtml) - TItem2
- IntermediateToken - (65:1,34 [3] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - int
- ComponentAttributeExtensionNode - (75:1,44 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (76:1,45 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (77:1,46 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.mappings.txt
deleted file mode 100644
index d0914a96e8..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.mappings.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|string|
-Generated Location: (1032:29,20 [6] )
-|string|
-
-Source Location: (65:1,34 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|int|
-Generated Location: (1199:36,34 [3] )
-|int|
-
-Source Location: (77:1,46 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hi"|
-Generated Location: (1433:43,46 [4] )
-|"hi"|
-
-Source Location: (108:2,22 [17] x:\dir\subdir\Test\TestComponent.cshtml)
-|context.ToLower()|
-Generated Location: (1699:50,22 [17] )
-|context.ToLower()|
-
-Source Location: (189:4,3 [29] x:\dir\subdir\Test\TestComponent.cshtml)
-|System.Math.Max(0, item.Item)|
-Generated Location: (2014:58,6 [29] )
-|System.Math.Max(0, item.Item)|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index 3933f941a7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "hi"
-
-#line default
-#line hidden
- , -1,
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- new List()
-
-#line default
-#line hidden
- , -1, (context) => (builder2) => {
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context.ToLower();
-
-#line default
-#line hidden
- }
- , -1, (item) => (builder2) => {
-#line 5 "x:\dir\subdir\Test\TestComponent.cshtml"
-__o = System.Math.Max(0, item.Item);
-
-#line default
-#line hidden
- }
- );
- }
- #pragma warning restore 1998
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem1 __arg0, int __seq1, global::System.Collections.Generic.List __arg1, int __seq2, global::Microsoft.AspNetCore.Components.RenderFragment __arg2, int __seq3, global::Microsoft.AspNetCore.Components.RenderFragment.Context> __arg3)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.AddAttribute(__seq1, "Items", __arg1);
- builder.AddAttribute(__seq2, "ChildContent", __arg2);
- builder.AddAttribute(__seq3, "AnotherChildContent", __arg3);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index a388f98227..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [229] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentChildContent - (89:2,2 [58] x:\dir\subdir\Test\TestComponent.cshtml) - ChildContent
- HtmlElement - (103:2,16 [29] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (109:2,22 [17] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (109:2,22 [17] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLower()
- ComponentChildContent - (149:3,0 [95] x:\dir\subdir\Test\TestComponent.cshtml) - AnotherChildContent
- HtmlContent - (185:3,36 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (185:3,36 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpExpression - (190:4,3 [29] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (190:4,3 [29] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - System.Math.Max(0, item.Item)
- HtmlContent - (219:4,32 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (219:4,32 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - ;\n
- ComponentAttributeExtensionNode - (50:1,19 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
- ComponentAttributeExtensionNode - (65:1,34 [19] x:\dir\subdir\Test\TestComponent.cshtml) - Items - Items
- CSharpExpression - (66:1,35 [18] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (67:1,36 [16] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - new List()
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.mappings.txt
deleted file mode 100644
index 3e4078529d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.mappings.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hi"|
-Generated Location: (1099:29,21 [4] )
-|"hi"|
-
-Source Location: (67:1,36 [16] x:\dir\subdir\Test\TestComponent.cshtml)
-|new List()|
-Generated Location: (1243:35,36 [16] )
-|new List()|
-
-Source Location: (109:2,22 [17] x:\dir\subdir\Test\TestComponent.cshtml)
-|context.ToLower()|
-Generated Location: (1413:41,22 [17] )
-|context.ToLower()|
-
-Source Location: (190:4,3 [29] x:\dir\subdir\Test\TestComponent.cshtml)
-|System.Math.Max(0, item.Item)|
-Generated Location: (1581:48,6 [29] )
-|System.Math.Max(0, item.Item)|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.codegen.cs
deleted file mode 100644
index 3c8fef1074..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.codegen.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.ir.txt
deleted file mode 100644
index 04bb07c5f8..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.ir.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [15] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.mappings.txt
deleted file mode 100644
index 3917573adf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 288be779ed..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = "";
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.ir.txt
deleted file mode 100644
index f32a0f1d27..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [91] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlContent - (57:1,26 [9] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (57:1,26 [9] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Some text
- HtmlElement - (66:1,35 [42] x:\dir\subdir\Test\TestComponent.cshtml) - some-child
- HtmlAttribute - - -
- HtmlAttributeValue - -
- IntermediateToken - - Html - 1
- HtmlContent - (84:1,53 [11] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (84:1,53 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Nested text
- ComponentAttributeExtensionNode - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml) - MyAttr - MyAttr
- HtmlContent - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - abc
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 3917573adf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 3c8fef1074..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.ir.txt
deleted file mode 100644
index f08cf8b747..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [47] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlElement - (44:1,13 [20] x:\dir\subdir\Test\TestComponent.cshtml) - child
- HtmlContent - (51:1,20 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (51:1,20 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - hello
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 3917573adf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 3c8fef1074..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.ir.txt
deleted file mode 100644
index 48021f51a0..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [61] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - (44:1,13 [34] x:\dir\subdir\Test\TestComponent.cshtml) - ChildContent
- HtmlContent - (58:1,27 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (58:1,27 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - hello
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 3917573adf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.codegen.cs
deleted file mode 100644
index 61d34f7812..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.codegen.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = new System.Action(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- Increment
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- private int counter;
- private void Increment(UIEventArgs e) {
- counter++;
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.ir.txt
deleted file mode 100644
index ae39bbd033..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.ir.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [35] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (53:1,22 [10] x:\dir\subdir\Test\TestComponent.cshtml) - OnClick - OnClick
- CSharpExpression - (54:1,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (54:1,23 [9] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Increment
- HtmlContent - (66:1,35 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (66:1,35 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- CSharpCode - (82:3,12 [100] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (82:3,12 [100] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private int counter;\n private void Increment(UIEventArgs e) {\n counter++;\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.mappings.txt
deleted file mode 100644
index c6405d7c54..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.mappings.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (54:1,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
-|Increment|
-Generated Location: (1091:29,23 [9] )
-|Increment|
-
-Source Location: (82:3,12 [100] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- private int counter;
- private void Increment(UIEventArgs e) {
- counter++;
- }
-|
-Generated Location: (1412:40,12 [100] )
-|
- private int counter;
- private void Increment(UIEventArgs e) {
- counter++;
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.codegen.cs
deleted file mode 100644
index a2c066546a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((context) => (builder2) => {
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context;
-
-#line default
-#line hidden
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.ir.txt
deleted file mode 100644
index 26e2f26f43..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [64] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - (44:1,13 [37] x:\dir\subdir\Test\TestComponent.cshtml) - ChildContent
- CSharpExpression - (59:1,28 [7] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (59:1,28 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.mappings.txt
deleted file mode 100644
index ca548bcd18..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (59:1,28 [7] x:\dir\subdir\Test\TestComponent.cshtml)
-|context|
-Generated Location: (1160:29,28 [7] )
-|context|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.codegen.cs
deleted file mode 100644
index ef63483411..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.codegen.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- 42.ToString()
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.ir.txt
deleted file mode 100644
index a1f995fc26..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.ir.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [49] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (60:1,29 [16] x:\dir\subdir\Test\TestComponent.cshtml) - StringProperty - StringProperty
- CSharpExpression - (62:1,31 [13] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (62:1,31 [13] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 42.ToString()
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.mappings.txt
deleted file mode 100644
index 81e7979f41..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (62:1,31 [13] x:\dir\subdir\Test\TestComponent.cshtml)
-|42.ToString()|
-Generated Location: (1108:29,31 [13] )
-|42.ToString()|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 5b51e73b4e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = "";
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((context) => (builder2) => {
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context.ToLowerInvariant();
-
-#line default
-#line hidden
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.ir.txt
deleted file mode 100644
index 5ac1905184..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [107] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlContent - (57:1,26 [9] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (57:1,26 [9] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Some text
- HtmlElement - (66:1,35 [58] x:\dir\subdir\Test\TestComponent.cshtml) - some-child
- HtmlAttribute - - -
- HtmlAttributeValue - -
- IntermediateToken - - Html - 1
- CSharpExpression - (85:1,54 [26] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (85:1,54 [26] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLowerInvariant()
- ComponentAttributeExtensionNode - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml) - MyAttr - MyAttr
- HtmlContent - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - abc
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 81a696b3b9..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (85:1,54 [26] x:\dir\subdir\Test\TestComponent.cshtml)
-|context.ToLowerInvariant()|
-Generated Location: (1209:30,54 [26] )
-|context.ToLowerInvariant()|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.codegen.cs
deleted file mode 100644
index b7253041bf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.codegen.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = "";
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((item) => (builder2) => {
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = item.ToLowerInvariant();
-
-#line default
-#line hidden
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.ir.txt
deleted file mode 100644
index af1d17208c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.ir.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [164] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - (61:2,2 [118] x:\dir\subdir\Test\TestComponent.cshtml) - ChildContent
- HtmlContent - (90:2,31 [15] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (90:2,31 [15] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n Some text
- HtmlElement - (105:3,13 [55] x:\dir\subdir\Test\TestComponent.cshtml) - some-child
- HtmlAttribute - - -
- HtmlAttributeValue - -
- IntermediateToken - - Html - 1
- CSharpExpression - (124:3,32 [23] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (124:3,32 [23] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - item.ToLowerInvariant()
- HtmlContent - (160:3,68 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (160:3,68 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentAttributeExtensionNode - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml) - MyAttr - MyAttr
- HtmlContent - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - abc
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.mappings.txt
deleted file mode 100644
index 5031c58513..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (124:3,32 [23] x:\dir\subdir\Test\TestComponent.cshtml)
-|item.ToLowerInvariant()|
-Generated Location: (1184:30,32 [23] )
-|item.ToLowerInvariant()|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.codegen.cs
deleted file mode 100644
index b7253041bf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = "";
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((item) => (builder2) => {
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = item.ToLowerInvariant();
-
-#line default
-#line hidden
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.ir.txt
deleted file mode 100644
index abe035020b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.ir.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [164] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - (76:2,2 [103] x:\dir\subdir\Test\TestComponent.cshtml) - ChildContent
- HtmlContent - (90:2,16 [15] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (90:2,16 [15] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n Some text
- HtmlElement - (105:3,13 [55] x:\dir\subdir\Test\TestComponent.cshtml) - some-child
- HtmlAttribute - - -
- HtmlAttributeValue - -
- IntermediateToken - - Html - 1
- CSharpExpression - (124:3,32 [23] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (124:3,32 [23] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - item.ToLowerInvariant()
- HtmlContent - (160:3,68 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (160:3,68 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentAttributeExtensionNode - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml) - MyAttr - MyAttr
- HtmlContent - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - abc
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.mappings.txt
deleted file mode 100644
index 5031c58513..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (124:3,32 [23] x:\dir\subdir\Test\TestComponent.cshtml)
-|item.ToLowerInvariant()|
-Generated Location: (1184:30,32 [23] )
-|item.ToLowerInvariant()|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.codegen.cs
deleted file mode 100644
index e40582d4ef..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.codegen.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = new System.Action(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- e => { Increment(); }
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- private int counter;
- private void Increment() {
- counter++;
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.ir.txt
deleted file mode 100644
index 4bc5d5e640..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.ir.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [49] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (53:1,22 [24] x:\dir\subdir\Test\TestComponent.cshtml) - OnClick - OnClick
- CSharpExpression - (54:1,23 [23] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (55:1,24 [21] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - e => { Increment(); }
- HtmlContent - (80:1,49 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (80:1,49 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- CSharpCode - (96:3,12 [87] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (96:3,12 [87] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private int counter;\n private void Increment() {\n counter++;\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.mappings.txt
deleted file mode 100644
index 52bd507773..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.mappings.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (55:1,24 [21] x:\dir\subdir\Test\TestComponent.cshtml)
-|e => { Increment(); }|
-Generated Location: (1092:29,24 [21] )
-|e => { Increment(); }|
-
-Source Location: (96:3,12 [87] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- private int counter;
- private void Increment() {
- counter++;
- }
-|
-Generated Location: (1425:40,12 [87] )
-|
- private int counter;
- private void Increment() {
- counter++;
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.codegen.cs
deleted file mode 100644
index eb6a81956e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = "";
- __o =
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- 43.ToString()
-
-#line default
-#line hidden
- ;
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.ir.txt
deleted file mode 100644
index 7a7abec512..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [72] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - - some-attribute -
- HtmlContent - (60:1,29 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (60:1,29 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - foo
- ComponentAttributeExtensionNode - - another-attribute -
- CSharpExpression - (84:1,53 [16] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:1,55 [13] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 43.ToString()
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.mappings.txt
deleted file mode 100644
index e441ce9d71..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (86:1,55 [13] x:\dir\subdir\Test\TestComponent.cshtml)
-|43.ToString()|
-Generated Location: (1083:30,55 [13] )
-|43.ToString()|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.codegen.cs
deleted file mode 100644
index 264122c83e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.codegen.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- [Microsoft.AspNetCore.Components.RouteAttribute("/MyPage")]
- [Microsoft.AspNetCore.Components.RouteAttribute("/AnotherRoute/{id}")]
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- ((System.Action)(() => {
-global::System.Object __typeHelper = "/MyPage";
- }
- ))();
- ((System.Action)(() => {
-global::System.Object __typeHelper = "/AnotherRoute/{id}";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.ir.txt
deleted file mode 100644
index bfbbf79448..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.ir.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- RouteAttributeExtensionNode - - /MyPage
- RouteAttributeExtensionNode - - /AnotherRoute/{id}
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- DirectiveToken - (37:1,6 [9] x:\dir\subdir\Test\TestComponent.cshtml) - "/MyPage"
- DirectiveToken - (54:2,6 [20] x:\dir\subdir\Test\TestComponent.cshtml) - "/AnotherRoute/{id}"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (76:3,0 [15] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.mappings.txt
deleted file mode 100644
index 201fe3fccc..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.mappings.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (644:17,38 [15] )
-|*, TestAssembly|
-
-Source Location: (37:1,6 [9] x:\dir\subdir\Test\TestComponent.cshtml)
-|"/MyPage"|
-Generated Location: (760:21,37 [9] )
-|"/MyPage"|
-
-Source Location: (54:2,6 [20] x:\dir\subdir\Test\TestComponent.cshtml)
-|"/AnotherRoute/{id}"|
-Generated Location: (869:25,37 [20] )
-|"/AnotherRoute/{id}"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.codegen.cs
deleted file mode 100644
index 14f9c64fda..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.codegen.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- 123
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
- true
-
-#line default
-#line hidden
- );
- __o = "";
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 6 "x:\dir\subdir\Test\TestComponent.cshtml"
- new SomeType()
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.ir.txt
deleted file mode 100644
index 75f100aadc..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.ir.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [132] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (63:2,17 [3] x:\dir\subdir\Test\TestComponent.cshtml) - IntProperty - IntProperty
- IntermediateToken - (63:2,17 [3] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 123
- ComponentAttributeExtensionNode - (87:3,18 [4] x:\dir\subdir\Test\TestComponent.cshtml) - BoolProperty - BoolProperty
- IntermediateToken - (87:3,18 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - true
- ComponentAttributeExtensionNode - (114:4,20 [9] x:\dir\subdir\Test\TestComponent.cshtml) - StringProperty - StringProperty
- HtmlContent - (114:4,20 [9] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (114:4,20 [9] x:\dir\subdir\Test\TestComponent.cshtml) - Html - My string
- ComponentAttributeExtensionNode - (146:5,20 [14] x:\dir\subdir\Test\TestComponent.cshtml) - ObjectProperty - ObjectProperty
- IntermediateToken - (146:5,20 [14] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - new SomeType()
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.mappings.txt
deleted file mode 100644
index c8b0c01001..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.mappings.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (63:2,17 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|123|
-Generated Location: (1093:29,17 [3] )
-|123|
-
-Source Location: (87:3,18 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|true|
-Generated Location: (1307:36,18 [4] )
-|true|
-
-Source Location: (146:5,20 [14] x:\dir\subdir\Test\TestComponent.cshtml)
-|new SomeType()|
-Generated Location: (1546:44,20 [14] )
-|new SomeType()|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.codegen.cs
deleted file mode 100644
index d6a9b8149c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.codegen.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- OnClick
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- private Action OnClick { get; set; }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.ir.txt
deleted file mode 100644
index c745f2e320..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.ir.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [37] x:\dir\subdir\Test\TestComponent.cshtml) - DynamicElement - Test.DynamicElement
- ComponentAttributeExtensionNode - (56:1,25 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick - onclick
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (57:1,26 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
- IntermediateToken - - CSharp - )
- HtmlContent - (68:1,37 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (68:1,37 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- CSharpCode - (84:3,12 [62] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (84:3,12 [62] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private Action OnClick { get; set; }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.mappings.txt
deleted file mode 100644
index 4902958cc5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (57:1,26 [7] x:\dir\subdir\Test\TestComponent.cshtml)
-|OnClick|
-Generated Location: (1146:29,26 [7] )
-|OnClick|
-
-Source Location: (84:3,12 [62] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- private Action OnClick { get; set; }
-|
-Generated Location: (1465:40,12 [62] )
-|
- private Action OnClick { get; set; }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.codegen.cs
deleted file mode 100644
index 2aa30acccf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.codegen.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "very-cool"
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.ir.txt
deleted file mode 100644
index 0068449567..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.ir.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [43] x:\dir\subdir\Test\TestComponent.cshtml) - CoolnessMeter - Test.CoolnessMeter
- ComponentAttributeExtensionNode - (56:1,25 [14] x:\dir\subdir\Test\TestComponent.cshtml) - Coolness - Coolness
- CSharpExpression - (57:1,26 [13] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (58:1,27 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "very-cool"
- HtmlContent - (74:1,43 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (74:1,43 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.mappings.txt
deleted file mode 100644
index 2e5b895428..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (58:1,27 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|"very-cool"|
-Generated Location: (1103:29,27 [11] )
-|"very-cool"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.codegen.cs
deleted file mode 100644
index b7cb3a157a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.codegen.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-using Microsoft.AspNetCore.Components;
-
-#line default
-#line hidden
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object TItem1 = null;
- }
- ))();
- ((System.Action)(() => {
-global::System.Object TItem2 = null;
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 6 "x:\dir\subdir\Test\TestComponent.cshtml"
- foreach (var item2 in Items2)
-{
-
-
-#line default
-#line hidden
-#line 9 "x:\dir\subdir\Test\TestComponent.cshtml"
-__o = ChildContent(item2);
-
-#line default
-#line hidden
-#line 10 "x:\dir\subdir\Test\TestComponent.cshtml"
-
-}
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 12 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- [Parameter] TItem1 Item1 { get; set; }
- [Parameter] List Items2 { get; set; }
- [Parameter] RenderFragment ChildContent { get; set; }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.ir.txt
deleted file mode 100644
index e7daa631fa..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.ir.txt
+++ /dev/null
@@ -1,46 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (1:0,1 [38] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (52:1,11 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem1
- DirectiveToken - (71:2,11 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem2
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (39:0,39 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (39:0,39 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlContent - (79:3,0 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (79:3,0 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (81:4,0 [14] x:\dir\subdir\Test\TestComponent.cshtml) - h1
- HtmlContent - (85:4,4 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (85:4,4 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Item1
- HtmlContent - (95:4,14 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (95:4,14 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (98:5,1 [38] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (98:5,1 [38] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - foreach (var item2 in Items2)\n{\n
- HtmlElement - (136:7,4 [40] x:\dir\subdir\Test\TestComponent.cshtml) - p
- HtmlContent - (139:7,7 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (139:7,7 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpExpression - (146:8,5 [19] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (146:8,5 [19] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ChildContent(item2)
- HtmlContent - (165:8,24 [7] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (165:8,24 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Html - ;\n
- CSharpCode - (176:9,8 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (176:9,8 [3] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n}
- HtmlContent - (179:10,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (179:10,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (193:11,12 [164] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (193:11,12 [164] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n [Parameter] TItem1 Item1 { get; set; }\n [Parameter] List Items2 { get; set; }\n [Parameter] RenderFragment ChildContent { get; set; }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.mappings.txt
deleted file mode 100644
index d2ba18a0b0..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.mappings.txt
+++ /dev/null
@@ -1,49 +0,0 @@
-Source Location: (1:0,1 [38] x:\dir\subdir\Test\TestComponent.cshtml)
-|using Microsoft.AspNetCore.Components;|
-Generated Location: (257:10,0 [38] )
-|using Microsoft.AspNetCore.Components;|
-
-Source Location: (52:1,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|TItem1|
-Generated Location: (581:19,22 [6] )
-|TItem1|
-
-Source Location: (71:2,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|TItem2|
-Generated Location: (679:23,22 [6] )
-|TItem2|
-
-Source Location: (98:5,1 [38] x:\dir\subdir\Test\TestComponent.cshtml)
-|foreach (var item2 in Items2)
-{
- |
-Generated Location: (1159:36,1 [38] )
-|foreach (var item2 in Items2)
-{
- |
-
-Source Location: (146:8,5 [19] x:\dir\subdir\Test\TestComponent.cshtml)
-|ChildContent(item2)|
-Generated Location: (1287:43,6 [19] )
-|ChildContent(item2)|
-
-Source Location: (176:9,8 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|
-}|
-Generated Location: (1400:48,8 [3] )
-|
-}|
-
-Source Location: (193:11,12 [164] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- [Parameter] TItem1 Item1 { get; set; }
- [Parameter] List Items2 { get; set; }
- [Parameter] RenderFragment ChildContent { get; set; }
-|
-Generated Location: (1549:56,12 [164] )
-|
- [Parameter] TItem1 Item1 { get; set; }
- [Parameter] List Items2 { get; set; }
- [Parameter] RenderFragment ChildContent { get; set; }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithDocType/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithDocType/TestComponent.codegen.cs
deleted file mode 100644
index 919a59d52a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithDocType/TestComponent.codegen.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithDocType/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithDocType/TestComponent.ir.txt
deleted file mode 100644
index bd6aceb134..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithDocType/TestComponent.ir.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (15:0,15 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (15:0,15 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (17:1,0 [13] x:\dir\subdir\Test\TestComponent.cshtml) - div
- HtmlContent - (22:1,5 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (22:1,5 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef/TestComponent.codegen.cs
deleted file mode 100644
index 633fcbe59d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef/TestComponent.codegen.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = "";
- __o = "";
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- myInstance = default(Test.MyComponent);
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- private Test.MyComponent myInstance;
- public void Foo() { System.GC.KeepAlive(myInstance); }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef/TestComponent.ir.txt
deleted file mode 100644
index 938a29719d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef/TestComponent.ir.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [72] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - - ParamBefore -
- HtmlContent - (57:1,26 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (57:1,26 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - before
- RefExtensionNode - (70:1,39 [10] x:\dir\subdir\Test\TestComponent.cshtml) - myInstance - Test.MyComponent
- ComponentAttributeExtensionNode - - ParamAfter -
- HtmlContent - (94:1,63 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (94:1,63 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - after
- HtmlContent - (103:1,72 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (103:1,72 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlContent - (224:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (224:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (119:3,12 [104] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (119:3,12 [104] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private Test.MyComponent myInstance;\n public void Foo() { System.GC.KeepAlive(myInstance); }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef/TestComponent.mappings.txt
deleted file mode 100644
index 8a41bd417e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef/TestComponent.mappings.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (70:1,39 [10] x:\dir\subdir\Test\TestComponent.cshtml)
-|myInstance|
-Generated Location: (1221:33,39 [10] )
-|myInstance|
-
-Source Location: (119:3,12 [104] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- private Test.MyComponent myInstance;
- public void Foo() { System.GC.KeepAlive(myInstance); }
-|
-Generated Location: (1405:40,12 [104] )
-|
- private Test.MyComponent myInstance;
- public void Foo() { System.GC.KeepAlive(myInstance); }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 4622f728a7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = "";
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- myInstance = default(Test.MyComponent);
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 6 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- private Test.MyComponent myInstance;
- public void Foo() { System.GC.KeepAlive(myInstance); }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.ir.txt
deleted file mode 100644
index 7817dcfea3..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [96] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlContent - (76:1,45 [11] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (76:1,45 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n Some
- HtmlElement - (87:2,9 [16] x:\dir\subdir\Test\TestComponent.cshtml) - el
- HtmlContent - (91:2,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (91:2,13 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Html - further
- HtmlContent - (103:2,25 [10] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (103:2,25 [10] x:\dir\subdir\Test\TestComponent.cshtml) - Html - content\n
- RefExtensionNode - (49:1,18 [10] x:\dir\subdir\Test\TestComponent.cshtml) - myInstance - Test.MyComponent
- ComponentAttributeExtensionNode - - SomeProp -
- HtmlContent - (71:1,40 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (71:1,40 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - val
- HtmlContent - (127:3,14 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (127:3,14 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlContent - (248:8,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (248:8,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (143:5,12 [104] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (143:5,12 [104] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private Test.MyComponent myInstance;\n public void Foo() { System.GC.KeepAlive(myInstance); }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 3d1c3b4c7b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (49:1,18 [10] x:\dir\subdir\Test\TestComponent.cshtml)
-|myInstance|
-Generated Location: (1177:32,18 [10] )
-|myInstance|
-
-Source Location: (143:5,12 [104] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- private Test.MyComponent myInstance;
- public void Foo() { System.GC.KeepAlive(myInstance); }
-|
-Generated Location: (1361:39,12 [104] )
-|
- private Test.MyComponent myInstance;
- public void Foo() { System.GC.KeepAlive(myInstance); }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Element_WithRef/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Element_WithRef/TestComponent.codegen.cs
deleted file mode 100644
index 652f524371..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Element_WithRef/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
- myElem = default(Microsoft.AspNetCore.Components.ElementRef);
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- private Microsoft.AspNetCore.Components.ElementRef myElem;
- public void Foo() { System.GC.KeepAlive(myElem); }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Element_WithRef/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Element_WithRef/TestComponent.ir.txt
deleted file mode 100644
index a073fd2d4a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Element_WithRef/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [79] x:\dir\subdir\Test\TestComponent.cshtml) - elem
- HtmlContent - (67:0,67 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (67:0,67 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hello
- HtmlAttribute - - attributebefore=" - "
- HtmlAttributeValue - (23:0,23 [6] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (23:0,23 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - before
- RefExtensionNode - (36:0,36 [6] x:\dir\subdir\Test\TestComponent.cshtml) - myElem - Element
- HtmlAttribute - - attributeafter=" - "
- HtmlAttributeValue - (60:0,60 [5] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (60:0,60 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - after
- HtmlContent - (79:0,79 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (79:0,79 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlContent - (218:5,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (218:5,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (95:2,12 [122] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (95:2,12 [122] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private Microsoft.AspNetCore.Components.ElementRef myElem;\n public void Foo() { System.GC.KeepAlive(myElem); }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Element_WithRef/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Element_WithRef/TestComponent.mappings.txt
deleted file mode 100644
index 595c999d6f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Element_WithRef/TestComponent.mappings.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-Source Location: (36:0,36 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|myElem|
-Generated Location: (904:24,36 [6] )
-|myElem|
-
-Source Location: (95:2,12 [122] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- private Microsoft.AspNetCore.Components.ElementRef myElem;
- public void Foo() { System.GC.KeepAlive(myElem); }
-|
-Generated Location: (1110:31,12 [122] )
-|
- private Microsoft.AspNetCore.Components.ElementRef myElem;
- public void Foo() { System.GC.KeepAlive(myElem); }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandlerTagHelper_EscapeQuotes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandlerTagHelper_EscapeQuotes/TestComponent.codegen.cs
deleted file mode 100644
index b4a0c15da5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandlerTagHelper_EscapeQuotes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue("alert(\"Test\");");
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandlerTagHelper_EscapeQuotes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandlerTagHelper_EscapeQuotes/TestComponent.ir.txt
deleted file mode 100644
index adc6fd4a10..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandlerTagHelper_EscapeQuotes/TestComponent.ir.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [34] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (16:0,16 [14] x:\dir\subdir\Test\TestComponent.cshtml) - onfocus=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - - CSharp - "alert(\"Test\");"
- IntermediateToken - - CSharp - )
- HtmlContent - (34:0,34 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (34:0,34 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.codegen.cs
deleted file mode 100644
index 1232e09d7a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.codegen.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(OnClick);
- }
- #pragma warning restore 1998
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- void OnClick(UIEventArgs e) {
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.ir.txt
deleted file mode 100644
index 694f284ee0..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (16:0,16 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
- IntermediateToken - - CSharp - )
- HtmlContent - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (42:1,12 [44] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (42:1,12 [44] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n void OnClick(UIEventArgs e) {\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.mappings.txt
deleted file mode 100644
index 965fd7554a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.mappings.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-Source Location: (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
-|OnClick|
-Generated Location: (950:23,133 [7] )
-|OnClick|
-
-Source Location: (42:1,12 [44] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- void OnClick(UIEventArgs e) {
- }
-|
-Generated Location: (1073:27,12 [44] )
-|
- void OnClick(UIEventArgs e) {
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.codegen.cs
deleted file mode 100644
index 6dc4a0750a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.codegen.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(OnClick);
- }
- #pragma warning restore 1998
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- void OnClick(UIMouseEventArgs e) {
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.ir.txt
deleted file mode 100644
index a29f78db65..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (16:0,16 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
- IntermediateToken - - CSharp - )
- HtmlContent - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (42:1,12 [49] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (42:1,12 [49] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n void OnClick(UIMouseEventArgs e) {\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.mappings.txt
deleted file mode 100644
index 0a370a2d5f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.mappings.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-Source Location: (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
-|OnClick|
-Generated Location: (950:23,133 [7] )
-|OnClick|
-
-Source Location: (42:1,12 [49] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- void OnClick(UIMouseEventArgs e) {
- }
-|
-Generated Location: (1073:27,12 [49] )
-|
- void OnClick(UIMouseEventArgs e) {
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.codegen.cs
deleted file mode 100644
index c49c3e267f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.codegen.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(x => { });
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.ir.txt
deleted file mode 100644
index 43fa8cb757..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.ir.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [31] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (16:0,16 [11] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (18:0,18 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - x => { }
- IntermediateToken - - CSharp - )
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.mappings.txt
deleted file mode 100644
index 610f3730a8..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (18:0,18 [8] x:\dir\subdir\Test\TestComponent.cshtml)
-|x => { }|
-Generated Location: (950:23,133 [8] )
-|x => { }|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.codegen.cs
deleted file mode 100644
index 6dc4a0750a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.codegen.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(OnClick);
- }
- #pragma warning restore 1998
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- void OnClick(UIMouseEventArgs e) {
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.ir.txt
deleted file mode 100644
index a29f78db65..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (16:0,16 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
- IntermediateToken - - CSharp - )
- HtmlContent - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (42:1,12 [49] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (42:1,12 [49] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n void OnClick(UIMouseEventArgs e) {\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.mappings.txt
deleted file mode 100644
index 0a370a2d5f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.mappings.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-Source Location: (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
-|OnClick|
-Generated Location: (950:23,133 [7] )
-|OnClick|
-
-Source Location: (42:1,12 [49] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- void OnClick(UIMouseEventArgs e) {
- }
-|
-Generated Location: (1073:27,12 [49] )
-|
- void OnClick(UIMouseEventArgs e) {
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.codegen.cs
deleted file mode 100644
index c49c3e267f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.codegen.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(x => { });
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.ir.txt
deleted file mode 100644
index 43fa8cb757..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.ir.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [31] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (16:0,16 [11] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (18:0,18 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - x => { }
- IntermediateToken - - CSharp - )
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.mappings.txt
deleted file mode 100644
index 610f3730a8..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (18:0,18 [8] x:\dir\subdir\Test\TestComponent.cshtml)
-|x => { }|
-Generated Location: (950:23,133 [8] )
-|x => { }|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.codegen.cs
deleted file mode 100644
index b339a6b857..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.codegen.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(OnClick);
- }
- #pragma warning restore 1998
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- void OnClick() {
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.ir.txt
deleted file mode 100644
index ce1ec8f759..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (16:0,16 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
- IntermediateToken - - CSharp - )
- HtmlContent - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (42:1,12 [31] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (42:1,12 [31] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n void OnClick() {\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.mappings.txt
deleted file mode 100644
index f95192d92e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.mappings.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-Source Location: (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
-|OnClick|
-Generated Location: (950:23,133 [7] )
-|OnClick|
-
-Source Location: (42:1,12 [31] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- void OnClick() {
- }
-|
-Generated Location: (1073:27,12 [31] )
-|
- void OnClick() {
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.codegen.cs
deleted file mode 100644
index 2479d0a29a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.codegen.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(() => { });
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.ir.txt
deleted file mode 100644
index 95e52fa87f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.ir.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [32] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (16:0,16 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (18:0,18 [9] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - () => { }
- IntermediateToken - - CSharp - )
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.mappings.txt
deleted file mode 100644
index 5d5d60fe4c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (18:0,18 [9] x:\dir\subdir\Test\TestComponent.cshtml)
-|() => { }|
-Generated Location: (950:23,133 [9] )
-|() => { }|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.codegen.cs
deleted file mode 100644
index 87a6b631f7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.codegen.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue("foo");
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.ir.txt
deleted file mode 100644
index 4cd6780e07..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.ir.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [23] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (16:0,16 [3] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - - CSharp - "foo"
- IntermediateToken - - CSharp - )
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef/TestComponent.codegen.cs
deleted file mode 100644
index b545b34713..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef/TestComponent.codegen.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = typeof(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- int
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- 3
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- _my = default(Test.MyComponent);
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- private MyComponent _my;
- public void Foo() { System.GC.KeepAlive(_my); }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef/TestComponent.ir.txt
deleted file mode 100644
index af3f05c9cb..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef/TestComponent.ir.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [44] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentTypeArgumentExtensionNode - (50:1,19 [3] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [3] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - int
- ComponentAttributeExtensionNode - (60:1,29 [1] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- IntermediateToken - (60:1,29 [1] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 3
- RefExtensionNode - (68:1,37 [3] x:\dir\subdir\Test\TestComponent.cshtml) - _my - Test.MyComponent
- HtmlContent - (75:1,44 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (75:1,44 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlContent - (182:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (182:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (91:3,12 [90] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (91:3,12 [90] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private MyComponent _my;\n public void Foo() { System.GC.KeepAlive(_my); }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef/TestComponent.mappings.txt
deleted file mode 100644
index 0a61d8b69b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef/TestComponent.mappings.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (50:1,19 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|int|
-Generated Location: (1031:29,19 [3] )
-|int|
-
-Source Location: (60:1,29 [1] x:\dir\subdir\Test\TestComponent.cshtml)
-|3|
-Generated Location: (1245:36,29 [1] )
-|3|
-
-Source Location: (68:1,37 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|_my|
-Generated Location: (1534:45,37 [3] )
-|_my|
-
-Source Location: (91:3,12 [90] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- private MyComponent _my;
- public void Foo() { System.GC.KeepAlive(_my); }
-|
-Generated Location: (1716:52,12 [90] )
-|
- private MyComponent _my;
- public void Foo() { System.GC.KeepAlive(_my); }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index eba8acca98..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,67 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- 3
-
-#line default
-#line hidden
- , -1, (__value) => {
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- _my = __value;
-
-#line default
-#line hidden
- }
- );
- }
- #pragma warning restore 1998
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- private MyComponent _my;
- public void Foo() { System.GC.KeepAlive(_my); }
-
-#line default
-#line hidden
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, global::System.Action> __arg1)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.AddComponentReferenceCapture(__seq1, (__value) => { __arg1((global::Test.MyComponent)__value); });
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index 6cd775d303..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [34] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (50:1,19 [1] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- IntermediateToken - (50:1,19 [1] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 3
- RefExtensionNode - (58:1,27 [3] x:\dir\subdir\Test\TestComponent.cshtml) - _my - global::Test.MyComponent
- HtmlContent - (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlContent - (172:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (172:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (81:3,12 [90] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (81:3,12 [90] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private MyComponent _my;\n public void Foo() { System.GC.KeepAlive(_my); }\n
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference/TestComponent.mappings.txt
deleted file mode 100644
index 870211d4c5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference/TestComponent.mappings.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (50:1,19 [1] x:\dir\subdir\Test\TestComponent.cshtml)
-|3|
-Generated Location: (1097:29,19 [1] )
-|3|
-
-Source Location: (58:1,27 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|_my|
-Generated Location: (1243:35,27 [3] )
-|_my|
-
-Source Location: (81:3,12 [90] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- private MyComponent _my;
- public void Foo() { System.GC.KeepAlive(_my); }
-|
-Generated Location: (1433:44,12 [90] )
-|
- private MyComponent _my;
- public void Foo() { System.GC.KeepAlive(_my); }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
deleted file mode 100644
index 06575bce03..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-__o = "My value";
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.ir.txt
deleted file mode 100644
index 1e3e6ce893..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.ir.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- CSharpExpression - (2:0,2 [10] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (2:0,2 [10] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "My value"
- HtmlContent - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlElement - (17:2,0 [14] x:\dir\subdir\Test\TestComponent.cshtml) - h1
- HtmlContent - (21:2,4 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (21:2,4 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hello
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
deleted file mode 100644
index e4acf4e91b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (2:0,2 [10] x:\dir\subdir\Test\TestComponent.cshtml)
-|"My value"|
-Generated Location: (874:24,6 [10] )
-|"My value"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.codegen.cs
deleted file mode 100644
index 3c8fef1074..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.ir.txt
deleted file mode 100644
index b063139009..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.ir.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [7] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n \n
- ComponentExtensionNode - (36:2,0 [22] x:\dir\subdir\Test\TestComponent.cshtml) - SomeOtherComponent - Test.SomeOtherComponent
- HtmlContent - (58:2,22 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (58:2,22 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlElement - (62:4,0 [14] x:\dir\subdir\Test\TestComponent.cshtml) - h1
- HtmlContent - (66:4,4 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (66:4,4 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hello
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.mappings.txt
deleted file mode 100644
index 3917573adf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.codegen.cs
deleted file mode 100644
index d23ff3765d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.codegen.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-using System;
-
-#line default
-#line hidden
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.ir.txt
deleted file mode 100644
index c2f340ba5b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.ir.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- UsingDirective - (1:0,1 [12] x:\dir\subdir\Test\TestComponent.cshtml) - System
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlElement - (17:2,0 [14] x:\dir\subdir\Test\TestComponent.cshtml) - h1
- HtmlContent - (21:2,4 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (21:2,4 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hello
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.mappings.txt
deleted file mode 100644
index ae847626d3..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (1:0,1 [12] x:\dir\subdir\Test\TestComponent.cshtml)
-|using System|
-Generated Location: (282:10,0 [12] )
-|using System|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 69a65f5ce1..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.AddAttribute(-1, "Header", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- builder.AddAttribute(-1, "Footer", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = "bye!";
-
-#line default
-#line hidden
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.ir.txt
deleted file mode 100644
index 9cc23593bb..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [87] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - (50:2,4 [20] x:\dir\subdir\Test\TestComponent.cshtml) - Header
- HtmlContent - (58:2,12 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (58:2,12 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hi!
- ComponentChildContent - (76:3,4 [26] x:\dir\subdir\Test\TestComponent.cshtml) - Footer
- CSharpExpression - (86:3,14 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:3,14 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "bye!"
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.mappings.txt
deleted file mode 100644
index cedac6119b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (86:3,14 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|"bye!"|
-Generated Location: (1257:32,14 [6] )
-|"bye!"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.codegen.cs
deleted file mode 100644
index a95a14e77e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- RenderFragment template = (context) =>
-
-#line default
-#line hidden
- (builder2) => {
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context.Index;
-
-#line default
-#line hidden
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context.Item.ToLower();
-
-#line default
-#line hidden
- }
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- __o = new Microsoft.AspNetCore.Components.RenderFragment(
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- template
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.ir.txt
deleted file mode 100644
index 5c76c02ce5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,43 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml) - "*, TestAssembly"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (35:1,2 [54] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (35:1,2 [54] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderFragment template = (context) =>
- Template - (90:1,57 [48] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (90:1,57 [50] x:\dir\subdir\Test\TestComponent.cshtml) - li
- HtmlContent - (94:1,61 [1] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (94:1,61 [1] x:\dir\subdir\Test\TestComponent.cshtml) - Html - #
- CSharpExpression - (96:1,63 [13] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (96:1,63 [13] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.Index
- HtmlContent - (109:1,76 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (109:1,76 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \-
- CSharpExpression - (113:1,80 [22] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (113:1,80 [22] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.Item.ToLower()
- CSharpCode - (140:1,107 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (140:1,107 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;
- ComponentExtensionNode - (145:2,0 [35] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (168:2,23 [9] x:\dir\subdir\Test\TestComponent.cshtml) - Template - Template
- CSharpExpression - (169:2,24 [8] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (169:2,24 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - template
- HtmlContent - (180:2,35 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (180:2,35 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.mappings.txt
deleted file mode 100644
index b518bb32e8..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Source Location: (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml)
-|"*, TestAssembly"|
-Generated Location: (502:15,37 [17] )
-|"*, TestAssembly"|
-
-Source Location: (35:1,2 [54] x:\dir\subdir\Test\TestComponent.cshtml)
-| RenderFragment template = (context) => |
-Generated Location: (987:28,2 [54] )
-| RenderFragment template = (context) => |
-
-Source Location: (96:1,63 [13] x:\dir\subdir\Test\TestComponent.cshtml)
-|context.Index|
-Generated Location: (1217:34,63 [13] )
-|context.Index|
-
-Source Location: (113:1,80 [22] x:\dir\subdir\Test\TestComponent.cshtml)
-|context.Item.ToLower()|
-Generated Location: (1395:39,80 [22] )
-|context.Item.ToLower()|
-
-Source Location: (140:1,107 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|; |
-Generated Location: (1624:45,107 [2] )
-|; |
-
-Source Location: (169:2,24 [8] x:\dir\subdir\Test\TestComponent.cshtml)
-|template|
-Generated Location: (1819:51,24 [8] )
-|template|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.codegen.cs
deleted file mode 100644
index 64b2cd0629..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- RenderFragment p = (person) =>
-
-#line default
-#line hidden
- (builder2) => {
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- person.Name
-
-#line default
-#line hidden
- );
- builder2.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder3) => {
- }
- ));
- }
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 5 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- class Person
- {
- public string Name { get; set; }
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.ir.txt
deleted file mode 100644
index 6618985236..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.ir.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml) - "*, TestAssembly"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (35:1,2 [45] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (35:1,2 [45] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n RenderFragment p = (person) =>
- Template - (81:2,44 [45] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (81:2,44 [45] x:\dir\subdir\Test\TestComponent.cshtml) - div
- ComponentExtensionNode - (86:2,49 [34] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (105:2,68 [12] x:\dir\subdir\Test\TestComponent.cshtml) - Name - Name
- CSharpExpression - (106:2,69 [11] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (106:2,69 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - person.Name
- CSharpCode - (126:2,89 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (126:2,89 [3] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;\n
- CSharpCode - (144:4,12 [76] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (144:4,12 [76] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n class Person\n {\n public string Name { get; set; }\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.mappings.txt
deleted file mode 100644
index 2617c56e67..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-Source Location: (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml)
-|"*, TestAssembly"|
-Generated Location: (502:15,37 [17] )
-|"*, TestAssembly"|
-
-Source Location: (35:1,2 [45] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- RenderFragment p = (person) => |
-Generated Location: (987:28,2 [45] )
-|
- RenderFragment p = (person) => |
-
-Source Location: (106:2,69 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|person.Name|
-Generated Location: (1310:36,69 [11] )
-|person.Name|
-
-Source Location: (126:2,89 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|;
-|
-Generated Location: (1693:46,89 [3] )
-|;
-|
-
-Source Location: (144:4,12 [76] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- class Person
- {
- public string Name { get; set; }
- }
-|
-Generated Location: (1839:53,12 [76] )
-|
- class Person
- {
- public string Name { get; set; }
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.codegen.cs
deleted file mode 100644
index dbbb8065b5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- RenderFragment p = (person) =>
-
-#line default
-#line hidden
- (builder2) => {
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- person.Name
-
-#line default
-#line hidden
- );
- builder2.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder3) => {
- }
- ));
- }
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
-#line 6 "x:\dir\subdir\Test\TestComponent.cshtml"
-__o = "hello, world!";
-
-#line default
-#line hidden
- }
- ));
- }
- #pragma warning restore 1998
-#line 9 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- class Person
- {
- public string Name { get; set; }
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.ir.txt
deleted file mode 100644
index 4674bf0e0e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.ir.txt
+++ /dev/null
@@ -1,45 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml) - "*, TestAssembly"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (35:1,2 [45] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (35:1,2 [45] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n RenderFragment p = (person) =>
- Template - (81:2,44 [45] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (81:2,44 [45] x:\dir\subdir\Test\TestComponent.cshtml) - div
- ComponentExtensionNode - (86:2,49 [34] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (105:2,68 [12] x:\dir\subdir\Test\TestComponent.cshtml) - Name - Name
- CSharpExpression - (106:2,69 [11] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (106:2,69 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - person.Name
- CSharpCode - (126:2,89 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (126:2,89 [3] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;\n
- ComponentExtensionNode - (132:4,0 [49] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlContent - (145:4,13 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (145:4,13 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpExpression - (149:5,2 [15] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (149:5,2 [15] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hello, world!"
- HtmlContent - (165:5,18 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (165:5,18 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlContent - (181:6,14 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (181:6,14 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- CSharpCode - (197:8,12 [76] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (197:8,12 [76] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n class Person\n {\n public string Name { get; set; }\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.mappings.txt
deleted file mode 100644
index dea3d8428f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-Source Location: (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml)
-|"*, TestAssembly"|
-Generated Location: (502:15,37 [17] )
-|"*, TestAssembly"|
-
-Source Location: (35:1,2 [45] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- RenderFragment p = (person) => |
-Generated Location: (987:28,2 [45] )
-|
- RenderFragment p = (person) => |
-
-Source Location: (106:2,69 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|person.Name|
-Generated Location: (1310:36,69 [11] )
-|person.Name|
-
-Source Location: (126:2,89 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|;
-|
-Generated Location: (1693:46,89 [3] )
-|;
-|
-
-Source Location: (149:5,2 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hello, world!"|
-Generated Location: (1903:52,6 [15] )
-|"hello, world!"|
-
-Source Location: (197:8,12 [76] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- class Person
- {
- public string Name { get; set; }
- }
-|
-Generated Location: (2096:61,12 [76] )
-|
- class Person
- {
- public string Name { get; set; }
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.codegen.cs
deleted file mode 100644
index 1c2e655a88..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.codegen.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- RenderFragment template = (person) =>
-
-#line default
-#line hidden
- (builder2) => {
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = person.Name;
-
-#line default
-#line hidden
- }
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- __o = new Microsoft.AspNetCore.Components.RenderFragment(
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- template
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.ir.txt
deleted file mode 100644
index 0b2d2a7eef..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.ir.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml) - "*, TestAssembly"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (35:1,2 [47] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (35:1,2 [47] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderFragment template = (person) =>
- Template - (83:1,50 [22] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (83:1,50 [23] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (89:1,56 [11] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (89:1,56 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - person.Name
- CSharpCode - (106:1,73 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (106:1,73 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;
- ComponentExtensionNode - (111:2,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (140:2,29 [9] x:\dir\subdir\Test\TestComponent.cshtml) - PersonTemplate - PersonTemplate
- CSharpExpression - (141:2,30 [8] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (141:2,30 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - template
- HtmlContent - (152:2,41 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (152:2,41 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.mappings.txt
deleted file mode 100644
index 83d796d983..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.mappings.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Source Location: (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml)
-|"*, TestAssembly"|
-Generated Location: (502:15,37 [17] )
-|"*, TestAssembly"|
-
-Source Location: (35:1,2 [47] x:\dir\subdir\Test\TestComponent.cshtml)
-| RenderFragment template = (person) => |
-Generated Location: (987:28,2 [47] )
-| RenderFragment template = (person) => |
-
-Source Location: (89:1,56 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|person.Name|
-Generated Location: (1203:34,56 [11] )
-|person.Name|
-
-Source Location: (106:1,73 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|; |
-Generated Location: (1387:40,73 [2] )
-|; |
-
-Source Location: (141:2,30 [8] x:\dir\subdir\Test\TestComponent.cshtml)
-|template|
-Generated Location: (1587:46,30 [8] )
-|template|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.codegen.cs
deleted file mode 100644
index fe3b5a38c9..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.codegen.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-__o = RenderPerson((person) => (builder2) => {
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = person.Name;
-
-#line default
-#line hidden
-}
-);
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- class Person
- {
- public string Name { get; set; }
- }
-
- object RenderPerson(RenderFragment p) => null;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.ir.txt
deleted file mode 100644
index 04ddbdf5e3..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.ir.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- CSharpExpression - (1:0,1 [48] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (1:0,1 [25] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderPerson((person) =>
- Template - (27:0,27 [22] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (27:0,27 [23] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (33:0,33 [11] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (33:0,33 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - person.Name
- IntermediateToken - (50:0,50 [1] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - )
- HtmlContent - (51:0,51 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (51:0,51 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (65:1,12 [138] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (65:1,12 [138] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n class Person\n {\n public string Name { get; set; }\n }\n\n object RenderPerson(RenderFragment p) => null;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.mappings.txt
deleted file mode 100644
index b37981c1a8..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.mappings.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-Source Location: (1:0,1 [25] x:\dir\subdir\Test\TestComponent.cshtml)
-|RenderPerson((person) => |
-Generated Location: (874:24,6 [25] )
-|RenderPerson((person) => |
-
-Source Location: (33:0,33 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|person.Name|
-Generated Location: (1000:26,33 [11] )
-|person.Name|
-
-Source Location: (50:0,50 [1] x:\dir\subdir\Test\TestComponent.cshtml)
-|)|
-Generated Location: (1048:31,0 [1] )
-|)|
-
-Source Location: (65:1,12 [138] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- class Person
- {
- public string Name { get; set; }
- }
-
- object RenderPerson(RenderFragment p) => null;
-|
-Generated Location: (1195:38,12 [138] )
-|
- class Person
- {
- public string Name { get; set; }
- }
-
- object RenderPerson(RenderFragment p) => null;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.codegen.cs
deleted file mode 100644
index 1a513d9bfe..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.codegen.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- RenderFragment p = (person) =>
-
-#line default
-#line hidden
- (builder2) => {
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = person.Name;
-
-#line default
-#line hidden
- }
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- class Person
- {
- public string Name { get; set; }
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.ir.txt
deleted file mode 100644
index d04fb1ffca..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- CSharpCode - (2:0,2 [45] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (2:0,2 [45] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n RenderFragment p = (person) =>
- Template - (48:1,44 [22] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (48:1,44 [23] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (54:1,50 [11] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (54:1,50 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - person.Name
- CSharpCode - (71:1,67 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (71:1,67 [3] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;\n
- CSharpCode - (89:3,12 [76] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (89:3,12 [76] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n class Person\n {\n public string Name { get; set; }\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.mappings.txt
deleted file mode 100644
index b9045e5bb7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.mappings.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-Source Location: (2:0,2 [45] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- RenderFragment p = (person) => |
-Generated Location: (870:24,2 [45] )
-|
- RenderFragment p = (person) => |
-
-Source Location: (54:1,50 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|person.Name|
-Generated Location: (1078:31,50 [11] )
-|person.Name|
-
-Source Location: (71:1,67 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|;
-|
-Generated Location: (1256:37,67 [3] )
-|;
-|
-
-Source Location: (89:3,12 [76] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- class Person
- {
- public string Name { get; set; }
- }
-|
-Generated Location: (1402:44,12 [76] )
-|
- class Person
- {
- public string Name { get; set; }
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.codegen.cs
deleted file mode 100644
index 0da3a367ff..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.codegen.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-__o = RenderPerson((person) => (builder2) => {
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = person.Name;
-
-#line default
-#line hidden
-}
-);
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- class Person
- {
- public string Name { get; set; }
- }
-
- object RenderPerson(RenderFragment p) => null;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.ir.txt
deleted file mode 100644
index abc67e5715..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.ir.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- CSharpExpression - (2:0,2 [48] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (2:0,2 [25] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderPerson((person) =>
- Template - (28:0,28 [22] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (28:0,28 [23] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (34:0,34 [11] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (34:0,34 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - person.Name
- IntermediateToken - (51:0,51 [1] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - )
- HtmlContent - (53:0,53 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (53:0,53 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (67:1,12 [138] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (67:1,12 [138] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n class Person\n {\n public string Name { get; set; }\n }\n\n object RenderPerson(RenderFragment p) => null;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.mappings.txt
deleted file mode 100644
index c11ce14a08..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.mappings.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-Source Location: (2:0,2 [25] x:\dir\subdir\Test\TestComponent.cshtml)
-|RenderPerson((person) => |
-Generated Location: (874:24,6 [25] )
-|RenderPerson((person) => |
-
-Source Location: (34:0,34 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|person.Name|
-Generated Location: (1001:26,34 [11] )
-|person.Name|
-
-Source Location: (51:0,51 [1] x:\dir\subdir\Test\TestComponent.cshtml)
-|)|
-Generated Location: (1049:31,0 [1] )
-|)|
-
-Source Location: (67:1,12 [138] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- class Person
- {
- public string Name { get; set; }
- }
-
- object RenderPerson(RenderFragment p) => null;
-|
-Generated Location: (1196:38,12 [138] )
-|
- class Person
- {
- public string Name { get; set; }
- }
-
- object RenderPerson(RenderFragment p) => null;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.codegen.cs
deleted file mode 100644
index a9dfa2f064..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.codegen.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- RenderFragment template =
-
-#line default
-#line hidden
- (builder2) => {
- }
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- __o =
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- template
-
-#line default
-#line hidden
- ;
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.ir.txt
deleted file mode 100644
index ce6182b349..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.ir.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml) - "*, TestAssembly"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (35:1,2 [27] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (35:1,2 [27] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderFragment template =
- Template - (63:1,30 [15] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (63:1,30 [15] x:\dir\subdir\Test\TestComponent.cshtml) - div
- HtmlContent - (68:1,35 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (68:1,35 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Joey
- CSharpCode - (78:1,45 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (78:1,45 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;
- ComponentExtensionNode - (83:2,0 [33] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - - Person -
- CSharpExpression - (104:2,21 [9] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (105:2,22 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - template
- HtmlContent - (116:2,33 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (116:2,33 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.mappings.txt
deleted file mode 100644
index 4d64399583..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.mappings.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-Source Location: (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml)
-|"*, TestAssembly"|
-Generated Location: (502:15,37 [17] )
-|"*, TestAssembly"|
-
-Source Location: (35:1,2 [27] x:\dir\subdir\Test\TestComponent.cshtml)
-| RenderFragment template = |
-Generated Location: (987:28,2 [27] )
-| RenderFragment template = |
-
-Source Location: (78:1,45 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|; |
-Generated Location: (1187:35,45 [2] )
-|; |
-
-Source Location: (105:2,22 [8] x:\dir\subdir\Test\TestComponent.cshtml)
-|template|
-Generated Location: (1315:41,22 [8] )
-|template|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.codegen.cs
deleted file mode 100644
index aef1427130..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.codegen.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-__o = RenderPerson((builder2) => {
-}
-);
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- object RenderPerson(RenderFragment p) => null;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.ir.txt
deleted file mode 100644
index 99a41a7949..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.ir.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- CSharpExpression - (1:0,1 [27] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (1:0,1 [13] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderPerson(
- Template - (15:0,15 [13] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (15:0,15 [13] x:\dir\subdir\Test\TestComponent.cshtml) - div
- HtmlContent - (20:0,20 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (20:0,20 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - HI
- IntermediateToken - (28:0,28 [1] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - )
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (43:1,12 [54] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (43:1,12 [54] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n object RenderPerson(RenderFragment p) => null;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.mappings.txt
deleted file mode 100644
index 53fef3eae5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (1:0,1 [13] x:\dir\subdir\Test\TestComponent.cshtml)
-|RenderPerson(|
-Generated Location: (874:24,6 [13] )
-|RenderPerson(|
-
-Source Location: (28:0,28 [1] x:\dir\subdir\Test\TestComponent.cshtml)
-|)|
-Generated Location: (907:26,0 [1] )
-|)|
-
-Source Location: (43:1,12 [54] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- object RenderPerson(RenderFragment p) => null;
-|
-Generated Location: (1054:33,12 [54] )
-|
- object RenderPerson(RenderFragment p) => null;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_597/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_597/TestComponent.codegen.cs
deleted file mode 100644
index 866e1f96c6..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_597/TestComponent.codegen.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- y
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => y = __value, y);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- string y = null;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_597/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_597/TestComponent.ir.txt
deleted file mode 100644
index bd039a21c9..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_597/TestComponent.ir.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [22] x:\dir\subdir\Test\TestComponent.cshtml) - Counter - Test.Counter
- ComponentAttributeExtensionNode - (48:1,17 [1] x:\dir\subdir\Test\TestComponent.cshtml) - v -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (48:1,17 [1] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - y
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (48:1,17 [1] x:\dir\subdir\Test\TestComponent.cshtml) - vChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => y = __value, y)
- HtmlContent - (53:1,22 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (53:1,22 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlContent - (92:4,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (92:4,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (67:2,12 [24] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (67:2,12 [24] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n string y = null;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_597/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_597/TestComponent.mappings.txt
deleted file mode 100644
index b04372471a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_597/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (48:1,17 [1] x:\dir\subdir\Test\TestComponent.cshtml)
-|y|
-Generated Location: (1075:29,17 [1] )
-|y|
-
-Source Location: (67:2,12 [24] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- string y = null;
-|
-Generated Location: (1495:41,12 [24] )
-|
- string y = null;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_609/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_609/TestComponent.codegen.cs
deleted file mode 100644
index 825aae87ed..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_609/TestComponent.codegen.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- UserName
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => UserName = __value, UserName);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- UserIsActive
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => UserIsActive = __value, UserIsActive);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public string UserName { get; set; }
- public bool UserIsActive { get; set; }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_609/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_609/TestComponent.ir.txt
deleted file mode 100644
index 762f8737ea..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_609/TestComponent.ir.txt
+++ /dev/null
@@ -1,46 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [60] x:\dir\subdir\Test\TestComponent.cshtml) - User - Test.User
- ComponentAttributeExtensionNode - (48:1,17 [9] x:\dir\subdir\Test\TestComponent.cshtml) - Name -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (49:1,18 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - UserName
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (48:1,17 [9] x:\dir\subdir\Test\TestComponent.cshtml) - NameChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => UserName = __value, UserName)
- ComponentAttributeExtensionNode - (74:1,43 [13] x:\dir\subdir\Test\TestComponent.cshtml) - IsActive -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (75:1,44 [12] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - UserIsActive
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (74:1,43 [13] x:\dir\subdir\Test\TestComponent.cshtml) - IsActiveChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => UserIsActive = __value, UserIsActive)
- HtmlContent - (91:1,60 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (91:1,60 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlContent - (196:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (196:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (107:3,12 [88] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (107:3,12 [88] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public string UserName { get; set; }\n public bool UserIsActive { get; set; }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_609/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_609/TestComponent.mappings.txt
deleted file mode 100644
index d01e84b908..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_609/TestComponent.mappings.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (49:1,18 [8] x:\dir\subdir\Test\TestComponent.cshtml)
-|UserName|
-Generated Location: (1076:29,18 [8] )
-|UserName|
-
-Source Location: (75:1,44 [12] x:\dir\subdir\Test\TestComponent.cshtml)
-|UserIsActive|
-Generated Location: (1422:37,44 [12] )
-|UserIsActive|
-
-Source Location: (107:3,12 [88] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public string UserName { get; set; }
- public bool UserIsActive { get; set; }
-|
-Generated Location: (1875:49,12 [88] )
-|
- public string UserName { get; set; }
- public bool UserIsActive { get; set; }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.codegen.cs
deleted file mode 100644
index 4f3db087b4..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.codegen.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- [Microsoft.AspNetCore.Components.RouteAttribute("/")]
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- ((System.Action)(() => {
-global::System.Object __typeHelper = "/";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = "";
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.diagnostics.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.diagnostics.txt
deleted file mode 100644
index 57b2bc7949..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.diagnostics.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-x:\dir\subdir\Test\TestComponent.cshtml(8,2): Error RZ1035: Missing close angle for tag helper 'SurveyPrompt'.
-x:\dir\subdir\Test\TestComponent.cshtml(8,2): Error RZ1034: Found a malformed 'SurveyPrompt' tag helper. Tag helpers must have a start and end tag or be self closing.
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.ir.txt
deleted file mode 100644
index 37b5fb19ad..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- RouteAttributeExtensionNode - - /
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- DirectiveToken - (37:1,6 [3] x:\dir\subdir\Test\TestComponent.cshtml) - "/"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlContent - (42:2,0 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (42:2,0 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (44:3,0 [22] x:\dir\subdir\Test\TestComponent.cshtml) - h1
- HtmlContent - (48:3,4 [13] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (48:3,4 [13] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hello, world!
- HtmlContent - (66:3,22 [32] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (66:3,22 [32] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\nWelcome to your new app.\n\n
- ComponentExtensionNode - (98:7,0 [23] x:\dir\subdir\Test\TestComponent.cshtml) - SurveyPrompt - Test.SurveyPrompt
- ComponentAttributeExtensionNode - (119:7,21 [0] x:\dir\subdir\Test\TestComponent.cshtml) - Title - Title
- HtmlContent - (119:7,21 [0] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (119:7,21 [0] x:\dir\subdir\Test\TestComponent.cshtml) - Html -
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.mappings.txt
deleted file mode 100644
index a9b5edf72a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (562:16,38 [15] )
-|*, TestAssembly|
-
-Source Location: (37:1,6 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|"/"|
-Generated Location: (678:20,37 [3] )
-|"/"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_773/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_773/TestComponent.codegen.cs
deleted file mode 100644
index 4f3db087b4..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_773/TestComponent.codegen.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- [Microsoft.AspNetCore.Components.RouteAttribute("/")]
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- ((System.Action)(() => {
-global::System.Object __typeHelper = "/";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = "";
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_773/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_773/TestComponent.ir.txt
deleted file mode 100644
index 8e11bee99a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_773/TestComponent.ir.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- RouteAttributeExtensionNode - - /
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- DirectiveToken - (37:1,6 [3] x:\dir\subdir\Test\TestComponent.cshtml) - "/"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlContent - (42:2,0 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (42:2,0 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (44:3,0 [22] x:\dir\subdir\Test\TestComponent.cshtml) - h1
- HtmlContent - (48:3,4 [13] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (48:3,4 [13] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hello, world!
- HtmlContent - (66:3,22 [32] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (66:3,22 [32] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\nWelcome to your new app.\n\n
- ComponentExtensionNode - (98:7,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - SurveyPrompt - Test.SurveyPrompt
- ComponentAttributeExtensionNode - (119:7,21 [16] x:\dir\subdir\Test\TestComponent.cshtml) - Title - Title
- HtmlContent - (119:7,21 [16] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (119:7,21 [16] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Test!
- HtmlContent - (139:7,41 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (139:7,41 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_773/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_773/TestComponent.mappings.txt
deleted file mode 100644
index a9b5edf72a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_773/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (562:16,38 [15] )
-|*, TestAssembly|
-
-Source Location: (37:1,6 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|"/"|
-Generated Location: (678:20,37 [3] )
-|"/"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_784/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_784/TestComponent.codegen.cs
deleted file mode 100644
index e27aca9ed6..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_784/TestComponent.codegen.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(OnComponentHover);
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = ParentBgColor;
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public string ParentBgColor { get; set; } = "#FFFFFF";
-
- public void OnComponentHover(UIMouseEventArgs e)
- {
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_784/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_784/TestComponent.ir.txt
deleted file mode 100644
index f05985b010..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_784/TestComponent.ir.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [73] x:\dir\subdir\Test\TestComponent.cshtml) - p
- HtmlAttribute - (16:0,16 [17] x:\dir\subdir\Test\TestComponent.cshtml) - onmouseover=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (17:0,17 [16] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnComponentHover
- IntermediateToken - - CSharp - )
- HtmlAttribute - - style=" - "
- HtmlAttributeValue - (42:0,42 [11] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (42:0,42 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Html - background:
- CSharpExpressionAttributeValue - (53:0,53 [15] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (55:0,55 [13] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentBgColor
- HtmlAttributeValue - (68:0,68 [1] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (68:0,68 [1] x:\dir\subdir\Test\TestComponent.cshtml) - Html - ;
- HtmlContent - (73:0,73 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (73:0,73 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlContent - (220:7,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (220:7,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (87:1,12 [132] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (87:1,12 [132] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public string ParentBgColor { get; set; } = "#FFFFFF";\n\n public void OnComponentHover(UIMouseEventArgs e)\n {\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_784/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_784/TestComponent.mappings.txt
deleted file mode 100644
index dfe4ea339c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_784/TestComponent.mappings.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Source Location: (17:0,17 [16] x:\dir\subdir\Test\TestComponent.cshtml)
-|OnComponentHover|
-Generated Location: (950:23,133 [16] )
-|OnComponentHover|
-
-Source Location: (55:0,55 [13] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentBgColor|
-Generated Location: (1076:25,55 [13] )
-|ParentBgColor|
-
-Source Location: (87:1,12 [132] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public string ParentBgColor { get; set; } = "#FFFFFF";
-
- public void OnComponentHover(UIMouseEventArgs e)
- {
- }
-|
-Generated Location: (1235:32,12 [132] )
-|
- public string ParentBgColor { get; set; } = "#FFFFFF";
-
- public void OnComponentHover(UIMouseEventArgs e)
- {
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ScriptTag_WithErrorSuppressed/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ScriptTag_WithErrorSuppressed/TestComponent.codegen.cs
deleted file mode 100644
index 919a59d52a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ScriptTag_WithErrorSuppressed/TestComponent.codegen.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ScriptTag_WithErrorSuppressed/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ScriptTag_WithErrorSuppressed/TestComponent.ir.txt
deleted file mode 100644
index 50d67b6e07..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ScriptTag_WithErrorSuppressed/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [144] x:\dir\subdir\Test\TestComponent.cshtml) - div
- HtmlContent - (5:0,5 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (5:0,5 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (11:1,4 [125] x:\dir\subdir\Test\TestComponent.cshtml) - script
- HtmlAttribute - - -
- HtmlAttributeValue - -
- IntermediateToken - - Html - some/url.js
- HtmlAttribute - - -
- HtmlAttributeValue - -
- IntermediateToken - - Html -
- HtmlContent - (78:1,71 [49] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (78:1,71 [49] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n some text\n some more text\n
- HtmlContent - (136:4,13 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (136:4,13 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlContent - (144:5,6 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (144:5,6 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
deleted file mode 100644
index a041c175f6..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-__o = "My value";
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.ir.txt
deleted file mode 100644
index e35b51185f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.ir.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [14] x:\dir\subdir\Test\TestComponent.cshtml) - h1
- HtmlContent - (4:0,4 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (4:0,4 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hello
- HtmlContent - (14:0,14 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (14:0,14 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- CSharpExpression - (20:2,2 [10] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (20:2,2 [10] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "My value"
- HtmlContent - (31:2,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (31:2,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
deleted file mode 100644
index 1184d613a7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (20:2,2 [10] x:\dir\subdir\Test\TestComponent.cshtml)
-|"My value"|
-Generated Location: (874:24,6 [10] )
-|"My value"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.codegen.cs
deleted file mode 100644
index 3c8fef1074..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.ir.txt
deleted file mode 100644
index f837db0a99..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.ir.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [14] x:\dir\subdir\Test\TestComponent.cshtml) - h1
- HtmlContent - (35:1,4 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (35:1,4 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hello
- HtmlContent - (45:1,14 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (45:1,14 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- ComponentExtensionNode - (49:3,0 [22] x:\dir\subdir\Test\TestComponent.cshtml) - SomeOtherComponent - Test.SomeOtherComponent
- HtmlContent - (71:3,22 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (71:3,22 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.mappings.txt
deleted file mode 100644
index 3917573adf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.codegen.cs
deleted file mode 100644
index 138dcf99f7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.codegen.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- [Microsoft.AspNetCore.Components.RouteAttribute("/my/url")]
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "/my/url";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.ir.txt
deleted file mode 100644
index d220046235..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.ir.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- RouteAttributeExtensionNode - - /my/url
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (24:2,6 [9] x:\dir\subdir\Test\TestComponent.cshtml) - "/my/url"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [14] x:\dir\subdir\Test\TestComponent.cshtml) - h1
- HtmlContent - (4:0,4 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (4:0,4 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hello
- HtmlContent - (14:0,14 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (14:0,14 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlContent - (35:3,0 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (35:3,0 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.mappings.txt
deleted file mode 100644
index 1b7602da30..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (24:2,6 [9] x:\dir\subdir\Test\TestComponent.cshtml)
-|"/my/url"|
-Generated Location: (567:16,37 [9] )
-|"/my/url"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.codegen.cs
deleted file mode 100644
index 7334305407..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.codegen.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Microsoft.AspNetCore.Components;
- using System.Threading.Tasks;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "onclick", Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue("async (e) => await Task.Delay(10)"));
- builder.CloseElement();
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.ir.txt
deleted file mode 100644
index 98688cef84..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.ir.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- UsingDirective - (1:0,1 [30] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [53] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (47:1,16 [33] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - - CSharp - "async (e) => await Task.Delay(10)"
- IntermediateToken - - CSharp - )
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.codegen.cs
deleted file mode 100644
index ee72b453c7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.codegen.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Microsoft.AspNetCore.Components;
- using System.Threading.Tasks;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "onclick", Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(OnClick));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- Task OnClick(UIMouseEventArgs e)
- {
- return Task.CompletedTask;
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.ir.txt
deleted file mode 100644
index b24c7a572d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.ir.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- UsingDirective - (1:0,1 [30] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (47:1,16 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
- IntermediateToken - - CSharp - )
- CSharpCode - (73:2,12 [91] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (73:2,12 [91] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n Task OnClick(UIMouseEventArgs e) \n {\n return Task.CompletedTask;\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.mappings.txt
deleted file mode 100644
index 5bada6842b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.mappings.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-Source Location: (73:2,12 [91] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- Task OnClick(UIMouseEventArgs e)
- {
- return Task.CompletedTask;
- }
-|
-Generated Location: (918:22,12 [91] )
-|
- Task OnClick(UIMouseEventArgs e)
- {
- return Task.CompletedTask;
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.codegen.cs
deleted file mode 100644
index 7334305407..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.codegen.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Microsoft.AspNetCore.Components;
- using System.Threading.Tasks;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "onclick", Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue("async (e) => await Task.Delay(10)"));
- builder.CloseElement();
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.ir.txt
deleted file mode 100644
index 98688cef84..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.ir.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- UsingDirective - (1:0,1 [30] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [53] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (47:1,16 [33] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - - CSharp - "async (e) => await Task.Delay(10)"
- IntermediateToken - - CSharp - )
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.codegen.cs
deleted file mode 100644
index 66065b377c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.codegen.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Microsoft.AspNetCore.Components;
- using System.Threading.Tasks;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "onclick", Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(OnClick));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- Task OnClick()
- {
- return Task.CompletedTask;
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.ir.txt
deleted file mode 100644
index b1f0a37924..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.ir.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- UsingDirective - (1:0,1 [30] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (47:1,16 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
- IntermediateToken - - CSharp - )
- CSharpCode - (73:2,12 [73] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (73:2,12 [73] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n Task OnClick() \n {\n return Task.CompletedTask;\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.mappings.txt
deleted file mode 100644
index f459f65370..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.mappings.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-Source Location: (73:2,12 [73] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- Task OnClick()
- {
- return Task.CompletedTask;
- }
-|
-Generated Location: (918:22,12 [73] )
-|
- Task OnClick()
- {
- return Task.CompletedTask;
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index 1024358967..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenComponent(0);
- builder.AddAttribute(1, "Value", Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue)));
- builder.AddAttribute(2, "OnChanged", new System.Action(__value => ParentValue = __value));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index 828e856cc5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [50] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - Value
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - OnChanged - OnChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => ParentValue = __value
- CSharpCode - (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index 39e5375176..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1061:23,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index e7807b0bac..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenComponent(0);
- builder.AddAttribute(1, "Value", Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue));
- builder.AddAttribute(2, "OnChanged", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index 8381d3fa92..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [50] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - OnChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- CSharpCode - (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index 33a43a37f3..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1030:23,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index 5a8c21bf6d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenComponent(0);
- builder.AddAttribute(1, "Value", Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue)));
- builder.AddAttribute(2, "ValueChanged", new System.Action(__value => ParentValue = __value));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index fe38f2c035..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [40] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - Value
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - ValueChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => ParentValue = __value
- CSharpCode - (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index ab302becd2..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1064:23,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index c444fed0d0..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenComponent(0);
- builder.AddAttribute(1, "Value", Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue));
- builder.AddAttribute(2, "ValueChanged", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index 27e972b7bf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [40] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- CSharpCode - (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index 791d24c7dc..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1033:23,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index bb98cf1889..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenComponent(0);
- builder.AddAttribute(1, "Value", Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue)));
- builder.AddAttribute(2, "ValueChanged", new System.Action(__value => ParentValue = __value));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public string ParentValue { get; set; } = "42";
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index c1dbbf4635..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [40] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - Value
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - ValueChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => ParentValue = __value
- CSharpCode - (85:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (85:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public string ParentValue { get; set; } = "42";\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index 2504e46ac7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (85:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public string ParentValue { get; set; } = "42";
-|
-Generated Location: (1064:23,12 [55] )
-|
- public string ParentValue { get; set; } = "42";
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index f12516fd5e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "type", "text");
- builder.AddAttribute(2, "value", Microsoft.AspNetCore.Components.BindMethods.GetValue(CurrentDate, "MM/dd"));
- builder.AddAttribute(3, "onchange", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, "MM/dd"));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 6db3eedcb5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [77] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (71:1,40 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (72:1,41 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
- IntermediateToken - - CSharp - ,
- IntermediateToken - - CSharp - "MM/dd"
- IntermediateToken - - CSharp - )
- HtmlAttribute - (71:1,40 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, "MM/dd")
- CSharpCode - (122:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (122:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index d1cbd5da55..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (122:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-|
-Generated Location: (1088:24,12 [77] )
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index c46a006cef..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "type", "text");
- builder.AddAttribute(2, "value", Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue));
- builder.AddAttribute(3, "onchange", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index d2f4a5ac3d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [56] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (71:1,40 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (72:1,41 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (71:1,40 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- CSharpCode - (101:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (101:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index 2aff49febc..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (101:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1070:24,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 29f0c99c5d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "div");
- builder.AddAttribute(1, "myvalue", Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue));
- builder.AddAttribute(2, "myevent", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public string ParentValue { get; set; } = "hi";
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 55cbf4c344..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [33] x:\dir\subdir\Test\TestComponent.cshtml) - div
- HtmlAttribute - (48:1,17 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myvalue=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (49:1,18 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (48:1,17 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myevent=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- CSharpCode - (78:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (78:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public string ParentValue { get; set; } = "hi";\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index babd720e35..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (78:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public string ParentValue { get; set; } = "hi";
-|
-Generated Location: (1015:23,12 [55] )
-|
- public string ParentValue { get; set; } = "hi";
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 29f0c99c5d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "div");
- builder.AddAttribute(1, "myvalue", Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue));
- builder.AddAttribute(2, "myevent", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public string ParentValue { get; set; } = "hi";
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 22ff3383df..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [27] x:\dir\subdir\Test\TestComponent.cshtml) - div
- HtmlAttribute - (42:1,11 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myvalue=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (43:1,12 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (42:1,11 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myevent=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- CSharpCode - (72:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (72:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public string ParentValue { get; set; } = "hi";\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index c8ff92005e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (72:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public string ParentValue { get; set; } = "hi";
-|
-Generated Location: (1015:23,12 [55] )
-|
- public string ParentValue { get; set; } = "hi";
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 0213a46786..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- RenderFragment header = (context) =>
-
-#line default
-#line hidden
- (builder2) => {
- builder2.OpenElement(0, "div");
- builder2.AddContent(1, context.ToLowerInvariant());
- builder2.CloseElement();
- }
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- builder.OpenComponent(2);
- builder.AddAttribute(3, "Header", new Microsoft.AspNetCore.Components.RenderFragment(header));
- builder.AddAttribute(4, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- builder2.AddContent(5, "\n Some Content\n");
- }
- ));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.ir.txt
deleted file mode 100644
index 15c209e72c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- CSharpCode - (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderFragment header = (context) =>
- Template - (80:1,49 [37] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (80:1,49 [38] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLowerInvariant()
- CSharpCode - (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;
- ComponentExtensionNode - (123:2,0 [62] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlContent - (151:2,28 [20] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (151:2,28 [20] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n Some Content\n
- ComponentAttributeExtensionNode - (143:2,20 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Header - Header
- CSharpExpression - (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - header
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 5e6eb01dfa..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
-| RenderFragment header = (context) => |
-Generated Location: (602:17,2 [46] )
-| RenderFragment header = (context) => |
-
-Source Location: (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|; |
-Generated Location: (1023:27,87 [2] )
-|; |
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 0de09fc2a2..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- RenderFragment header = (context) =>
-
-#line default
-#line hidden
- (builder2) => {
- builder2.OpenElement(0, "div");
- builder2.AddContent(1, context.ToLowerInvariant());
- builder2.CloseElement();
- }
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- builder.OpenComponent(2);
- builder.AddAttribute(3, "Header", new Microsoft.AspNetCore.Components.RenderFragment(header));
- builder.AddAttribute(4, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- builder2.AddContent(5, "Some Content");
- }
- ));
- builder.AddAttribute(6, "Footer", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- builder2.AddContent(7, "Bye!");
- }
- ));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.ir.txt
deleted file mode 100644
index dd0662b682..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- CSharpCode - (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderFragment header = (context) =>
- Template - (80:1,49 [37] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (80:1,49 [38] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLowerInvariant()
- CSharpCode - (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;
- ComponentExtensionNode - (123:2,0 [114] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - (155:3,2 [41] x:\dir\subdir\Test\TestComponent.cshtml) - ChildContent
- HtmlContent - (169:3,16 [12] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (169:3,16 [12] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Some Content
- ComponentChildContent - (200:4,2 [21] x:\dir\subdir\Test\TestComponent.cshtml) - Footer
- HtmlContent - (208:4,10 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (208:4,10 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Bye!
- ComponentAttributeExtensionNode - (143:2,20 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Header - Header
- CSharpExpression - (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - header
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 5e6eb01dfa..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
-| RenderFragment header = (context) => |
-Generated Location: (602:17,2 [46] )
-| RenderFragment header = (context) => |
-
-Source Location: (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|; |
-Generated Location: (1023:27,87 [2] )
-|; |
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 0b3d4b0115..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "type", "checkbox");
- builder.AddAttribute(2, "checked", Microsoft.AspNetCore.Components.BindMethods.GetValue(Enabled));
- builder.AddAttribute(3, "onchange", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Enabled = __value, Enabled));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public bool Enabled { get; set; }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 2b48165ac5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [8] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [8] x:\dir\subdir\Test\TestComponent.cshtml) - Html - checkbox
- HtmlAttribute - (60:1,29 [8] x:\dir\subdir\Test\TestComponent.cshtml) - checked=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (61:1,30 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Enabled
- IntermediateToken - - CSharp - )
- HtmlAttribute - (60:1,29 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Enabled = __value, Enabled)
- CSharpCode - (86:2,12 [41] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:2,12 [41] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public bool Enabled { get; set; }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index dcc4eef3a2..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (86:2,12 [41] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public bool Enabled { get; set; }
-|
-Generated Location: (1064:24,12 [41] )
-|
- public bool Enabled { get; set; }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index d347475c38..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "type", "text");
- builder.AddAttribute(2, "value", Microsoft.AspNetCore.Components.BindMethods.GetValue(CurrentDate, Format));
- builder.AddAttribute(3, "onchange", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, Format));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
- public string Format { get; set; } = "MM/dd/yyyy";
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 5540459507..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [63] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (57:1,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
- IntermediateToken - - CSharp - ,
- IntermediateToken - (85:1,54 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Format
- IntermediateToken - - CSharp - )
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, Format)
- CSharpCode - (108:2,12 [135] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (108:2,12 [135] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);\n\n public string Format { get; set; } = "MM/dd/yyyy";\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index 40918f657f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-Source Location: (108:2,12 [135] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
- public string Format { get; set; } = "MM/dd/yyyy";
-|
-Generated Location: (1086:24,12 [135] )
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
- public string Format { get; set; } = "MM/dd/yyyy";
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 415e7664c9..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "type", "text");
- builder.AddAttribute(2, "value", Microsoft.AspNetCore.Components.BindMethods.GetValue(CurrentDate, "MM/dd/yyyy"));
- builder.AddAttribute(3, "onchange", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, "MM/dd/yyyy"));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index dc862daa4b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [66] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (57:1,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
- IntermediateToken - - CSharp - ,
- IntermediateToken - - CSharp - "MM/dd/yyyy"
- IntermediateToken - - CSharp - )
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, "MM/dd/yyyy")
- CSharpCode - (111:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (111:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index 1096d43fa1..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (111:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-|
-Generated Location: (1098:24,12 [77] )
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index c46a006cef..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "type", "text");
- builder.AddAttribute(2, "value", Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue));
- builder.AddAttribute(3, "onchange", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index c935b42bd5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (57:1,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- CSharpCode - (86:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index aa078259ce..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (86:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1070:24,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 28468ad17a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "value", Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue));
- builder.AddAttribute(2, "onchange", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 5ffdd8b1d7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [29] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (44:1,13 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (45:1,14 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (44:1,13 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- CSharpCode - (74:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (74:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index f3ac3c4290..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (74:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1016:23,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic/TestComponent.codegen.cs
deleted file mode 100644
index 847cb43fac..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic/TestComponent.codegen.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenComponent>(0);
- builder.AddAttribute(1, "Item", Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck("hi"));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic/TestComponent.ir.txt
deleted file mode 100644
index 9fba5ff2bf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic/TestComponent.ir.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [42] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentTypeArgumentExtensionNode - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentAttributeExtensionNode - (63:1,32 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (64:1,33 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.codegen.cs
deleted file mode 100644
index 164ee4e0ef..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenComponent>(0);
- builder.AddAttribute(1, "Item", Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(Microsoft.AspNetCore.Components.BindMethods.GetValue(Value)));
- builder.AddAttribute(2, "ItemChanged", new System.Action(__value => Value = __value));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- string Value;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.ir.txt
deleted file mode 100644
index a0bade6d00..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.ir.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [43] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentTypeArgumentExtensionNode - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentAttributeExtensionNode - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Value
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - ItemChanged - ItemChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => Value = __value
- CSharpCode - (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n string Value;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.mappings.txt
deleted file mode 100644
index a8c3e765da..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- string Value;
-|
-Generated Location: (1046:23,12 [21] )
-|
- string Value;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.codegen.cs
deleted file mode 100644
index faa5f80265..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//