32 references to SingleQuotes
Microsoft.AspNetCore.Mvc.Razor.Test (9)
RazorPageTest.cs (9)
990
page.BeginAddHtmlAttributeValues(executionContext, "someattr", 1, HtmlAttributeValueStyle.
SingleQuotes
);
1000
Assert.Equal(HtmlAttributeValueStyle.
SingleQuotes
, htmlAttribute.ValueStyle);
1007
Assert.Equal(HtmlAttributeValueStyle.
SingleQuotes
, allAttribute.ValueStyle);
1032
page.BeginAddHtmlAttributeValues(executionContext, "someattr", attributeValues.Length, HtmlAttributeValueStyle.
SingleQuotes
);
1045
Assert.Equal(HtmlAttributeValueStyle.
SingleQuotes
, htmlAttribute.ValueStyle);
1052
Assert.Equal(HtmlAttributeValueStyle.
SingleQuotes
, allAttribute.ValueStyle);
1078
page.BeginAddHtmlAttributeValues(executionContext, "someattr", attributeValues.Length, HtmlAttributeValueStyle.
SingleQuotes
);
1091
Assert.Equal(HtmlAttributeValueStyle.
SingleQuotes
, htmlAttribute.ValueStyle);
1098
Assert.Equal(HtmlAttributeValueStyle.
SingleQuotes
, allAttribute.ValueStyle);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (12)
LinkTagHelperTest.cs (4)
664
{ new TagHelperAttribute("encoded", new HtmlString("contains \"quotes\""), HtmlAttributeValueStyle.
SingleQuotes
) },
667
{ new TagHelperAttribute("mixed", mixed, HtmlAttributeValueStyle.
SingleQuotes
) },
673
{ new TagHelperAttribute("encoded", new HtmlString("contains \"quotes\""), HtmlAttributeValueStyle.
SingleQuotes
) },
675
{ new TagHelperAttribute("mixed", mixed, HtmlAttributeValueStyle.
SingleQuotes
) },
ScriptTagHelperTest.cs (8)
582
{ new TagHelperAttribute("encoded", new HtmlString("contains \"quotes\""), HtmlAttributeValueStyle.
SingleQuotes
) },
584
{ new TagHelperAttribute("mixed", mixed, HtmlAttributeValueStyle.
SingleQuotes
) },
591
{ new TagHelperAttribute("encoded", new HtmlString("contains \"quotes\""), HtmlAttributeValueStyle.
SingleQuotes
) },
593
{ new TagHelperAttribute("mixed", mixed, HtmlAttributeValueStyle.
SingleQuotes
) },
921
{ new TagHelperAttribute("encoded", new HtmlString("contains \"quotes\""), HtmlAttributeValueStyle.
SingleQuotes
) },
923
{ new TagHelperAttribute("mixed", mixed, HtmlAttributeValueStyle.
SingleQuotes
) },
930
{ new TagHelperAttribute("encoded", new HtmlString("contains \"quotes\""), HtmlAttributeValueStyle.
SingleQuotes
) },
932
{ new TagHelperAttribute("mixed", mixed, HtmlAttributeValueStyle.
SingleQuotes
) },
Microsoft.AspNetCore.Razor (2)
TagHelpers\TagHelperAttribute.cs (2)
236
case HtmlAttributeValueStyle.
SingleQuotes
:
251
case HtmlAttributeValueStyle.
SingleQuotes
:
Microsoft.AspNetCore.Razor.Runtime.Test (6)
Runtime\TagHelpers\TagHelperExecutionContextTest.cs (6)
456
expectedAttributes.Add(new TagHelperAttribute("type", "text", HtmlAttributeValueStyle.
SingleQuotes
));
460
executionContext.AddHtmlAttribute("type", "text", HtmlAttributeValueStyle.
SingleQuotes
);
504
expectedAttributes.Add(new TagHelperAttribute("type", "text", HtmlAttributeValueStyle.
SingleQuotes
));
512
executionContext.AddHtmlAttribute("type", "text", HtmlAttributeValueStyle.
SingleQuotes
);
533
expectedAttributes.Add(new TagHelperAttribute("something", true, HtmlAttributeValueStyle.
SingleQuotes
));
538
executionContext.AddTagHelperAttribute("something", true, HtmlAttributeValueStyle.
SingleQuotes
);
Microsoft.AspNetCore.Razor.Test (3)
TagHelpers\TagHelperOutputTest.cs (3)
480
{ new TagHelperAttribute("something", " spaced ", HtmlAttributeValueStyle.
SingleQuotes
) },
586
{ new TagHelperAttribute("test", "testVal", HtmlAttributeValueStyle.
SingleQuotes
) }
797
{ new TagHelperAttribute("test", "testVal", HtmlAttributeValueStyle.
SingleQuotes
) }