aspnetcore/test
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
..
Microsoft.AspNetCore.Mvc.Razor.Extensions.Test Make usage of FileName and FilePath consistent 2017-06-12 16:15:26 -07:00
Microsoft.AspNetCore.Razor.Language.Test Add diagnostics to the IR. 2017-06-13 10:28:41 -07:00
Microsoft.AspNetCore.Razor.Performance
Microsoft.AspNetCore.Razor.Runtime.Test React to downstream upgrades to .NET Standard 2.0 2017-06-07 12:51:48 -07:00
Microsoft.AspNetCore.Razor.Test.Common Add diagnostics to the IR. 2017-06-13 10:28:41 -07:00
Microsoft.AspNetCore.Razor.Test.MvcShim Target .NET Standard 2.0 2017-06-08 16:37:27 -07:00
Microsoft.CodeAnalysis.Razor.Test Target .NET Standard 2.0 2017-06-08 16:37:27 -07:00
Microsoft.VisualStudio.LanguageServices.Razor.Test Target .NET Standard 2.0 2017-06-08 16:37:27 -07:00
RazorPageGenerator.Test Target .NET Standard 2.0 2017-06-08 16:37:27 -07:00