aspnetcore/test
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
..
Microsoft.AspNetCore.Mvc.Razor.Extensions.Test Add line numbers for design time directives 2018-10-18 13:46:24 -07:00
Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X.Test Add line numbers for design time directives 2018-10-18 13:46:24 -07:00
Microsoft.AspNetCore.Razor.Design.Test
Microsoft.AspNetCore.Razor.Language.Test Add line numbers for design time directives 2018-10-18 13:46:24 -07:00
Microsoft.AspNetCore.Razor.Runtime.Test
Microsoft.AspNetCore.Razor.Test
Microsoft.AspNetCore.Razor.Test.Common
Microsoft.AspNetCore.Razor.Test.MvcShim
Microsoft.AspNetCore.Razor.Test.MvcShim.ClassLib
Microsoft.AspNetCore.Razor.Test.MvcShim.Version1_X
Microsoft.AspNetCore.Razor.Tools.Test
Microsoft.CodeAnalysis.Razor.Test
Microsoft.CodeAnalysis.Razor.Workspaces.Test Allow identical DocumentSnapshot sources to trigger output changes. 2018-10-16 16:09:17 -07:00
Microsoft.CodeAnalysis.Razor.Workspaces.Test.Common
Microsoft.VisualStudio.Editor.Razor.Test
Microsoft.VisualStudio.Editor.Razor.Test.Common
Microsoft.VisualStudio.LanguageServices.Razor.Test Update VS dependencies 2018-10-16 17:58:03 -07:00
Microsoft.VisualStudio.Mac.LanguageServices.Razor.Test
RazorPageGenerator.Test
testapps
Directory.Build.props