Update tests to not require quotes for TH directives.
- Updated .cshtml files to not provide quotes for the various `TagHelper` directives. - Updated `TagHelper` directive parsing tests. This also involved removing several tests that expected errors which no longer occur since we don't have to ensure quotes are balanced. - Updated line mappings which significantly changed due to us no longer generating line pragmas at design time for `TagHelper` directives. #561
This commit is contained in:
parent
013f3a27af
commit
0c95315500
File diff suppressed because it is too large
Load Diff
|
|
@ -332,25 +332,24 @@ namespace Microsoft.AspNet.Razor.Test.Framework
|
|||
.Accepts(AcceptedCharacters.AnyExceptNewline);
|
||||
}
|
||||
|
||||
public SpanConstructor AsAddTagHelper(string lookupText)
|
||||
public SpanConstructor AsAddTagHelper()
|
||||
{
|
||||
return _self
|
||||
.With(
|
||||
new AddOrRemoveTagHelperChunkGenerator(removeTagHelperDescriptors: false, lookupText: lookupText))
|
||||
.With(new AddTagHelperChunkGenerator())
|
||||
.Accepts(AcceptedCharacters.AnyExceptNewline);
|
||||
}
|
||||
|
||||
public SpanConstructor AsRemoveTagHelper(string lookupText)
|
||||
public SpanConstructor AsRemoveTagHelper()
|
||||
{
|
||||
return _self
|
||||
.With(new AddOrRemoveTagHelperChunkGenerator(removeTagHelperDescriptors: true, lookupText: lookupText))
|
||||
.With(new RemoveTagHelperChunkGenerator())
|
||||
.Accepts(AcceptedCharacters.AnyExceptNewline);
|
||||
}
|
||||
|
||||
public SpanConstructor AsTagHelperPrefixDirective(string prefix)
|
||||
public SpanConstructor AsTagHelperPrefixDirective()
|
||||
{
|
||||
return _self
|
||||
.With(new TagHelperPrefixDirectiveChunkGenerator(prefix))
|
||||
.With(new TagHelperPrefixDirectiveChunkGenerator())
|
||||
.Accepts(AcceptedCharacters.AnyExceptNewline);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,30 +11,17 @@ namespace Microsoft.AspNet.Razor.Test.Parser.CSharp
|
|||
{
|
||||
public class CSharpDirectivesTest : CsHtmlCodeParserTestBase
|
||||
{
|
||||
[Fact]
|
||||
public void TagHelperPrefixDirective_NoValueSucceeds()
|
||||
{
|
||||
ParseBlockTest("@tagHelperPrefix \"\"",
|
||||
new DirectiveBlock(
|
||||
Factory.CodeTransition(),
|
||||
Factory
|
||||
.MetaCode(SyntaxConstants.CSharp.TagHelperPrefixKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.Code("\"\"")
|
||||
.AsTagHelperPrefixDirective(string.Empty)));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void TagHelperPrefixDirective_Succeeds()
|
||||
{
|
||||
ParseBlockTest("@tagHelperPrefix \"Foo\"",
|
||||
ParseBlockTest("@tagHelperPrefix Foo",
|
||||
new DirectiveBlock(
|
||||
Factory.CodeTransition(),
|
||||
Factory
|
||||
.MetaCode(SyntaxConstants.CSharp.TagHelperPrefixKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.Code("\"Foo\"")
|
||||
.AsTagHelperPrefixDirective("Foo")));
|
||||
Factory.Code("Foo")
|
||||
.AsTagHelperPrefixDirective()));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
@ -47,7 +34,7 @@ namespace Microsoft.AspNet.Razor.Test.Parser.CSharp
|
|||
.MetaCode(SyntaxConstants.CSharp.TagHelperPrefixKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.EmptyCSharp()
|
||||
.AsStatement()
|
||||
.AsTagHelperPrefixDirective()
|
||||
.Accepts(AcceptedCharacters.AnyExceptNewline)),
|
||||
new RazorError(
|
||||
RazorResources.FormatParseError_DirectiveMustHaveValue(
|
||||
|
|
@ -55,87 +42,28 @@ namespace Microsoft.AspNet.Razor.Test.Parser.CSharp
|
|||
absoluteIndex: 1, lineIndex: 0, columnIndex: 1, length: 15));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void TagHelperPrefixDirective_StartQuoteRequiresDoubleQuotesAroundValue()
|
||||
{
|
||||
ParseBlockTest("@tagHelperPrefix \"Foo",
|
||||
new DirectiveBlock(
|
||||
Factory.CodeTransition(),
|
||||
Factory
|
||||
.MetaCode(SyntaxConstants.CSharp.TagHelperPrefixKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.Code("\"Foo")
|
||||
.AsTagHelperPrefixDirective("Foo")),
|
||||
new RazorError(
|
||||
RazorResources.ParseError_Unterminated_String_Literal,
|
||||
absoluteIndex: 17, lineIndex: 0, columnIndex: 17, length: 1),
|
||||
new RazorError(
|
||||
RazorResources.FormatParseError_DirectiveMustBeSurroundedByQuotes(
|
||||
SyntaxConstants.CSharp.TagHelperPrefixKeyword),
|
||||
absoluteIndex: 17, lineIndex: 0, columnIndex: 17, length: 4));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void TagHelperPrefixDirective_EndQuoteRequiresDoubleQuotesAroundValue()
|
||||
{
|
||||
ParseBlockTest("@tagHelperPrefix Foo\"",
|
||||
new DirectiveBlock(
|
||||
Factory.CodeTransition(),
|
||||
Factory
|
||||
.MetaCode(SyntaxConstants.CSharp.TagHelperPrefixKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.Code("Foo\"")
|
||||
.AsStatement()
|
||||
.Accepts(AcceptedCharacters.AnyExceptNewline)),
|
||||
new RazorError(
|
||||
RazorResources.ParseError_Unterminated_String_Literal,
|
||||
absoluteIndex: 20, lineIndex: 0, columnIndex: 20, length: 1),
|
||||
new RazorError(
|
||||
RazorResources.FormatParseError_DirectiveMustBeSurroundedByQuotes(
|
||||
SyntaxConstants.CSharp.TagHelperPrefixKeyword),
|
||||
absoluteIndex: 17, lineIndex: 0, columnIndex: 17, length: 4));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void TagHelperPrefixDirective_RequiresDoubleQuotesAroundValue()
|
||||
{
|
||||
ParseBlockTest("@tagHelperPrefix Foo",
|
||||
new DirectiveBlock(
|
||||
Factory.CodeTransition(),
|
||||
Factory
|
||||
.MetaCode(SyntaxConstants.CSharp.TagHelperPrefixKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.Code("Foo")
|
||||
.AsStatement()
|
||||
.Accepts(AcceptedCharacters.AnyExceptNewline)),
|
||||
new RazorError(
|
||||
RazorResources.FormatParseError_DirectiveMustBeSurroundedByQuotes(
|
||||
SyntaxConstants.CSharp.TagHelperPrefixKeyword),
|
||||
absoluteIndex: 17, lineIndex: 0, columnIndex: 17, length: 3));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void RemoveTagHelperDirective_Succeeds()
|
||||
{
|
||||
ParseBlockTest("@removeTagHelper \"Foo\"",
|
||||
ParseBlockTest("@removeTagHelper Foo",
|
||||
new DirectiveBlock(
|
||||
Factory.CodeTransition(),
|
||||
Factory.MetaCode(SyntaxConstants.CSharp.RemoveTagHelperKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.Code("\"Foo\"")
|
||||
.AsRemoveTagHelper("Foo")));
|
||||
Factory.Code("Foo")
|
||||
.AsRemoveTagHelper()));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void RemoveTagHelperDirective_SupportsSpaces()
|
||||
{
|
||||
ParseBlockTest("@removeTagHelper \" Foo, Bar \" ",
|
||||
ParseBlockTest("@removeTagHelper Foo, Bar ",
|
||||
new DirectiveBlock(
|
||||
Factory.CodeTransition(),
|
||||
Factory.MetaCode(SyntaxConstants.CSharp.RemoveTagHelperKeyword + " ")
|
||||
Factory.MetaCode(SyntaxConstants.CSharp.RemoveTagHelperKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.Code("\" Foo, Bar \" ")
|
||||
.AsRemoveTagHelper("Foo, Bar")
|
||||
Factory.Code("Foo, Bar ")
|
||||
.AsRemoveTagHelper()
|
||||
.Accepts(AcceptedCharacters.AnyExceptNewline)));
|
||||
}
|
||||
|
||||
|
|
@ -148,7 +76,7 @@ namespace Microsoft.AspNet.Razor.Test.Parser.CSharp
|
|||
Factory.MetaCode(SyntaxConstants.CSharp.RemoveTagHelperKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.EmptyCSharp()
|
||||
.AsStatement()
|
||||
.AsRemoveTagHelper()
|
||||
.Accepts(AcceptedCharacters.AnyExceptNewline)),
|
||||
new RazorError(
|
||||
RazorResources.FormatParseError_DirectiveMustHaveValue(
|
||||
|
|
@ -156,84 +84,28 @@ namespace Microsoft.AspNet.Razor.Test.Parser.CSharp
|
|||
absoluteIndex: 1, lineIndex: 0, columnIndex: 1, length: 15));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void RemoveTagHelperDirective_StartQuoteRequiresDoubleQuotesAroundValue()
|
||||
{
|
||||
ParseBlockTest("@removeTagHelper \"Foo",
|
||||
new DirectiveBlock(
|
||||
Factory.CodeTransition(),
|
||||
Factory.MetaCode(SyntaxConstants.CSharp.RemoveTagHelperKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.Code("\"Foo")
|
||||
.AsRemoveTagHelper("Foo")),
|
||||
new RazorError(
|
||||
RazorResources.ParseError_Unterminated_String_Literal,
|
||||
absoluteIndex: 17, lineIndex: 0, columnIndex: 17, length: 1),
|
||||
new RazorError(
|
||||
RazorResources.FormatParseError_DirectiveMustBeSurroundedByQuotes(
|
||||
SyntaxConstants.CSharp.RemoveTagHelperKeyword),
|
||||
absoluteIndex: 17, lineIndex: 0, columnIndex: 17, length: 4));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void RemoveTagHelperDirective_EndQuoteRequiresDoubleQuotesAroundValue()
|
||||
{
|
||||
ParseBlockTest("@removeTagHelper Foo\"",
|
||||
new DirectiveBlock(
|
||||
Factory.CodeTransition(),
|
||||
Factory.MetaCode(SyntaxConstants.CSharp.RemoveTagHelperKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.Code("Foo\"")
|
||||
.AsStatement()
|
||||
.Accepts(AcceptedCharacters.AnyExceptNewline)),
|
||||
new RazorError(
|
||||
RazorResources.ParseError_Unterminated_String_Literal,
|
||||
absoluteIndex: 20, lineIndex: 0, columnIndex: 20, length: 1),
|
||||
new RazorError(
|
||||
RazorResources.FormatParseError_DirectiveMustBeSurroundedByQuotes(
|
||||
SyntaxConstants.CSharp.RemoveTagHelperKeyword),
|
||||
absoluteIndex: 17, lineIndex: 0, columnIndex: 17, length: 4));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void RemoveTagHelperDirective_RequiresDoubleQuotesAroundValue()
|
||||
{
|
||||
ParseBlockTest("@removeTagHelper Foo",
|
||||
new DirectiveBlock(
|
||||
Factory.CodeTransition(),
|
||||
Factory.MetaCode(SyntaxConstants.CSharp.RemoveTagHelperKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.Code("Foo")
|
||||
.AsStatement()
|
||||
.Accepts(AcceptedCharacters.AnyExceptNewline)),
|
||||
new RazorError(
|
||||
RazorResources.FormatParseError_DirectiveMustBeSurroundedByQuotes(
|
||||
SyntaxConstants.CSharp.RemoveTagHelperKeyword),
|
||||
absoluteIndex: 17, lineIndex: 0, columnIndex: 17, length: 3));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void AddTagHelperDirective_Succeeds()
|
||||
{
|
||||
ParseBlockTest("@addTagHelper \"Foo\"",
|
||||
ParseBlockTest("@addTagHelper Foo",
|
||||
new DirectiveBlock(
|
||||
Factory.CodeTransition(),
|
||||
Factory.MetaCode(SyntaxConstants.CSharp.AddTagHelperKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.Code("\"Foo\"")
|
||||
.AsAddTagHelper("Foo")));
|
||||
Factory.Code("Foo")
|
||||
.AsAddTagHelper()));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void AddTagHelperDirectiveSupportsSpaces()
|
||||
{
|
||||
ParseBlockTest("@addTagHelper \" Foo, Bar \" ",
|
||||
ParseBlockTest("@addTagHelper Foo, Bar ",
|
||||
new DirectiveBlock(
|
||||
Factory.CodeTransition(),
|
||||
Factory.MetaCode(SyntaxConstants.CSharp.AddTagHelperKeyword + " ")
|
||||
Factory.MetaCode(SyntaxConstants.CSharp.AddTagHelperKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.Code("\" Foo, Bar \" ")
|
||||
.AsAddTagHelper("Foo, Bar")));
|
||||
Factory.Code("Foo, Bar ")
|
||||
.AsAddTagHelper()));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
@ -245,69 +117,13 @@ namespace Microsoft.AspNet.Razor.Test.Parser.CSharp
|
|||
Factory.MetaCode(SyntaxConstants.CSharp.AddTagHelperKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.EmptyCSharp()
|
||||
.AsStatement()
|
||||
.AsAddTagHelper()
|
||||
.Accepts(AcceptedCharacters.AnyExceptNewline)),
|
||||
new RazorError(
|
||||
RazorResources.FormatParseError_DirectiveMustHaveValue(SyntaxConstants.CSharp.AddTagHelperKeyword),
|
||||
absoluteIndex: 1, lineIndex: 0, columnIndex: 1, length: 12));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void AddTagHelperDirectiveWithStartQuoteRequiresDoubleQuotesAroundValue()
|
||||
{
|
||||
ParseBlockTest("@addTagHelper \"Foo",
|
||||
new DirectiveBlock(
|
||||
Factory.CodeTransition(),
|
||||
Factory.MetaCode(SyntaxConstants.CSharp.AddTagHelperKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.Code("\"Foo")
|
||||
.AsAddTagHelper("Foo")),
|
||||
new RazorError(
|
||||
RazorResources.ParseError_Unterminated_String_Literal,
|
||||
absoluteIndex: 14, lineIndex: 0, columnIndex: 14, length: 1),
|
||||
new RazorError(
|
||||
RazorResources.FormatParseError_DirectiveMustBeSurroundedByQuotes(
|
||||
SyntaxConstants.CSharp.AddTagHelperKeyword),
|
||||
absoluteIndex: 14, lineIndex: 0, columnIndex: 14, length: 4));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void AddTagHelperDirectiveWithEndQuoteRequiresDoubleQuotesAroundValue()
|
||||
{
|
||||
ParseBlockTest("@addTagHelper Foo\"",
|
||||
new DirectiveBlock(
|
||||
Factory.CodeTransition(),
|
||||
Factory.MetaCode(SyntaxConstants.CSharp.AddTagHelperKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.Code("Foo\"")
|
||||
.AsStatement()
|
||||
.Accepts(AcceptedCharacters.AnyExceptNewline)),
|
||||
new RazorError(
|
||||
RazorResources.ParseError_Unterminated_String_Literal,
|
||||
absoluteIndex: 17, lineIndex: 0, columnIndex: 17, length: 1),
|
||||
new RazorError(
|
||||
RazorResources.FormatParseError_DirectiveMustBeSurroundedByQuotes(
|
||||
SyntaxConstants.CSharp.AddTagHelperKeyword),
|
||||
absoluteIndex: 14, lineIndex: 0, columnIndex: 14, length: 4));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void AddTagHelperDirectiveRequiresDoubleQuotesAroundValue()
|
||||
{
|
||||
ParseBlockTest("@addTagHelper Foo",
|
||||
new DirectiveBlock(
|
||||
Factory.CodeTransition(),
|
||||
Factory.MetaCode(SyntaxConstants.CSharp.AddTagHelperKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.Code("Foo")
|
||||
.AsStatement()
|
||||
.Accepts(AcceptedCharacters.AnyExceptNewline)),
|
||||
new RazorError(
|
||||
RazorResources.FormatParseError_DirectiveMustBeSurroundedByQuotes(
|
||||
SyntaxConstants.CSharp.AddTagHelperKeyword),
|
||||
absoluteIndex: 14, lineIndex: 0, columnIndex: 14, length: 3));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void InheritsDirective()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -32,10 +32,10 @@ namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
|
|||
resolver.Object,
|
||||
new ErrorSink());
|
||||
var document = new MarkupBlock(
|
||||
Factory.Code("\"one\"").AsAddTagHelper("one"),
|
||||
Factory.Code("\"two\"").AsRemoveTagHelper("two"),
|
||||
Factory.Code("\"three\"").AsRemoveTagHelper("three"),
|
||||
Factory.Code("\"four\"").AsTagHelperPrefixDirective("four"));
|
||||
Factory.Code("one").AsAddTagHelper(),
|
||||
Factory.Code("two").AsRemoveTagHelper(),
|
||||
Factory.Code("three").AsRemoveTagHelper(),
|
||||
Factory.Code("four").AsTagHelperPrefixDirective());
|
||||
|
||||
// Act
|
||||
tagHelperDirectiveSpanVisitor.GetDescriptors(document);
|
||||
|
|
@ -52,10 +52,10 @@ namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
|
|||
var resolver = new TestTagHelperDescriptorResolver();
|
||||
var tagHelperDirectiveSpanVisitor = new TagHelperDirectiveSpanVisitor(resolver, new ErrorSink());
|
||||
var document = new MarkupBlock(
|
||||
Factory.Code("\"one\"").AsAddTagHelper("one"),
|
||||
Factory.Code("\"two\"").AsRemoveTagHelper("two"),
|
||||
Factory.Code("\"three\"").AsRemoveTagHelper("three"),
|
||||
Factory.Code("\"four\"").AsTagHelperPrefixDirective("four"));
|
||||
Factory.Code("one").AsAddTagHelper(),
|
||||
Factory.Code("two").AsRemoveTagHelper(),
|
||||
Factory.Code("three").AsRemoveTagHelper(),
|
||||
Factory.Code("four").AsTagHelperPrefixDirective());
|
||||
var expectedDescriptors = new TagHelperDirectiveDescriptor[]
|
||||
{
|
||||
new TagHelperDirectiveDescriptor
|
||||
|
|
@ -138,10 +138,10 @@ namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
|
|||
return new TagHelperDescriptorResolutionContext(expectedEndDirectiveDescriptors, errorSink);
|
||||
});
|
||||
var document = new MarkupBlock(
|
||||
Factory.Code("\"one\"").AsAddTagHelper("one"),
|
||||
Factory.Code("\"two\"").AsRemoveTagHelper("two"),
|
||||
Factory.Code("\"three\"").AsRemoveTagHelper("three"),
|
||||
Factory.Code("\"four\"").AsTagHelperPrefixDirective("four"));
|
||||
Factory.Code("one").AsAddTagHelper(),
|
||||
Factory.Code("two").AsRemoveTagHelper(),
|
||||
Factory.Code("three").AsRemoveTagHelper(),
|
||||
Factory.Code("four").AsTagHelperPrefixDirective());
|
||||
|
||||
|
||||
// Act
|
||||
|
|
@ -165,7 +165,7 @@ namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
|
|||
Factory
|
||||
.MetaCode(SyntaxConstants.CSharp.TagHelperPrefixKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.Code("\"something\"").AsTagHelperPrefixDirective("something")));
|
||||
Factory.Code("something").AsTagHelperPrefixDirective()));
|
||||
var expectedDirectiveDescriptor =
|
||||
new TagHelperDirectiveDescriptor
|
||||
{
|
||||
|
|
@ -195,7 +195,7 @@ namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
|
|||
Factory.CodeTransition(),
|
||||
Factory.MetaCode(SyntaxConstants.CSharp.RemoveTagHelperKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.Code("\"something\"").AsAddTagHelper("something"))
|
||||
Factory.Code("something").AsAddTagHelper())
|
||||
);
|
||||
var expectedRegistration = new TagHelperDirectiveDescriptor
|
||||
{
|
||||
|
|
@ -222,7 +222,7 @@ namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
|
|||
Factory.CodeTransition(),
|
||||
Factory.MetaCode(SyntaxConstants.CSharp.RemoveTagHelperKeyword + " ")
|
||||
.Accepts(AcceptedCharacters.None),
|
||||
Factory.Code("\"something\"").AsRemoveTagHelper("something"))
|
||||
Factory.Code("something").AsRemoveTagHelper())
|
||||
);
|
||||
var expectedRegistration = new TagHelperDirectiveDescriptor
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10,13 +10,7 @@ namespace TestOutput
|
|||
{
|
||||
#pragma warning disable 219
|
||||
string __tagHelperDirectiveSyntaxHelper = null;
|
||||
__tagHelperDirectiveSyntaxHelper =
|
||||
#line 1 "AddTagHelperDirective.cshtml"
|
||||
"**??**??*, nice"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
__tagHelperDirectiveSyntaxHelper = "something, nice";
|
||||
#pragma warning restore 219
|
||||
}
|
||||
#line hidden
|
||||
|
|
|
|||
|
|
@ -10,13 +10,7 @@ namespace TestOutput
|
|||
{
|
||||
#pragma warning disable 219
|
||||
string __tagHelperDirectiveSyntaxHelper = null;
|
||||
__tagHelperDirectiveSyntaxHelper =
|
||||
#line 1 "AttributeTargetingTagHelpers.cshtml"
|
||||
"*, something"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
__tagHelperDirectiveSyntaxHelper = "*, something";
|
||||
#pragma warning restore 219
|
||||
}
|
||||
#line hidden
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "AttributeTargetingTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "edaa271f830648a99892d01bb55f49e328fa621c"
|
||||
#pragma checksum "AttributeTargetingTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6c8b55df08e7538ff6155a5bc3b8135b305ad08a"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -26,15 +26,15 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(30, 2, true);
|
||||
Instrumentation.BeginContext(28, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(47, 9, true);
|
||||
Instrumentation.BeginContext(45, 9, true);
|
||||
WriteLiteral("\r\n <p>");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("strong", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(78, 5, true);
|
||||
Instrumentation.BeginContext(76, 5, true);
|
||||
WriteLiteral("Hello");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -43,11 +43,11 @@ namespace TestOutput
|
|||
__tagHelperExecutionContext.Add(__TestNamespace_CatchAllTagHelper);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("catchAll", Html.Raw("hi"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(56, 36, false);
|
||||
Instrumentation.BeginContext(54, 36, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(92, 62, true);
|
||||
Instrumentation.BeginContext(90, 62, true);
|
||||
WriteLiteral("<strong>World</strong></p>\r\n <input checked=\"true\" />\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -67,11 +67,11 @@ __TestNamespace_InputTagHelper2.Checked = true;
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("checked", __TestNamespace_InputTagHelper2.Checked);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(154, 40, false);
|
||||
Instrumentation.BeginContext(152, 40, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(194, 6, true);
|
||||
Instrumentation.BeginContext(192, 6, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -94,11 +94,11 @@ __TestNamespace_InputTagHelper2.Checked = true;
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("checked", __TestNamespace_InputTagHelper2.Checked);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("catchAll", Html.Raw("hi"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(200, 54, false);
|
||||
Instrumentation.BeginContext(198, 54, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(254, 2, true);
|
||||
Instrumentation.BeginContext(252, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -107,7 +107,7 @@ __TestNamespace_InputTagHelper2.Checked = true;
|
|||
__tagHelperExecutionContext.Add(__TestNamespace_PTagHelper);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("class", Html.Raw("btn"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(32, 228, false);
|
||||
Instrumentation.BeginContext(30, 228, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "BasicTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3cdbdfa1515b87565e2f00812f0093dbe8e49667"
|
||||
#pragma checksum "BasicTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5ac93855b03fe3c5d7e0c927f4ebbb8c67711220"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System.Threading.Tasks;
|
||||
|
|
@ -24,11 +24,11 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(33, 71, true);
|
||||
Instrumentation.BeginContext(31, 71, true);
|
||||
WriteLiteral("\r\n<div data-animation=\"fade\" class=\"randomNonTagHelperAttribute\">\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(145, 10, true);
|
||||
Instrumentation.BeginContext(143, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
|
|
@ -37,11 +37,11 @@ namespace TestOutput
|
|||
__TestNamespace_PTagHelper = CreateTagHelper<global::TestNamespace.PTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__TestNamespace_PTagHelper);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(155, 7, false);
|
||||
Instrumentation.BeginContext(153, 7, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(162, 10, true);
|
||||
Instrumentation.BeginContext(160, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagOnly, "test", async() => {
|
||||
|
|
@ -65,11 +65,11 @@ namespace TestOutput
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("type", __TestNamespace_InputTagHelper.Type);
|
||||
__TestNamespace_InputTagHelper2.Type = __TestNamespace_InputTagHelper.Type;
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(172, 71, false);
|
||||
Instrumentation.BeginContext(170, 71, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(243, 10, true);
|
||||
Instrumentation.BeginContext(241, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -89,11 +89,11 @@ __TestNamespace_InputTagHelper2.Checked = **From custom attribute code renderer*
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("checked", __TestNamespace_InputTagHelper2.Checked);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(253, 39, false);
|
||||
Instrumentation.BeginContext(251, 39, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(292, 6, true);
|
||||
Instrumentation.BeginContext(290, 6, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -103,11 +103,11 @@ __TestNamespace_InputTagHelper2.Checked = **From custom attribute code renderer*
|
|||
__tagHelperExecutionContext.AddHtmlAttribute("class", Html.Raw("Hello World"));
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("data-delay", Html.Raw("1000"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(104, 198, false);
|
||||
Instrumentation.BeginContext(102, 198, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(302, 8, true);
|
||||
Instrumentation.BeginContext(300, 8, true);
|
||||
WriteLiteral("\r\n</div>");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,13 +10,7 @@ namespace TestOutput
|
|||
{
|
||||
#pragma warning disable 219
|
||||
string __tagHelperDirectiveSyntaxHelper = null;
|
||||
__tagHelperDirectiveSyntaxHelper =
|
||||
#line 1 "BasicTagHelpers.cshtml"
|
||||
"something, nice"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
__tagHelperDirectiveSyntaxHelper = "something, nice";
|
||||
#pragma warning restore 219
|
||||
}
|
||||
#line hidden
|
||||
|
|
|
|||
|
|
@ -10,20 +10,8 @@ namespace TestOutput
|
|||
{
|
||||
#pragma warning disable 219
|
||||
string __tagHelperDirectiveSyntaxHelper = null;
|
||||
__tagHelperDirectiveSyntaxHelper =
|
||||
#line 1 "BasicTagHelpers.Prefixed.cshtml"
|
||||
"THS"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
__tagHelperDirectiveSyntaxHelper =
|
||||
#line 2 "BasicTagHelpers.Prefixed.cshtml"
|
||||
"something, nice"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
__tagHelperDirectiveSyntaxHelper = "THS";
|
||||
__tagHelperDirectiveSyntaxHelper = "something, nice";
|
||||
#pragma warning restore 219
|
||||
}
|
||||
#line hidden
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "BasicTagHelpers.Prefixed.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "44eafd8ba2adb5f9e260d37e87544c018e182eed"
|
||||
#pragma checksum "BasicTagHelpers.Prefixed.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "58d527033ea3d1d7e092e5e3561d80a474d60e97"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -25,11 +25,11 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(57, 52, true);
|
||||
Instrumentation.BeginContext(53, 52, true);
|
||||
WriteLiteral("\r\n<THSdiv class=\"randomNonTagHelperAttribute\">\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(135, 56, true);
|
||||
Instrumentation.BeginContext(131, 56, true);
|
||||
WriteLiteral("\r\n <p></p>\r\n <input type=\"text\">\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagOnly, "test", async() => {
|
||||
|
|
@ -49,11 +49,11 @@ namespace TestOutput
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("checked", __TestNamespace_InputTagHelper2.Checked);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(191, 41, false);
|
||||
Instrumentation.BeginContext(187, 41, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(232, 6, true);
|
||||
Instrumentation.BeginContext(228, 6, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -62,11 +62,11 @@ namespace TestOutput
|
|||
__tagHelperExecutionContext.Add(__TestNamespace_PTagHelper);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("class", Html.Raw("Hello World"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(109, 136, false);
|
||||
Instrumentation.BeginContext(105, 136, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(245, 11, true);
|
||||
Instrumentation.BeginContext(241, 11, true);
|
||||
WriteLiteral("\r\n</THSdiv>");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "BasicTagHelpers.RemoveTagHelper.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "833fbb5056a48116b0fe6386da7b14bc18d3b330"
|
||||
#pragma checksum "BasicTagHelpers.RemoveTagHelper.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "69b58621318bc8f4c0498f15f088da6220f94ffe"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -14,7 +14,7 @@ namespace TestOutput
|
|||
#pragma warning disable 1998
|
||||
public override async Task ExecuteAsync()
|
||||
{
|
||||
Instrumentation.BeginContext(72, 187, true);
|
||||
Instrumentation.BeginContext(68, 187, true);
|
||||
WriteLiteral("\r\n<div class=\"randomNonTagHelperAttribute\">\r\n <p class=\"Hello World\">\r\n " +
|
||||
" <p></p>\r\n <input type=\"text\" />\r\n <input type=\"checkbox\" checked=" +
|
||||
"\"true\"/>\r\n </p>\r\n</div>");
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "BasicTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3cdbdfa1515b87565e2f00812f0093dbe8e49667"
|
||||
#pragma checksum "BasicTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5ac93855b03fe3c5d7e0c927f4ebbb8c67711220"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -25,11 +25,11 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(33, 71, true);
|
||||
Instrumentation.BeginContext(31, 71, true);
|
||||
WriteLiteral("\r\n<div data-animation=\"fade\" class=\"randomNonTagHelperAttribute\">\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(145, 10, true);
|
||||
Instrumentation.BeginContext(143, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
|
|
@ -38,11 +38,11 @@ namespace TestOutput
|
|||
__TestNamespace_PTagHelper = CreateTagHelper<global::TestNamespace.PTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__TestNamespace_PTagHelper);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(155, 7, false);
|
||||
Instrumentation.BeginContext(153, 7, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(162, 10, true);
|
||||
Instrumentation.BeginContext(160, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagOnly, "test", async() => {
|
||||
|
|
@ -66,11 +66,11 @@ namespace TestOutput
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("type", __TestNamespace_InputTagHelper.Type);
|
||||
__TestNamespace_InputTagHelper2.Type = __TestNamespace_InputTagHelper.Type;
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(172, 71, false);
|
||||
Instrumentation.BeginContext(170, 71, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(243, 10, true);
|
||||
Instrumentation.BeginContext(241, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -90,11 +90,11 @@ __TestNamespace_InputTagHelper2.Checked = true;
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("checked", __TestNamespace_InputTagHelper2.Checked);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(253, 39, false);
|
||||
Instrumentation.BeginContext(251, 39, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(292, 6, true);
|
||||
Instrumentation.BeginContext(290, 6, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -104,11 +104,11 @@ __TestNamespace_InputTagHelper2.Checked = true;
|
|||
__tagHelperExecutionContext.AddHtmlAttribute("class", Html.Raw("Hello World"));
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("data-delay", Html.Raw("1000"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(104, 198, false);
|
||||
Instrumentation.BeginContext(102, 198, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(302, 8, true);
|
||||
Instrumentation.BeginContext(300, 8, true);
|
||||
WriteLiteral("\r\n</div>");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,13 +10,7 @@ namespace TestOutput
|
|||
{
|
||||
#pragma warning disable 219
|
||||
string __tagHelperDirectiveSyntaxHelper = null;
|
||||
__tagHelperDirectiveSyntaxHelper =
|
||||
#line 1 "ComplexTagHelpers.cshtml"
|
||||
"T?g??lpe*, nice"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
__tagHelperDirectiveSyntaxHelper = "something, nice";
|
||||
#pragma warning restore 219
|
||||
}
|
||||
#line hidden
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "ComplexTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7e06587198159a7cdea48c42e64a766a79a12cf7"
|
||||
#pragma checksum "ComplexTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3cc5f5ed458e4e33874c4242798b195a31ab065c"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -25,7 +25,7 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(33, 2, true);
|
||||
Instrumentation.BeginContext(31, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
#line 3 "ComplexTagHelpers.cshtml"
|
||||
|
|
@ -37,11 +37,11 @@ namespace TestOutput
|
|||
#line default
|
||||
#line hidden
|
||||
|
||||
Instrumentation.BeginContext(84, 55, true);
|
||||
Instrumentation.BeginContext(82, 55, true);
|
||||
WriteLiteral(" <div class=\"randomNonTagHelperAttribute\">\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(177, 34, true);
|
||||
Instrumentation.BeginContext(175, 34, true);
|
||||
WriteLiteral("\r\n <h1>Set Time:</h1>\r\n");
|
||||
Instrumentation.EndContext();
|
||||
#line 10 "ComplexTagHelpers.cshtml"
|
||||
|
|
@ -57,11 +57,11 @@ namespace TestOutput
|
|||
#line default
|
||||
#line hidden
|
||||
|
||||
Instrumentation.BeginContext(251, 16, true);
|
||||
Instrumentation.BeginContext(249, 16, true);
|
||||
WriteLiteral(" ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(270, 10, true);
|
||||
Instrumentation.BeginContext(268, 10, true);
|
||||
WriteLiteral("New Time: ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -77,7 +77,7 @@ namespace TestOutput
|
|||
__tagHelperExecutionContext.AddHtmlAttribute("value", Html.Raw(""));
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("placeholder", Html.Raw("Enter in a new time..."));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(280, 66, false);
|
||||
Instrumentation.BeginContext(278, 66, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
|
|
@ -86,11 +86,11 @@ namespace TestOutput
|
|||
__TestNamespace_PTagHelper = CreateTagHelper<global::TestNamespace.PTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__TestNamespace_PTagHelper);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(267, 83, false);
|
||||
Instrumentation.BeginContext(265, 83, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(350, 2, true);
|
||||
Instrumentation.BeginContext(348, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
#line 13 "ComplexTagHelpers.cshtml"
|
||||
|
|
@ -101,11 +101,11 @@ namespace TestOutput
|
|||
#line default
|
||||
#line hidden
|
||||
|
||||
Instrumentation.BeginContext(400, 16, true);
|
||||
Instrumentation.BeginContext(398, 16, true);
|
||||
WriteLiteral(" ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(419, 14, true);
|
||||
Instrumentation.BeginContext(417, 14, true);
|
||||
WriteLiteral("Current Time: ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -132,7 +132,7 @@ namespace TestOutput
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("checked", __TestNamespace_InputTagHelper2.Checked);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(433, 37, false);
|
||||
Instrumentation.BeginContext(431, 37, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
|
|
@ -141,11 +141,11 @@ namespace TestOutput
|
|||
__TestNamespace_PTagHelper = CreateTagHelper<global::TestNamespace.PTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__TestNamespace_PTagHelper);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(416, 58, false);
|
||||
Instrumentation.BeginContext(414, 58, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(474, 18, true);
|
||||
Instrumentation.BeginContext(472, 18, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -166,11 +166,11 @@ namespace TestOutput
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("tYPe", __TestNamespace_InputTagHelper.Type);
|
||||
__TestNamespace_InputTagHelper2.Type = __TestNamespace_InputTagHelper.Type;
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(492, 50, false);
|
||||
Instrumentation.BeginContext(490, 50, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(542, 18, true);
|
||||
Instrumentation.BeginContext(540, 18, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagOnly, "test", async() => {
|
||||
|
|
@ -218,11 +218,11 @@ namespace TestOutput
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("type", __TestNamespace_InputTagHelper.Type);
|
||||
__TestNamespace_InputTagHelper2.Type = __TestNamespace_InputTagHelper.Type;
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(560, 79, false);
|
||||
Instrumentation.BeginContext(558, 79, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(641, 2, true);
|
||||
Instrumentation.BeginContext(639, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
#line 19 "ComplexTagHelpers.cshtml"
|
||||
|
|
@ -231,7 +231,7 @@ namespace TestOutput
|
|||
#line default
|
||||
#line hidden
|
||||
|
||||
Instrumentation.BeginContext(658, 8, true);
|
||||
Instrumentation.BeginContext(656, 8, true);
|
||||
WriteLiteral(" ");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -239,24 +239,24 @@ namespace TestOutput
|
|||
__TestNamespace_PTagHelper = CreateTagHelper<global::TestNamespace.PTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__TestNamespace_PTagHelper);
|
||||
BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "time", 3);
|
||||
AddHtmlAttributeValue("", 148, "Current", 148, 7, true);
|
||||
AddHtmlAttributeValue(" ", 155, "Time:", 156, 6, true);
|
||||
AddHtmlAttributeValue("", 146, "Current", 146, 7, true);
|
||||
AddHtmlAttributeValue(" ", 153, "Time:", 154, 6, true);
|
||||
#line 8 "ComplexTagHelpers.cshtml"
|
||||
AddHtmlAttributeValue(" ", 161, DateTime.Now, 162, 14, false);
|
||||
AddHtmlAttributeValue(" ", 159, DateTime.Now, 160, 14, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndAddHtmlAttributeValues(__tagHelperExecutionContext);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(139, 529, false);
|
||||
Instrumentation.BeginContext(137, 529, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(670, 10, true);
|
||||
Instrumentation.BeginContext(668, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(767, 2, true);
|
||||
Instrumentation.BeginContext(765, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
#line 22 "ComplexTagHelpers.cshtml"
|
||||
|
|
@ -271,7 +271,7 @@ AddHtmlAttributeValue(" ", 161, DateTime.Now, 162, 14, false);
|
|||
#line default
|
||||
#line hidden
|
||||
|
||||
Instrumentation.BeginContext(807, 12, true);
|
||||
Instrumentation.BeginContext(805, 12, true);
|
||||
WriteLiteral(" ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagOnly, "test", async() => {
|
||||
|
|
@ -288,11 +288,11 @@ __TestNamespace_InputTagHelper2.Checked = (@object);
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("ChecKED", __TestNamespace_InputTagHelper2.Checked);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(819, 28, false);
|
||||
Instrumentation.BeginContext(817, 28, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(847, 10, true);
|
||||
Instrumentation.BeginContext(845, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -308,15 +308,15 @@ __TestNamespace_InputTagHelper2.Checked = (@object);
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("age", __TestNamespace_PTagHelper.Age);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("unbound", Html.Raw("second value"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(680, 181, false);
|
||||
Instrumentation.BeginContext(678, 181, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(861, 10, true);
|
||||
Instrumentation.BeginContext(859, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(913, 14, true);
|
||||
Instrumentation.BeginContext(911, 14, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -335,11 +335,11 @@ __TestNamespace_InputTagHelper2.Checked = (@object);
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("checked", __TestNamespace_InputTagHelper2.Checked);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(927, 85, false);
|
||||
Instrumentation.BeginContext(925, 85, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(1012, 10, true);
|
||||
Instrumentation.BeginContext(1010, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -353,15 +353,15 @@ __TestNamespace_PTagHelper.Age = -1970 + @DateTimeOffset.Now.Year;
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("age", __TestNamespace_PTagHelper.Age);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(871, 155, false);
|
||||
Instrumentation.BeginContext(869, 155, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(1026, 10, true);
|
||||
Instrumentation.BeginContext(1024, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(1076, 14, true);
|
||||
Instrumentation.BeginContext(1074, 14, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagOnly, "test", async() => {
|
||||
|
|
@ -378,11 +378,11 @@ __TestNamespace_InputTagHelper2.Checked = DateTimeOffset.Now.Year > 2014;
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("checked", __TestNamespace_InputTagHelper2.Checked);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(1090, 48, false);
|
||||
Instrumentation.BeginContext(1088, 48, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(1138, 10, true);
|
||||
Instrumentation.BeginContext(1136, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -396,15 +396,15 @@ __TestNamespace_PTagHelper.Age = DateTimeOffset.Now.Year - 1970;
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("age", __TestNamespace_PTagHelper.Age);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(1036, 116, false);
|
||||
Instrumentation.BeginContext(1034, 116, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(1152, 10, true);
|
||||
Instrumentation.BeginContext(1150, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(1204, 14, true);
|
||||
Instrumentation.BeginContext(1202, 14, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -421,11 +421,11 @@ __TestNamespace_InputTagHelper2.Checked = @( DateTimeOffset.Now.Year ) > 20
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("checked", __TestNamespace_InputTagHelper2.Checked);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(1218, 63, false);
|
||||
Instrumentation.BeginContext(1216, 63, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(1281, 10, true);
|
||||
Instrumentation.BeginContext(1279, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -439,14 +439,14 @@ __TestNamespace_PTagHelper.Age = ("My age is this long.".Length);
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("age", __TestNamespace_PTagHelper.Age);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(1162, 133, false);
|
||||
Instrumentation.BeginContext(1160, 133, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(1295, 10, true);
|
||||
Instrumentation.BeginContext(1293, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
Instrumentation.BeginContext(1306, 11, false);
|
||||
Instrumentation.BeginContext(1304, 11, false);
|
||||
#line 34 "ComplexTagHelpers.cshtml"
|
||||
Write(someMethod(item => new Template(async(__razor_template_writer) => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
|
|
@ -464,7 +464,7 @@ __TestNamespace_PTagHelper.Age = ("My age is this long.".Length);
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("checked", __TestNamespace_InputTagHelper2.Checked);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(1345, 26, false);
|
||||
Instrumentation.BeginContext(1343, 26, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
|
|
@ -480,7 +480,7 @@ __TestNamespace_PTagHelper.Age = 123;
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("age", __TestNamespace_PTagHelper.Age);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("class", Html.Raw("hello"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(1318, 57, false);
|
||||
Instrumentation.BeginContext(1316, 57, false);
|
||||
await WriteTagHelperToAsync(__razor_template_writer, __tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
|
|
@ -491,7 +491,7 @@ __TestNamespace_PTagHelper.Age = 123;
|
|||
#line default
|
||||
#line hidden
|
||||
Instrumentation.EndContext();
|
||||
Instrumentation.BeginContext(1376, 14, true);
|
||||
Instrumentation.BeginContext(1374, 14, true);
|
||||
WriteLiteral("\r\n </div>\r\n");
|
||||
Instrumentation.EndContext();
|
||||
#line 36 "ComplexTagHelpers.cshtml"
|
||||
|
|
|
|||
|
|
@ -10,13 +10,7 @@ namespace TestOutput
|
|||
{
|
||||
#pragma warning disable 219
|
||||
string __tagHelperDirectiveSyntaxHelper = null;
|
||||
__tagHelperDirectiveSyntaxHelper =
|
||||
#line 1 "DuplicateAttributeTagHelpers.cshtml"
|
||||
"something, nice"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
__tagHelperDirectiveSyntaxHelper = "something, nice";
|
||||
#pragma warning restore 219
|
||||
}
|
||||
#line hidden
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "DuplicateAttributeTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "af64a6adaf73e4143024a1145e70cbd3a24d2c0e"
|
||||
#pragma checksum "DuplicateAttributeTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "84ecb9053de09ef4f2a69927fed3e41e188c730b"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -25,11 +25,11 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(33, 2, true);
|
||||
Instrumentation.BeginContext(31, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(65, 6, true);
|
||||
Instrumentation.BeginContext(63, 6, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -44,11 +44,11 @@ namespace TestOutput
|
|||
__TestNamespace_InputTagHelper2.Type = __TestNamespace_InputTagHelper.Type;
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("TYPE", Html.Raw("checkbox"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(71, 39, false);
|
||||
Instrumentation.BeginContext(69, 39, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(110, 6, true);
|
||||
Instrumentation.BeginContext(108, 6, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -70,11 +70,11 @@ __TestNamespace_InputTagHelper2.Checked = true;
|
|||
__tagHelperExecutionContext.AddHtmlAttribute("type", Html.Raw("checkbox"));
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("checked", Html.Raw("false"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(116, 70, false);
|
||||
Instrumentation.BeginContext(114, 70, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(186, 2, true);
|
||||
Instrumentation.BeginContext(184, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -90,7 +90,7 @@ __TestNamespace_PTagHelper.Age = 3;
|
|||
__tagHelperExecutionContext.AddHtmlAttribute("AGE", Html.Raw("40"));
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("Age", Html.Raw("500"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(35, 157, false);
|
||||
Instrumentation.BeginContext(33, 157, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "DuplicateTargetTagHelper.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "77e70e938d77f71e489354b1e7c351c588001690"
|
||||
#pragma checksum "DuplicateTargetTagHelper.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1014725b9048d825ce97b0e5e260ac35f057fe0a"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -24,7 +24,7 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(33, 2, true);
|
||||
Instrumentation.BeginContext(31, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -45,7 +45,7 @@ __TestNamespace_InputTagHelper.Checked = true;
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("checked", __TestNamespace_InputTagHelper.Checked);
|
||||
__TestNamespace_CatchAllTagHelper.Checked = __TestNamespace_InputTagHelper.Checked;
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(35, 40, false);
|
||||
Instrumentation.BeginContext(33, 40, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
|
|
|
|||
|
|
@ -10,13 +10,7 @@ namespace TestOutput
|
|||
{
|
||||
#pragma warning disable 219
|
||||
string __tagHelperDirectiveSyntaxHelper = null;
|
||||
__tagHelperDirectiveSyntaxHelper =
|
||||
#line 1 "DynamicAttributeTagHelpers.cshtml"
|
||||
"something, nice"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
__tagHelperDirectiveSyntaxHelper = "something, nice";
|
||||
#pragma warning restore 219
|
||||
}
|
||||
#line hidden
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "DynamicAttributeTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "782463195265ee647cc2fc63fd5095a80090845b"
|
||||
#pragma checksum "DynamicAttributeTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "107e341010aad754fc5c952722dbfdc7e33fc38e"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -23,7 +23,7 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(33, 2, true);
|
||||
Instrumentation.BeginContext(31, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -32,19 +32,19 @@ namespace TestOutput
|
|||
__TestNamespace_InputTagHelper = CreateTagHelper<global::TestNamespace.InputTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__TestNamespace_InputTagHelper);
|
||||
BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "unbound", 2);
|
||||
AddHtmlAttributeValue("", 51, "prefix", 51, 6, true);
|
||||
AddHtmlAttributeValue("", 49, "prefix", 49, 6, true);
|
||||
#line 3 "DynamicAttributeTagHelpers.cshtml"
|
||||
AddHtmlAttributeValue(" ", 57, DateTime.Now, 58, 14, false);
|
||||
AddHtmlAttributeValue(" ", 55, DateTime.Now, 56, 14, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndAddHtmlAttributeValues(__tagHelperExecutionContext);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(35, 40, false);
|
||||
Instrumentation.BeginContext(33, 40, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(75, 4, true);
|
||||
Instrumentation.BeginContext(73, 4, true);
|
||||
WriteLiteral("\r\n\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -53,14 +53,14 @@ AddHtmlAttributeValue(" ", 57, DateTime.Now, 58, 14, false);
|
|||
__TestNamespace_InputTagHelper = CreateTagHelper<global::TestNamespace.InputTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__TestNamespace_InputTagHelper);
|
||||
BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "unbound", 2);
|
||||
AddHtmlAttributeValue("", 95, new Template(async(__razor_attribute_value_writer) => {
|
||||
AddHtmlAttributeValue("", 93, new Template(async(__razor_attribute_value_writer) => {
|
||||
#line 5 "DynamicAttributeTagHelpers.cshtml"
|
||||
if (true) {
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
Instrumentation.BeginContext(109, 12, false);
|
||||
Instrumentation.BeginContext(107, 12, false);
|
||||
#line 5 "DynamicAttributeTagHelpers.cshtml"
|
||||
WriteTo(__razor_attribute_value_writer, string.Empty);
|
||||
|
||||
|
|
@ -73,7 +73,7 @@ WriteTo(__razor_attribute_value_writer, string.Empty);
|
|||
#line default
|
||||
#line hidden
|
||||
|
||||
Instrumentation.BeginContext(132, 5, false);
|
||||
Instrumentation.BeginContext(130, 5, false);
|
||||
#line 5 "DynamicAttributeTagHelpers.cshtml"
|
||||
WriteTo(__razor_attribute_value_writer, false);
|
||||
|
||||
|
|
@ -87,15 +87,15 @@ WriteTo(__razor_attribute_value_writer, string.Empty);
|
|||
#line hidden
|
||||
|
||||
}
|
||||
), 95, 44, false);
|
||||
AddHtmlAttributeValue(" ", 139, "suffix", 140, 7, true);
|
||||
), 93, 44, false);
|
||||
AddHtmlAttributeValue(" ", 137, "suffix", 138, 7, true);
|
||||
EndAddHtmlAttributeValues(__tagHelperExecutionContext);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(79, 71, false);
|
||||
Instrumentation.BeginContext(77, 71, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(150, 4, true);
|
||||
Instrumentation.BeginContext(148, 4, true);
|
||||
WriteLiteral("\r\n\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -115,20 +115,20 @@ WriteTo(__razor_attribute_value_writer, string.Empty);
|
|||
__TestNamespace_InputTagHelper.Bound = __tagHelperStringValueBuffer.GetContent(HtmlEncoder);
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("bound", __TestNamespace_InputTagHelper.Bound);
|
||||
BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "unbound", 3);
|
||||
AddHtmlAttributeValue("", 206, "prefix", 206, 6, true);
|
||||
AddHtmlAttributeValue("", 204, "prefix", 204, 6, true);
|
||||
#line 7 "DynamicAttributeTagHelpers.cshtml"
|
||||
AddHtmlAttributeValue(" ", 212, DateTime.Now, 213, 14, false);
|
||||
AddHtmlAttributeValue(" ", 210, DateTime.Now, 211, 14, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
AddHtmlAttributeValue(" ", 226, "suffix", 227, 7, true);
|
||||
AddHtmlAttributeValue(" ", 224, "suffix", 225, 7, true);
|
||||
EndAddHtmlAttributeValues(__tagHelperExecutionContext);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(154, 83, false);
|
||||
Instrumentation.BeginContext(152, 83, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(237, 4, true);
|
||||
Instrumentation.BeginContext(235, 4, true);
|
||||
WriteLiteral("\r\n\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -182,18 +182,18 @@ AddHtmlAttributeValue(" ", 212, DateTime.Now, 213, 14, false);
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("bound", __TestNamespace_InputTagHelper.Bound);
|
||||
BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "unbound", 3);
|
||||
#line 10 "DynamicAttributeTagHelpers.cshtml"
|
||||
AddHtmlAttributeValue("", 347, long.MinValue, 347, 14, false);
|
||||
AddHtmlAttributeValue("", 345, long.MinValue, 345, 14, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
AddHtmlAttributeValue(" ", 361, new Template(async(__razor_attribute_value_writer) => {
|
||||
AddHtmlAttributeValue(" ", 359, new Template(async(__razor_attribute_value_writer) => {
|
||||
#line 10 "DynamicAttributeTagHelpers.cshtml"
|
||||
if (true) {
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
Instrumentation.BeginContext(376, 12, false);
|
||||
Instrumentation.BeginContext(374, 12, false);
|
||||
#line 10 "DynamicAttributeTagHelpers.cshtml"
|
||||
WriteTo(__razor_attribute_value_writer, string.Empty);
|
||||
|
||||
|
|
@ -206,7 +206,7 @@ AddHtmlAttributeValue("", 347, long.MinValue, 347, 14, false);
|
|||
#line default
|
||||
#line hidden
|
||||
|
||||
Instrumentation.BeginContext(399, 5, false);
|
||||
Instrumentation.BeginContext(397, 5, false);
|
||||
#line 10 "DynamicAttributeTagHelpers.cshtml"
|
||||
WriteTo(__razor_attribute_value_writer, false);
|
||||
|
||||
|
|
@ -220,19 +220,19 @@ AddHtmlAttributeValue("", 347, long.MinValue, 347, 14, false);
|
|||
#line hidden
|
||||
|
||||
}
|
||||
), 362, 45, false);
|
||||
), 360, 45, false);
|
||||
#line 10 "DynamicAttributeTagHelpers.cshtml"
|
||||
AddHtmlAttributeValue(" ", 406, int.MaxValue, 407, 14, false);
|
||||
AddHtmlAttributeValue(" ", 404, int.MaxValue, 405, 14, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndAddHtmlAttributeValues(__tagHelperExecutionContext);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(241, 183, false);
|
||||
Instrumentation.BeginContext(239, 183, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(424, 4, true);
|
||||
Instrumentation.BeginContext(422, 4, true);
|
||||
WriteLiteral("\r\n\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -242,29 +242,29 @@ AddHtmlAttributeValue(" ", 406, int.MaxValue, 407, 14, false);
|
|||
__tagHelperExecutionContext.Add(__TestNamespace_InputTagHelper);
|
||||
BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "unbound", 5);
|
||||
#line 12 "DynamicAttributeTagHelpers.cshtml"
|
||||
AddHtmlAttributeValue("", 444, long.MinValue, 444, 14, false);
|
||||
AddHtmlAttributeValue("", 442, long.MinValue, 442, 14, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line 12 "DynamicAttributeTagHelpers.cshtml"
|
||||
AddHtmlAttributeValue(" ", 458, DateTime.Now, 459, 14, false);
|
||||
AddHtmlAttributeValue(" ", 456, DateTime.Now, 457, 14, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
AddHtmlAttributeValue(" ", 472, "static", 473, 7, true);
|
||||
AddHtmlAttributeValue(" ", 479, "content", 483, 11, true);
|
||||
AddHtmlAttributeValue(" ", 470, "static", 471, 7, true);
|
||||
AddHtmlAttributeValue(" ", 477, "content", 481, 11, true);
|
||||
#line 12 "DynamicAttributeTagHelpers.cshtml"
|
||||
AddHtmlAttributeValue(" ", 490, int.MaxValue, 491, 14, false);
|
||||
AddHtmlAttributeValue(" ", 488, int.MaxValue, 489, 14, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndAddHtmlAttributeValues(__tagHelperExecutionContext);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(428, 80, false);
|
||||
Instrumentation.BeginContext(426, 80, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(508, 4, true);
|
||||
Instrumentation.BeginContext(506, 4, true);
|
||||
WriteLiteral("\r\n\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -273,14 +273,14 @@ AddHtmlAttributeValue(" ", 490, int.MaxValue, 491, 14, false);
|
|||
__TestNamespace_InputTagHelper = CreateTagHelper<global::TestNamespace.InputTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__TestNamespace_InputTagHelper);
|
||||
BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "unbound", 1);
|
||||
AddHtmlAttributeValue("", 528, new Template(async(__razor_attribute_value_writer) => {
|
||||
AddHtmlAttributeValue("", 526, new Template(async(__razor_attribute_value_writer) => {
|
||||
#line 14 "DynamicAttributeTagHelpers.cshtml"
|
||||
if (true) {
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
Instrumentation.BeginContext(542, 12, false);
|
||||
Instrumentation.BeginContext(540, 12, false);
|
||||
#line 14 "DynamicAttributeTagHelpers.cshtml"
|
||||
WriteTo(__razor_attribute_value_writer, string.Empty);
|
||||
|
||||
|
|
@ -293,7 +293,7 @@ WriteTo(__razor_attribute_value_writer, string.Empty);
|
|||
#line default
|
||||
#line hidden
|
||||
|
||||
Instrumentation.BeginContext(565, 5, false);
|
||||
Instrumentation.BeginContext(563, 5, false);
|
||||
#line 14 "DynamicAttributeTagHelpers.cshtml"
|
||||
WriteTo(__razor_attribute_value_writer, false);
|
||||
|
||||
|
|
@ -307,10 +307,10 @@ WriteTo(__razor_attribute_value_writer, string.Empty);
|
|||
#line hidden
|
||||
|
||||
}
|
||||
), 528, 44, false);
|
||||
), 526, 44, false);
|
||||
EndAddHtmlAttributeValues(__tagHelperExecutionContext);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(512, 64, false);
|
||||
Instrumentation.BeginContext(510, 64, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
|
|
|
|||
|
|
@ -10,13 +10,7 @@ namespace TestOutput
|
|||
{
|
||||
#pragma warning disable 219
|
||||
string __tagHelperDirectiveSyntaxHelper = null;
|
||||
__tagHelperDirectiveSyntaxHelper =
|
||||
#line 1 "EmptyAttributeTagHelpers.cshtml"
|
||||
"something"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
__tagHelperDirectiveSyntaxHelper = "something";
|
||||
#pragma warning restore 219
|
||||
}
|
||||
#line hidden
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "EmptyAttributeTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "cdf68f4aae781fadf4445e465c23df6d758fcd81"
|
||||
#pragma checksum "EmptyAttributeTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "ab5e45403d2c57cfdbab9546c3a27eea94f0fb5c"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -25,7 +25,7 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(27, 13, true);
|
||||
Instrumentation.BeginContext(25, 13, true);
|
||||
WriteLiteral("\r\n<div>\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -46,15 +46,15 @@ __TestNamespace_InputTagHelper2.Checked = ;
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("checked", __TestNamespace_InputTagHelper2.Checked);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("class", Html.Raw(""));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(40, 34, false);
|
||||
Instrumentation.BeginContext(38, 34, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(74, 6, true);
|
||||
Instrumentation.BeginContext(72, 6, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(90, 10, true);
|
||||
Instrumentation.BeginContext(88, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -75,11 +75,11 @@ __TestNamespace_InputTagHelper2.Checked = ;
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("checked", __TestNamespace_InputTagHelper2.Checked);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("class", Html.Raw(""));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(100, 34, false);
|
||||
Instrumentation.BeginContext(98, 34, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(134, 6, true);
|
||||
Instrumentation.BeginContext(132, 6, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -93,11 +93,11 @@ __TestNamespace_PTagHelper.Age = ;
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("age", __TestNamespace_PTagHelper.Age);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(80, 64, false);
|
||||
Instrumentation.BeginContext(78, 64, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(144, 8, true);
|
||||
Instrumentation.BeginContext(142, 8, true);
|
||||
WriteLiteral("\r\n</div>");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,13 +10,7 @@ namespace TestOutput
|
|||
{
|
||||
#pragma warning disable 219
|
||||
string __tagHelperDirectiveSyntaxHelper = null;
|
||||
__tagHelperDirectiveSyntaxHelper =
|
||||
#line 1 "EnumTagHelpers.cshtml"
|
||||
"something, nice"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
__tagHelperDirectiveSyntaxHelper = "something, nice";
|
||||
#pragma warning restore 219
|
||||
}
|
||||
#line hidden
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "EnumTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "57102d182f8d5da659bb113653552ea18f42bb76"
|
||||
#pragma checksum "EnumTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f9124dcd7da8c06ab193a971690c676c5e0adaac"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -24,7 +24,7 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(33, 2, true);
|
||||
Instrumentation.BeginContext(31, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
#line 3 "EnumTagHelpers.cshtml"
|
||||
|
|
@ -34,7 +34,7 @@ namespace TestOutput
|
|||
#line default
|
||||
#line hidden
|
||||
|
||||
Instrumentation.BeginContext(79, 2, true);
|
||||
Instrumentation.BeginContext(77, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -51,11 +51,11 @@ __TestNamespace_InputTagHelper.Value = MyEnum.MyValue;
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("value", __TestNamespace_InputTagHelper.Value);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(81, 33, false);
|
||||
Instrumentation.BeginContext(79, 33, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(114, 2, true);
|
||||
Instrumentation.BeginContext(112, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -67,17 +67,17 @@ __TestNamespace_InputTagHelper.Value = MyEnum.MyValue;
|
|||
__tagHelperExecutionContext.Add(__TestNamespace_CatchAllTagHelper);
|
||||
BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 1);
|
||||
#line 8 "EnumTagHelpers.cshtml"
|
||||
AddHtmlAttributeValue("", 130, MyEnum.MySecondValue, 130, 21, false);
|
||||
AddHtmlAttributeValue("", 128, MyEnum.MySecondValue, 128, 21, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndAddHtmlAttributeValues(__tagHelperExecutionContext);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(116, 39, false);
|
||||
Instrumentation.BeginContext(114, 39, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(155, 2, true);
|
||||
Instrumentation.BeginContext(153, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -94,11 +94,11 @@ __TestNamespace_InputTagHelper.Value = Microsoft.AspNet.Razor.Test.Generator.MyE
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("value", __TestNamespace_InputTagHelper.Value);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(157, 25, false);
|
||||
Instrumentation.BeginContext(155, 25, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(182, 2, true);
|
||||
Instrumentation.BeginContext(180, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -121,11 +121,11 @@ __TestNamespace_CatchAllTagHelper.CatchAll = Microsoft.AspNet.Razor.Test.Generat
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("catch-all", __TestNamespace_CatchAllTagHelper.CatchAll);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(184, 50, false);
|
||||
Instrumentation.BeginContext(182, 50, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(234, 2, true);
|
||||
Instrumentation.BeginContext(232, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -148,11 +148,11 @@ __TestNamespace_CatchAllTagHelper.CatchAll = enumValue;
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("catch-all", __TestNamespace_CatchAllTagHelper.CatchAll);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(236, 51, false);
|
||||
Instrumentation.BeginContext(234, 51, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(287, 2, true);
|
||||
Instrumentation.BeginContext(285, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,13 +10,7 @@ namespace TestOutput
|
|||
{
|
||||
#pragma warning disable 219
|
||||
string __tagHelperDirectiveSyntaxHelper = null;
|
||||
__tagHelperDirectiveSyntaxHelper =
|
||||
#line 1 "EscapedTagHelpers.cshtml"
|
||||
"something"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
__tagHelperDirectiveSyntaxHelper = "something";
|
||||
#pragma warning restore 219
|
||||
}
|
||||
#line hidden
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "EscapedTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "dcdd88b4f52fa03367f94849021a84a290cb3c1e"
|
||||
#pragma checksum "EscapedTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "93da17a7091c4d218cfc54282dec1b7b7beac072"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -24,17 +24,17 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(27, 72, true);
|
||||
Instrumentation.BeginContext(25, 72, true);
|
||||
WriteLiteral("\r\n<div class=\"randomNonTagHelperAttribute\">\r\n <p class=\"Hello World\" ");
|
||||
Instrumentation.EndContext();
|
||||
Instrumentation.BeginContext(102, 12, false);
|
||||
Instrumentation.BeginContext(100, 12, false);
|
||||
#line 4 "EscapedTagHelpers.cshtml"
|
||||
Write(DateTime.Now);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
Instrumentation.EndContext();
|
||||
Instrumentation.BeginContext(114, 69, true);
|
||||
Instrumentation.BeginContext(112, 69, true);
|
||||
WriteLiteral(">\r\n <input type=\"text\" />\r\n <em>Not a TagHelper: </em> ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -61,11 +61,11 @@ namespace TestOutput
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("checked", __TestNamespace_InputTagHelper2.Checked);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(186, 45, false);
|
||||
Instrumentation.BeginContext(184, 45, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(231, 18, true);
|
||||
Instrumentation.BeginContext(229, 18, true);
|
||||
WriteLiteral("\r\n </p>\r\n</div>");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "IncompleteTagHelper.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "dba409dce3afe321d920e4e62a5701c09d7bbea8"
|
||||
#pragma checksum "IncompleteTagHelper.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "762284e0617212ef833fd39f08039bf078039570"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -23,7 +23,7 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(33, 2, true);
|
||||
Instrumentation.BeginContext(31, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
|
|
@ -33,7 +33,7 @@ namespace TestOutput
|
|||
__tagHelperExecutionContext.Add(__TestNamespace_PTagHelper);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("class", Html.Raw(""));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(35, 10, false);
|
||||
Instrumentation.BeginContext(33, 10, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
|
|
|
|||
|
|
@ -10,13 +10,7 @@ namespace TestOutput
|
|||
{
|
||||
#pragma warning disable 219
|
||||
string __tagHelperDirectiveSyntaxHelper = null;
|
||||
__tagHelperDirectiveSyntaxHelper =
|
||||
#line 1 "MinimizedTagHelpers.cshtml"
|
||||
"something, nice"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
__tagHelperDirectiveSyntaxHelper = "something, nice";
|
||||
#pragma warning restore 219
|
||||
}
|
||||
#line hidden
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "MinimizedTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "07839be4304797e30b19b50b95e2247c93cdff06"
|
||||
#pragma checksum "MinimizedTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1356aa716cf24203ad0a7415f199cce7e97089db"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -24,11 +24,11 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(33, 2, true);
|
||||
Instrumentation.BeginContext(31, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(64, 34, true);
|
||||
Instrumentation.BeginContext(62, 34, true);
|
||||
WriteLiteral("\r\n <input nottaghelper />\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -39,11 +39,11 @@ namespace TestOutput
|
|||
__tagHelperExecutionContext.AddHtmlAttribute("class", Html.Raw("btn"));
|
||||
__tagHelperExecutionContext.AddMinimizedHtmlAttribute("catchall-unbound-required");
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(98, 59, false);
|
||||
Instrumentation.BeginContext(96, 59, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(157, 6, true);
|
||||
Instrumentation.BeginContext(155, 6, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -59,11 +59,11 @@ namespace TestOutput
|
|||
__TestNamespace_InputTagHelper.BoundRequiredString = "hello";
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("input-bound-required-string", __TestNamespace_InputTagHelper.BoundRequiredString);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(163, 119, false);
|
||||
Instrumentation.BeginContext(161, 119, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(282, 6, true);
|
||||
Instrumentation.BeginContext(280, 6, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -81,11 +81,11 @@ namespace TestOutput
|
|||
__TestNamespace_InputTagHelper.BoundRequiredString = "hello2";
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("input-bound-required-string", __TestNamespace_InputTagHelper.BoundRequiredString);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(288, 176, false);
|
||||
Instrumentation.BeginContext(286, 176, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(464, 6, true);
|
||||
Instrumentation.BeginContext(462, 6, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -102,11 +102,11 @@ namespace TestOutput
|
|||
__TestNamespace_InputTagHelper.BoundRequiredString = "world";
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("input-bound-required-string", __TestNamespace_InputTagHelper.BoundRequiredString);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(470, 206, false);
|
||||
Instrumentation.BeginContext(468, 206, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(676, 2, true);
|
||||
Instrumentation.BeginContext(674, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -115,7 +115,7 @@ namespace TestOutput
|
|||
__tagHelperExecutionContext.Add(__TestNamespace_CatchAllTagHelper);
|
||||
__tagHelperExecutionContext.AddMinimizedHtmlAttribute("catchall-unbound-required");
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(35, 647, false);
|
||||
Instrumentation.BeginContext(33, 647, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
|
|
|
|||
|
|
@ -10,13 +10,7 @@ namespace TestOutput
|
|||
{
|
||||
#pragma warning disable 219
|
||||
string __tagHelperDirectiveSyntaxHelper = null;
|
||||
__tagHelperDirectiveSyntaxHelper =
|
||||
#line 1 "NestedScriptTagTagHelpers.cshtml"
|
||||
"something, nice"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
__tagHelperDirectiveSyntaxHelper = "something, nice";
|
||||
#pragma warning restore 219
|
||||
}
|
||||
#line hidden
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "NestedScriptTagTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9e6bc8d09df124eda650118b208b7c5e6e058f6b"
|
||||
#pragma checksum "NestedScriptTagTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "e3cbc45bc2d4185bf69128f14721795d68e6961a"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -25,12 +25,12 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(33, 106, true);
|
||||
Instrumentation.BeginContext(31, 106, true);
|
||||
WriteLiteral("\r\n<script type=\"text/html\">\r\n <div data-animation=\"fade\" class=\"randomNonTagHe" +
|
||||
"lperAttribute\">\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(180, 2, true);
|
||||
Instrumentation.BeginContext(178, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
#line 6 "NestedScriptTagTagHelpers.cshtml"
|
||||
|
|
@ -45,7 +45,7 @@ namespace TestOutput
|
|||
#line default
|
||||
#line hidden
|
||||
|
||||
Instrumentation.BeginContext(225, 84, true);
|
||||
Instrumentation.BeginContext(223, 84, true);
|
||||
WriteLiteral(" <script id=\"nestedScriptTag\" type=\"text/html\">\r\n " +
|
||||
" ");
|
||||
Instrumentation.EndContext();
|
||||
|
|
@ -76,11 +76,11 @@ namespace TestOutput
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("checked", __TestNamespace_InputTagHelper2.Checked);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(309, 86, false);
|
||||
Instrumentation.BeginContext(307, 86, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(395, 29, true);
|
||||
Instrumentation.BeginContext(393, 29, true);
|
||||
WriteLiteral("\r\n </script>\r\n");
|
||||
Instrumentation.EndContext();
|
||||
#line 10 "NestedScriptTagTagHelpers.cshtml"
|
||||
|
|
@ -89,7 +89,7 @@ namespace TestOutput
|
|||
#line default
|
||||
#line hidden
|
||||
|
||||
Instrumentation.BeginContext(439, 129, true);
|
||||
Instrumentation.BeginContext(437, 129, true);
|
||||
WriteLiteral(" <script type=\"text/javascript\">\r\n var tag = \'<input ch" +
|
||||
"ecked=\"true\">\';\r\n </script>\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
|
|
@ -100,11 +100,11 @@ namespace TestOutput
|
|||
__tagHelperExecutionContext.AddHtmlAttribute("class", Html.Raw("Hello World"));
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("data-delay", Html.Raw("1000"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(139, 433, false);
|
||||
Instrumentation.BeginContext(137, 433, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(572, 23, true);
|
||||
Instrumentation.BeginContext(570, 23, true);
|
||||
WriteLiteral("\r\n </div>\r\n</script>");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,13 +10,7 @@ namespace TestOutput
|
|||
{
|
||||
#pragma warning disable 219
|
||||
string __tagHelperDirectiveSyntaxHelper = null;
|
||||
__tagHelperDirectiveSyntaxHelper =
|
||||
#line 1 "PrefixedAttributeTagHelpers.cshtml"
|
||||
"something, nice"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
__tagHelperDirectiveSyntaxHelper = "something, nice";
|
||||
#pragma warning restore 219
|
||||
}
|
||||
#line hidden
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "PrefixedAttributeTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4e7fe9697b745af1a07d41f6a8532fdc288fa046"
|
||||
#pragma checksum "PrefixedAttributeTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5ae668a393146e4a06179eb37952603907a9b825"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -24,7 +24,7 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(33, 2, true);
|
||||
Instrumentation.BeginContext(31, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
#line 3 "PrefixedAttributeTagHelpers.cshtml"
|
||||
|
|
@ -42,7 +42,7 @@ namespace TestOutput
|
|||
#line default
|
||||
#line hidden
|
||||
|
||||
Instrumentation.BeginContext(282, 49, true);
|
||||
Instrumentation.BeginContext(280, 49, true);
|
||||
WriteLiteral("\r\n<div class=\"randomNonTagHelperAttribute\">\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -68,11 +68,11 @@ __TestNamespace_InputTagHelper2.IntDictionaryProperty = intDictionary;
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("string-dictionary", __TestNamespace_InputTagHelper2.StringDictionaryProperty);
|
||||
__TestNamespace_InputTagHelper1.StringDictionaryProperty = __TestNamespace_InputTagHelper2.StringDictionaryProperty;
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(331, 92, false);
|
||||
Instrumentation.BeginContext(329, 92, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(423, 6, true);
|
||||
Instrumentation.BeginContext(421, 6, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -113,11 +113,11 @@ __TestNamespace_InputTagHelper2.IntDictionaryProperty = intDictionary;
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("int-prefix-grabber", __TestNamespace_InputTagHelper2.IntDictionaryProperty["grabber"]);
|
||||
__TestNamespace_InputTagHelper1.IntProperty = __TestNamespace_InputTagHelper2.IntDictionaryProperty["grabber"];
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(429, 103, false);
|
||||
Instrumentation.BeginContext(427, 103, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(532, 6, true);
|
||||
Instrumentation.BeginContext(530, 6, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -185,11 +185,11 @@ __TestNamespace_InputTagHelper2.IntDictionaryProperty["salt"] = 37;
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("string-prefix-cumin", __TestNamespace_InputTagHelper2.StringDictionaryProperty["cumin"]);
|
||||
__TestNamespace_InputTagHelper1.StringDictionaryProperty["cumin"] = __TestNamespace_InputTagHelper2.StringDictionaryProperty["cumin"];
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(538, 257, false);
|
||||
Instrumentation.BeginContext(536, 257, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(795, 6, true);
|
||||
Instrumentation.BeginContext(793, 6, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -226,11 +226,11 @@ __TestNamespace_InputTagHelper2.IntDictionaryProperty["value"] = 37;
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("string-prefix-thyme", __TestNamespace_InputTagHelper2.StringDictionaryProperty["thyme"]);
|
||||
__TestNamespace_InputTagHelper1.StringDictionaryProperty["thyme"] = __TestNamespace_InputTagHelper2.StringDictionaryProperty["thyme"];
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(801, 60, false);
|
||||
Instrumentation.BeginContext(799, 60, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(861, 8, true);
|
||||
Instrumentation.BeginContext(859, 8, true);
|
||||
WriteLiteral("\r\n</div>");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "PrefixedAttributeTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4e7fe9697b745af1a07d41f6a8532fdc288fa046"
|
||||
#pragma checksum "PrefixedAttributeTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5ae668a393146e4a06179eb37952603907a9b825"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -24,7 +24,7 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(33, 2, true);
|
||||
Instrumentation.BeginContext(31, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
#line 3 "PrefixedAttributeTagHelpers.cshtml"
|
||||
|
|
@ -42,7 +42,7 @@ namespace TestOutput
|
|||
#line default
|
||||
#line hidden
|
||||
|
||||
Instrumentation.BeginContext(282, 49, true);
|
||||
Instrumentation.BeginContext(280, 49, true);
|
||||
WriteLiteral("\r\n<div class=\"randomNonTagHelperAttribute\">\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -68,11 +68,11 @@ __TestNamespace_InputTagHelper1.IntDictionaryProperty = intDictionary;
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("string-dictionary", __TestNamespace_InputTagHelper1.StringDictionaryProperty);
|
||||
__TestNamespace_InputTagHelper2.StringDictionaryProperty = __TestNamespace_InputTagHelper1.StringDictionaryProperty;
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(331, 92, false);
|
||||
Instrumentation.BeginContext(329, 92, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(423, 6, true);
|
||||
Instrumentation.BeginContext(421, 6, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -113,11 +113,11 @@ __TestNamespace_InputTagHelper1.IntDictionaryProperty = intDictionary;
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("int-prefix-grabber", __TestNamespace_InputTagHelper1.IntProperty);
|
||||
__TestNamespace_InputTagHelper2.IntDictionaryProperty["grabber"] = __TestNamespace_InputTagHelper1.IntProperty;
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(429, 103, false);
|
||||
Instrumentation.BeginContext(427, 103, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(532, 6, true);
|
||||
Instrumentation.BeginContext(530, 6, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -185,11 +185,11 @@ __TestNamespace_InputTagHelper1.IntDictionaryProperty["salt"] = 37;
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("string-prefix-cumin", __TestNamespace_InputTagHelper1.StringDictionaryProperty["cumin"]);
|
||||
__TestNamespace_InputTagHelper2.StringDictionaryProperty["cumin"] = __TestNamespace_InputTagHelper1.StringDictionaryProperty["cumin"];
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(538, 257, false);
|
||||
Instrumentation.BeginContext(536, 257, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(795, 6, true);
|
||||
Instrumentation.BeginContext(793, 6, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -226,11 +226,11 @@ __TestNamespace_InputTagHelper1.IntDictionaryProperty["value"] = 37;
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("string-prefix-thyme", __TestNamespace_InputTagHelper1.StringDictionaryProperty["thyme"]);
|
||||
__TestNamespace_InputTagHelper2.StringDictionaryProperty["thyme"] = __TestNamespace_InputTagHelper1.StringDictionaryProperty["thyme"];
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(801, 60, false);
|
||||
Instrumentation.BeginContext(799, 60, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(861, 8, true);
|
||||
Instrumentation.BeginContext(859, 8, true);
|
||||
WriteLiteral("\r\n</div>");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,13 +10,7 @@ namespace TestOutput
|
|||
{
|
||||
#pragma warning disable 219
|
||||
string __tagHelperDirectiveSyntaxHelper = null;
|
||||
__tagHelperDirectiveSyntaxHelper =
|
||||
#line 1 "RemoveTagHelperDirective.cshtml"
|
||||
"something, nice"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
__tagHelperDirectiveSyntaxHelper = "something, nice";
|
||||
#pragma warning restore 219
|
||||
}
|
||||
#line hidden
|
||||
|
|
|
|||
|
|
@ -10,13 +10,7 @@ namespace TestOutput
|
|||
{
|
||||
#pragma warning disable 219
|
||||
string __tagHelperDirectiveSyntaxHelper = null;
|
||||
__tagHelperDirectiveSyntaxHelper =
|
||||
#line 1 "SingleTagHelper.cshtml"
|
||||
"something, nice"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
__tagHelperDirectiveSyntaxHelper = "something, nice";
|
||||
#pragma warning restore 219
|
||||
}
|
||||
#line hidden
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "SingleTagHelper.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "070b72826371f13e4d364e6324cf512220ec1c0f"
|
||||
#pragma checksum "SingleTagHelper.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4d7ff17da750ffcbca3130faffef1030e5eb03b8"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -23,11 +23,11 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(33, 2, true);
|
||||
Instrumentation.BeginContext(31, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(69, 11, true);
|
||||
Instrumentation.BeginContext(67, 11, true);
|
||||
WriteLiteral("Body of Tag");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -42,7 +42,7 @@ __TestNamespace_PTagHelper.Age = 1337;
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("age", __TestNamespace_PTagHelper.Age);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(35, 49, false);
|
||||
Instrumentation.BeginContext(33, 49, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "SingleTagHelperWithNewlineBeforeAttributes.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "95e2e2bab663b8be9934a66150af50a2a6ee08e7"
|
||||
#pragma checksum "SingleTagHelperWithNewlineBeforeAttributes.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "83a2d9976b209020f80917aa61a3338e37d3c446"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -23,11 +23,11 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(33, 2, true);
|
||||
Instrumentation.BeginContext(31, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(73, 11, true);
|
||||
Instrumentation.BeginContext(71, 11, true);
|
||||
WriteLiteral("Body of Tag");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -42,7 +42,7 @@ __TestNamespace_PTagHelper.Age = 1337;
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("age", __TestNamespace_PTagHelper.Age);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(35, 53, false);
|
||||
Instrumentation.BeginContext(33, 53, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
|
|
|
|||
|
|
@ -10,13 +10,7 @@ namespace TestOutput
|
|||
{
|
||||
#pragma warning disable 219
|
||||
string __tagHelperDirectiveSyntaxHelper = null;
|
||||
__tagHelperDirectiveSyntaxHelper =
|
||||
#line 1 "SymbolBoundAttributes.cshtml"
|
||||
"*, nice"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
__tagHelperDirectiveSyntaxHelper = "*, nice";
|
||||
#pragma warning restore 219
|
||||
}
|
||||
#line hidden
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "SymbolBoundAttributes.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "65ef0c8f673481f5ab85bd4936f91f31e84c490c"
|
||||
#pragma checksum "SymbolBoundAttributes.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "85cdc137d6a8c95fa926441de44d5187d5c8051e"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -23,7 +23,7 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(25, 253, true);
|
||||
Instrumentation.BeginContext(23, 253, true);
|
||||
WriteLiteral("\r\n<ul [item]=\"items\"></ul>\r\n<ul [(item)]=\"items\"></ul>\r\n<button (click)=\"doSometh" +
|
||||
"ing()\">Click Me</button>\r\n<button (^click)=\"doSomething()\">Click Me</button>\r\n<t" +
|
||||
"emplate *something=\"value\">\r\n</template>\r\n<div #local></div>\r\n<div #local=\"value" +
|
||||
|
|
@ -43,11 +43,11 @@ __TestNamespace_CatchAllTagHelper.ListItems = items;
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("[item]", __TestNamespace_CatchAllTagHelper.ListItems);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("[item]", Html.Raw("items"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(278, 45, false);
|
||||
Instrumentation.BeginContext(276, 45, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(323, 2, true);
|
||||
Instrumentation.BeginContext(321, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ul", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
|
|
@ -64,15 +64,15 @@ __TestNamespace_CatchAllTagHelper.ArrayItems = items;
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("[(item)]", __TestNamespace_CatchAllTagHelper.ArrayItems);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("[(item)]", Html.Raw("items"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(325, 49, false);
|
||||
Instrumentation.BeginContext(323, 49, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(374, 2, true);
|
||||
Instrumentation.BeginContext(372, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("button", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(438, 8, true);
|
||||
Instrumentation.BeginContext(436, 8, true);
|
||||
WriteLiteral("Click Me");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -88,15 +88,15 @@ __TestNamespace_CatchAllTagHelper.Event1 = doSomething();
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("(click)", __TestNamespace_CatchAllTagHelper.Event1);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("(click)", Html.Raw("doSomething()"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(376, 79, false);
|
||||
Instrumentation.BeginContext(374, 79, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(455, 2, true);
|
||||
Instrumentation.BeginContext(453, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("button", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(521, 8, true);
|
||||
Instrumentation.BeginContext(519, 8, true);
|
||||
WriteLiteral("Click Me");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -112,15 +112,15 @@ __TestNamespace_CatchAllTagHelper.Event2 = doSomething();
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("(^click)", __TestNamespace_CatchAllTagHelper.Event2);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("(^click)", Html.Raw("doSomething()"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(457, 81, false);
|
||||
Instrumentation.BeginContext(455, 81, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(538, 2, true);
|
||||
Instrumentation.BeginContext(536, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("template", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(594, 2, true);
|
||||
Instrumentation.BeginContext(592, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -132,11 +132,11 @@ __TestNamespace_CatchAllTagHelper.Event2 = doSomething();
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("*something", __TestNamespace_CatchAllTagHelper.StringProperty1);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("*something", Html.Raw("value"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(540, 67, false);
|
||||
Instrumentation.BeginContext(538, 67, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(607, 2, true);
|
||||
Instrumentation.BeginContext(605, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
|
|
@ -147,11 +147,11 @@ __TestNamespace_CatchAllTagHelper.Event2 = doSomething();
|
|||
__tagHelperExecutionContext.AddMinimizedHtmlAttribute("bound");
|
||||
__tagHelperExecutionContext.AddMinimizedHtmlAttribute("#localminimized");
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(609, 33, false);
|
||||
Instrumentation.BeginContext(607, 33, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(642, 2, true);
|
||||
Instrumentation.BeginContext(640, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
|
|
@ -164,7 +164,7 @@ __TestNamespace_CatchAllTagHelper.Event2 = doSomething();
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("#local", __TestNamespace_CatchAllTagHelper.StringProperty2);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("#local", Html.Raw("value"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(644, 47, false);
|
||||
Instrumentation.BeginContext(642, 47, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "TagHelpersInSection.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b6492c68360b85d4993de94eeac547b7fb012a26"
|
||||
#pragma checksum "TagHelpersInSection.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f23e7b19a8af7b8fe9c6cb784e5a4bc60537c66b"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -24,7 +24,7 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(33, 2, true);
|
||||
Instrumentation.BeginContext(31, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
#line 3 "TagHelpersInSection.cshtml"
|
||||
|
|
@ -34,22 +34,22 @@ namespace TestOutput
|
|||
#line default
|
||||
#line hidden
|
||||
|
||||
Instrumentation.BeginContext(71, 2, true);
|
||||
Instrumentation.BeginContext(69, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
DefineSection("MySection", async(__razor_template_writer) => {
|
||||
Instrumentation.BeginContext(93, 21, true);
|
||||
Instrumentation.BeginContext(91, 21, true);
|
||||
WriteLiteralTo(__razor_template_writer, "\r\n <div>\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("mytaghelper", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(217, 52, true);
|
||||
Instrumentation.BeginContext(215, 52, true);
|
||||
WriteLiteral("\r\n In None ContentBehavior.\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("nestedtaghelper", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(286, 26, true);
|
||||
Instrumentation.BeginContext(284, 26, true);
|
||||
WriteLiteral("Some buffered values with ");
|
||||
Instrumentation.EndContext();
|
||||
Instrumentation.BeginContext(313, 4, false);
|
||||
Instrumentation.BeginContext(311, 4, false);
|
||||
#line 11 "TagHelpersInSection.cshtml"
|
||||
Write(code);
|
||||
|
||||
|
|
@ -61,11 +61,11 @@ namespace TestOutput
|
|||
__TestNamespace_NestedTagHelper = CreateTagHelper<global::TestNamespace.NestedTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__TestNamespace_NestedTagHelper);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(269, 66, false);
|
||||
Instrumentation.BeginContext(267, 66, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(335, 10, true);
|
||||
Instrumentation.BeginContext(333, 10, true);
|
||||
WriteLiteral("\r\n ");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -83,20 +83,20 @@ namespace TestOutput
|
|||
__TestNamespace_MyTagHelper.BoundProperty = __tagHelperStringValueBuffer.GetContent(HtmlEncoder);
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("boundproperty", __TestNamespace_MyTagHelper.BoundProperty);
|
||||
BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "unboundproperty", 3);
|
||||
AddHtmlAttributeValue("", 188, "Current", 188, 7, true);
|
||||
AddHtmlAttributeValue(" ", 195, "Time:", 196, 6, true);
|
||||
AddHtmlAttributeValue("", 186, "Current", 186, 7, true);
|
||||
AddHtmlAttributeValue(" ", 193, "Time:", 194, 6, true);
|
||||
#line 9 "TagHelpersInSection.cshtml"
|
||||
AddHtmlAttributeValue(" ", 201, DateTime.Now, 202, 14, false);
|
||||
AddHtmlAttributeValue(" ", 199, DateTime.Now, 200, 14, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndAddHtmlAttributeValues(__tagHelperExecutionContext);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(114, 245, false);
|
||||
Instrumentation.BeginContext(112, 245, false);
|
||||
await WriteTagHelperToAsync(__razor_template_writer, __tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(359, 14, true);
|
||||
Instrumentation.BeginContext(357, 14, true);
|
||||
WriteLiteralTo(__razor_template_writer, "\r\n </div>\r\n");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "TagHelpersWithWeirdlySpacedAttributes.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "61ec0611b60d88357a6c3b6551513ebf6223f6ee"
|
||||
#pragma checksum "TagHelpersWithWeirdlySpacedAttributes.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "44db1fa170a6845ec719f4200e4bb1f639830b49"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -25,11 +25,11 @@ namespace TestOutput
|
|||
public override async Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelperRunner();
|
||||
Instrumentation.BeginContext(33, 2, true);
|
||||
Instrumentation.BeginContext(31, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(105, 11, true);
|
||||
Instrumentation.BeginContext(103, 11, true);
|
||||
WriteLiteral("Body of Tag");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -52,11 +52,11 @@ __TestNamespace_PTagHelper.Age = 1337;
|
|||
__tagHelperStringValueBuffer = EndTagHelperWritingScope();
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("data-content", Html.Raw(__tagHelperStringValueBuffer.GetContent(HtmlEncoder)));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(35, 85, false);
|
||||
Instrumentation.BeginContext(33, 85, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(120, 4, true);
|
||||
Instrumentation.BeginContext(118, 4, true);
|
||||
WriteLiteral("\r\n\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -71,11 +71,11 @@ __TestNamespace_PTagHelper.Age = 1337;
|
|||
__TestNamespace_InputTagHelper2.Type = __TestNamespace_InputTagHelper.Type;
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("data-content", Html.Raw("hello"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(124, 47, false);
|
||||
Instrumentation.BeginContext(122, 47, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(171, 4, true);
|
||||
Instrumentation.BeginContext(169, 4, true);
|
||||
WriteLiteral("\r\n\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
|
|
@ -91,11 +91,11 @@ __TestNamespace_PTagHelper.Age = 1234;
|
|||
__tagHelperExecutionContext.AddTagHelperAttribute("age", __TestNamespace_PTagHelper.Age);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("data-content", Html.Raw("hello2"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(175, 46, false);
|
||||
Instrumentation.BeginContext(173, 46, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(221, 4, true);
|
||||
Instrumentation.BeginContext(219, 4, true);
|
||||
WriteLiteral("\r\n\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
|
|
@ -110,7 +110,7 @@ __TestNamespace_PTagHelper.Age = 1234;
|
|||
__TestNamespace_InputTagHelper2.Type = __TestNamespace_InputTagHelper.Type;
|
||||
__tagHelperExecutionContext.AddHtmlAttribute("data-content", Html.Raw("blah"));
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(225, 51, false);
|
||||
Instrumentation.BeginContext(223, 51, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
|
|
|
|||
|
|
@ -10,13 +10,7 @@ namespace TestOutput
|
|||
{
|
||||
#pragma warning disable 219
|
||||
string __tagHelperDirectiveSyntaxHelper = null;
|
||||
__tagHelperDirectiveSyntaxHelper =
|
||||
#line 1 "TransitionsInTagHelperAttributes.cshtml"
|
||||
"something, nice"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
__tagHelperDirectiveSyntaxHelper = "something, nice";
|
||||
#pragma warning restore 219
|
||||
}
|
||||
#line hidden
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "TransitionsInTagHelperAttributes.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "050ce5cabf326eaa117aa12f5a1a10dbf82a8917"
|
||||
#pragma checksum "TransitionsInTagHelperAttributes.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b9b5a5baa9e2ea89cb37a127c0623b083bff74c3"
|
||||
namespace TestOutput
|
||||
{
|
||||
using System;
|
||||
|
|
@ -31,11 +31,11 @@ namespace TestOutput
|
|||
#line default
|
||||
#line hidden
|
||||
|
||||
Instrumentation.BeginContext(97, 2, true);
|
||||
Instrumentation.BeginContext(95, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
Instrumentation.BeginContext(128, 11, true);
|
||||
Instrumentation.BeginContext(126, 11, true);
|
||||
WriteLiteral("Body of Tag");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
@ -43,9 +43,9 @@ namespace TestOutput
|
|||
__TestNamespace_PTagHelper = CreateTagHelper<global::TestNamespace.PTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__TestNamespace_PTagHelper);
|
||||
BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 1);
|
||||
AddHtmlAttributeValue("", 109, new Template(async(__razor_attribute_value_writer) => {
|
||||
AddHtmlAttributeValue("", 107, new Template(async(__razor_attribute_value_writer) => {
|
||||
}
|
||||
), 109, 6, false);
|
||||
), 107, 6, false);
|
||||
EndAddHtmlAttributeValues(__tagHelperExecutionContext);
|
||||
#line 7 "TransitionsInTagHelperAttributes.cshtml"
|
||||
__TestNamespace_PTagHelper.Age = 1337;
|
||||
|
|
@ -54,11 +54,11 @@ __TestNamespace_PTagHelper.Age = 1337;
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("age", __TestNamespace_PTagHelper.Age);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(99, 44, false);
|
||||
Instrumentation.BeginContext(97, 44, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(143, 2, true);
|
||||
Instrumentation.BeginContext(141, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
|
|
@ -68,7 +68,7 @@ __TestNamespace_PTagHelper.Age = 1337;
|
|||
__tagHelperExecutionContext.Add(__TestNamespace_PTagHelper);
|
||||
BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 1);
|
||||
#line 8 "TransitionsInTagHelperAttributes.cshtml"
|
||||
AddHtmlAttributeValue("", 155, @class, 155, 9, false);
|
||||
AddHtmlAttributeValue("", 153, @class, 153, 9, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
|
@ -80,11 +80,11 @@ __TestNamespace_PTagHelper.Age = 42;
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("age", __TestNamespace_PTagHelper.Age);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(145, 34, false);
|
||||
Instrumentation.BeginContext(143, 34, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(179, 2, true);
|
||||
Instrumentation.BeginContext(177, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
|
|
@ -100,11 +100,11 @@ __TestNamespace_PTagHelper.Age = 42 + @int;
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("age", __TestNamespace_PTagHelper.Age);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(181, 36, false);
|
||||
Instrumentation.BeginContext(179, 36, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(217, 2, true);
|
||||
Instrumentation.BeginContext(215, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
|
|
@ -120,11 +120,11 @@ __TestNamespace_PTagHelper.Age = int;
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("age", __TestNamespace_PTagHelper.Age);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(219, 31, false);
|
||||
Instrumentation.BeginContext(217, 31, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(250, 2, true);
|
||||
Instrumentation.BeginContext(248, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
|
|
@ -140,11 +140,11 @@ __TestNamespace_PTagHelper.Age = (@int);
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("age", __TestNamespace_PTagHelper.Age);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(252, 34, false);
|
||||
Instrumentation.BeginContext(250, 34, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(286, 2, true);
|
||||
Instrumentation.BeginContext(284, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
|
|
@ -153,9 +153,9 @@ __TestNamespace_PTagHelper.Age = (@int);
|
|||
__TestNamespace_PTagHelper = CreateTagHelper<global::TestNamespace.PTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__TestNamespace_PTagHelper);
|
||||
BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 2);
|
||||
AddHtmlAttributeValue("", 298, "custom-", 298, 7, true);
|
||||
AddHtmlAttributeValue("", 296, "custom-", 296, 7, true);
|
||||
#line 12 "TransitionsInTagHelperAttributes.cshtml"
|
||||
AddHtmlAttributeValue("", 305, @class, 305, 9, false);
|
||||
AddHtmlAttributeValue("", 303, @class, 303, 9, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
|
@ -167,11 +167,11 @@ __TestNamespace_PTagHelper.Age = 4 * @(@int + 2);
|
|||
#line hidden
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("age", __TestNamespace_PTagHelper.Age);
|
||||
__tagHelperExecutionContext.Output = await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.BeginContext(288, 54, false);
|
||||
Instrumentation.BeginContext(286, 54, false);
|
||||
await WriteTagHelperAsync(__tagHelperExecutionContext);
|
||||
Instrumentation.EndContext();
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
Instrumentation.BeginContext(342, 2, true);
|
||||
Instrumentation.BeginContext(340, 2, true);
|
||||
WriteLiteral("\r\n");
|
||||
Instrumentation.EndContext();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
@addTagHelper "**??**??*, nice"
|
||||
@addTagHelper something, nice
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
@addTagHelper "*, something"
|
||||
@addTagHelper *, something
|
||||
|
||||
<p class="btn">
|
||||
<p><strong catchAll="hi">Hello</strong><strong>World</strong></p>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
@tagHelperPrefix "THS"
|
||||
@addTagHelper "something, nice"
|
||||
@tagHelperPrefix THS
|
||||
@addTagHelper something, nice
|
||||
|
||||
<THSdiv class="randomNonTagHelperAttribute">
|
||||
<THSp class="Hello World">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
@addTagHelper "something, nice"
|
||||
@removeTagHelper "doesntmatter, nice"
|
||||
@addTagHelper something, nice
|
||||
@removeTagHelper doesntmatter, nice
|
||||
|
||||
<div class="randomNonTagHelperAttribute">
|
||||
<p class="Hello World">
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@addTagHelper "something, nice"
|
||||
@addTagHelper something, nice
|
||||
|
||||
<div data-animation="fade" class="randomNonTagHelperAttribute">
|
||||
<p class="Hello World" data-delay="1000">
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@addTagHelper "T?g??lpe*, nice"
|
||||
@addTagHelper something, nice
|
||||
|
||||
@if (true)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@addTagHelper "something, nice"
|
||||
@addTagHelper something, nice
|
||||
|
||||
<p age="3" AGE="40" Age="500">
|
||||
<input type="button" TYPE="checkbox" />
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
@addTagHelper "something, nice"
|
||||
@addTagHelper something, nice
|
||||
|
||||
<input type="checkbox" checked="true" />
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
@addTagHelper "something, nice"
|
||||
@addTagHelper something, nice
|
||||
|
||||
<input unbound="prefix @DateTime.Now" />
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@addTagHelper "something"
|
||||
@addTagHelper something
|
||||
|
||||
<div>
|
||||
<input type= checked=""class="" />
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@addTagHelper "something, nice"
|
||||
@addTagHelper something, nice
|
||||
|
||||
@{
|
||||
var enumValue = MyEnum.MyValue;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@addTagHelper "something"
|
||||
@addTagHelper something
|
||||
|
||||
<!div class="randomNonTagHelperAttribute">
|
||||
<!p class="Hello World" @DateTime.Now>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
@addTagHelper "something, nice"
|
||||
@addTagHelper something, nice
|
||||
|
||||
<p class="
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
@addTagHelper "something, nice"
|
||||
@addTagHelper something, nice
|
||||
|
||||
<p catchall-unbound-required>
|
||||
<input nottaghelper />
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@addTagHelper "something, nice"
|
||||
@addTagHelper something, nice
|
||||
|
||||
<script type="text/html">
|
||||
<div data-animation="fade" class="randomNonTagHelperAttribute">
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@addTagHelper "something, nice"
|
||||
@addTagHelper something, nice
|
||||
|
||||
@{
|
||||
var literate = "or illiterate";
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
@removeTagHelper "something, nice"
|
||||
@removeTagHelper something, nice
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
@addTagHelper "something, nice"
|
||||
@addTagHelper something, nice
|
||||
|
||||
<p class="Hello World" age="1337">Body of Tag</p>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
@addTagHelper "something, nice"
|
||||
@addTagHelper something, nice
|
||||
|
||||
<p
|
||||
class="Hello World" age="1337">Body of Tag</p>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
@addTagHelper "*, nice"
|
||||
@addTagHelper *, nice
|
||||
|
||||
<ul [item]="items"></ul>
|
||||
<ul [(item)]="items"></ul>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@addTagHelper "something, nice"
|
||||
@addTagHelper something, nice
|
||||
|
||||
@{
|
||||
var code = "some code";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@addTagHelper "something, nice"
|
||||
@addTagHelper something, nice
|
||||
|
||||
<p
|
||||
class
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@addTagHelper "something, nice"
|
||||
@addTagHelper something, nice
|
||||
@{
|
||||
var @class = "container-fluid";
|
||||
var @int = 1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue