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 Made IntermediateNodeWalker.Ancestors indexable 2017-07-06 19:24:25 -07:00
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 Added RazorParserFeatureFlags and added support for minimized bool tag 2017-09-29 16:02:09 -07:00
DefaultAllowedChildTagDescriptorBuilderTest.cs
DefaultBoundAttributeDescriptorBuilderTest.cs
DefaultDocumentClassifierPassTest.cs
DefaultItemCollectionTest.cs
DefaultRazorCSharpLoweringPhaseTest.cs
DefaultRazorCodeDocumentTest.cs
DefaultRazorDiagnosticTest.cs
DefaultRazorDirectiveClassifierPhaseTest.cs
DefaultRazorDocumentClassifierPhaseTest.cs
DefaultRazorEngineBuilderTest.cs Reduce public surface area of some APIs. 2017-07-06 16:50:11 -07:00
DefaultRazorEngineTest.cs
DefaultRazorIntermediateNodeLoweringPhaseIntegrationTest.cs Made `RazorCodeGenerationOptionsBuilder.DesignTime` getter only 2017-07-07 14:41:53 -07:00
DefaultRazorIntermediateNodeLoweringPhaseTest.cs Made `RazorCodeGenerationOptionsBuilder.DesignTime` getter only 2017-07-07 14:41:53 -07:00
DefaultRazorOptimizationPhaseTest.cs
DefaultRazorParsingPhaseTest.cs Added RazorParserFeatureFlags and added support for minimized bool tag 2017-09-29 16:02:09 -07:00
DefaultRazorSyntaxTreePhaseTest.cs
DefaultRazorTagHelperBinderPhaseTest.cs Removed LegacyRazorDiagnostic and RazorError 2017-12-27 11:43:19 -08:00
DefaultRequiredAttributeDescriptorBuilderTest.cs
DirectiveDescriptorBuilderExtensionsTest.cs Added Name and Documentation to DirectiveTokenDescriptor 2017-11-06 10:55:52 -08:00
DirectiveDescriptorTest.cs
DirectiveRemovalOptimizationPassTest.cs
DirectiveTokenEditHandlerTest.cs Re-introduce RazorEditorParser. 2017-07-12 17:01:16 -07:00
DocumentClassifierPassBaseTest.cs Made CodeTargetBuilder an abstract class 2017-07-06 19:01:28 -07:00
FileSystemRazorProjectItemTest.cs Adjusted verbosity of some property names and made 2017-07-06 18:05:36 -07:00
FileSystemRazorProjectTest.cs Adjusted verbosity of some property names and made 2017-07-06 18:05:36 -07:00
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 Added RazorParserFeatureFlags and added support for minimized bool tag 2017-09-29 16:02:09 -07:00
RazorProjectItemTest.cs Adjusted verbosity of some property names and made 2017-07-06 18:05:36 -07:00
RazorProjectTest.cs Adjusted verbosity of some property names and made 2017-07-06 18:05:36 -07:00
RazorSourceDocumentTest.cs Adjusted verbosity of some property names and made 2017-07-06 18:05:36 -07:00
RazorSyntaxTreeTest.cs Rename ParseOnlyLeadingDirectives. 2017-07-06 14:34:15 -07:00
RazorTemplateEngineTest.cs Adjusted verbosity of some property names and made 2017-07-06 18:05:36 -07:00
SourceChangeTest.cs Upgrade to xunit 2.3.0-beta4 (#1640) 2017-08-23 12:56:31 -07:00
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 Fix: Nested tag helpers do not work when tag helper prefix is set 2017-08-17 15:26:10 -07:00
TagHelperDescriptorBuilderTest.cs
TagHelperDescriptorExtensionsTest.cs
TagHelperMatchingConventionsTest.cs
xunit.runner.json