зеркало из https://github.com/dotnet/razor.git
Merge main to tokenizer branch (#10872)
Will call out the merge locations.
This commit is contained in:
Коммит
87dafafe72
|
@ -39,6 +39,9 @@ dotnet_separate_import_directive_groups = false
|
|||
# IDE0005 - Remove unnecessary imports
|
||||
dotnet_diagnostic.IDE0005.severity = warning
|
||||
|
||||
# IDE0052 - Private member can be removed
|
||||
dotnet_diagnostic.IDE0052.severity = warning
|
||||
|
||||
# IDE0046: If expression can be simplified
|
||||
dotnet_style_prefer_conditional_expression_over_return = false:silent
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
here should be _ prefixed to indicate that they are not meant to be used outside this file.
|
||||
-->
|
||||
<PropertyGroup>
|
||||
<_MicrosoftWebToolsPackageVersion>17.9.67-preview-0001</_MicrosoftWebToolsPackageVersion>
|
||||
<_MicrosoftWebToolsPackageVersion>17.11.11-preview-0001</_MicrosoftWebToolsPackageVersion>
|
||||
<_MicrosoftVisualStudioShellPackagesVersion>17.11.39721</_MicrosoftVisualStudioShellPackagesVersion>
|
||||
<_MicrosoftVisualStudioPackagesVersion>17.11.191</_MicrosoftVisualStudioPackagesVersion>
|
||||
<_VisualStudioLanguageServerProtocolVersion>17.12.1-preview</_VisualStudioLanguageServerProtocolVersion>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<clear />
|
||||
|
|
|
@ -6,87 +6,87 @@
|
|||
<Sha>839cdfb0ecca5e0be3dbccd926e7651ef50fdf10</Sha>
|
||||
</Dependency>
|
||||
<!-- Intermediate is necessary for source build. -->
|
||||
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="9.0.0-alpha.1.24304.1">
|
||||
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="10.0.0-alpha.1.24455.1">
|
||||
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
|
||||
<Sha>9ae78a4e6412926d19ba97cfed159bf9de70b538</Sha>
|
||||
<Sha>ad3c9aa85596f42c6a483233c50fab8cee8c412a</Sha>
|
||||
<SourceBuild RepoName="source-build-reference-packages" ManagedOnly="true" />
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.CommonLanguageServerProtocol.Framework" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.CommonLanguageServerProtocol.Framework" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.CodeAnalysis.ExternalAccess.Razor" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.CodeAnalysis.ExternalAccess.Razor" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.CodeAnalysis.Common" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.CodeAnalysis.Common" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.CodeAnalysis.CSharp" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.CodeAnalysis.CSharp" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.CodeAnalysis.CSharp.EditorFeatures" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.CodeAnalysis.CSharp.EditorFeatures" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.CodeAnalysis.CSharp.Features" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.CodeAnalysis.CSharp.Features" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures.Common" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures.Common" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures.Text" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures.Text" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures.Wpf" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures.Wpf" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.CodeAnalysis.Remote.ServiceHub" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.CodeAnalysis.Remote.ServiceHub" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.CodeAnalysis.VisualBasic.Workspaces" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.CodeAnalysis.VisualBasic.Workspaces" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.CodeAnalysis.Workspaces.Common" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.CodeAnalysis.Workspaces.Common" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.VisualStudio.LanguageServices" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.VisualStudio.LanguageServices" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.CodeAnalysis.Test.Utilities" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.CodeAnalysis.Test.Utilities" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
</Dependency>
|
||||
<!-- Intermediate is necessary for source build. -->
|
||||
<Dependency Name="Microsoft.SourceBuild.Intermediate.roslyn" Version="4.12.0-2.24419.3">
|
||||
<Dependency Name="Microsoft.SourceBuild.Intermediate.roslyn" Version="4.12.0-3.24454.5">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
<Sha>0ec44d9775c80a6861b811d8af637ee36e3315e1</Sha>
|
||||
<Sha>9f86520c46f67d2a8a59af189f8fd87e35c574bb</Sha>
|
||||
<SourceBuild RepoName="roslyn" ManagedOnly="true" />
|
||||
</Dependency>
|
||||
</ProductDependencies>
|
||||
|
@ -96,14 +96,14 @@
|
|||
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-runtime</Uri>
|
||||
<Sha>3a25a7f1cc446b60678ed25c9d829420d6321eba</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.24352.2">
|
||||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.24453.1">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>4a7d983f833d6b86365ea1b2b4d6ee72fbdbf944</Sha>
|
||||
<Sha>dd332f2d4e21daa8b79f84251ab156af9a0b11b2</Sha>
|
||||
</Dependency>
|
||||
<!-- Intermediate is necessary for source build. -->
|
||||
<Dependency Name="Microsoft.SourceBuild.Intermediate.arcade" Version="9.0.0-beta.24352.2">
|
||||
<Dependency Name="Microsoft.SourceBuild.Intermediate.arcade" Version="9.0.0-beta.24453.1">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>4a7d983f833d6b86365ea1b2b4d6ee72fbdbf944</Sha>
|
||||
<Sha>dd332f2d4e21daa8b79f84251ab156af9a0b11b2</Sha>
|
||||
<SourceBuild RepoName="arcade" ManagedOnly="true" />
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="1.0.0-beta.23475.1" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
imported. This OK because we want to just have an obvious salt for a local build.
|
||||
-->
|
||||
<PropertyGroup>
|
||||
<VsixVersionPrefix>17.12.2</VsixVersionPrefix>
|
||||
<VsixVersionPrefix>17.12.3</VsixVersionPrefix>
|
||||
<AddinMajorVersion>17.12</AddinMajorVersion>
|
||||
<AddinVersion>$(AddinMajorVersion)</AddinVersion>
|
||||
<AddinVersion Condition="'$(OfficialBuildId)' != ''">$(AddinVersion).$(OfficialBuildId)</AddinVersion>
|
||||
|
@ -49,29 +49,29 @@
|
|||
<PropertyGroup Label="Automated">
|
||||
<MicrosoftNETCoreBrowserDebugHostTransportPackageVersion>6.0.2-servicing.22064.6</MicrosoftNETCoreBrowserDebugHostTransportPackageVersion>
|
||||
<MicrosoftNETCorePlatformsPackageVersion>6.0.1</MicrosoftNETCorePlatformsPackageVersion>
|
||||
<MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion>9.0.0-alpha.1.24304.1</MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion>
|
||||
<MicrosoftSourceBuildIntermediatearcadePackageVersion>9.0.0-beta.24352.2</MicrosoftSourceBuildIntermediatearcadePackageVersion>
|
||||
<MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion>10.0.0-alpha.1.24455.1</MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion>
|
||||
<MicrosoftSourceBuildIntermediatearcadePackageVersion>9.0.0-beta.24453.1</MicrosoftSourceBuildIntermediatearcadePackageVersion>
|
||||
<MicrosoftDotNetXliffTasksPackageVersion>1.0.0-beta.23475.1</MicrosoftDotNetXliffTasksPackageVersion>
|
||||
<MicrosoftSourceBuildIntermediatexlifftasksPackageVersion>1.0.0-beta.23475.1</MicrosoftSourceBuildIntermediatexlifftasksPackageVersion>
|
||||
<MicrosoftNetCompilersToolsetPackageVersion>4.12.0-2.24419.3</MicrosoftNetCompilersToolsetPackageVersion>
|
||||
<MicrosoftCommonLanguageServerProtocolFrameworkPackageVersion>4.12.0-2.24419.3</MicrosoftCommonLanguageServerProtocolFrameworkPackageVersion>
|
||||
<MicrosoftCodeAnalysisExternalAccessRazorPackageVersion>4.12.0-2.24419.3</MicrosoftCodeAnalysisExternalAccessRazorPackageVersion>
|
||||
<MicrosoftCodeAnalysisCommonPackageVersion>4.12.0-2.24419.3</MicrosoftCodeAnalysisCommonPackageVersion>
|
||||
<MicrosoftCodeAnalysisCSharpPackageVersion>4.12.0-2.24419.3</MicrosoftCodeAnalysisCSharpPackageVersion>
|
||||
<MicrosoftCodeAnalysisCSharpEditorFeaturesPackageVersion>4.12.0-2.24419.3</MicrosoftCodeAnalysisCSharpEditorFeaturesPackageVersion>
|
||||
<MicrosoftCodeAnalysisCSharpFeaturesPackageVersion>4.12.0-2.24419.3</MicrosoftCodeAnalysisCSharpFeaturesPackageVersion>
|
||||
<MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion>4.12.0-2.24419.3</MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion>
|
||||
<MicrosoftCodeAnalysisEditorFeaturesPackageVersion>4.12.0-2.24419.3</MicrosoftCodeAnalysisEditorFeaturesPackageVersion>
|
||||
<MicrosoftCodeAnalysisEditorFeaturesCommonPackageVersion>4.12.0-2.24419.3</MicrosoftCodeAnalysisEditorFeaturesCommonPackageVersion>
|
||||
<MicrosoftCodeAnalysisEditorFeaturesTextPackageVersion>4.12.0-2.24419.3</MicrosoftCodeAnalysisEditorFeaturesTextPackageVersion>
|
||||
<MicrosoftCodeAnalysisEditorFeaturesWpfPackageVersion>4.12.0-2.24419.3</MicrosoftCodeAnalysisEditorFeaturesWpfPackageVersion>
|
||||
<MicrosoftCodeAnalysisRemoteServiceHubPackageVersion>4.12.0-2.24419.3</MicrosoftCodeAnalysisRemoteServiceHubPackageVersion>
|
||||
<MicrosoftCodeAnalysisTestUtilitiesPackageVersion>4.12.0-2.24419.3</MicrosoftCodeAnalysisTestUtilitiesPackageVersion>
|
||||
<MicrosoftCodeAnalysisVisualBasicWorkspacesPackageVersion>4.12.0-2.24419.3</MicrosoftCodeAnalysisVisualBasicWorkspacesPackageVersion>
|
||||
<MicrosoftCodeAnalysisWorkspacesCommonPackageVersion>4.12.0-2.24419.3</MicrosoftCodeAnalysisWorkspacesCommonPackageVersion>
|
||||
<MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion>4.12.0-2.24419.3</MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion>
|
||||
<MicrosoftSourceBuildIntermediateroslynPackageVersion>4.12.0-2.24419.3</MicrosoftSourceBuildIntermediateroslynPackageVersion>
|
||||
<MicrosoftVisualStudioLanguageServicesPackageVersion>4.12.0-2.24419.3</MicrosoftVisualStudioLanguageServicesPackageVersion>
|
||||
<MicrosoftNetCompilersToolsetPackageVersion>4.12.0-3.24454.5</MicrosoftNetCompilersToolsetPackageVersion>
|
||||
<MicrosoftCommonLanguageServerProtocolFrameworkPackageVersion>4.12.0-3.24454.5</MicrosoftCommonLanguageServerProtocolFrameworkPackageVersion>
|
||||
<MicrosoftCodeAnalysisExternalAccessRazorPackageVersion>4.12.0-3.24454.5</MicrosoftCodeAnalysisExternalAccessRazorPackageVersion>
|
||||
<MicrosoftCodeAnalysisCommonPackageVersion>4.12.0-3.24454.5</MicrosoftCodeAnalysisCommonPackageVersion>
|
||||
<MicrosoftCodeAnalysisCSharpPackageVersion>4.12.0-3.24454.5</MicrosoftCodeAnalysisCSharpPackageVersion>
|
||||
<MicrosoftCodeAnalysisCSharpEditorFeaturesPackageVersion>4.12.0-3.24454.5</MicrosoftCodeAnalysisCSharpEditorFeaturesPackageVersion>
|
||||
<MicrosoftCodeAnalysisCSharpFeaturesPackageVersion>4.12.0-3.24454.5</MicrosoftCodeAnalysisCSharpFeaturesPackageVersion>
|
||||
<MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion>4.12.0-3.24454.5</MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion>
|
||||
<MicrosoftCodeAnalysisEditorFeaturesPackageVersion>4.12.0-3.24454.5</MicrosoftCodeAnalysisEditorFeaturesPackageVersion>
|
||||
<MicrosoftCodeAnalysisEditorFeaturesCommonPackageVersion>4.12.0-3.24454.5</MicrosoftCodeAnalysisEditorFeaturesCommonPackageVersion>
|
||||
<MicrosoftCodeAnalysisEditorFeaturesTextPackageVersion>4.12.0-3.24454.5</MicrosoftCodeAnalysisEditorFeaturesTextPackageVersion>
|
||||
<MicrosoftCodeAnalysisEditorFeaturesWpfPackageVersion>4.12.0-3.24454.5</MicrosoftCodeAnalysisEditorFeaturesWpfPackageVersion>
|
||||
<MicrosoftCodeAnalysisRemoteServiceHubPackageVersion>4.12.0-3.24454.5</MicrosoftCodeAnalysisRemoteServiceHubPackageVersion>
|
||||
<MicrosoftCodeAnalysisTestUtilitiesPackageVersion>4.12.0-3.24454.5</MicrosoftCodeAnalysisTestUtilitiesPackageVersion>
|
||||
<MicrosoftCodeAnalysisVisualBasicWorkspacesPackageVersion>4.12.0-3.24454.5</MicrosoftCodeAnalysisVisualBasicWorkspacesPackageVersion>
|
||||
<MicrosoftCodeAnalysisWorkspacesCommonPackageVersion>4.12.0-3.24454.5</MicrosoftCodeAnalysisWorkspacesCommonPackageVersion>
|
||||
<MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion>4.12.0-3.24454.5</MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion>
|
||||
<MicrosoftSourceBuildIntermediateroslynPackageVersion>4.12.0-3.24454.5</MicrosoftSourceBuildIntermediateroslynPackageVersion>
|
||||
<MicrosoftVisualStudioLanguageServicesPackageVersion>4.12.0-3.24454.5</MicrosoftVisualStudioLanguageServicesPackageVersion>
|
||||
<!--
|
||||
Exception - Microsoft.Extensions.ObjectPool and System.Collections.Immutable packages are not updated by automation,
|
||||
but are present in Version.Details.xml for source-build PVP flow. See the comment in Version.Details.xml for more information.
|
||||
|
|
|
@ -157,7 +157,7 @@ if ($dotnet31Source -ne $null) {
|
|||
AddPackageSource -Sources $sources -SourceName "dotnet3.1-internal-transport" -SourceEndPoint "https://pkgs.dev.azure.com/dnceng/_packaging/dotnet3.1-internal-transport/nuget/v2" -Creds $creds -Username $userName -pwd $Password
|
||||
}
|
||||
|
||||
$dotnetVersions = @('5','6','7','8')
|
||||
$dotnetVersions = @('5','6','7','8','9')
|
||||
|
||||
foreach ($dotnetVersion in $dotnetVersions) {
|
||||
$feedPrefix = "dotnet" + $dotnetVersion;
|
||||
|
|
|
@ -99,7 +99,7 @@ if [ "$?" == "0" ]; then
|
|||
PackageSources+=('dotnet3.1-internal-transport')
|
||||
fi
|
||||
|
||||
DotNetVersions=('5' '6' '7' '8')
|
||||
DotNetVersions=('5' '6' '7' '8' '9')
|
||||
|
||||
for DotNetVersion in ${DotNetVersions[@]} ; do
|
||||
FeedPrefix="dotnet${DotNetVersion}";
|
||||
|
|
|
@ -33,11 +33,6 @@ parameters:
|
|||
artifactPublishSteps: []
|
||||
runAsPublic: false
|
||||
|
||||
# Sbom related params
|
||||
enableSbom: true
|
||||
PackageVersion: 9.0.0
|
||||
BuildDropPath: '$(Build.SourcesDirectory)/artifacts'
|
||||
|
||||
# 1es specific parameters
|
||||
is1ESPipeline: ''
|
||||
|
||||
|
|
|
@ -113,6 +113,13 @@ jobs:
|
|||
Add-Content -Path $filePath -Value "$(DefaultChannels)"
|
||||
Add-Content -Path $filePath -Value $(IsStableBuild)
|
||||
|
||||
$symbolExclusionfile = "$(Build.SourcesDirectory)/eng/SymbolPublishingExclusionsFile.txt"
|
||||
if (Test-Path -Path $symbolExclusionfile)
|
||||
{
|
||||
Write-Host "SymbolExclusionFile exists"
|
||||
Copy-Item -Path $symbolExclusionfile -Destination "$(Build.StagingDirectory)/ReleaseConfigs"
|
||||
}
|
||||
|
||||
- template: /eng/common/core-templates/steps/publish-build-artifacts.yml
|
||||
parameters:
|
||||
is1ESPipeline: ${{ parameters.is1ESPipeline }}
|
||||
|
@ -122,32 +129,6 @@ jobs:
|
|||
publishLocation: Container
|
||||
artifactName: ReleaseConfigs
|
||||
|
||||
- task: powershell@2
|
||||
displayName: Check if SymbolPublishingExclusionsFile.txt exists
|
||||
inputs:
|
||||
targetType: inline
|
||||
script: |
|
||||
$symbolExclusionfile = "$(Build.SourcesDirectory)/eng/SymbolPublishingExclusionsFile.txt"
|
||||
if(Test-Path -Path $symbolExclusionfile)
|
||||
{
|
||||
Write-Host "SymbolExclusionFile exists"
|
||||
Write-Host "##vso[task.setvariable variable=SymbolExclusionFile]true"
|
||||
}
|
||||
else{
|
||||
Write-Host "Symbols Exclusion file does not exist"
|
||||
Write-Host "##vso[task.setvariable variable=SymbolExclusionFile]false"
|
||||
}
|
||||
|
||||
- template: /eng/common/core-templates/steps/publish-build-artifacts.yml
|
||||
parameters:
|
||||
is1ESPipeline: ${{ parameters.is1ESPipeline }}
|
||||
args:
|
||||
displayName: Publish SymbolPublishingExclusionsFile Artifact
|
||||
condition: eq(variables['SymbolExclusionFile'], 'true')
|
||||
pathToPublish: '$(Build.SourcesDirectory)/eng/SymbolPublishingExclusionsFile.txt'
|
||||
publishLocation: Container
|
||||
artifactName: ReleaseConfigs
|
||||
|
||||
- ${{ if eq(parameters.publishAssetsImmediately, 'true') }}:
|
||||
- template: /eng/common/core-templates/post-build/setup-maestro-vars.yml
|
||||
parameters:
|
||||
|
@ -162,9 +143,10 @@ jobs:
|
|||
scriptType: ps
|
||||
scriptLocation: scriptPath
|
||||
scriptPath: $(Build.SourcesDirectory)/eng/common/post-build/publish-using-darc.ps1
|
||||
arguments: -BuildId $(BARBuildId)
|
||||
arguments: >
|
||||
-BuildId $(BARBuildId)
|
||||
-PublishingInfraVersion 3
|
||||
-AzdoToken '$(publishing-dnceng-devdiv-code-r-build-re)'
|
||||
-AzdoToken '$(System.AccessToken)'
|
||||
-WaitPublishingFinish true
|
||||
-ArtifactsPublishingAdditionalParameters '${{ parameters.artifactsPublishingAdditionalParameters }}'
|
||||
-SymbolPublishingAdditionalParameters '${{ parameters.symbolPublishingAdditionalParameters }}'
|
||||
|
|
|
@ -34,10 +34,12 @@ jobs:
|
|||
pool:
|
||||
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
||||
name: $(DncEngPublicBuildPool)
|
||||
image: windows.vs2022.amd64.open
|
||||
image: 1es-windows-2022-open
|
||||
os: windows
|
||||
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||
name: $(DncEngInternalBuildPool)
|
||||
image: windows.vs2022.amd64
|
||||
image: 1es-windows-2022
|
||||
os: windows
|
||||
|
||||
steps:
|
||||
- ${{ if eq(parameters.is1ESPipeline, '') }}:
|
||||
|
|
|
@ -307,9 +307,10 @@ stages:
|
|||
scriptType: ps
|
||||
scriptLocation: scriptPath
|
||||
scriptPath: $(Build.SourcesDirectory)/eng/common/post-build/publish-using-darc.ps1
|
||||
arguments: -BuildId $(BARBuildId)
|
||||
arguments: >
|
||||
-BuildId $(BARBuildId)
|
||||
-PublishingInfraVersion ${{ parameters.publishingInfraVersion }}
|
||||
-AzdoToken '$(publishing-dnceng-devdiv-code-r-build-re)'
|
||||
-AzdoToken '$(System.AccessToken)'
|
||||
-WaitPublishingFinish true
|
||||
-ArtifactsPublishingAdditionalParameters '${{ parameters.artifactsPublishingAdditionalParameters }}'
|
||||
-SymbolPublishingAdditionalParameters '${{ parameters.symbolPublishingAdditionalParameters }}'
|
||||
|
|
|
@ -3,6 +3,14 @@ parameters:
|
|||
type: string
|
||||
- name: outputVariableName
|
||||
type: string
|
||||
- name: is1ESPipeline
|
||||
type: boolean
|
||||
- name: stepName
|
||||
type: string
|
||||
default: 'getFederatedAccessToken'
|
||||
- name: condition
|
||||
type: string
|
||||
default: ''
|
||||
# Resource to get a token for. Common values include:
|
||||
# - '499b84ac-1321-427f-aa17-267ca6975798' for Azure DevOps
|
||||
# - 'https://storage.azure.com/' for storage
|
||||
|
@ -10,10 +18,16 @@ parameters:
|
|||
- name: resource
|
||||
type: string
|
||||
default: '499b84ac-1321-427f-aa17-267ca6975798'
|
||||
- name: isStepOutputVariable
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
steps:
|
||||
- task: AzureCLI@2
|
||||
displayName: 'Getting federated access token for feeds'
|
||||
name: ${{ parameters.stepName }}
|
||||
${{ if ne(parameters.condition, '') }}:
|
||||
condition: ${{ parameters.condition }}
|
||||
inputs:
|
||||
azureSubscription: ${{ parameters.federatedServiceConnection }}
|
||||
scriptType: 'pscore'
|
||||
|
@ -25,4 +39,4 @@ steps:
|
|||
exit 1
|
||||
}
|
||||
Write-Host "Setting '${{ parameters.outputVariableName }}' with the access token value"
|
||||
Write-Host "##vso[task.setvariable variable=${{ parameters.outputVariableName }};issecret=true]$accessToken"
|
||||
Write-Host "##vso[task.setvariable variable=${{ parameters.outputVariableName }};issecret=true;isOutput=${{ parameters.isStepOutputVariable }}]$accessToken"
|
|
@ -32,7 +32,6 @@ steps:
|
|||
'$(MaestroAccessToken)'
|
||||
'$(dn-bot-all-orgs-artifact-feeds-rw)'
|
||||
'$(akams-client-id)'
|
||||
'$(akams-client-secret)'
|
||||
'$(microsoft-symbol-server-pat)'
|
||||
'$(symweb-symbol-server-pat)'
|
||||
'$(dn-bot-all-orgs-build-rw-code-rw)'
|
||||
|
|
|
@ -72,7 +72,7 @@ __AlpinePackages+=" krb5-dev"
|
|||
__AlpinePackages+=" openssl-dev"
|
||||
__AlpinePackages+=" zlib-dev"
|
||||
|
||||
__FreeBSDBase="13.2-RELEASE"
|
||||
__FreeBSDBase="13.3-RELEASE"
|
||||
__FreeBSDPkg="1.17.0"
|
||||
__FreeBSDABI="13"
|
||||
__FreeBSDPackages="libunwind"
|
||||
|
@ -605,18 +605,18 @@ elif [[ "$__CodeName" == "illumos" ]]; then
|
|||
fi
|
||||
echo "Building binutils. Please wait.."
|
||||
if [[ "$__hasWget" == 1 ]]; then
|
||||
wget -O- https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2 | tar -xjf -
|
||||
wget -O- https://ftp.gnu.org/gnu/binutils/binutils-2.42.tar.xz | tar -xJf -
|
||||
else
|
||||
curl -SL https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2 | tar -xjf -
|
||||
curl -SL https://ftp.gnu.org/gnu/binutils/binutils-2.42.tar.xz | tar -xJf -
|
||||
fi
|
||||
mkdir build-binutils && cd build-binutils
|
||||
../binutils-2.33.1/configure --prefix="$__RootfsDir" --target="${__illumosArch}-sun-solaris2.10" --program-prefix="${__illumosArch}-illumos-" --with-sysroot="$__RootfsDir"
|
||||
../binutils-2.42/configure --prefix="$__RootfsDir" --target="${__illumosArch}-sun-solaris2.11" --program-prefix="${__illumosArch}-illumos-" --with-sysroot="$__RootfsDir"
|
||||
make -j "$JOBS" && make install && cd ..
|
||||
echo "Building gcc. Please wait.."
|
||||
if [[ "$__hasWget" == 1 ]]; then
|
||||
wget -O- https://ftp.gnu.org/gnu/gcc/gcc-8.4.0/gcc-8.4.0.tar.xz | tar -xJf -
|
||||
wget -O- https://ftp.gnu.org/gnu/gcc/gcc-13.3.0/gcc-13.3.0.tar.xz | tar -xJf -
|
||||
else
|
||||
curl -SL https://ftp.gnu.org/gnu/gcc/gcc-8.4.0/gcc-8.4.0.tar.xz | tar -xJf -
|
||||
curl -SL https://ftp.gnu.org/gnu/gcc/gcc-13.3.0/gcc-13.3.0.tar.xz | tar -xJf -
|
||||
fi
|
||||
CFLAGS="-fPIC"
|
||||
CXXFLAGS="-fPIC"
|
||||
|
@ -624,7 +624,7 @@ elif [[ "$__CodeName" == "illumos" ]]; then
|
|||
CFLAGS_FOR_TARGET="-fPIC"
|
||||
export CFLAGS CXXFLAGS CXXFLAGS_FOR_TARGET CFLAGS_FOR_TARGET
|
||||
mkdir build-gcc && cd build-gcc
|
||||
../gcc-8.4.0/configure --prefix="$__RootfsDir" --target="${__illumosArch}-sun-solaris2.10" --program-prefix="${__illumosArch}-illumos-" --with-sysroot="$__RootfsDir" --with-gnu-as \
|
||||
../gcc-13.3.0/configure --prefix="$__RootfsDir" --target="${__illumosArch}-sun-solaris2.11" --program-prefix="${__illumosArch}-illumos-" --with-sysroot="$__RootfsDir" --with-gnu-as \
|
||||
--with-gnu-ld --disable-nls --disable-libgomp --disable-libquadmath --disable-libssp --disable-libvtv --disable-libcilkrts --disable-libada --disable-libsanitizer \
|
||||
--disable-libquadmath-support --disable-shared --enable-tls
|
||||
make -j "$JOBS" && make install && cd ..
|
||||
|
@ -632,7 +632,7 @@ elif [[ "$__CodeName" == "illumos" ]]; then
|
|||
if [[ "$__UseMirror" == 1 ]]; then
|
||||
BaseUrl=https://pkgsrc.smartos.skylime.net
|
||||
fi
|
||||
BaseUrl="$BaseUrl/packages/SmartOS/trunk/${__illumosArch}/All"
|
||||
BaseUrl="$BaseUrl/packages/SmartOS/2019Q4/${__illumosArch}/All"
|
||||
echo "Downloading manifest"
|
||||
if [[ "$__hasWget" == 1 ]]; then
|
||||
wget "$BaseUrl"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
param (
|
||||
$darcVersion = $null,
|
||||
$versionEndpoint = 'https://maestro.dot.net/api/assets/darc-version?api-version=2019-01-16',
|
||||
$versionEndpoint = 'https://maestro.dot.net/api/assets/darc-version?api-version=2020-02-20',
|
||||
$verbosity = 'minimal',
|
||||
$toolpath = $null
|
||||
)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
source="${BASH_SOURCE[0]}"
|
||||
darcVersion=''
|
||||
versionEndpoint='https://maestro.dot.net/api/assets/darc-version?api-version=2019-01-16'
|
||||
versionEndpoint='https://maestro.dot.net/api/assets/darc-version?api-version=2020-02-20'
|
||||
verbosity='minimal'
|
||||
|
||||
while [[ $# > 0 ]]; do
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<PropertyGroup>
|
||||
<TargetFramework>net472</TargetFramework>
|
||||
<AutomaticallyUseReferenceAssemblyPackages>false</AutomaticallyUseReferenceAssemblyPackages>
|
||||
<BuildWithNetFrameworkHostedCompiler>false</BuildWithNetFrameworkHostedCompiler>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<!-- Clear references, the SDK may add some depending on UsuingToolXxx settings, but we only want to restore the following -->
|
||||
|
|
|
@ -19,11 +19,9 @@ case "$compiler" in
|
|||
# clangx.y or clang-x.y
|
||||
version="$(echo "$compiler" | tr -d '[:alpha:]-=')"
|
||||
majorVersion="${version%%.*}"
|
||||
[ -z "${version##*.*}" ] && minorVersion="${version#*.}"
|
||||
|
||||
if [ -z "$minorVersion" ] && [ -n "$majorVersion" ] && [ "$majorVersion" -le 6 ]; then
|
||||
minorVersion=0;
|
||||
fi
|
||||
# LLVM based on v18 released in early 2024, with two releases per year
|
||||
maxVersion="$((18 + ((($(date +%Y) - 2024) * 12 + $(date +%-m) - 3) / 6)))"
|
||||
compiler=clang
|
||||
;;
|
||||
|
||||
|
@ -31,7 +29,9 @@ case "$compiler" in
|
|||
# gccx.y or gcc-x.y
|
||||
version="$(echo "$compiler" | tr -d '[:alpha:]-=')"
|
||||
majorVersion="${version%%.*}"
|
||||
[ -z "${version##*.*}" ] && minorVersion="${version#*.}"
|
||||
|
||||
# GCC based on v14 released in early 2024, with one release per year
|
||||
maxVersion="$((14 + ((($(date +%Y) - 2024) * 12 + $(date +%-m) - 3) / 12)))"
|
||||
compiler=gcc
|
||||
;;
|
||||
esac
|
||||
|
@ -49,12 +49,10 @@ check_version_exists() {
|
|||
desired_version=-1
|
||||
|
||||
# Set up the environment to be used for building with the desired compiler.
|
||||
if command -v "$compiler-$1.$2" > /dev/null; then
|
||||
desired_version="-$1.$2"
|
||||
elif command -v "$compiler$1$2" > /dev/null; then
|
||||
desired_version="$1$2"
|
||||
elif command -v "$compiler-$1$2" > /dev/null; then
|
||||
desired_version="-$1$2"
|
||||
if command -v "$compiler-$1" > /dev/null; then
|
||||
desired_version="-$1"
|
||||
elif command -v "$compiler$1" > /dev/null; then
|
||||
desired_version="$1"
|
||||
fi
|
||||
|
||||
echo "$desired_version"
|
||||
|
@ -75,7 +73,7 @@ set_compiler_version_from_CC() {
|
|||
fi
|
||||
|
||||
# gcc and clang often display 3 part versions. However, gcc can show only 1 part in some environments.
|
||||
IFS=. read -r majorVersion minorVersion _ <<EOF
|
||||
IFS=. read -r majorVersion _ <<EOF
|
||||
$version
|
||||
EOF
|
||||
}
|
||||
|
@ -84,43 +82,29 @@ if [ -z "$CLR_CC" ]; then
|
|||
|
||||
# Set default versions
|
||||
if [ -z "$majorVersion" ]; then
|
||||
# note: gcc (all versions) and clang versions higher than 6 do not have minor version in file name, if it is zero.
|
||||
if [ "$compiler" = "clang" ]; then versions="18 17 16 15 14 13 12 11 10 9 8 7 6.0 5.0 4.0 3.9 3.8 3.7 3.6 3.5"
|
||||
elif [ "$compiler" = "gcc" ]; then versions="14 13 12 11 10 9 8 7 6 5 4.9"; fi
|
||||
|
||||
for version in $versions; do
|
||||
_major="${version%%.*}"
|
||||
[ -z "${version##*.*}" ] && _minor="${version#*.}"
|
||||
desired_version="$(check_version_exists "$_major" "$_minor")"
|
||||
if [ "$desired_version" != "-1" ]; then majorVersion="$_major"; break; fi
|
||||
minVersion=8
|
||||
maxVersion="$((maxVersion + 1))" # +1 for headspace
|
||||
i="$maxVersion"
|
||||
while [ "$i" -ge $minVersion ]; do
|
||||
desired_version="$(check_version_exists "$i")"
|
||||
if [ "$desired_version" != "-1" ]; then majorVersion="$i"; break; fi
|
||||
i=$((i - 1))
|
||||
done
|
||||
|
||||
if [ -z "$majorVersion" ]; then
|
||||
if ! command -v "$compiler" > /dev/null; then
|
||||
echo "Error: No usable version of $compiler found."
|
||||
echo "Error: No compatible version of $compiler was found within the range of $minVersion to $maxVersion. Please upgrade your toolchain or specify the compiler explicitly using CLR_CC and CLR_CXX environment variables."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
CC="$(command -v "$compiler" 2> /dev/null)"
|
||||
CXX="$(command -v "$cxxCompiler" 2> /dev/null)"
|
||||
set_compiler_version_from_CC
|
||||
else
|
||||
if [ "$compiler" = "clang" ] && [ "$majorVersion" -lt 5 ] && { [ "$build_arch" = "arm" ] || [ "$build_arch" = "armel" ]; }; then
|
||||
# If a major version was provided explicitly, and it was too old, find a newer compiler instead
|
||||
if ! command -v "$compiler" > /dev/null; then
|
||||
echo "Error: Found clang version $majorVersion which is not supported on arm/armel architectures, and there is no clang in PATH."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
CC="$(command -v "$compiler" 2> /dev/null)"
|
||||
CXX="$(command -v "$cxxCompiler" 2> /dev/null)"
|
||||
set_compiler_version_from_CC
|
||||
fi
|
||||
fi
|
||||
else
|
||||
desired_version="$(check_version_exists "$majorVersion" "$minorVersion")"
|
||||
desired_version="$(check_version_exists "$majorVersion")"
|
||||
if [ "$desired_version" = "-1" ]; then
|
||||
echo "Error: Could not find specific version of $compiler: $majorVersion $minorVersion."
|
||||
echo "Error: Could not find specific version of $compiler: $majorVersion."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -42,6 +42,7 @@ try {
|
|||
--azdev-pat "$AzdoToken" `
|
||||
--bar-uri "$MaestroApiEndPoint" `
|
||||
--ci `
|
||||
--verbose `
|
||||
@optionalParams
|
||||
|
||||
if ($LastExitCode -ne 0) {
|
||||
|
|
|
@ -1,8 +1,22 @@
|
|||
parameters:
|
||||
# Sbom related params
|
||||
enableSbom: true
|
||||
PackageVersion: 9.0.0
|
||||
BuildDropPath: '$(Build.SourcesDirectory)/artifacts'
|
||||
|
||||
jobs:
|
||||
- template: /eng/common/core-templates/job/job.yml
|
||||
parameters:
|
||||
is1ESPipeline: true
|
||||
|
||||
componentGovernanceSteps:
|
||||
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(parameters.enableSbom, 'true')) }}:
|
||||
- template: /eng/common/templates/steps/generate-sbom.yml
|
||||
parameters:
|
||||
PackageVersion: ${{ parameters.packageVersion }}
|
||||
BuildDropPath: ${{ parameters.buildDropPath }}
|
||||
publishArtifacts: false
|
||||
|
||||
# publish artifacts
|
||||
# for 1ES managed templates, use the templateContext.output to handle multiple outputs.
|
||||
templateContext:
|
||||
|
|
|
@ -19,71 +19,63 @@ jobs:
|
|||
steps:
|
||||
- ${{ each step in parameters.steps }}:
|
||||
- ${{ step }}
|
||||
|
||||
|
||||
componentGovernanceSteps:
|
||||
- template: /eng/common/templates/steps/component-governance.yml
|
||||
parameters:
|
||||
${{ if eq(parameters.disableComponentGovernance, '') }}:
|
||||
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(parameters.runAsPublic, 'false'), or(startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/dotnet/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/microsoft/'), eq(variables['Build.SourceBranch'], 'refs/heads/main'))) }}:
|
||||
disableComponentGovernance: false
|
||||
${{ else }}:
|
||||
disableComponentGovernance: true
|
||||
- template: /eng/common/templates/steps/component-governance.yml
|
||||
parameters:
|
||||
${{ if eq(parameters.disableComponentGovernance, '') }}:
|
||||
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(parameters.runAsPublic, 'false'), or(startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/dotnet/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/microsoft/'), eq(variables['Build.SourceBranch'], 'refs/heads/main'))) }}:
|
||||
disableComponentGovernance: false
|
||||
${{ else }}:
|
||||
disableComponentGovernance: ${{ parameters.disableComponentGovernance }}
|
||||
componentGovernanceIgnoreDirectories: ${{ parameters.componentGovernanceIgnoreDirectories }}
|
||||
|
||||
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(parameters.enableSbom, 'true')) }}:
|
||||
- template: /eng/common/templates/steps/generate-sbom.yml
|
||||
parameters:
|
||||
PackageVersion: ${{ parameters.packageVersion }}
|
||||
BuildDropPath: ${{ parameters.buildDropPath }}
|
||||
publishArtifacts: false
|
||||
|
||||
disableComponentGovernance: true
|
||||
${{ else }}:
|
||||
disableComponentGovernance: ${{ parameters.disableComponentGovernance }}
|
||||
componentGovernanceIgnoreDirectories: ${{ parameters.componentGovernanceIgnoreDirectories }}
|
||||
|
||||
artifactPublishSteps:
|
||||
- ${{ if ne(parameters.artifacts.publish, '') }}:
|
||||
- ${{ if and(ne(parameters.artifacts.publish.artifacts, 'false'), ne(parameters.artifacts.publish.artifacts, '')) }}:
|
||||
- template: /eng/common/core-templates/steps/publish-build-artifacts.yml
|
||||
parameters:
|
||||
is1ESPipeline: false
|
||||
args:
|
||||
displayName: Publish pipeline artifacts
|
||||
pathToPublish: '$(Build.ArtifactStagingDirectory)/artifacts'
|
||||
publishLocation: Container
|
||||
artifactName: ${{ coalesce(parameters.artifacts.publish.artifacts.name , 'Artifacts_$(Agent.Os)_$(_BuildConfig)') }}
|
||||
continueOnError: true
|
||||
condition: always()
|
||||
- ${{ if and(ne(parameters.artifacts.publish.logs, 'false'), ne(parameters.artifacts.publish.logs, '')) }}:
|
||||
- template: /eng/common/core-templates/steps/publish-pipeline-artifacts.yml
|
||||
parameters:
|
||||
is1ESPipeline: false
|
||||
args:
|
||||
targetPath: '$(Build.ArtifactStagingDirectory)/artifacts/log'
|
||||
artifactName: ${{ coalesce(parameters.artifacts.publish.logs.name, 'Logs_Build_$(Agent.Os)_$(_BuildConfig)') }}
|
||||
displayName: 'Publish logs'
|
||||
continueOnError: true
|
||||
condition: always()
|
||||
sbomEnabled: false # we don't need SBOM for logs
|
||||
|
||||
- ${{ if ne(parameters.enablePublishBuildArtifacts, 'false') }}:
|
||||
- ${{ if ne(parameters.artifacts.publish, '') }}:
|
||||
- ${{ if and(ne(parameters.artifacts.publish.artifacts, 'false'), ne(parameters.artifacts.publish.artifacts, '')) }}:
|
||||
- template: /eng/common/core-templates/steps/publish-build-artifacts.yml
|
||||
parameters:
|
||||
is1ESPipeline: false
|
||||
args:
|
||||
displayName: Publish Logs
|
||||
pathToPublish: '$(Build.ArtifactStagingDirectory)/artifacts/log/$(_BuildConfig)'
|
||||
displayName: Publish pipeline artifacts
|
||||
pathToPublish: '$(Build.ArtifactStagingDirectory)/artifacts'
|
||||
publishLocation: Container
|
||||
artifactName: ${{ coalesce(parameters.enablePublishBuildArtifacts.artifactName, '$(Agent.Os)_$(Agent.JobName)' ) }}
|
||||
artifactName: ${{ coalesce(parameters.artifacts.publish.artifacts.name , 'Artifacts_$(Agent.Os)_$(_BuildConfig)') }}
|
||||
continueOnError: true
|
||||
condition: always()
|
||||
|
||||
- ${{ if eq(parameters.enableBuildRetry, 'true') }}:
|
||||
- ${{ if and(ne(parameters.artifacts.publish.logs, 'false'), ne(parameters.artifacts.publish.logs, '')) }}:
|
||||
- template: /eng/common/core-templates/steps/publish-pipeline-artifacts.yml
|
||||
parameters:
|
||||
is1ESPipeline: false
|
||||
args:
|
||||
targetPath: '$(Build.SourcesDirectory)\eng\common\BuildConfiguration'
|
||||
artifactName: 'BuildConfiguration'
|
||||
displayName: 'Publish build retry configuration'
|
||||
targetPath: '$(Build.ArtifactStagingDirectory)/artifacts/log'
|
||||
artifactName: ${{ coalesce(parameters.artifacts.publish.logs.name, 'Logs_Build_$(Agent.Os)_$(_BuildConfig)') }}
|
||||
displayName: 'Publish logs'
|
||||
continueOnError: true
|
||||
sbomEnabled: false # we don't need SBOM for BuildConfiguration
|
||||
condition: always()
|
||||
sbomEnabled: false # we don't need SBOM for logs
|
||||
|
||||
- ${{ if ne(parameters.enablePublishBuildArtifacts, 'false') }}:
|
||||
- template: /eng/common/core-templates/steps/publish-build-artifacts.yml
|
||||
parameters:
|
||||
is1ESPipeline: false
|
||||
args:
|
||||
displayName: Publish Logs
|
||||
pathToPublish: '$(Build.ArtifactStagingDirectory)/artifacts/log/$(_BuildConfig)'
|
||||
publishLocation: Container
|
||||
artifactName: ${{ coalesce(parameters.enablePublishBuildArtifacts.artifactName, '$(Agent.Os)_$(Agent.JobName)' ) }}
|
||||
continueOnError: true
|
||||
condition: always()
|
||||
|
||||
- ${{ if eq(parameters.enableBuildRetry, 'true') }}:
|
||||
- template: /eng/common/core-templates/steps/publish-pipeline-artifacts.yml
|
||||
parameters:
|
||||
is1ESPipeline: false
|
||||
args:
|
||||
targetPath: '$(Build.SourcesDirectory)\eng\common\BuildConfiguration'
|
||||
artifactName: 'BuildConfiguration'
|
||||
displayName: 'Publish build retry configuration'
|
||||
continueOnError: true
|
||||
sbomEnabled: false # we don't need SBOM for BuildConfiguration
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
"vsBranch": "main",
|
||||
"vsMajorVersion": 17,
|
||||
"insertionCreateDraftPR": false,
|
||||
"insertionTitlePrefix": "[d17.12 P2]"
|
||||
"insertionTitlePrefix": "[d17.12 P3]"
|
||||
},
|
||||
"release/dev17.6": {
|
||||
"nugetKind": [
|
||||
|
@ -95,7 +95,7 @@
|
|||
"vsBranch": "rel/d17.12",
|
||||
"vsMajorVersion": 17,
|
||||
"insertionCreateDraftPR": false,
|
||||
"insertionTitlePrefix": "[d17.12 P1]"
|
||||
"insertionTitlePrefix": "[d17.12 P2]"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,5 +28,9 @@
|
|||
<ServiceHubService Include="Microsoft.VisualStudio.Razor.DocumentSymbol" ClassName="Microsoft.CodeAnalysis.Remote.Razor.RemoteDocumentSymbolService+Factory" />
|
||||
<ServiceHubService Include="Microsoft.VisualStudio.Razor.GoToDefinition" ClassName="Microsoft.CodeAnalysis.Remote.Razor.RemoteGoToDefinitionService+Factory" />
|
||||
<ServiceHubService Include="Microsoft.VisualStudio.Razor.Rename" ClassName="Microsoft.CodeAnalysis.Remote.Razor.RemoteRenameService+Factory" />
|
||||
<ServiceHubService Include="Microsoft.VisualStudio.Razor.AutoInsert" ClassName="Microsoft.CodeAnalysis.Remote.Razor.RemoteAutoInsertService+Factory" />
|
||||
<ServiceHubService Include="Microsoft.VisualStudio.Razor.Formatting" ClassName="Microsoft.CodeAnalysis.Remote.Razor.RemoteFormattingService+Factory" />
|
||||
<ServiceHubService Include="Microsoft.VisualStudio.Razor.GoToImplementation" ClassName="Microsoft.CodeAnalysis.Remote.Razor.RemoteGoToImplementationService+Factory" />
|
||||
<ServiceHubService Include="Microsoft.VisualStudio.Razor.SpellCheck" ClassName="Microsoft.CodeAnalysis.Remote.Razor.RemoteSpellCheckService+Factory" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"tools": {
|
||||
"dotnet": "9.0.100-preview.5.24307.3",
|
||||
"dotnet": "9.0.100-preview.7.24407.12",
|
||||
"runtimes": {
|
||||
"dotnet": [
|
||||
"2.1.30",
|
||||
|
@ -17,12 +17,12 @@
|
|||
}
|
||||
},
|
||||
"sdk": {
|
||||
"version": "9.0.100-preview.5.24307.3",
|
||||
"version": "9.0.100-preview.7.24407.12",
|
||||
"allowPrerelease": false,
|
||||
"rollForward": "latestPatch"
|
||||
},
|
||||
"msbuild-sdks": {
|
||||
"Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.24352.2",
|
||||
"Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.24453.1",
|
||||
"Microsoft.Build.NoTargets": "3.7.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,7 +66,31 @@ public class MyService<TModel>
|
|||
AssertSourceMappingsMatchBaseline(compiled.CodeDocument);
|
||||
|
||||
// We expect this test to generate a bunch of errors.
|
||||
Assert.True(compiled.CodeDocument.GetCSharpDocument().Diagnostics.Count > 0);
|
||||
Assert.NotEmpty(compiled.CodeDocument.GetCSharpDocument().Diagnostics);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void IncompleteDirectives_Runtime()
|
||||
{
|
||||
// Arrange
|
||||
AddCSharpSyntaxTree(@"
|
||||
public class MyService<TModel>
|
||||
{
|
||||
public string Html { get; set; }
|
||||
}");
|
||||
|
||||
var projectItem = CreateProjectItemFromFile();
|
||||
|
||||
// Act
|
||||
var compiled = CompileToCSharp(projectItem, designTime: false);
|
||||
|
||||
// Assert
|
||||
AssertDocumentNodeMatchesBaseline(compiled.CodeDocument.GetDocumentIntermediateNode());
|
||||
AssertCSharpDocumentMatchesBaseline(compiled.CodeDocument.GetCSharpDocument());
|
||||
AssertSourceMappingsMatchBaseline(compiled.CodeDocument);
|
||||
|
||||
// We expect this test to generate a bunch of errors.
|
||||
Assert.True(compiled.CodeDocument.GetCSharpDocument().Diagnostics.Length > 0);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
|
@ -60,3 +60,6 @@
|
|||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "844eb91b909a14b78feddd5e6866563b5a75e021"
|
||||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "c83d1c26cf039a87fc6aedc860fd9d28a34d96dfb2e405e6af3918602ca27755"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml")]
|
||||
namespace AspNetCore
|
||||
{
|
||||
#line hidden
|
||||
#line default
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
@ -11,31 +12,38 @@ namespace AspNetCore
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Mvc.Rendering;
|
||||
using Microsoft.AspNetCore.Mvc.ViewFeatures;
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#line default
|
||||
#line hidden
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"c83d1c26cf039a87fc6aedc860fd9d28a34d96dfb2e405e6af3918602ca27755", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml")]
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||
{
|
||||
BeginContext(83, 4, true);
|
||||
WriteLiteral("\r\n");
|
||||
WriteLiteral("\r\n");
|
||||
WriteLiteral("\r\n\r\n");
|
||||
EndContext();
|
||||
BeginContext(93, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
EndContext();
|
||||
BeginContext(102, 4, true);
|
||||
WriteLiteral("\r\n\r\n");
|
||||
EndContext();
|
||||
BeginContext(113, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
EndContext();
|
||||
BeginContext(123, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
EndContext();
|
||||
BeginContext(150, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
EndContext();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public
|
||||
#line (8,9)-(8,18) "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml"
|
||||
MyService<dynamic>
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
Member___UniqueIdSuppressedForTesting__ { get; private set; }
|
||||
#line (7,9)-(7,9) "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line (6,8)-(6,8) "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml(3,7): Error RZ9999: The 'model' directive expects a type name.
|
||||
TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml(4,1): Error RZ9999: The 'model' directive may only occur once per document.
|
||||
TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml(4,8): Error RZ9999: The 'model' directive expects a type name.
|
||||
TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml(6,8): Error RZ9999: The 'inject' directive expects a type name.
|
||||
TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml(7,9): Error RZ9999: The 'inject' directive expects a type name.
|
||||
TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml(8,26): Error RZ9999: The 'inject' directive expects an identifier.
|
||||
TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml(3,7): Error RZ1013: The 'model' directive expects a type name.
|
||||
TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml(4,1): Error RZ2001: The 'model' directive may only occur once per document.
|
||||
TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml(4,8): Error RZ1013: The 'model' directive expects a type name.
|
||||
TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml(6,8): Error RZ1013: The 'inject' directive expects a type name.
|
||||
TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml(7,9): Error RZ1013: The 'inject' directive expects a type name.
|
||||
TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml(8,26): Error RZ1015: The 'inject' directive expects an identifier.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
Document -
|
||||
RazorCompiledItemAttribute -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
UsingDirective - (1:0,1 [14] ) - System
|
||||
UsingDirective - (16:1,1 [34] ) - System.Collections.Generic
|
||||
|
@ -7,50 +8,36 @@
|
|||
UsingDirective - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
||||
UsingDirective - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||
UsingDirective - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||
RazorSourceChecksumAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||
CSharpCode -
|
||||
IntermediateToken - - CSharp - BeginContext(83, 4, true);
|
||||
HtmlContent - (83:0,83 [4] IncompleteDirectives.cshtml)
|
||||
IntermediateToken - (83:0,83 [4] IncompleteDirectives.cshtml) - Html - \n\n
|
||||
CSharpCode -
|
||||
IntermediateToken - - CSharp - EndContext();
|
||||
HtmlContent - (85:1,0 [2] IncompleteDirectives.cshtml)
|
||||
LazyIntermediateToken - (85:1,0 [2] IncompleteDirectives.cshtml) - Html - \n
|
||||
MalformedDirective - (87:2,0 [6] IncompleteDirectives.cshtml) - model
|
||||
CSharpCode -
|
||||
IntermediateToken - - CSharp - BeginContext(93, 2, true);
|
||||
CSharpCode - (93:2,6 [0] IncompleteDirectives.cshtml)
|
||||
LazyIntermediateToken - (93:2,6 [0] IncompleteDirectives.cshtml) - CSharp -
|
||||
HtmlContent - (93:2,6 [2] IncompleteDirectives.cshtml)
|
||||
IntermediateToken - (93:2,6 [2] IncompleteDirectives.cshtml) - Html - \n
|
||||
CSharpCode -
|
||||
IntermediateToken - - CSharp - EndContext();
|
||||
LazyIntermediateToken - (93:2,6 [2] IncompleteDirectives.cshtml) - Html - \n
|
||||
MalformedDirective - (95:3,0 [7] IncompleteDirectives.cshtml) - model
|
||||
CSharpCode -
|
||||
IntermediateToken - - CSharp - BeginContext(102, 4, true);
|
||||
DirectiveToken - (102:3,7 [0] IncompleteDirectives.cshtml) -
|
||||
HtmlContent - (102:3,7 [4] IncompleteDirectives.cshtml)
|
||||
IntermediateToken - (102:3,7 [4] IncompleteDirectives.cshtml) - Html - \n\n
|
||||
CSharpCode -
|
||||
IntermediateToken - - CSharp - EndContext();
|
||||
LazyIntermediateToken - (102:3,7 [4] IncompleteDirectives.cshtml) - Html - \n\n
|
||||
MalformedDirective - (106:5,0 [7] IncompleteDirectives.cshtml) - inject
|
||||
CSharpCode -
|
||||
IntermediateToken - - CSharp - BeginContext(113, 2, true);
|
||||
CSharpCode - (113:5,7 [0] IncompleteDirectives.cshtml)
|
||||
LazyIntermediateToken - (113:5,7 [0] IncompleteDirectives.cshtml) - CSharp -
|
||||
HtmlContent - (113:5,7 [2] IncompleteDirectives.cshtml)
|
||||
IntermediateToken - (113:5,7 [2] IncompleteDirectives.cshtml) - Html - \n
|
||||
CSharpCode -
|
||||
IntermediateToken - - CSharp - EndContext();
|
||||
LazyIntermediateToken - (113:5,7 [2] IncompleteDirectives.cshtml) - Html - \n
|
||||
MalformedDirective - (115:6,0 [8] IncompleteDirectives.cshtml) - inject
|
||||
CSharpCode -
|
||||
IntermediateToken - - CSharp - BeginContext(123, 2, true);
|
||||
DirectiveToken - (123:6,8 [0] IncompleteDirectives.cshtml) -
|
||||
HtmlContent - (123:6,8 [2] IncompleteDirectives.cshtml)
|
||||
IntermediateToken - (123:6,8 [2] IncompleteDirectives.cshtml) - Html - \n
|
||||
CSharpCode -
|
||||
IntermediateToken - - CSharp - EndContext();
|
||||
LazyIntermediateToken - (123:6,8 [2] IncompleteDirectives.cshtml) - Html - \n
|
||||
MalformedDirective - (125:7,0 [25] IncompleteDirectives.cshtml) - inject
|
||||
DirectiveToken - (133:7,8 [17] IncompleteDirectives.cshtml) - MyService<TModel>
|
||||
CSharpCode -
|
||||
IntermediateToken - - CSharp - BeginContext(150, 2, true);
|
||||
HtmlContent - (150:7,25 [2] IncompleteDirectives.cshtml)
|
||||
IntermediateToken - (150:7,25 [2] IncompleteDirectives.cshtml) - Html - \n
|
||||
CSharpCode -
|
||||
IntermediateToken - - CSharp - EndContext();
|
||||
LazyIntermediateToken - (150:7,25 [2] IncompleteDirectives.cshtml) - Html - \n
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
Source Location: (133:7,8 [9] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
|
||||
|MyService|
|
||||
Generated Location: (1895:33,0 [9] )
|
||||
|MyService|
|
||||
|
||||
Source Location: (123:6,8 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
|
||||
||
|
||||
Generated Location: (2124:39,0 [0] )
|
||||
||
|
||||
|
||||
Source Location: (113:5,7 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
|
||||
||
|
||||
Generated Location: (2261:43,0 [0] )
|
||||
||
|
||||
|
|
@ -19,7 +19,7 @@ public class AssemblyAttributeInjectionPassTest : RazorProjectEngineTestBase
|
|||
// Arrange
|
||||
var irDocument = new DocumentIntermediateNode()
|
||||
{
|
||||
Options = RazorCodeGenerationOptions.CreateDefault(),
|
||||
Options = RazorCodeGenerationOptions.Default,
|
||||
};
|
||||
|
||||
var pass = new AssemblyAttributeInjectionPass
|
||||
|
@ -40,7 +40,7 @@ public class AssemblyAttributeInjectionPassTest : RazorProjectEngineTestBase
|
|||
// Arrange
|
||||
var irDocument = new DocumentIntermediateNode()
|
||||
{
|
||||
Options = RazorCodeGenerationOptions.CreateDefault(),
|
||||
Options = RazorCodeGenerationOptions.Default,
|
||||
};
|
||||
var builder = IntermediateNodeBuilder.Create(irDocument);
|
||||
var @namespace = new NamespaceDeclarationIntermediateNode() { Content = string.Empty };
|
||||
|
@ -66,7 +66,7 @@ public class AssemblyAttributeInjectionPassTest : RazorProjectEngineTestBase
|
|||
// Arrange
|
||||
var irDocument = new DocumentIntermediateNode()
|
||||
{
|
||||
Options = RazorCodeGenerationOptions.CreateDefault(),
|
||||
Options = RazorCodeGenerationOptions.Default,
|
||||
};
|
||||
|
||||
var builder = IntermediateNodeBuilder.Create(irDocument);
|
||||
|
@ -93,7 +93,7 @@ public class AssemblyAttributeInjectionPassTest : RazorProjectEngineTestBase
|
|||
// Arrange
|
||||
var irDocument = new DocumentIntermediateNode()
|
||||
{
|
||||
Options = RazorCodeGenerationOptions.CreateDefault(),
|
||||
Options = RazorCodeGenerationOptions.Default,
|
||||
};
|
||||
var builder = IntermediateNodeBuilder.Create(irDocument);
|
||||
var @namespace = new NamespaceDeclarationIntermediateNode
|
||||
|
@ -134,7 +134,7 @@ public class AssemblyAttributeInjectionPassTest : RazorProjectEngineTestBase
|
|||
var irDocument = new DocumentIntermediateNode
|
||||
{
|
||||
DocumentKind = "Default",
|
||||
Options = RazorCodeGenerationOptions.CreateDefault(),
|
||||
Options = RazorCodeGenerationOptions.Default,
|
||||
};
|
||||
var builder = IntermediateNodeBuilder.Create(irDocument);
|
||||
var @namespace = new NamespaceDeclarationIntermediateNode() { Content = "SomeNamespace" };
|
||||
|
@ -170,7 +170,7 @@ public class AssemblyAttributeInjectionPassTest : RazorProjectEngineTestBase
|
|||
var irDocument = new DocumentIntermediateNode
|
||||
{
|
||||
DocumentKind = MvcViewDocumentClassifierPass.MvcViewDocumentKind,
|
||||
Options = RazorCodeGenerationOptions.CreateDesignTimeDefault(),
|
||||
Options = RazorCodeGenerationOptions.DesignTimeDefault,
|
||||
};
|
||||
var builder = IntermediateNodeBuilder.Create(irDocument);
|
||||
var @namespace = new NamespaceDeclarationIntermediateNode
|
||||
|
@ -217,7 +217,7 @@ public class AssemblyAttributeInjectionPassTest : RazorProjectEngineTestBase
|
|||
var irDocument = new DocumentIntermediateNode
|
||||
{
|
||||
DocumentKind = MvcViewDocumentClassifierPass.MvcViewDocumentKind,
|
||||
Options = RazorCodeGenerationOptions.CreateDefault(),
|
||||
Options = RazorCodeGenerationOptions.Default,
|
||||
};
|
||||
var builder = IntermediateNodeBuilder.Create(irDocument);
|
||||
var @namespace = new NamespaceDeclarationIntermediateNode
|
||||
|
@ -270,7 +270,7 @@ public class AssemblyAttributeInjectionPassTest : RazorProjectEngineTestBase
|
|||
var irDocument = new DocumentIntermediateNode
|
||||
{
|
||||
DocumentKind = MvcViewDocumentClassifierPass.MvcViewDocumentKind,
|
||||
Options = RazorCodeGenerationOptions.CreateDefault(),
|
||||
Options = RazorCodeGenerationOptions.Default,
|
||||
};
|
||||
var builder = IntermediateNodeBuilder.Create(irDocument);
|
||||
var @namespace = new NamespaceDeclarationIntermediateNode
|
||||
|
@ -323,7 +323,7 @@ public class AssemblyAttributeInjectionPassTest : RazorProjectEngineTestBase
|
|||
var irDocument = new DocumentIntermediateNode
|
||||
{
|
||||
DocumentKind = RazorPageDocumentClassifierPass.RazorPageDocumentKind,
|
||||
Options = RazorCodeGenerationOptions.CreateDefault(),
|
||||
Options = RazorCodeGenerationOptions.Default,
|
||||
};
|
||||
var builder = IntermediateNodeBuilder.Create(irDocument);
|
||||
var pageDirective = new DirectiveIntermediateNode
|
||||
|
@ -383,7 +383,7 @@ public class AssemblyAttributeInjectionPassTest : RazorProjectEngineTestBase
|
|||
var irDocument = new DocumentIntermediateNode
|
||||
{
|
||||
DocumentKind = MvcViewDocumentClassifierPass.MvcViewDocumentKind,
|
||||
Options = RazorCodeGenerationOptions.CreateDefault(),
|
||||
Options = RazorCodeGenerationOptions.Default,
|
||||
};
|
||||
var builder = IntermediateNodeBuilder.Create(irDocument);
|
||||
var @namespace = new NamespaceDeclarationIntermediateNode
|
||||
|
|
|
@ -18,7 +18,7 @@ public class InstrumentationPassTest
|
|||
// Arrange
|
||||
var document = new DocumentIntermediateNode()
|
||||
{
|
||||
Options = RazorCodeGenerationOptions.CreateDesignTimeDefault(),
|
||||
Options = RazorCodeGenerationOptions.DesignTimeDefault,
|
||||
};
|
||||
|
||||
var builder = IntermediateNodeBuilder.Create(document);
|
||||
|
@ -50,7 +50,7 @@ public class InstrumentationPassTest
|
|||
// Arrange
|
||||
var document = new DocumentIntermediateNode()
|
||||
{
|
||||
Options = RazorCodeGenerationOptions.CreateDefault(),
|
||||
Options = RazorCodeGenerationOptions.Default,
|
||||
};
|
||||
|
||||
var builder = IntermediateNodeBuilder.Create(document);
|
||||
|
@ -89,7 +89,7 @@ public class InstrumentationPassTest
|
|||
// Arrange
|
||||
var document = new DocumentIntermediateNode()
|
||||
{
|
||||
Options = RazorCodeGenerationOptions.CreateDefault(),
|
||||
Options = RazorCodeGenerationOptions.Default,
|
||||
};
|
||||
|
||||
var builder = IntermediateNodeBuilder.Create(document);
|
||||
|
@ -121,7 +121,7 @@ public class InstrumentationPassTest
|
|||
// Arrange
|
||||
var document = new DocumentIntermediateNode()
|
||||
{
|
||||
Options = RazorCodeGenerationOptions.CreateDefault(),
|
||||
Options = RazorCodeGenerationOptions.Default,
|
||||
};
|
||||
|
||||
var builder = IntermediateNodeBuilder.Create(document);
|
||||
|
@ -157,7 +157,7 @@ public class InstrumentationPassTest
|
|||
// Arrange
|
||||
var document = new DocumentIntermediateNode()
|
||||
{
|
||||
Options = RazorCodeGenerationOptions.CreateDefault(),
|
||||
Options = RazorCodeGenerationOptions.Default,
|
||||
};
|
||||
|
||||
var builder = IntermediateNodeBuilder.Create(document);
|
||||
|
@ -188,7 +188,7 @@ public class InstrumentationPassTest
|
|||
// Arrange
|
||||
var document = new DocumentIntermediateNode()
|
||||
{
|
||||
Options = RazorCodeGenerationOptions.CreateDefault(),
|
||||
Options = RazorCodeGenerationOptions.Default,
|
||||
};
|
||||
|
||||
var builder = IntermediateNodeBuilder.Create(document);
|
||||
|
@ -239,7 +239,7 @@ public class InstrumentationPassTest
|
|||
// Arrange
|
||||
var document = new DocumentIntermediateNode()
|
||||
{
|
||||
Options = RazorCodeGenerationOptions.CreateDefault(),
|
||||
Options = RazorCodeGenerationOptions.Default,
|
||||
};
|
||||
|
||||
var builder = IntermediateNodeBuilder.Create(document);
|
||||
|
@ -290,7 +290,7 @@ public class InstrumentationPassTest
|
|||
// Arrange
|
||||
var document = new DocumentIntermediateNode()
|
||||
{
|
||||
Options = RazorCodeGenerationOptions.CreateDefault(),
|
||||
Options = RazorCodeGenerationOptions.Default,
|
||||
};
|
||||
|
||||
var builder = IntermediateNodeBuilder.Create(document);
|
||||
|
@ -321,7 +321,7 @@ public class InstrumentationPassTest
|
|||
// Arrange
|
||||
var document = new DocumentIntermediateNode()
|
||||
{
|
||||
Options = RazorCodeGenerationOptions.CreateDefault(),
|
||||
Options = RazorCodeGenerationOptions.Default,
|
||||
};
|
||||
|
||||
var builder = IntermediateNodeBuilder.Create(document);
|
||||
|
|
|
@ -85,7 +85,7 @@ public class MyService<TModel>
|
|||
AssertCSharpDocumentMatchesBaseline(compiled.CodeDocument.GetCSharpDocument());
|
||||
|
||||
// We expect this test to generate a bunch of errors.
|
||||
Assert.True(compiled.CodeDocument.GetCSharpDocument().Diagnostics.Count > 0);
|
||||
Assert.NotEmpty(compiled.CodeDocument.GetCSharpDocument().Diagnostics);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
@ -536,7 +536,7 @@ public class MyService<TModel>
|
|||
AssertSourceMappingsMatchBaseline(compiled.CodeDocument);
|
||||
|
||||
// We expect this test to generate a bunch of errors.
|
||||
Assert.True(compiled.CodeDocument.GetCSharpDocument().Diagnostics.Count > 0);
|
||||
Assert.NotEmpty(compiled.CodeDocument.GetCSharpDocument().Diagnostics);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
|
@ -76,6 +76,9 @@
|
|||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
CSharpCode -
|
||||
IntermediateToken - - CSharp - public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives>)PageContext?.ViewData;
|
||||
CSharpCode -
|
||||
|
|
|
@ -50,6 +50,22 @@ namespace AspNetCore
|
|||
EndContext();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public
|
||||
#line (12,9)-(12,18) "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml"
|
||||
MyService<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives>
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
Member___UniqueIdSuppressedForTesting__ { get; private set; }
|
||||
#line (11,9)-(11,9) "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line (10,8)-(10,8) "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
|
|
|
@ -91,6 +91,9 @@
|
|||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
CSharpCode -
|
||||
IntermediateToken - - CSharp - public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives>)PageContext?.ViewData;
|
||||
CSharpCode -
|
||||
|
|
|
@ -49,7 +49,7 @@ namespace AspNetCore
|
|||
WriteLiteral("\r\n");
|
||||
EndContext();
|
||||
BeginContext(66, 25, false);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input-test", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input-test", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "__UniqueIdSuppressedForTesting__", async() => {
|
||||
}
|
||||
);
|
||||
__InputTestTagHelper = CreateTagHelper<global::InputTestTagHelper>();
|
||||
|
@ -74,7 +74,7 @@ Date
|
|||
WriteLiteral("\r\n");
|
||||
EndContext();
|
||||
BeginContext(93, 27, false);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input-test", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input-test", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "__UniqueIdSuppressedForTesting__", async() => {
|
||||
}
|
||||
);
|
||||
__InputTestTagHelper = CreateTagHelper<global::InputTestTagHelper>();
|
||||
|
|
|
@ -60,7 +60,7 @@ using Microsoft.AspNetCore.Mvc.RazorPages
|
|||
WriteLiteral("\r\n<h1>New Customer</h1>\r\n<form method=\"post\" class=\"form-horizontal\">\r\n ");
|
||||
EndContext();
|
||||
BeginContext(456, 31, false);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "__UniqueIdSuppressedForTesting__", async() => {
|
||||
}
|
||||
);
|
||||
__DivTagHelper = CreateTagHelper<global::DivTagHelper>();
|
||||
|
@ -78,7 +78,7 @@ using Microsoft.AspNetCore.Mvc.RazorPages
|
|||
WriteLiteral("\r\n ");
|
||||
EndContext();
|
||||
BeginContext(493, 237, false);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "__UniqueIdSuppressedForTesting__", async() => {
|
||||
BeginContext(517, 48, true);
|
||||
WriteLiteral("\r\n <label class=\"col-md-2 control-label\">");
|
||||
EndContext();
|
||||
|
@ -95,7 +95,7 @@ Name
|
|||
WriteLiteral("</label>\r\n ");
|
||||
EndContext();
|
||||
BeginContext(588, 130, false);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "__UniqueIdSuppressedForTesting__", async() => {
|
||||
BeginContext(611, 101, true);
|
||||
WriteLiteral("\r\n <input class=\"form-control\" />\r\n <span class=\"text-danger\"></span>\r\n ");
|
||||
EndContext();
|
||||
|
@ -132,12 +132,12 @@ Name
|
|||
WriteLiteral("\r\n ");
|
||||
EndContext();
|
||||
BeginContext(736, 174, false);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "__UniqueIdSuppressedForTesting__", async() => {
|
||||
BeginContext(760, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
EndContext();
|
||||
BeginContext(770, 128, false);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "__UniqueIdSuppressedForTesting__", async() => {
|
||||
BeginContext(809, 83, true);
|
||||
WriteLiteral("\r\n <button type=\"submit\" class=\"btn btn-primary\">Save</button>\r\n ");
|
||||
EndContext();
|
||||
|
|
|
@ -60,7 +60,7 @@ using Microsoft.AspNetCore.Mvc.RazorPages
|
|||
WriteLiteral("\r\n<h1>New Customer</h1>\r\n<form method=\"post\" class=\"form-horizontal\" >\r\n ");
|
||||
EndContext();
|
||||
BeginContext(551, 31, false);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "__UniqueIdSuppressedForTesting__", async() => {
|
||||
}
|
||||
);
|
||||
__DivTagHelper = CreateTagHelper<global::DivTagHelper>();
|
||||
|
@ -78,7 +78,7 @@ using Microsoft.AspNetCore.Mvc.RazorPages
|
|||
WriteLiteral("\r\n ");
|
||||
EndContext();
|
||||
BeginContext(588, 243, false);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "__UniqueIdSuppressedForTesting__", async() => {
|
||||
BeginContext(612, 48, true);
|
||||
WriteLiteral("\r\n <label class=\"col-md-2 control-label\">");
|
||||
EndContext();
|
||||
|
@ -95,7 +95,7 @@ Model.Name
|
|||
WriteLiteral("</label>\r\n ");
|
||||
EndContext();
|
||||
BeginContext(689, 130, false);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "__UniqueIdSuppressedForTesting__", async() => {
|
||||
BeginContext(712, 101, true);
|
||||
WriteLiteral("\r\n <input class=\"form-control\" />\r\n <span class=\"text-danger\"></span>\r\n ");
|
||||
EndContext();
|
||||
|
@ -132,12 +132,12 @@ Model.Name
|
|||
WriteLiteral("\r\n ");
|
||||
EndContext();
|
||||
BeginContext(837, 174, false);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "__UniqueIdSuppressedForTesting__", async() => {
|
||||
BeginContext(861, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
EndContext();
|
||||
BeginContext(871, 128, false);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "__UniqueIdSuppressedForTesting__", async() => {
|
||||
BeginContext(910, 83, true);
|
||||
WriteLiteral("\r\n <button type=\"submit\" class=\"btn btn-primary\">Save</button>\r\n ");
|
||||
EndContext();
|
||||
|
|
|
@ -63,7 +63,7 @@ namespace AspNetCore
|
|||
WriteLiteral("\r\n <div>This is in Section 1</div>\r\n ");
|
||||
EndContext();
|
||||
BeginContext(205, 25, false);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input-test", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input-test", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "__UniqueIdSuppressedForTesting__", async() => {
|
||||
}
|
||||
);
|
||||
__InputTestTagHelper = CreateTagHelper<global::InputTestTagHelper>();
|
||||
|
|
|
@ -55,7 +55,7 @@ namespace AspNetCore
|
|||
WriteLiteral("\r\n");
|
||||
EndContext();
|
||||
BeginContext(61, 50, false);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("vc:test", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("vc:test", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "__UniqueIdSuppressedForTesting__", async() => {
|
||||
}
|
||||
);
|
||||
__AllTagHelper = CreateTagHelper<global::AllTagHelper>();
|
||||
|
|
|
@ -69,7 +69,7 @@ namespace AspNetCore
|
|||
EndContext();
|
||||
BeginContext(71, 87, false);
|
||||
BeginContext(71, 87, false);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "__UniqueIdSuppressedForTesting__", async() => {
|
||||
BeginContext(91, 6, true);
|
||||
BeginContext(91, 6, true);
|
||||
WriteLiteral("\r\n ");
|
||||
|
@ -77,7 +77,7 @@ namespace AspNetCore
|
|||
EndContext();
|
||||
BeginContext(97, 52, false);
|
||||
BeginContext(97, 52, false);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "__UniqueIdSuppressedForTesting__", async() => {
|
||||
}
|
||||
);
|
||||
__InputTagHelper = CreateTagHelper<global::InputTagHelper>();
|
||||
|
|
|
@ -92,7 +92,7 @@ public class CodeGenerationIntegrationTest : IntegrationTestBase
|
|||
AssertLinePragmas(compiled.CodeDocument, designTime: false);
|
||||
|
||||
// We expect this test to generate a bunch of errors.
|
||||
Assert.True(compiled.CodeDocument.GetCSharpDocument().Diagnostics.Count > 0);
|
||||
Assert.NotEmpty(compiled.CodeDocument.GetCSharpDocument().Diagnostics);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
@ -949,7 +949,7 @@ public class CodeGenerationIntegrationTest : IntegrationTestBase
|
|||
AssertSourceMappingsMatchBaseline(compiled.CodeDocument);
|
||||
|
||||
// We expect this test to generate a bunch of errors.
|
||||
Assert.True(compiled.CodeDocument.GetCSharpDocument().Diagnostics.Count > 0);
|
||||
Assert.NotEmpty(compiled.CodeDocument.GetCSharpDocument().Diagnostics);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace AspNetCore
|
||||
namespace AspNetCoreGeneratedDocument
|
||||
{
|
||||
#line default
|
||||
using TModel = global::System.Object;
|
||||
|
@ -34,7 +34,7 @@ using System;
|
|||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports.cshtml")]
|
||||
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
|
||||
#nullable restore
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_AttributeDirectiveWithViewImports : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
internal sealed class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_AttributeDirectiveWithViewImports : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
|
@ -1 +1 @@
|
|||
~~~~~~~~~~ ~~~~~~~~~~~~~~
|
||||
/*~~~~~~*/ /*~~~~~~~~~~*/
|
|
@ -1,5 +1,5 @@
|
|||
Document -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
NamespaceDeclaration - - AspNetCoreGeneratedDocument
|
||||
UsingDirective - - TModel = global::System.Object
|
||||
UsingDirective - (24:1,1 [40] ) - global::System.Collections.Generic
|
||||
UsingDirective - (67:2,1 [25] ) - global::System.Linq
|
||||
|
@ -14,7 +14,7 @@
|
|||
IntermediateToken - (11:0,11 [14] AttributeDirectiveWithViewImports.cshtml) - CSharp - [Serializable]
|
||||
RazorCompiledItemMetadataAttribute -
|
||||
CreateNewOnMetadataUpdateAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_AttributeDirectiveWithViewImports - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||
ClassDeclaration - - internal sealed - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_AttributeDirectiveWithViewImports - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||
DesignTimeDirective -
|
||||
DirectiveToken - (287:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||
DirectiveToken - (350:7,71 [4] ) - Html
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Source Location: (11:0,11 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports.cshtml)
|
||||
|[Serializable]|
|
||||
Generated Location: (903:28,11 [14] )
|
||||
Generated Location: (920:28,11 [14] )
|
||||
|[Serializable]|
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports.cshtml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9a963ab17d89a7739e64cf5d94e1dc35aa41cf1004222067bca2328b832666d9"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_AttributeDirectiveWithViewImports), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports.cshtml")]
|
||||
namespace AspNetCore
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCoreGeneratedDocument.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_AttributeDirectiveWithViewImports), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports.cshtml")]
|
||||
namespace AspNetCoreGeneratedDocument
|
||||
{
|
||||
#line default
|
||||
using global::System.Collections.Generic;
|
||||
|
@ -40,7 +40,7 @@ using System
|
|||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports.cshtml")]
|
||||
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
|
||||
#nullable restore
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_AttributeDirectiveWithViewImports : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
internal sealed class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_AttributeDirectiveWithViewImports : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Document -
|
||||
RazorCompiledItemAttribute -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
NamespaceDeclaration - - AspNetCoreGeneratedDocument
|
||||
UsingDirective - (24:1,1 [42] ) - global::System.Collections.Generic
|
||||
UsingDirective - (67:2,1 [27] ) - global::System.Linq
|
||||
UsingDirective - (95:3,1 [38] ) - global::System.Threading.Tasks
|
||||
|
@ -16,7 +16,7 @@
|
|||
RazorSourceChecksumAttribute -
|
||||
RazorCompiledItemMetadataAttribute -
|
||||
CreateNewOnMetadataUpdateAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_AttributeDirectiveWithViewImports - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||
ClassDeclaration - - internal sealed - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_AttributeDirectiveWithViewImports - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||
Inject -
|
||||
Inject -
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
~~~~~~~~~~~ ~~~~~~~~~~~
|
||||
<div class="~~~~~~~~~~~~~~~~">
|
||||
/*~~~~~~~*/ /*~~~~~~~*/
|
||||
<div class="/*~~~~~~~~~~~~*/">
|
||||
Hello world
|
||||
~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
|
||||
/*~~~~~~~~~~~~~~~~~*/ /*~~~~*/
|
||||
</div>
|
||||
|
||||
~~~~~~~~~~ ~
|
||||
~~~~ ~~~~~~~~~~~~~~~~~~~~~~ ~
|
||||
/*~~~~~~*/ ~
|
||||
/**/ /*~~~~~~~~~~~~~~~~~~*/ ~
|
||||
~
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace AspNetCore
|
||||
namespace AspNetCoreGeneratedDocument
|
||||
{
|
||||
#line default
|
||||
using TModel = global::System.Object;
|
||||
|
@ -16,7 +16,7 @@ namespace AspNetCore
|
|||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml")]
|
||||
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
|
||||
#nullable restore
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
internal sealed class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<div class="~~~~~~~~~~~~~~~~">
|
||||
<div class="/*~~~~~~~~~~~~*/">
|
||||
Hello world
|
||||
~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
|
||||
/*~~~~~~~~~~~~~~~~~*/ /*~~~~*/
|
||||
</div>
|
||||
~~
|
||||
~~~ ~~~ ~ ~~~~~~
|
||||
~~~ ~~~ ~ /*~~*/
|
||||
~
|
||||
<p class="~~~~~~~ ~~ ~~~~~ ~ ~~~~ ~" />
|
||||
<p class="/*~~~*/ ~~ /*~*/ ~ /**/ ~" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Document -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
NamespaceDeclaration - - AspNetCoreGeneratedDocument
|
||||
UsingDirective - - TModel = global::System.Object
|
||||
UsingDirective - (1:0,1 [20] ) - global::System
|
||||
UsingDirective - (24:1,1 [40] ) - global::System.Collections.Generic
|
||||
|
@ -10,7 +10,7 @@
|
|||
UsingDirective - (226:6,1 [51] ) - global::Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||
RazorCompiledItemMetadataAttribute -
|
||||
CreateNewOnMetadataUpdateAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||
ClassDeclaration - - internal sealed - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||
DesignTimeDirective -
|
||||
DirectiveToken - (287:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||
DirectiveToken - (350:7,71 [4] ) - Html
|
||||
|
|
|
@ -1,34 +1,34 @@
|
|||
Source Location: (13:0,13 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
||||
|this.ToString()|
|
||||
Generated Location: (1437:33,13 [15] )
|
||||
Generated Location: (1463:33,13 [15] )
|
||||
|this.ToString()|
|
||||
|
||||
Source Location: (54:2,5 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
||||
|string.Format("{0}", "Hello")|
|
||||
Generated Location: (1611:40,6 [29] )
|
||||
Generated Location: (1637:40,6 [29] )
|
||||
|string.Format("{0}", "Hello")|
|
||||
|
||||
Source Location: (95:4,2 [25] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
||||
|
|
||||
var cls = "foo";
|
||||
|
|
||||
Generated Location: (1795:47,2 [25] )
|
||||
Generated Location: (1821:47,2 [25] )
|
||||
|
|
||||
var cls = "foo";
|
||||
|
|
||||
|
||||
Source Location: (134:7,11 [18] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
||||
|if(cls != null) { |
|
||||
Generated Location: (1981:55,11 [18] )
|
||||
Generated Location: (2007:55,11 [18] )
|
||||
|if(cls != null) { |
|
||||
|
||||
Source Location: (153:7,30 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
||||
|cls|
|
||||
Generated Location: (2181:62,30 [3] )
|
||||
Generated Location: (2207:62,30 [3] )
|
||||
|cls|
|
||||
|
||||
Source Location: (156:7,33 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
||||
| }|
|
||||
Generated Location: (2370:69,33 [2] )
|
||||
Generated Location: (2396:69,33 [2] )
|
||||
| }|
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3b732a30f94dc763cbd74d150cca70825dbddec2bddfba4e4d82547d5ced9a82"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml")]
|
||||
namespace AspNetCore
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCoreGeneratedDocument.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml")]
|
||||
namespace AspNetCoreGeneratedDocument
|
||||
{
|
||||
#line default
|
||||
using global::System;
|
||||
|
@ -18,7 +18,7 @@ namespace AspNetCore
|
|||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml")]
|
||||
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
|
||||
#nullable restore
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
internal sealed class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Document -
|
||||
RazorCompiledItemAttribute -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
NamespaceDeclaration - - AspNetCoreGeneratedDocument
|
||||
UsingDirective - (1:0,1 [22] ) - global::System
|
||||
UsingDirective - (24:1,1 [42] ) - global::System.Collections.Generic
|
||||
UsingDirective - (67:2,1 [27] ) - global::System.Linq
|
||||
|
@ -11,7 +11,7 @@
|
|||
RazorSourceChecksumAttribute -
|
||||
RazorCompiledItemMetadataAttribute -
|
||||
CreateNewOnMetadataUpdateAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||
ClassDeclaration - - internal sealed - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||
HtmlContent - (0:0,0 [4] Basic.cshtml)
|
||||
LazyIntermediateToken - (0:0,0 [4] Basic.cshtml) - Html - <div
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace AspNetCore
|
||||
namespace AspNetCoreGeneratedDocument
|
||||
{
|
||||
#line default
|
||||
using TModel = global::System.Object;
|
||||
|
@ -16,7 +16,7 @@ namespace AspNetCore
|
|||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml")]
|
||||
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
|
||||
#nullable restore
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
|
||||
internal sealed class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
~~ ~~~~~ ~~~~ ~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~ ~~~~~~ ~~
|
||||
~~ /*~*/ /**/ /*~*/ /*~~~~*/ /**/ /*~~~~~~~*/ /*~~~~~~*/ /*~~~~~~*/ /*~*/ /*~~*/ ~~
|
||||
|
||||
~~~~~
|
||||
~~~~~
|
||||
~~~~~ "
|
||||
/*~*/
|
||||
/*~*/
|
||||
/*~*/ "
|
||||
|
||||
~~~~~~
|
||||
~~~~~~
|
||||
/*~~*/
|
||||
/*~~*/
|
||||
|
||||
~~~~~~~
|
||||
~~~~~~~
|
||||
~~~~~~~ ~~~~~~~~~~~~~~~~~
|
||||
/*~~~*/
|
||||
/*~~~*/
|
||||
/*~~~*/ /*~~~~~~~~~~~~~*/
|
||||
|
||||
~~~~~~~~~~
|
||||
~~~~~~~~~~
|
||||
/*~~~~~~*/
|
||||
/*~~~~~~*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Document -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
NamespaceDeclaration - - AspNetCoreGeneratedDocument
|
||||
UsingDirective - - TModel = global::System.Object
|
||||
UsingDirective - (1:0,1 [20] ) - global::System
|
||||
UsingDirective - (24:1,1 [40] ) - global::System.Collections.Generic
|
||||
|
@ -10,7 +10,7 @@
|
|||
UsingDirective - (226:6,1 [51] ) - global::Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||
RazorCompiledItemMetadataAttribute -
|
||||
CreateNewOnMetadataUpdateAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
||||
ClassDeclaration - - internal sealed - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
||||
DesignTimeDirective -
|
||||
DirectiveToken - (287:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||
DirectiveToken - (350:7,71 [4] ) - Html
|
||||
|
@ -78,6 +78,9 @@
|
|||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #nullable restore\npublic global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives>)PageContext?.ViewData!;\n#nullable disable
|
||||
CSharpCode -
|
||||
|
|
|
@ -1,35 +1,35 @@
|
|||
Source Location: (128:7,7 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
|
||||
||
|
||||
Generated Location: (1204:26,0 [0] )
|
||||
Generated Location: (1230:26,0 [0] )
|
||||
||
|
||||
|
||||
Source Location: (149:10,8 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
|
||||
||
|
||||
Generated Location: (1441:36,0 [0] )
|
||||
Generated Location: (1467:36,0 [0] )
|
||||
||
|
||||
|
||||
Source Location: (159:11,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
|
||||
|MyService<TModel>|
|
||||
Generated Location: (1678:46,0 [17] )
|
||||
Generated Location: (1704:46,0 [17] )
|
||||
|MyService<TModel>|
|
||||
|
||||
Source Location: (203:14,11 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
|
||||
||
|
||||
Generated Location: (1956:56,0 [0] )
|
||||
Generated Location: (1982:56,0 [0] )
|
||||
||
|
||||
|
||||
Source Location: (119:6,6 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
|
||||
||
|
||||
Generated Location: (2454:73,6 [0] )
|
||||
Generated Location: (2480:73,6 [0] )
|
||||
||
|
||||
|
||||
Source Location: (139:9,7 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
|
||||
||
|
||||
Generated Location: (2629:80,7 [0] )
|
||||
Generated Location: (2655:80,7 [0] )
|
||||
||
|
||||
|
||||
Source Location: (190:13,10 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
|
||||
||
|
||||
Generated Location: (2807:87,10 [0] )
|
||||
Generated Location: (2833:87,10 [0] )
|
||||
||
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "7afd23f4d24de7b2bec1fb06d0a708e2d98adee36c510f65d3424dfda5445dca"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives), @"mvc.1.0.razor-page", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml")]
|
||||
namespace AspNetCore
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCoreGeneratedDocument.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives), @"mvc.1.0.razor-page", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml")]
|
||||
namespace AspNetCoreGeneratedDocument
|
||||
{
|
||||
#line default
|
||||
using global::System;
|
||||
|
@ -18,7 +18,7 @@ namespace AspNetCore
|
|||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml")]
|
||||
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
|
||||
#nullable restore
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
|
||||
internal sealed class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
|
@ -35,6 +35,29 @@ namespace AspNetCore
|
|||
WriteLiteral("\r\n");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public
|
||||
#nullable restore
|
||||
#line (12,9)-(12,18) "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml"
|
||||
MyService<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives>
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
Member___UniqueIdSuppressedForTesting__ { get; private set; }
|
||||
= default!;
|
||||
#nullable restore
|
||||
#line (11,9)-(11,9) "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line (10,8)-(10,8) "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Document -
|
||||
RazorCompiledItemAttribute -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
NamespaceDeclaration - - AspNetCoreGeneratedDocument
|
||||
UsingDirective - (1:0,1 [22] ) - global::System
|
||||
UsingDirective - (24:1,1 [42] ) - global::System.Collections.Generic
|
||||
UsingDirective - (67:2,1 [27] ) - global::System.Linq
|
||||
|
@ -11,7 +11,7 @@
|
|||
RazorSourceChecksumAttribute -
|
||||
RazorCompiledItemMetadataAttribute -
|
||||
CreateNewOnMetadataUpdateAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
||||
ClassDeclaration - - internal sealed - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||
HtmlContent - (85:1,0 [2] IncompleteDirectives.cshtml)
|
||||
LazyIntermediateToken - (85:1,0 [2] IncompleteDirectives.cshtml) - Html - \n
|
||||
|
@ -55,6 +55,9 @@
|
|||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
Inject -
|
||||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #nullable restore\npublic global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives>)PageContext?.ViewData!;\n#nullable disable
|
||||
CSharpCode -
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace AspNetCore
|
||||
namespace AspNetCoreGeneratedDocument
|
||||
{
|
||||
#line default
|
||||
using TModel = global::System.Object;
|
||||
|
@ -16,7 +16,7 @@ namespace AspNetCore
|
|||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml")]
|
||||
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
|
||||
#nullable restore
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel : MyBasePageForViews<MyModel>
|
||||
internal sealed class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel : MyBasePageForViews<MyModel>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
~~~~~~ ~~~~~~~
|
||||
/*~~~~~*/ /*~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/*~~*/ /*~~~*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Document -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
NamespaceDeclaration - - AspNetCoreGeneratedDocument
|
||||
UsingDirective - - TModel = global::System.Object
|
||||
UsingDirective - (1:0,1 [20] ) - global::System
|
||||
UsingDirective - (24:1,1 [40] ) - global::System.Collections.Generic
|
||||
|
@ -10,7 +10,7 @@
|
|||
UsingDirective - (226:6,1 [51] ) - global::Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||
RazorCompiledItemMetadataAttribute -
|
||||
CreateNewOnMetadataUpdateAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel - MyBasePageForViews<MyModel> -
|
||||
ClassDeclaration - - internal sealed - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel - MyBasePageForViews<MyModel> -
|
||||
DesignTimeDirective -
|
||||
DirectiveToken - (287:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||
DirectiveToken - (350:7,71 [4] ) - Html
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
Source Location: (10:0,10 [26] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml)
|
||||
|MyBasePageForViews<TModel>|
|
||||
Generated Location: (1174:26,0 [26] )
|
||||
Generated Location: (1200:26,0 [26] )
|
||||
|MyBasePageForViews<TModel>|
|
||||
|
||||
Source Location: (45:1,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml)
|
||||
|MyModel|
|
||||
Generated Location: (1457:36,0 [7] )
|
||||
Generated Location: (1483:36,0 [7] )
|
||||
|MyModel|
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1ca5ae8e569aefa6575a68e8d8b2d375ed79deec6565fb893b72b89423f55abd"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml")]
|
||||
namespace AspNetCore
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCoreGeneratedDocument.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml")]
|
||||
namespace AspNetCoreGeneratedDocument
|
||||
{
|
||||
#line default
|
||||
using global::System;
|
||||
|
@ -18,7 +18,7 @@ namespace AspNetCore
|
|||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml")]
|
||||
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
|
||||
#nullable restore
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel : MyBasePageForViews<MyModel>
|
||||
internal sealed class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel : MyBasePageForViews<MyModel>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Document -
|
||||
RazorCompiledItemAttribute -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
NamespaceDeclaration - - AspNetCoreGeneratedDocument
|
||||
UsingDirective - (1:0,1 [22] ) - global::System
|
||||
UsingDirective - (24:1,1 [42] ) - global::System.Collections.Generic
|
||||
UsingDirective - (67:2,1 [27] ) - global::System.Linq
|
||||
|
@ -11,7 +11,7 @@
|
|||
RazorSourceChecksumAttribute -
|
||||
RazorCompiledItemMetadataAttribute -
|
||||
CreateNewOnMetadataUpdateAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel - MyBasePageForViews<MyModel> -
|
||||
ClassDeclaration - - internal sealed - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel - MyBasePageForViews<MyModel> -
|
||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||
Inject -
|
||||
Inject -
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace AspNetCore
|
||||
namespace AspNetCoreGeneratedDocument
|
||||
{
|
||||
#line default
|
||||
using TModel = global::System.Object;
|
||||
|
@ -16,7 +16,7 @@ namespace AspNetCore
|
|||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports.cshtml")]
|
||||
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
|
||||
#nullable restore
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports : MyPageModel<MyModel>
|
||||
internal sealed class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports : MyPageModel<MyModel>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
~~~~~
|
||||
~~~~~~ ~~~~~~~
|
||||
/*~*/
|
||||
/*~~*/ /*~~~*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Document -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
NamespaceDeclaration - - AspNetCoreGeneratedDocument
|
||||
UsingDirective - - TModel = global::System.Object
|
||||
UsingDirective - (1:0,1 [20] ) - global::System
|
||||
UsingDirective - (24:1,1 [40] ) - global::System.Collections.Generic
|
||||
|
@ -10,7 +10,7 @@
|
|||
UsingDirective - (226:6,1 [51] ) - global::Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||
RazorCompiledItemMetadataAttribute -
|
||||
CreateNewOnMetadataUpdateAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports - MyPageModel<MyModel> -
|
||||
ClassDeclaration - - internal sealed - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports - MyPageModel<MyModel> -
|
||||
DesignTimeDirective -
|
||||
DirectiveToken - (287:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||
DirectiveToken - (350:7,71 [4] ) - Html
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Source Location: (14:1,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports.cshtml)
|
||||
|MyModel|
|
||||
Generated Location: (1185:26,0 [7] )
|
||||
Generated Location: (1211:26,0 [7] )
|
||||
|MyModel|
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports.cshtml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "a652fac42d6a27ace9b45de079bd1bd21d47f29255b96899785aaa55a4a8e354"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports), @"mvc.1.0.razor-page", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports.cshtml")]
|
||||
namespace AspNetCore
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCoreGeneratedDocument.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports), @"mvc.1.0.razor-page", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports.cshtml")]
|
||||
namespace AspNetCoreGeneratedDocument
|
||||
{
|
||||
#line default
|
||||
using global::System;
|
||||
|
@ -19,7 +19,7 @@ namespace AspNetCore
|
|||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports.cshtml")]
|
||||
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
|
||||
#nullable restore
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports : MyPageModel<MyModel>
|
||||
internal sealed class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports : MyPageModel<MyModel>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Document -
|
||||
RazorCompiledItemAttribute -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
NamespaceDeclaration - - AspNetCoreGeneratedDocument
|
||||
UsingDirective - (1:0,1 [22] ) - global::System
|
||||
UsingDirective - (24:1,1 [42] ) - global::System.Collections.Generic
|
||||
UsingDirective - (67:2,1 [27] ) - global::System.Linq
|
||||
|
@ -12,7 +12,7 @@
|
|||
RazorSourceChecksumAttribute -
|
||||
RazorCompiledItemMetadataAttribute -
|
||||
CreateNewOnMetadataUpdateAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports - MyPageModel<MyModel> -
|
||||
ClassDeclaration - - internal sealed - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports - MyPageModel<MyModel> -
|
||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||
Inject -
|
||||
Inject -
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace AspNetCore
|
||||
namespace AspNetCoreGeneratedDocument
|
||||
{
|
||||
#line default
|
||||
using TModel = global::System.Object;
|
||||
|
@ -16,7 +16,7 @@ namespace AspNetCore
|
|||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml")]
|
||||
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
|
||||
#nullable restore
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel>
|
||||
internal sealed class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
~~~~~~ ~~~~~~~
|
||||
~~~~~~~ ~~~~~ ~~~~~~~~~~~~~~
|
||||
~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~
|
||||
/*~~*/ /*~~~*/
|
||||
/*~~~*/ /*~*/ /*~~~~~~~~~~*/
|
||||
/*~~~*/ /*~~~~~~~~~~~~~*/ /**/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Document -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
NamespaceDeclaration - - AspNetCoreGeneratedDocument
|
||||
UsingDirective - - TModel = global::System.Object
|
||||
UsingDirective - (1:0,1 [20] ) - global::System
|
||||
UsingDirective - (24:1,1 [40] ) - global::System.Collections.Generic
|
||||
|
@ -10,7 +10,7 @@
|
|||
UsingDirective - (226:6,1 [51] ) - global::Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||
RazorCompiledItemMetadataAttribute -
|
||||
CreateNewOnMetadataUpdateAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel> -
|
||||
ClassDeclaration - - internal sealed - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel> -
|
||||
DesignTimeDirective -
|
||||
DirectiveToken - (287:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||
DirectiveToken - (350:7,71 [4] ) - Html
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
Source Location: (7:0,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|
||||
|MyModel|
|
||||
Generated Location: (1198:26,0 [7] )
|
||||
Generated Location: (1224:26,0 [7] )
|
||||
|MyModel|
|
||||
|
||||
Source Location: (24:1,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|
||||
|MyApp|
|
||||
Generated Location: (1460:36,0 [5] )
|
||||
Generated Location: (1486:36,0 [5] )
|
||||
|MyApp|
|
||||
|
||||
Source Location: (30:1,14 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|
||||
|MyPropertyName|
|
||||
Generated Location: (1742:46,22 [14] )
|
||||
Generated Location: (1768:46,22 [14] )
|
||||
|MyPropertyName|
|
||||
|
||||
Source Location: (54:2,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|
||||
|MyService<TModel>|
|
||||
Generated Location: (1995:56,0 [17] )
|
||||
Generated Location: (2021:56,0 [17] )
|
||||
|MyService<TModel>|
|
||||
|
||||
Source Location: (72:2,26 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|
||||
|Html|
|
||||
Generated Location: (2289:66,22 [4] )
|
||||
Generated Location: (2315:66,22 [4] )
|
||||
|Html|
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "319d5fa6f848e64d19bf7eab2f5e3339cdfc75b02a9bc6f2773eed1a40f5e9d0"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml")]
|
||||
namespace AspNetCore
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCoreGeneratedDocument.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml")]
|
||||
namespace AspNetCoreGeneratedDocument
|
||||
{
|
||||
#line default
|
||||
using global::System;
|
||||
|
@ -18,7 +18,7 @@ namespace AspNetCore
|
|||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml")]
|
||||
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
|
||||
#nullable restore
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel>
|
||||
internal sealed class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Document -
|
||||
RazorCompiledItemAttribute -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
NamespaceDeclaration - - AspNetCoreGeneratedDocument
|
||||
UsingDirective - (1:0,1 [22] ) - global::System
|
||||
UsingDirective - (24:1,1 [42] ) - global::System.Collections.Generic
|
||||
UsingDirective - (67:2,1 [27] ) - global::System.Linq
|
||||
|
@ -11,7 +11,7 @@
|
|||
RazorSourceChecksumAttribute -
|
||||
RazorCompiledItemMetadataAttribute -
|
||||
CreateNewOnMetadataUpdateAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel> -
|
||||
ClassDeclaration - - internal sealed - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel> -
|
||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||
Inject -
|
||||
Inject -
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
Source Location: (54:2,8 [9] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|
||||
|MyService|
|
||||
Generated Location: (2037:32,0 [9] )
|
||||
Generated Location: (2080:32,0 [9] )
|
||||
|MyService|
|
||||
|
||||
Source Location: (72:2,26 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|
||||
|Html|
|
||||
Generated Location: (2240:40,0 [4] )
|
||||
Generated Location: (2283:40,0 [4] )
|
||||
|Html|
|
||||
|
||||
Source Location: (24:1,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|
||||
|MyApp|
|
||||
Generated Location: (2568:51,0 [5] )
|
||||
Generated Location: (2611:51,0 [5] )
|
||||
|MyApp|
|
||||
|
||||
Source Location: (30:1,14 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|
||||
|MyPropertyName|
|
||||
Generated Location: (2758:59,0 [14] )
|
||||
Generated Location: (2801:59,0 [14] )
|
||||
|MyPropertyName|
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace AspNetCore
|
||||
namespace AspNetCoreGeneratedDocument
|
||||
{
|
||||
#line default
|
||||
using TModel = global::System.Object;
|
||||
|
@ -16,7 +16,7 @@ namespace AspNetCore
|
|||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml")]
|
||||
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
|
||||
#nullable restore
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel>
|
||||
internal sealed class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
~~~~~~ ~~~~~~~
|
||||
~~~~~~~ ~~~~~ ~~~~~~~~~~~~~~~
|
||||
~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~
|
||||
~~~~~~~ ~~~~~ ~~~~~~~~~~~~~~~ ~
|
||||
~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~ ~
|
||||
/*~~*/ /*~~~*/
|
||||
/*~~~*/ /*~*/ /*~~~~~~~~~~~*/
|
||||
/*~~~*/ /*~~~~~~~~~~~~~*/ /*~*/
|
||||
/*~~~*/ /*~*/ /*~~~~~~~~~~~*/ ~
|
||||
/*~~~*/ /*~~~~~~~~~~~~~*/ /*~*/ ~
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Document -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
NamespaceDeclaration - - AspNetCoreGeneratedDocument
|
||||
UsingDirective - - TModel = global::System.Object
|
||||
UsingDirective - (1:0,1 [20] ) - global::System
|
||||
UsingDirective - (24:1,1 [40] ) - global::System.Collections.Generic
|
||||
|
@ -10,7 +10,7 @@
|
|||
UsingDirective - (226:6,1 [51] ) - global::Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||
RazorCompiledItemMetadataAttribute -
|
||||
CreateNewOnMetadataUpdateAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel> -
|
||||
ClassDeclaration - - internal sealed - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel> -
|
||||
DesignTimeDirective -
|
||||
DirectiveToken - (287:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||
DirectiveToken - (350:7,71 [4] ) - Html
|
||||
|
|
|
@ -1,45 +1,45 @@
|
|||
Source Location: (7:0,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyModel|
|
||||
Generated Location: (1210:26,0 [7] )
|
||||
Generated Location: (1236:26,0 [7] )
|
||||
|MyModel|
|
||||
|
||||
Source Location: (24:1,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyApp|
|
||||
Generated Location: (1476:36,0 [5] )
|
||||
Generated Location: (1502:36,0 [5] )
|
||||
|MyApp|
|
||||
|
||||
Source Location: (30:1,14 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyPropertyName|
|
||||
Generated Location: (1762:46,22 [14] )
|
||||
Generated Location: (1788:46,22 [14] )
|
||||
|MyPropertyName|
|
||||
|
||||
Source Location: (58:2,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyService<TModel>|
|
||||
Generated Location: (2019:56,0 [17] )
|
||||
Generated Location: (2045:56,0 [17] )
|
||||
|MyService<TModel>|
|
||||
|
||||
Source Location: (76:2,26 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|Html|
|
||||
Generated Location: (2317:66,22 [4] )
|
||||
Generated Location: (2343:66,22 [4] )
|
||||
|Html|
|
||||
|
||||
Source Location: (93:3,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyApp|
|
||||
Generated Location: (2564:76,0 [5] )
|
||||
Generated Location: (2590:76,0 [5] )
|
||||
|MyApp|
|
||||
|
||||
Source Location: (99:3,14 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyPropertyName2|
|
||||
Generated Location: (2850:86,22 [15] )
|
||||
Generated Location: (2876:86,22 [15] )
|
||||
|MyPropertyName2|
|
||||
|
||||
Source Location: (129:4,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyService<TModel>|
|
||||
Generated Location: (3108:96,0 [17] )
|
||||
Generated Location: (3134:96,0 [17] )
|
||||
|MyService<TModel>|
|
||||
|
||||
Source Location: (147:4,26 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|Html2|
|
||||
Generated Location: (3406:106,22 [5] )
|
||||
Generated Location: (3432:106,22 [5] )
|
||||
|Html2|
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "771acb56660727ab6e4ca50e95bde0cf2a72af8de3e9ec1cd4b72969645cb9af"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml")]
|
||||
namespace AspNetCore
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCoreGeneratedDocument.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml")]
|
||||
namespace AspNetCoreGeneratedDocument
|
||||
{
|
||||
#line default
|
||||
using global::System;
|
||||
|
@ -18,7 +18,7 @@ namespace AspNetCore
|
|||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml")]
|
||||
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
|
||||
#nullable restore
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel>
|
||||
internal sealed class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Document -
|
||||
RazorCompiledItemAttribute -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
NamespaceDeclaration - - AspNetCoreGeneratedDocument
|
||||
UsingDirective - (1:0,1 [22] ) - global::System
|
||||
UsingDirective - (24:1,1 [42] ) - global::System.Collections.Generic
|
||||
UsingDirective - (67:2,1 [27] ) - global::System.Linq
|
||||
|
@ -11,7 +11,7 @@
|
|||
RazorSourceChecksumAttribute -
|
||||
RazorCompiledItemMetadataAttribute -
|
||||
CreateNewOnMetadataUpdateAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel> -
|
||||
ClassDeclaration - - internal sealed - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel> -
|
||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||
Inject -
|
||||
Inject -
|
||||
|
|
|
@ -1,40 +1,40 @@
|
|||
Source Location: (129:4,8 [9] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyService|
|
||||
Generated Location: (2065:32,0 [9] )
|
||||
Generated Location: (2108:32,0 [9] )
|
||||
|MyService|
|
||||
|
||||
Source Location: (147:4,26 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|Html2|
|
||||
Generated Location: (2272:40,0 [5] )
|
||||
Generated Location: (2315:40,0 [5] )
|
||||
|Html2|
|
||||
|
||||
Source Location: (93:3,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyApp|
|
||||
Generated Location: (2605:51,0 [5] )
|
||||
Generated Location: (2648:51,0 [5] )
|
||||
|MyApp|
|
||||
|
||||
Source Location: (99:3,14 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyPropertyName2|
|
||||
Generated Location: (2799:59,0 [15] )
|
||||
Generated Location: (2842:59,0 [15] )
|
||||
|MyPropertyName2|
|
||||
|
||||
Source Location: (58:2,8 [9] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyService|
|
||||
Generated Location: (3142:70,0 [9] )
|
||||
Generated Location: (3185:70,0 [9] )
|
||||
|MyService|
|
||||
|
||||
Source Location: (76:2,26 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|Html|
|
||||
Generated Location: (3349:78,0 [4] )
|
||||
Generated Location: (3392:78,0 [4] )
|
||||
|Html|
|
||||
|
||||
Source Location: (24:1,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyApp|
|
||||
Generated Location: (3681:89,0 [5] )
|
||||
Generated Location: (3724:89,0 [5] )
|
||||
|MyApp|
|
||||
|
||||
Source Location: (30:1,14 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyPropertyName|
|
||||
Generated Location: (3875:97,0 [14] )
|
||||
Generated Location: (3918:97,0 [14] )
|
||||
|MyPropertyName|
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace AspNetCore
|
||||
namespace AspNetCoreGeneratedDocument
|
||||
{
|
||||
#line default
|
||||
using TModel = global::System.Object;
|
||||
|
@ -16,7 +16,7 @@ namespace AspNetCore
|
|||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml")]
|
||||
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
|
||||
#nullable restore
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
internal sealed class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
|
@ -1 +1 @@
|
|||
~~~~~~~ ~~~~~ ~~~~~~~~~~~~~~
|
||||
/*~~~*/ /*~*/ /*~~~~~~~~~~*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Document -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
NamespaceDeclaration - - AspNetCoreGeneratedDocument
|
||||
UsingDirective - - TModel = global::System.Object
|
||||
UsingDirective - (1:0,1 [20] ) - global::System
|
||||
UsingDirective - (24:1,1 [40] ) - global::System.Collections.Generic
|
||||
|
@ -10,7 +10,7 @@
|
|||
UsingDirective - (226:6,1 [51] ) - global::Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||
RazorCompiledItemMetadataAttribute -
|
||||
CreateNewOnMetadataUpdateAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||
ClassDeclaration - - internal sealed - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||
DesignTimeDirective -
|
||||
DirectiveToken - (287:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||
DirectiveToken - (350:7,71 [4] ) - Html
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
Source Location: (8:0,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml)
|
||||
|MyApp|
|
||||
Generated Location: (1171:26,0 [5] )
|
||||
Generated Location: (1197:26,0 [5] )
|
||||
|MyApp|
|
||||
|
||||
Source Location: (14:0,14 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml)
|
||||
|MyPropertyName|
|
||||
Generated Location: (1444:36,22 [14] )
|
||||
Generated Location: (1470:36,22 [14] )
|
||||
|MyPropertyName|
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "f0ec78e6ab6def57bd9067e564edaa84059a8ecb9a3c1766a148a7df3096b7b0"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml")]
|
||||
namespace AspNetCore
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCoreGeneratedDocument.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml")]
|
||||
namespace AspNetCoreGeneratedDocument
|
||||
{
|
||||
#line default
|
||||
using global::System;
|
||||
|
@ -18,7 +18,7 @@ namespace AspNetCore
|
|||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml")]
|
||||
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
|
||||
#nullable restore
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
internal sealed class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Document -
|
||||
RazorCompiledItemAttribute -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
NamespaceDeclaration - - AspNetCoreGeneratedDocument
|
||||
UsingDirective - (1:0,1 [22] ) - global::System
|
||||
UsingDirective - (24:1,1 [42] ) - global::System.Collections.Generic
|
||||
UsingDirective - (67:2,1 [27] ) - global::System.Linq
|
||||
|
@ -11,7 +11,7 @@
|
|||
RazorSourceChecksumAttribute -
|
||||
RazorCompiledItemMetadataAttribute -
|
||||
CreateNewOnMetadataUpdateAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||
ClassDeclaration - - internal sealed - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||
Inject -
|
||||
Inject -
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
Source Location: (8:0,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml)
|
||||
|MyApp|
|
||||
Generated Location: (1974:32,0 [5] )
|
||||
Generated Location: (2017:32,0 [5] )
|
||||
|MyApp|
|
||||
|
||||
Source Location: (14:0,14 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml)
|
||||
|MyPropertyName|
|
||||
Generated Location: (2155:40,0 [14] )
|
||||
Generated Location: (2198:40,0 [14] )
|
||||
|MyPropertyName|
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace AspNetCore
|
||||
namespace AspNetCoreGeneratedDocument
|
||||
{
|
||||
#line default
|
||||
using TModel = global::System.Object;
|
||||
|
@ -16,7 +16,7 @@ namespace AspNetCore
|
|||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF.cshtml")]
|
||||
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
|
||||
#nullable restore
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
internal sealed class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
|
@ -1 +1 @@
|
|||
~~~~~~~~~~ Test.
|
||||
/*~~~~~~*/ Test.
|
|
@ -1,5 +1,5 @@
|
|||
Document -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
NamespaceDeclaration - - AspNetCoreGeneratedDocument
|
||||
UsingDirective - - TModel = global::System.Object
|
||||
UsingDirective - (1:0,1 [20] ) - global::System
|
||||
UsingDirective - (24:1,1 [40] ) - global::System.Collections.Generic
|
||||
|
@ -10,7 +10,7 @@
|
|||
UsingDirective - (226:6,1 [51] ) - global::Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||
RazorCompiledItemMetadataAttribute -
|
||||
CreateNewOnMetadataUpdateAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||
ClassDeclaration - - internal sealed - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||
DesignTimeDirective -
|
||||
DirectiveToken - (287:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||
DirectiveToken - (350:7,71 [4] ) - Html
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF.cshtml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3b8355e6c17c9dc5d6062d64a789a8b5a81db5adec1e9913ff7a7c1565682765"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF.cshtml")]
|
||||
namespace AspNetCore
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCoreGeneratedDocument.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF.cshtml")]
|
||||
namespace AspNetCoreGeneratedDocument
|
||||
{
|
||||
#line default
|
||||
using global::System;
|
||||
|
@ -18,7 +18,7 @@ namespace AspNetCore
|
|||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF.cshtml")]
|
||||
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
|
||||
#nullable restore
|
||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
internal sealed class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Document -
|
||||
RazorCompiledItemAttribute -
|
||||
NamespaceDeclaration - - AspNetCore
|
||||
NamespaceDeclaration - - AspNetCoreGeneratedDocument
|
||||
UsingDirective - (1:0,1 [22] ) - global::System
|
||||
UsingDirective - (24:1,1 [42] ) - global::System.Collections.Generic
|
||||
UsingDirective - (67:2,1 [27] ) - global::System.Linq
|
||||
|
@ -11,7 +11,7 @@
|
|||
RazorSourceChecksumAttribute -
|
||||
RazorCompiledItemMetadataAttribute -
|
||||
CreateNewOnMetadataUpdateAttribute -
|
||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||
ClassDeclaration - - internal sealed - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||
MalformedDirective - (0:0,0 [11] InvalidNamespaceAtEOF.cshtml) - namespace
|
||||
HtmlContent - (11:0,11 [5] InvalidNamespaceAtEOF.cshtml)
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче