Go to file
N. Taylor Mullen e3287ae672 Add diagnostics to the IR.
- Added a `Diagnostics` and `HasDiagnostics` properties to `RazorIRNode`. The `HasDiagnostics` property was necessary in order to traverse nodes without forcibly instantiating their diagnostic lists.
- Added `GetAllDiagnostics` extension method for `RazorIRNode` to provide a way to retrieve all diagnostics that exist on and under a `RazorIRNode`.
- Updated `RazorIRNodeWriter` to display any diagnostics that exist on IR nodes.
- Internal `RazorIRNode`s do not have mutable `Diagnostics` because we don't currently add diagnostics to these elements.
- Added `DefaultIRLoweringPhaseTest` to validate that errors flow from syntax tree to IR document. Also added a missing test.
- Updated the `CSharpLoweringPhaseTest`s to properly validate that errors flow from IR document => csharp document. This resulted in movement of code to the ir lowering phase tests.

#1412
2017-06-13 10:28:41 -07:00
build Remove Roslyn from NuGet.config. 2017-06-12 13:33:55 -07:00
shared/Microsoft.AspNetCore.Razor.TagHelpers.Testing.Sources
src Add diagnostics to the IR. 2017-06-13 10:28:41 -07:00
test Add diagnostics to the IR. 2017-06-13 10:28:41 -07:00
tooling/Microsoft.VisualStudio.RazorExtension Add DisplayName and Description for directives 2017-06-07 13:37:34 -07:00
.editorconfig
.gitattributes
.gitignore Use project.json for the VSIX project 2017-06-03 17:27:35 -07:00
.travis.yml
CONTRIBUTING.md
LICENSE.txt
NuGet.config Removed Roslyn feed as we are now mirroring these packages 2017-06-12 08:16:11 -07:00
NuGetPackageVerifier.json
README.md
Razor.sln Compile CodeGeneration tests 2017-05-16 16:26:47 -07:00
appveyor.yml
build.cmd
build.ps1 Updating build scripts to point to 2.0.0-preview2 KoreBuild 2017-05-31 19:53:31 -07:00
build.sh Updating build scripts to point to 2.0.0-preview2 KoreBuild 2017-05-31 19:53:31 -07:00
version.props Updating versions to preview3 2017-06-01 10:47:38 -07:00

README.md

Razor

AppVeyor: AppVeyor

Travis: Travis

The Razor syntax provides a fast, terse, clean and lightweight way to combine server code with HTML to create dynamic web content. This repo contains the parser and the C# code generator for the Razor syntax.

This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.