aspnetcore/test/Microsoft.AspNetCore.Razor....
Ryan Nowak 186e5733c0
Add metadata to Razor (#1894)
* Add metadata to Razor

This PR introduces standard metadata to Razor. This change begins to
formalize the contract between generated code produced by Razor and
runtimes that want to load and interact with this code.

This is a step on making MVC a 'plugin' to Razor rather than the only
possible implementation. Since we're doing MSBuild work - this is the
right time to designate the current interaction between Razor and MVC as
'legacy' and move forward.

Additionally, we need the source thumbprinting to make re-compilation of
Razor a thing.

-----

Also I noticed that our source document doesn't expose the hash
algorithm by name. We really should have this, so I added it and
hardened the code that deals with checksums in c# generation.
2018-01-02 13:30:50 -08:00
..
CodeGeneration Add metadata to Razor (#1894) 2018-01-02 13:30:50 -08:00
Extensions Add metadata to Razor (#1894) 2018-01-02 13:30:50 -08:00
IntegrationTests Add metadata to Razor (#1894) 2018-01-02 13:30:50 -08:00
Intermediate
Legacy Removed LegacyRazorDiagnostic and RazorError 2017-12-27 11:43:19 -08:00
Properties
TestFiles Add metadata to Razor (#1894) 2018-01-02 13:30:50 -08:00
BoundAttributeDescriptorExtensionsTest.cs
DefaultAllowedChildTagDescriptorBuilderTest.cs
DefaultBoundAttributeDescriptorBuilderTest.cs
DefaultDocumentClassifierPassTest.cs
DefaultItemCollectionTest.cs
DefaultRazorCSharpLoweringPhaseTest.cs
DefaultRazorCodeDocumentTest.cs
DefaultRazorDiagnosticTest.cs
DefaultRazorDirectiveClassifierPhaseTest.cs
DefaultRazorDocumentClassifierPhaseTest.cs
DefaultRazorEngineBuilderTest.cs
DefaultRazorEngineTest.cs
DefaultRazorIntermediateNodeLoweringPhaseIntegrationTest.cs
DefaultRazorIntermediateNodeLoweringPhaseTest.cs
DefaultRazorOptimizationPhaseTest.cs
DefaultRazorParsingPhaseTest.cs
DefaultRazorSyntaxTreePhaseTest.cs
DefaultRazorTagHelperBinderPhaseTest.cs Removed LegacyRazorDiagnostic and RazorError 2017-12-27 11:43:19 -08:00
DefaultRequiredAttributeDescriptorBuilderTest.cs
DirectiveDescriptorBuilderExtensionsTest.cs
DirectiveDescriptorTest.cs
DirectiveRemovalOptimizationPassTest.cs
DirectiveTokenEditHandlerTest.cs
DocumentClassifierPassBaseTest.cs
FileSystemRazorProjectItemTest.cs
FileSystemRazorProjectTest.cs
HtmlConventionsTest.cs
HtmlNodeOptimizationPassTest.cs
LargeTextSourceDocumentTest.cs
Microsoft.AspNetCore.Razor.Language.Test.csproj Prevent type name collisions when file hierarchy + namespace is identical (#1881) 2018-01-02 09:41:10 -08:00
RazorCodeDocumentExtensionsTest.cs Add metadata to Razor (#1894) 2018-01-02 13:30:50 -08:00
RazorCodeDocumentTest.cs
RazorDiagnosticDescriptorTest.cs
RazorDiagnosticTest.cs Removed LegacyRazorDiagnostic and RazorError 2017-12-27 11:43:19 -08:00
RazorEngineBuilderExtensionsTest.cs
RazorEngineTest.cs Add metadata to Razor (#1894) 2018-01-02 13:30:50 -08:00
RazorParserFeatureFlagsTest.cs
RazorProjectItemTest.cs
RazorProjectTest.cs
RazorSourceDocumentTest.cs
RazorSyntaxTreeTest.cs
RazorTemplateEngineTest.cs
SourceChangeTest.cs
SourceLocationTest.cs Revert "Revert "Include LineIndex and CharacterIndex when comparing SourceLocation"" 2017-12-20 15:27:15 -08:00
SourceSpanTest.cs
StreamSourceDocumentTest.cs
StringSourceDocumentTest.cs
TagHelperBinderTest.cs
TagHelperDescriptorBuilderTest.cs
TagHelperDescriptorExtensionsTest.cs
TagHelperMatchingConventionsTest.cs
xunit.runner.json