aspnetcore/test/Microsoft.AspNetCore.Mvc.Ra...
Ryan Nowak bafe1b27ff Add line numbers for design time directives
Addresses a blocking issue for FAR of types when used in user-code in a
directive. The FAR infrastructure is skipping over the directive code
because it's mapped to `#hidden`. As you can see in the code, the token
provided by the user is already included in the projection mappings.

I think we didn't do this before because we didn't expect this code to
need line numbers - it's not really debuggable, and design-time codegen
doesn't happen when you build the project.

I think it's OK for now that we don't line-map (or include) directives
based on view imports. If you trigger FAR on an `@inject ...` in an
import for instance, you'll find the reference for the view import file.
That seems pretty good, and the only cases I can really imagine it being
broken would be for go-to-definition (within a Razor view). Lets revisit
in the future based on feedback.
2018-10-18 13:46:24 -07:00
..
IntegrationTests Fix #2265 - Port Blazor testing improvements 2018-10-01 13:00:44 -07:00
Properties
TestFiles/IntegrationTests Add line numbers for design time directives 2018-10-18 13:46:24 -07:00
AssemblyAttributeInjectionPassTest.cs Obsoleted IRazorEngineBuilder APIs 2018-04-13 12:35:53 -07:00
InjectDirectiveTest.cs Obsoleted IRazorEngineBuilder APIs 2018-04-13 12:35:53 -07:00
InjectTargetExtensionTest.cs Convert most of CodeWriter into extensions 2017-07-07 10:55:33 -07:00
InstrumentationPassTest.cs Obsoleted IRazorEngineBuilder APIs 2018-04-13 12:35:53 -07:00
Microsoft.AspNetCore.Mvc.Razor.Extensions.Test.csproj Update samples and tests to target netcoreapp2.1 2017-11-14 09:45:28 -08:00
ModelDirectiveTest.cs Obsoleted IRazorEngineBuilder APIs 2018-04-13 12:35:53 -07:00
ModelExpressionPassTest.cs Obsoleted IRazorEngineBuilder APIs 2018-04-13 12:35:53 -07:00
MvcImportProjectFeatureTest.cs Catch 15.7 up with dev 2018-02-19 10:46:16 -08:00
MvcRazorTemplateEngineTest.cs Obsoleted IRazorEngineBuilder APIs 2018-04-13 12:35:53 -07:00
MvcShim.cs Don't add the tag helper provider by default 2018-03-08 15:41:34 -08:00
MvcViewDocumentClassifierPassTest.cs Use checksum for classname if filepath is null 2018-06-11 08:25:57 -07:00
NamespaceDirectiveTest.cs Obsoleted IRazorEngineBuilder APIs 2018-04-13 12:35:53 -07:00
PageDirectiveTest.cs Obsoleted IRazorEngineBuilder APIs 2018-04-13 12:35:53 -07:00
RazorPageDocumentClassifierPassTest.cs Use checksum for classname if filepath is null 2018-06-11 08:25:57 -07:00
SourceMappingsSerializer.cs
TagHelperDescriptorExtensionsTest.cs
ViewComponentTagHelperDescriptorFactoryTest.cs Allow Invoke \ InvokeAsync methods for a ViewComponent to be defined in base types 2018-09-18 13:38:48 -07:00
ViewComponentTagHelperDescriptorProviderTest.cs Obsoleted IRazorEngineBuilder APIs 2018-04-13 12:35:53 -07:00
ViewComponentTagHelperPassTest.cs Obsoleted IRazorEngineBuilder APIs 2018-04-13 12:35:53 -07:00
ViewComponentTagHelperTargetExtensionTest.cs Make ViewComponentTagHelper use extension intermediate nodes 2017-08-11 12:01:21 -07:00
ViewComponentTypeVisitorTest.cs
xunit.runner.json