aspnetcore/test/Microsoft.AspNetCore.Razor..../Intermediate
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
..
DefaultRazorIRBuilderTest.cs Add diagnostics to the IR. 2017-06-13 10:28:41 -07:00
DocumentIRNodeExtensionsTest.cs Add RazorIRNodeReference for manipulating nodes 2017-06-12 13:46:59 -07:00
ExtensionIRNodeTest.cs Get rid of Parent from IR node 2017-06-08 19:22:14 -07:00
RazorIRNodeReferenceTest.cs Add diagnostics to the IR. 2017-06-13 10:28:41 -07:00
RazorIRNodeWalkerTest.cs Add diagnostics to the IR. 2017-06-13 10:28:41 -07:00